* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8fafc;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    color: #1a365d;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a365d, #2b6cb0, #4299e1);
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: #4a5568;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 250px;
    height: auto;
}

.header-text h1 {
    color: white;
}

.tagline {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-child(even) {
    background-color: white;
}

/* Services Section */
.services-section {
    background-color: #f8fafc;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: calc(25% - 12px);
    min-width: 0; /* Prevents flex items from growing beyond their container */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    color: white;
    padding: 20px 15px;
    text-align: center;
}

.service-icon i {
    font-size: 2rem;
}

.service-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content p {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Certification Section */
.certification-section {
    background-color: #f8fafc;
    padding: 60px 0;
}

/* ICAI Emblem Styles */
.icai-emblem {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.emblem-outer-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #0a2463;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.emblem-inner-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #0a2463;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.emblem-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.emblem-lion {
    width: 50px;
    height: 30px;
    background-color: #0a2463;
    position: relative;
    margin-bottom: 5px;
    clip-path: polygon(
        50% 0%, 
        80% 30%, 
        100% 0, 
        100% 70%, 
        80% 100%, 
        20% 100%, 
        0 70%, 
        0 0, 
        20% 30%
    );
}

.emblem-lion::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    top: 10px;
    left: 20px;
}

.emblem-text {
    font-weight: 700;
    color: #0a2463;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.emblem-motto {
    position: absolute;
    bottom: -5px;
    width: 100%;
    text-align: center;
    font-size: 0.6rem;
    color: #0a2463;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(100%);
}

.certification-section p {
    font-size: 1rem;
    color: #4a5568;
    font-style: italic;
}

/* Link Tree Section */
.linktree-section {
    background-color: #f8fafc;
    padding: 70px 0;
}

.linktree {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.linktree-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
}

.linktree-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.linktree-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.linktree-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.linktree-icon.youtube {
    background-color: #FF0000;
}

.linktree-icon.linkedin {
    background-color: #0077B5;
}

.linktree-icon.website {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
}

.linktree-icon.email {
    background-color: #4299e1;
}

.linktree-icon.phone {
    background-color: #38B2AC;
}

.linktree-text {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #1a365d;
    color: white;
    padding: 60px 0 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-item i {
    color: #4299e1;
    font-size: 1.4rem;
}

.contact-item a, .contact-item span {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: #4299e1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        flex-wrap: wrap;
    }
    
    .service-card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    header {
        padding: 60px 0;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .linktree {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .service-card {
        width: 100%;
    }
    
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .service-icon {
        padding: 15px;
    }
    
    .service-content {
        padding: 15px;
    }
    
    .linktree-item {
        padding: 12px 15px;
    }
    
    .linktree-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .linktree-text {
        font-size: 1rem;
    }
} 