/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Primary Colors - Professional Blue Palette */
    --primary-blue: #1e5ba8;
    --dark-blue: #164a8a;
    --light-blue: #2563eb;
    --accent-blue: #3b82f6;
    
    /* Light Theme Colors */
    --bg-color: #ffffff;
    --section-bg: #f8fafc;
    --section-alt-bg: #f1f5f9;
    --card-bg: #ffffff;
    --footer-bg: #0f172a;
    
    /* Text Colors for Light Theme */
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --heading-color: #0f172a;
    
    /* Hero & Special Section Text */
    --hero-text: #ffffff;
    --hero-text-muted: #e0f2fe;
    
    /* Link Colors */
    --link-color: #1e5ba8;
    --link-hover: #164a8a;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.1);
    
    /* Success/Trust Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Navbar Colors */
    --navbar-bg-start: #1e3a8a;
    --navbar-bg-end: #1e40af;
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
}

p {
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover);
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Skip to main content */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-main:focus {
    left: 0;
    top: 0;
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
}

/* Section Styling */
section {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header-section {
    background: linear-gradient(135deg, var(--navbar-bg-start) 0%, var(--navbar-bg-end) 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.brand-container h3 {
    font-size: 1.5rem;
    color: white;
    font-weight: 800;
    margin: 0;
}

.brand-container small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar .btn-light {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    background: white;
    color: var(--primary-blue);
    border: none;
}

.navbar .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, var(--navbar-bg-start) 0%, var(--navbar-bg-end) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    line-height: 1.2;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-item i {
    font-size: 2rem;
    color: white;
}

.stat-item strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-item span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.hero-section .btn-primary {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
}

.hero-section .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.875rem 2rem;
}

.hero-section .btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
}

.hero-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* ==================== TRUST BADGES ==================== */
.trust-badges {
    background: var(--section-bg);
    border-bottom: 1px solid var(--border-color);
}

.trust-item {
    padding: 1rem;
}

.trust-item i {
    font-size: 2rem;
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    background: var(--bg-color);
}

.service-tabs .nav-link {
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-tabs .nav-link:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.service-tabs .nav-link.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

.service-card h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.service-meta i {
    color: var(--success-color);
}

/* ==================== WHY CHOOSE US ==================== */
.why-choose-section {
    background: var(--section-bg);
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-item i {
    font-size: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.why-item h6 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--heading-color);
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-box i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: var(--bg-color);
}

.about-content {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 2rem;
}

/* Team Profile Cards - Enhanced styling for CA profiles */
.team-profile-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.profile-avatar i {
    font-size: 3rem;
    color: white;
}

.profile-info h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.profile-info .credentials {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.credentials-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.credentials-badges .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.profile-body {
    padding: 2rem;
}

.profile-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-heading {
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-icon i {
    font-size: 2.5rem;
    color: white;
}

.team-card h5 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-credentials {
    text-align: center;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.certifications-banner {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 2rem;
}

.cert-badge {
    padding: 1rem;
}

.cert-badge i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.cert-badge p {
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

/* ==================== PROCESS SECTION ==================== */
.process-section {
    background: var(--section-bg);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    width: 2px;
    height: calc(100% + 3rem);
    background: var(--border-color);
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.process-content {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.process-content h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.process-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--section-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    background: var(--bg-color);
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background: var(--card-bg);
    color: var(--heading-color);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--section-bg);
    color: var(--primary-blue);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-blue);
}

.accordion-body {
    background: var(--card-bg);
    color: var(--text-muted);
    padding: 1.25rem 1.5rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: var(--section-bg);
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
}

.contact-item h6 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-color);
    margin: 0;
}

.cta-box {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.cta-box i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.divider {
    margin: 1.5rem 0;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* ==================== FOOTER ==================== */
.footer-section {
    background: var(--footer-bg);
    color: white;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--accent-blue);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ==================== ANIMATIONS ==================== */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-step::before {
        left: 24px;
        top: 60px;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .service-tabs .nav-link {
        margin: 0.25rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
}
