/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

:root {
    --fixed-header-offset: 140px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.firm-name-header {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.firm-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Super Header */
.super-header {
    background-color: #2c3945;
    color: #9faebe;
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    margin: 0;
    border: none;
    height: 40px;
    display: flex;
    align-items: center;
}

.super-header .container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.super-header-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    text-align: right;
}

.super-header-content .separator {
    color: #ccc;
    font-weight: 300;
}

.super-header-content .location,
.super-header-content .email,
.super-header-content .phone,
.super-header-content .whatsapp {
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.super-header-content .location-icon,
.super-header-content .email-icon,
.super-header-content .phone-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Header */
.header {
    background-color: #1b222a;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    top: 40px; /* Height of super-header */
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0;
    border: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 60px;
    width: auto;
}

.firm-name-header {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* Navigation */
.navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin-right: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: #008181;
}

/* Mega Menu Styles */
.mega-menu-item {
    position: relative;
}

.mega-menu {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid #008181;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
    width: 100%;
    margin-top: 0;
}

.mega-menu-item::after {
    content: '';
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    z-index: 999;
    display: none;
}

.mega-menu-item:hover::after {
    display: block;
}


/* JavaScript will handle hover states */

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    min-height: 400px;
    width: 100%;
}

.mega-menu-hero {
    flex: 1;
    background: linear-gradient(135deg, #1b222a 0%, #2c3945 100%);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 34, 42, 0.8) 0%, rgba(44, 57, 69, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: white;
}

.hero-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.hero-overlay p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #e2e8f0;
    max-width: 300px;
}

.hero-cta {
    background: #008181;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #008181;
}

.hero-cta:hover {
    background: transparent;
    color: #008181;
    border-color: #008181;
}

.mega-menu-services {
    flex: 1.2;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-width: 0;
}

.service-category {
    background: #f8fafc;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #008181;
}

.category-header {
    margin-bottom: 16px;
}

.category-header h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1b222a;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #008181;
}

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

.service-list li {
    margin-bottom: 8px;
}

.service-list a {
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    padding: 4px 0;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.service-list a:hover {
    color: #008181;
    font-weight: 500;
}

.service-list a:hover .service-icon svg {
    stroke: #006666;
    transform: scale(1.1);
}

.service-icon {
    color: #008181;
    margin-right: 8px;
    width: 16px;
    height: 16px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 16px;
    height: 16px;
    stroke: #008181;
    stroke-width: 1.5;
    transition: stroke 0.2s ease;
}


/* CTA Button */
.cta-button {
    font-family: 'Poppins', sans-serif;
    background-color: #008181;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 38px;
    line-height: 1;
    white-space: nowrap;
}

.cta-button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background-color: #006666;
    transform: translateY(-1px);
}

.cta-button:hover svg {
    transform: translateX(2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    z-index: 1001;
    position: relative;
    background: rgba(255, 0, 0, 0.2); /* Debug: red background to see if it's there */
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

/* Main Content */
.main-content {
    margin-top: 140px; /* Height of super-header + header */
    padding: 0;
    min-height: 60vh;
}

/* Hero Section */
.hero-section {
    background: url('./Images/hero-image.jpg') center/cover no-repeat;
    min-height: calc(70vh + var(--fixed-header-offset));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 34, 42, 0.8) 0%, rgba(44, 57, 69, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--fixed-header-offset);
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: white;
}

.hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    font-family: 'Poppins', sans-serif;
    background: #008181;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #008181;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: #008181;
    border-color: #008181;
    transform: translateY(-2px);
}

.btn-primary:hover svg {
    transform: translateX(2px);
}

.btn-secondary {
    font-family: 'Poppins', sans-serif;
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1b222a;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #182d38;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 0;
}

/* Middle Row: Menu Items (left) and Social Icons (right) */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid #2c3945;
}

.footer-menu {
    flex: 1;
}

.footer-links-horizontal {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.footer-links-horizontal li {
    margin: 0;
}

.footer-links-horizontal a {
    color: #9faebe;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links-horizontal a:hover {
    color: #008181;
}

.footer-social {
    flex-shrink: 0;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #008181;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 129, 129, 0.1);
    border: 2px solid #008181;
}

.social-link:hover {
    color: #fff;
    background-color: #008181;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 129, 129, 0.3);
}

/* Top Row: Logo, Firm Name, Description (Centered) */
.footer-center {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.footer-logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.footer-logo-link .firm-name {
    margin: 0;
}

.firm-name {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

.footer-pitch {
    font-size: 14px;
    line-height: 1.6;
    color: #9faebe;
    margin: 0 auto;
    max-width: 600px;
}

/* Legacy styles for other pages */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-services {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-services .service-category {
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    transition: none;
}

.footer-services .service-category:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.footer-services .category-link {
    font-weight: 600;
    color: #fff !important;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.footer-services .category-link:hover {
    color: #008181 !important;
}

.footer-services .sub-services {
    list-style: none;
    margin-top: 5px;
    margin-left: 0;
    padding-left: 0;
}

.footer-services .sub-services li {
    margin-bottom: 5px;
}

.footer-services .sub-services a {
    color: #9faebe;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.footer-services .sub-services a:hover {
    color: #008181;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #9faebe;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #008181;
}

.footer-bottom {
    border-top: 1px solid #2c3945;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
}

.legal-link {
    color: #008181;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Mobile Menu Styles */
.navigation.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1b222a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.navigation.active .nav-menu {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.navigation.active .nav-item {
    border-bottom: 1px solid #2c3945;
    padding: 15px 0;
}

.navigation.active .nav-item:last-child {
    border-bottom: none;
}

.navigation.active .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 16px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 34, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding-top: 80px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    padding: 20px;
    max-width: 300px;
    margin: 0 auto;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #008181;
}

.mobile-nav-cta {
    margin-top: 30px;
    text-align: center;
}

.mobile-nav-cta .btn-primary {
    width: 100%;
    max-width: 250px;
    justify-content: center;
}

/* Scroll Effects */
.header.scrolled,
.super-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --fixed-header-offset: 80px;
    }

    .container {
        padding: 0 15px;
    }

    .super-header {
        display: none;
    }

    .header {
        top: 0;
    }

    .header-content {
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: space-between;
        align-items: center;
        min-height: 60px; /* Ensure minimum height */
    }

    .logo {
        flex-shrink: 0;
        order: 1;
    }

    .firm-name-header {
        font-size: 14px;
        margin-left: 8px;
        order: 1;
    }

    .navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
        margin-left: auto;
        order: 3;
        background: rgba(0, 255, 0, 0.3) !important; /* Debug: green background */
    }

    .cta-button {
        padding: 6px 12px;
        font-size: 11px;
        height: 32px;
        margin-right: 10px;
        order: 2;
    }


    .hero-section {
        min-height: calc(60vh + var(--fixed-header-offset));
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-content {
        padding: 0 15px;
        margin: 0 auto;
    }
    
    .hero-content p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 24px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-top-row {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        text-align: center;
    }

    .footer-links-horizontal {
        flex-direction: column;
        gap: 15px;
    }

    .footer-center {
        margin-bottom: 30px;
    }

    .footer-logo-img {
        height: 60px;
    }

    .firm-name {
        font-size: 18px;
    }

    .footer-pitch {
        font-size: 13px;
        padding: 0 15px;
    }

    .social-media {
        justify-content: center;
    }
    
    /* Mobile-specific improvements */
    .nav-link {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .nav-menu {
        margin-right: 15px;
    }
    
    .service-link {
        padding: 8px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .testimonial-card {
        touch-action: manipulation;
    }
    
    .service-card {
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .super-header {
        display: none;
    }

    .header {
        padding: 12px 0;
        top: 0;
    }

    .logo-img {
        height: 45px;
    }

    .firm-name-header {
        font-size: 13px;
        margin-left: 6px;
    }

    .cta-button {
        padding: 5px 10px;
        font-size: 10px;
        height: 28px;
        margin-right: 8px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        margin-left: auto;
        background: rgba(0, 0, 255, 0.3) !important; /* Debug: blue background */
    }

    .header-content {
        gap: 10px;
    }
    
    .nav-menu {
        margin-right: 12px;
    }

    .main-content {
        margin-top: 80px;
    }

    .hero-section {
        padding: 40px 0;
        margin-top: 0;
        min-height: calc(60vh + var(--fixed-header-offset));
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .footer {
        padding: 40px 0 20px;
    }
    
    /* Mega Menu Mobile */
    .mega-menu-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .mega-menu-hero {
        min-height: 200px;
    }
    
    .hero-section .hero-overlay {
        padding-top: calc(var(--fixed-header-offset) + 20px);
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 40px;
    }
    
    .hero-section .hero-overlay h3 {
        font-size: 20px;
    }
    
    .hero-section .hero-overlay p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .mega-menu-services {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-category {
        padding: 16px;
    }
    
    .category-header h4 {
        font-size: 16px;
    }
    
    .service-icon {
        width: 14px;
        height: 14px;
    }
    
    .service-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* ========================================
   NEW SECTIONS STYLES
======================================== */

/* About Section */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.consultant-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin-bottom: 24px;
}

.about-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #008181;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #718096;
}

.about-button {
    margin-top: 32px;
}

/* Why BIC Section */
.why-bic-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    text-align: center;
    margin-bottom: 60px;
}

.why-bic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.why-icon {
    margin-bottom: 20px;
}

.why-item h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1b222a;
    margin-bottom: 12px;
}

.why-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 32px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.factor-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.factor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.factor-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1b222a;
    margin: 0 0 16px 0;
}

.factor-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 16px 0;
}

.factor-content p:last-child {
    margin-bottom: 0;
}

.factor-content ul {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
    padding-left: 20px;
}

.factor-content li {
    margin-bottom: 8px;
}

.factor-content li:last-child {
    margin-bottom: 0;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

.section-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Masonry layout for homepage */
.testimonials-grid-masonry {
    display: block;
    column-count: 3;
    column-gap: 24px;
    column-fill: balance;
    padding-bottom: 24px;
}

.testimonials-grid-masonry .testimonial-card {
    display: inline-block;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    break-inside: avoid;
    page-break-inside: avoid;
    vertical-align: top;
}

/* Cards that are last in their column will have this class added by JS */
.testimonials-grid-masonry .testimonial-card.masonry-last-in-column {
    margin-bottom: 0;
}

/* Spacer to help align bottom items in columns */
.testimonials-column-spacer {
    display: none;
}

/* Tablet - 2 columns */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid-masonry {
        column-count: 2;
    }
}

.testimonial-card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Google Logo */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    background: #008181; /* Default fallback color */
}

/* Different colors for each avatar */
.testimonial-card:nth-child(1) .testimonial-avatar {
    background: #008181;
}

.testimonial-card:nth-child(2) .testimonial-avatar {
    background: #4285F4;
}

.testimonial-card:nth-child(3) .testimonial-avatar {
    background: #34A853;
}

.testimonial-card:nth-child(4) .testimonial-avatar {
    background: #FBBC05;
}

.testimonial-card:nth-child(5) .testimonial-avatar {
    background: #EA4335;
}

.testimonial-card:nth-child(6) .testimonial-avatar {
    background: #9C27B0;
}

.testimonial-card:nth-child(7) .testimonial-avatar {
    background: #FF5722;
}

.testimonial-card:nth-child(8) .testimonial-avatar {
    background: #00BCD4;
}

.testimonial-card:nth-child(9) .testimonial-avatar {
    background: #4CAF50;
}

.testimonial-card:nth-child(10) .testimonial-avatar {
    background: #FF9800;
}

.testimonial-card:nth-child(11) .testimonial-avatar {
    background: #2196F3;
}

.testimonial-card:nth-child(12) .testimonial-avatar {
    background: #E91E63;
}

.testimonial-card:nth-child(13) .testimonial-avatar {
    background: #795548;
}

.testimonial-card:nth-child(14) .testimonial-avatar {
    background: #607D8B;
}

.testimonial-header-info {
    flex: 1;
}

.testimonial-header-info h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1b222a;
    margin: 0 0 6px 0;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: #FFB800;
}

.testimonial-content {
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.testimonials-google-link {
    text-align: center;
    margin-top: 32px;
}

.testimonials-google-link a {
    text-decoration: underline;
    color: #008181;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.testimonials-google-link a:hover {
    color: #006666;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1b222a;
    margin: 0 0 4px 0;
}

.author-info span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #718096;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1b222a;
    margin-bottom: 12px;
}

.service-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 20px;
}

.service-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #008181;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #006666;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(2px);
}

/* Service Card Link Wrapper */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link:hover {
    text-decoration: none;
}

.service-card-link .service-card {
    cursor: pointer;
}

/* About Page Specific Styles */

/* Personal Story Section */
.personal-story-section {
    padding: 80px 0;
    background: #fff;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.story-image {
    position: relative;
}

.consultant-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.story-image .social-media {
    justify-content: center;
    margin-top: 24px;
}

.story-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #1b222a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.story-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

.public-registry-link {
    color: #008181;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.public-registry-link:hover {
    color: #006666;
    text-decoration: underline;
}

.credentials-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.credential-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.credential-text h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1b222a;
    margin: 0 0 6px 0;
}

.credential-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #4a5568;
    margin: 0;
}

/* Section Separator */
.section-separator {
    width: 100%;
    height: 1px;
    background-color: #e2e8f0;
    margin: 0;
}

/* Educational Background Section */
.education-section {
    padding: 80px 0;
    background: #fff;
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.degree-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.degree-item {
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #008181;
    transition: all 0.3s ease;
}

.degree-item:hover {
    background: #e6fffa;
    transform: translateX(4px);
}

.degree-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.university-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 12px;
}

.university-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.degree-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.degree-info h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1b222a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.degree-info p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #4a5568;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.degree-year {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #008181;
    background: #e6fffa;
    padding: 4px 12px;
    border-radius: 16px;
    display: inline-block;
    align-self: flex-start;
}

/* Service Pages Specific Styles */
.visitor-visa-hero,
.super-visa-hero,
.study-permit-hero,
.study-in-canada-hero,
.work-student-hero,
.pgwp-hero,
.express-entry-hero,
.pnp-hero,
.family-sponsorship-hero,
.francophone-work-permit-hero,
.family-member-work-permits-hero,
.fta-work-permits-hero,
.legal-terms-hero,
.contact-hero {
    background: url('./Images/hero-image.jpg') center/cover no-repeat;
    min-height: calc(300px + var(--fixed-header-offset));
}

.visitor-visa-content-section,
.service-content-section {
    padding: 0;
    background: #fff;
}

.visitor-visa-content-section .container,
.service-content-section .container {
    padding: 60px 20px;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}
    
.service-info-wrapper {
    max-width: 75%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .service-info-wrapper {
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .service-info-wrapper {
        max-width: 100%;
    }
}

.service-info-section {
    padding: 32px 0;
}

.service-info-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: #1b222a;
    margin-bottom: 16px;
}

.service-info-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #1b222a;
    margin-top: 16px;
    margin-bottom: 12px;
}

.service-info-section p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 16px;
}

.service-info-section ul {
    list-style: disc;
    margin: 0 0 16px 24px;
    padding: 0;
}

.service-info-section li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 8px;
}

.service-info-section ul ul {
    list-style: circle;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 20px;
}

.service-info-section + .service-info-section {
    border-top: 1px solid #e2e8f0;
}

.super-visa-content-section {
    padding: 0;
    background: #fff;
}

.super-visa-content-section .container {
    padding: 60px 20px;
}

.study-permit-content-section {
    padding: 0;
    background: #fff;
}

.study-permit-content-section .container {
    padding: 60px 20px;
}

.work-student-content-section {
    padding: 0;
    background: #fff;
}

.work-student-content-section .container {
    padding: 60px 20px;
}

.pgwp-content-section {
    padding: 0;
    background: #fff;
}

.pgwp-content-section .container {
    padding: 60px 20px;
}

.express-entry-content-section {
    padding: 0;
    background: #fff;
}

.express-entry-content-section .container {
    padding: 60px 20px;
}

.pnp-content-section {
    padding: 0;
    background: #fff;
}

.pnp-content-section .container {
    padding: 60px 20px;
}

.family-sponsorship-content-section {
    padding: 0;
    background: #fff;
}

.family-sponsorship-content-section .container {
    padding: 60px 20px;
}

.visitor-visa-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.super-visa-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.study-permit-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.work-student-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.pgwp-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.express-entry-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.pnp-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.family-sponsorship-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 32px 0;
    text-align: center;
}

.visitor-visa-content-section .content-text {
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.visitor-visa-content-section .content-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 24px 0;
}

.visitor-visa-content-section .content-text p:last-child {
    margin-bottom: 0;
}

.content-placeholder {
    text-align: center;
    padding: 40px 0;
}

.content-placeholder p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #4a5568;
    font-style: italic;
}

/* Russian Page Specific Styles */
.russian-hero {
    background: url('./Images/hero-image.jpg') center/cover no-repeat;
    min-height: 60vh;
}

/* Specialization Section */
.specialization-section {
    padding: 80px 0;
    background: #f8fafc;
}

.specialization-content {
    max-width: 1200px;
    margin: 0 auto;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.specialization-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.specialization-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.specialization-icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.specialization-text h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1b222a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.specialization-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.specialization-goal {
    background: #e6fffa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #008181;
    text-align: center;
}

.specialization-goal h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #1b222a;
    margin: 0 0 16px 0;
}

.specialization-goal p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.7;
    color: #1b222a;
    margin: 0;
}

/* Services Options Section */
.services-options-section {
    padding: 80px 0;
    background: #fff;
}

.services-options-content {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-option {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-option .service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.service-option h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1b222a;
    margin: 0 0 16px 0;
}

.service-option p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 40px 0;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #e6fffa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1b222a;
    margin: 0 0 8px 0;
}

.contact-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #008181;
    margin: 0 0 4px 0;
}

.contact-text span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #4a5568;
}

.contact-closing {
    margin-top: 40px;
}

.closing-message {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #008181;
    margin: 0 0 16px 0;
}

.signature {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #1b222a;
    margin: 0;
}

/* Contact Page Styles */

.contact-section {
    padding: 80px 0;
    background: #fff;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #008181;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 129, 129, 0.1);
}

.contact-card-icon {
    width: auto;
    min-width: 64px;
    height: 64px;
    background: #f0fdfa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    gap: 12px;
    padding: 0 16px;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.contact-icons-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-icon-square {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 120px;
}

.contact-icon-square-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.icon-square {
    width: 80px;
    height: 80px;
    background: #f0fdfa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-square:hover {
    background: #e6fffa;
    transform: translateY(-2px);
}

.icon-square svg {
    width: 32px;
    height: 32px;
}

.icon-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #4a5568;
    text-align: center;
}

.contact-number,
.contact-email {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #1b222a;
    margin: 0;
    text-align: center;
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #1b222a;
    margin: 0;
}

.contact-card p a {
    color: #008181;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card p a:hover {
    color: #006666;
}

/* Contact Section Divider */
.contact-section-divider {
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    margin: 60px 0;
}

/* Contact Main Wrapper */
.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-section-new h2,
.map-section-new h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #1b222a;
    margin: 0 0 32px 0;
}

.contact-form-section-new {
    display: flex;
    flex-direction: column;
}

.contact-intro {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 40px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-info-section {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: none;
}

.contact-info-section:not(:last-child) {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.contact-info-section:hover {
    transform: none;
    box-shadow: none;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f0fdfa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.contact-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #64748b;
    margin: 0 0 4px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
}

.contact-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #1b222a;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

.contact-content p a {
    color: #008181;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.contact-content p a:hover {
    color: #006666;
    text-decoration: none;
}

.contact-note {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.contact-hours {
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-hours h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1b222a;
    margin: 0 0 16px 0;
}

.contact-hours p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #4a5568;
    margin: 0 0 8px 0;
}

.contact-form-wrapper {
    background: #fff;
    padding: 0;
    border-radius: 0;
    border: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form .btn-primary {
    align-self: flex-start;
    width: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #1b222a;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #1b222a;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #008181;
    box-shadow: 0 0 0 3px rgba(0, 129, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Message Styles */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
}

.form-message.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.form-message.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.map-container {
    margin-top: 60px;
}

.map-container h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #1b222a;
    margin: 0 0 24px 0;
    text-align: center;
}

.map-section-new {
    display: flex;
    flex-direction: column;
    padding-top: 72px;
}

.map-section-new .map-wrapper {
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Service Pages Mobile Styles */
@media (max-width: 768px) {
    .visitor-visa-hero,
    .super-visa-hero,
    .study-permit-hero,
    .study-in-canada-hero,
    .work-student-hero,
    .pgwp-hero,
    .express-entry-hero,
    .pnp-hero,
    .family-sponsorship-hero,
    .francophone-work-permit-hero,
    .family-member-work-permits-hero,
    .fta-work-permits-hero,
    .legal-terms-hero,
    .contact-hero {
        min-height: calc(300px + var(--fixed-header-offset));
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .contact-card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }
    
    .contact-icons-row {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .contact-icon-square {
        max-width: 100px;
    }
    
    .icon-square {
        width: 70px;
        height: 70px;
    }
    
    .icon-square svg {
        width: 28px;
        height: 28px;
    }
    
    .icon-label {
        font-size: 13px;
    }
    
    .contact-number,
    .contact-email {
        font-size: 16px;
    }
    
    .contact-section-divider {
        margin: 40px auto;
    }
    
    .contact-main-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section-new h2,
    .map-section-new h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-section-new {
        padding-top: 0;
    }
    
    .map-section-new .map-wrapper {
        height: 350px;
    }
    
    .contact-info-section {
        gap: 12px;
        align-items: flex-start;
    }
    
    .contact-info-section:not(:last-child) {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
        margin-top: 0;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-content h3 {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .contact-content p {
        font-size: 16px;
    }
    
    .map-container-inline {
        margin-top: 32px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .visitor-visa-content-section .container,
    .service-content-section .container {
        padding: 40px 20px;
    }
    
    .super-visa-content-section .container {
        padding: 40px 20px;
    }
    
    .study-permit-content-section .container {
        padding: 40px 20px;
    }
    
    .work-student-content-section .container {
        padding: 40px 20px;
    }
    
    .pgwp-content-section .container {
        padding: 40px 20px;
    }
    
    .express-entry-content-section .container {
        padding: 40px 20px;
    }
    
    .pnp-content-section .container {
        padding: 40px 20px;
    }
    
    .family-sponsorship-content-section .container {
        padding: 40px 20px;
    }

    .visitor-visa-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .super-visa-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .study-permit-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .work-student-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .pgwp-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .express-entry-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .pnp-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .family-sponsorship-content-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .visitor-visa-content-section .content-text {
        margin-bottom: 32px;
    }

    .visitor-visa-content-section .content-text p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .content-placeholder {
        padding: 30px 0;
    }
    
    .content-placeholder p {
        font-size: 16px;
    }
    
    .factors-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 24px;
        margin-top: 32px;
    }

    .factor-card {
        padding: 24px;
    }

    .factor-content h3 {
        font-size: 18px;
    }

    .factor-content p {
        font-size: 15px;
    }

        .factor-content ul {
            font-size: 15px;
        }
        
        .section-cta {
            margin-top: 32px;
        }
        
        .section-cta .btn-primary {
            padding: 14px 28px;
            font-size: 15px;
        }
}

/* Russian Page Mobile Styles */
@media (max-width: 768px) {
    .russian-hero {
        min-height: 50vh;
    }
    
    .specialization-section,
    .services-options-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .specialization-item {
        padding: 20px;
        gap: 16px;
    }
    
    .specialization-text h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .specialization-text p {
        font-size: 14px;
    }
    
    .specialization-goal {
        padding: 24px;
    }
    
    .specialization-goal h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .specialization-goal p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-option {
        padding: 30px 20px;
    }
    
    .service-option h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-option p {
        font-size: 15px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .contact-item {
        padding: 20px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-text h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .contact-text p {
        font-size: 15px;
    }
    
    .contact-text span {
        font-size: 13px;
    }
    
    .closing-message {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .signature {
        font-size: 18px;
    }
}

/* Contact & CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
}

.contact-info {
    width: 100%;
}

.contact-info h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #1b222a;
    margin-bottom: 20px;
}

.contact-info p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* Right Column: Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Contact Card - Single White Box */
.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-details .contact-item:last-child {
    margin-bottom: 0;
}

/* Contact items inside the single box - no individual box styling */
.contact-card .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #e6fffa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1b222a;
    white-space: nowrap;
}

.contact-value {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.5;
}

.linkedin-link {
    color: #008181;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.linkedin-link:hover {
    color: #006666;
    text-decoration: underline;
}

/* CTA Actions */
.contact-sidebar .cta-actions {
    display: flex;
    width: 100%;
}

.contact-sidebar .cta-actions .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.cta-section {
    padding: 80px 0 40px 0;
    background: #008181;
    color: #fff;
    margin-bottom: 0;
}

.cta-section + .footer {
    margin-top: 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #008181;
    border: 2px solid #fff;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-buttons .btn-secondary:hover {
    background: #fff;
    color: #008181;
}

/* Fees Page Specific Styles */
.fees-hero,
.about-hero {
    min-height: calc(300px + var(--fixed-header-offset)); /* Fixed visible height + header offset */
    margin-top: 0 !important;
}

.fees-hero .hero-overlay,
.about-hero .hero-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--fixed-header-offset);
    padding-bottom: var(--fixed-header-offset);
}

/* Remove main-content margin when it starts with fees-hero */
.main-content > .fees-hero:first-child {
    margin-top: 0 !important;
}

.main-content:has(> .fees-hero:first-child) {
    margin-top: 0 !important;
}

.fees-content-section {
    padding: 40px 0;
    background: #fff;
    margin-top: 20px; /* Add space after hero section */
}

.fees-disclaimer {
    margin-bottom: 40px;
}

.disclaimer-box {
    padding: 0 20px;
    width: 75%;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.disclaimer-box p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 16px;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* Document Style Content */
.document-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px 20px;
    background: #fff;
    line-height: 1.8;
    color: #333;
}

/* Remove main-content margin when hero is outside */
main.main-content:not(:has(> .hero-section)) {
    margin-top: 0;
}

.document-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #1b222a;
    margin-top: 48px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.document-content h2:first-of-type {
    margin-top: 0 !important;
}

.document-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.document-content p:last-child {
    margin-bottom: 0;
}

.document-content strong {
    color: #1b222a;
    font-weight: 600;
}

.document-content ul {
    list-style: disc;
    margin: 0 0 20px 20px;
    padding: 0;
}

.document-content li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 10px;
}

.document-content li:last-child {
    margin-bottom: 0;
}

.fees-table-container {
    margin-top: 25px; /* Add space between content and table */
    margin-bottom: 80px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    width: 75%;
    margin: 0 auto;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-family: 'Inter', sans-serif;
}

.fees-table thead {
    background: #f8fafc;
    color: #1b222a;
}

.fees-table th {
    padding: 16px 20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    border: none;
    color: #4a5568;
}

.fees-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.fees-table tbody tr:last-child td {
    border-bottom: none;
}

.fees-table tbody tr:hover {
    background-color: #f8fafc;
}

.fees-table td:first-child {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1b222a;
    width: 40%;
}

.fees-table td:nth-child(2) {
    color: #4a5568;
    width: 35%;
    font-size: 15px;
}

.fees-table td:last-child {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #008181;
    text-align: left;
    width: 25%;
    font-size: 15px;
}

.fees-additional-info {
    margin: 40px auto;
    padding: 0 20px;
    width: 75%;
    max-width: 900px;
}

.fees-additional-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    color: #1b222a;
    margin-top: 0;
    margin-bottom: 16px;
}

.fees-additional-info ul {
    list-style: disc;
    margin: 0 0 20px 40px;
    padding: 0;
}

.fees-additional-info li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 10px;
}

.fees-additional-info li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .fees-additional-info {
        width: 100%;
        max-width: 90%;
        margin: 30px auto;
        padding: 0 12px;
    }
}

.fees-additional-info p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.fees-additional-info p:last-child {
    margin-bottom: 0;
}

/* What's Included Section */
.whats-included-section {
    background: #f8fafc;
    padding: 80px 0;
}

.included-content {
    max-width: 1200px;
    margin: 0 auto;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.included-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.included-icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.included-text h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1b222a;
    margin: 0 0 8px 0;
}

.included-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .consultant-image {
        height: 300px;
        border-radius: 8px;
    }
    
    .about-text h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 24px;
    }
    
    .about-button {
        margin-top: 24px;
        text-align: center;
    }
    
    .about-button .btn-primary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .why-bic-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-item {
        padding: 24px;
    }
    
    .why-item h3 {
        font-size: 18px;
    }
    
    .why-item p {
        font-size: 14px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid-masonry {
        column-count: 1;
        column-gap: 20px;
    }
    
    .testimonials-grid-masonry .testimonial-card {
        margin-bottom: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card::after {
        width: 20px;
        height: 20px;
        top: 16px;
        right: 16px;
    }
    
    .testimonial-header {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .testimonial-header-info h4 {
        font-size: 15px;
    }
    
    .testimonial-stars svg {
        width: 14px;
        height: 14px;
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
    
    .author-photo {
        width: 40px;
        height: 40px;
    }
    
    .author-info h4 {
        font-size: 15px;
    }
    
    .author-info span {
        font-size: 13px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        margin-bottom: 16px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 18px;
    }
    
    .service-content p {
        font-size: 14px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .cta-content p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-section,
    .why-bic-section,
    .testimonials-section,
    .services-section {
        padding: 40px 0;
    }
    
    /* About Page Mobile Styles */
    .personal-story-section {
        padding: 40px 0;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .consultant-photo {
        height: 300px;
    }
    
    .story-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .story-text p {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .credentials-highlight {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px 0;
        padding: 20px;
    }
    
    .credential-item {
        gap: 10px;
    }
    
    .credential-text h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .credential-text p {
        font-size: 13px;
    }
    
    .education-section {
        padding: 40px 0;
    }
    
    .education-content {
        margin-top: 30px;
    }
    
    .degree-list {
        gap: 16px;
    }
    
    .degree-item {
        padding: 20px;
    }
    
    .degree-header {
        gap: 24px;
        align-items: flex-start;
    }
    
    .university-logo {
        width: 120px;
        height: 90px;
        padding: 10px;
    }
    
    .university-logo-img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .degree-info h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .degree-info p {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .degree-year {
        font-size: 13px;
        padding: 3px 10px;
    }
    
    .contact-cta-section {
        padding: 40px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .contact-info p {
        font-size: 15px;
        margin-bottom: 0;
    }
    
    .contact-sidebar {
        gap: 16px;
    }
    
    .contact-card {
        padding: 20px 24px;
    }
    
    .contact-details {
        gap: 20px;
    }
    
    .contact-card .contact-item {
        gap: 12px;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-label {
        font-size: 15px;
    }
    
    .contact-value {
        font-size: 14px;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    .about-text h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .about-text p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .consultant-image {
        height: 250px;
        border-radius: 6px;
    }
    
    .about-stats {
        gap: 16px;
        margin-top: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .about-button {
        margin-top: 20px;
    }
    
    .about-button .btn-primary {
        max-width: 260px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .why-item {
        padding: 20px;
    }
    
    .why-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .why-item p {
        font-size: 13px;
    }
    
    .why-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .testimonial-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .testimonial-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .author-photo {
        width: 36px;
        height: 36px;
    }
    
    .author-info h4 {
        font-size: 14px;
    }
    
    .author-info span {
        font-size: 12px;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-content {
        padding: 16px;
    }
    
    .service-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .service-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .service-link {
        font-size: 13px;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .cta-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .cta-buttons {
        gap: 12px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        max-width: 260px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Fees Page Mobile Styles */
    .fees-hero,
    .about-hero {
        min-height: calc(300px + var(--fixed-header-offset)); /* Maintain visible height */
        margin-top: 0 !important;
    }
    
    .fees-content-section {
        padding: 20px 0;
        margin-top: 15px; /* Add space after hero section on mobile */
    }
    
    .fees-disclaimer {
        margin-bottom: 40px;
    }
    
    .disclaimer-box {
        padding: 0 12px;
        width: 100%;
        max-width: 90%;
    }
    
    .disclaimer-box h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .disclaimer-box p {
        font-size: 15px;
    }
    
    .fees-table-container {
        margin-top: 20px; /* Add space between content and table on mobile */
        margin-bottom: 40px;
    }
    
    .table-wrapper {
        width: 90%; /* Slightly wider on mobile for better readability */
        margin: 0 auto;
    }
    
    .fees-table th,
    .fees-table td {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .fees-table th {
        font-size: 14px;
    }
    
    .fees-table td:first-child {
        font-size: 14px;
    }
    
    .fees-table td:nth-child(2) {
        font-size: 14px;
    }
    
    .fees-table td:last-child {
        font-size: 14px;
    }
    
    .fees-additional-info {
        margin-bottom: 20px;
    }
    
    .fees-additional-info p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 16px;
        padding: 0 20px;
    }
    
    .fees-additional-info p:last-child {
        margin-bottom: 0;
    }
    
    /* What's Included Section Mobile */
    .whats-included-section {
        padding: 40px 0;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .included-item {
        padding: 20px;
        gap: 16px;
    }
    
    .included-text h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .included-text p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 24px;
    }
    
    .info-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .info-card p {
        font-size: 14px;
    }
    
    .whats-included-section {
        padding: 40px 0;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .included-item {
        padding: 14px;
    }
    
    .included-item span {
        font-size: 14px;
    }
    
    /* Visitor Visa Page Mobile Styles */
    .visitor-visa-hero,
    .super-visa-hero,
    .study-permit-hero,
    .study-in-canada-hero,
    .work-student-hero,
    .pgwp-hero,
    .express-entry-hero,
    .pnp-hero,
    .family-sponsorship-hero,
    .francophone-work-permit-hero,
    .family-member-work-permits-hero,
    .fta-work-permits-hero,
    .legal-terms-hero {
        min-height: calc(300px + var(--fixed-header-offset));
    }
    
    .visitor-visa-content-section .container,
    .service-content-section .container {
        padding: 30px 20px;
    }
    
    .super-visa-content-section .container {
        padding: 30px 20px;
    }
    
    .study-permit-content-section .container {
        padding: 30px 20px;
    }
    
    .work-student-content-section .container {
        padding: 30px 20px;
    }
    
    .pgwp-content-section .container {
        padding: 30px 20px;
    }
    
    .express-entry-content-section .container {
        padding: 30px 20px;
    }
    
    .pnp-content-section .container {
        padding: 30px 20px;
    }
    
    .family-sponsorship-content-section .container {
        padding: 30px 20px;
    }

    .visitor-visa-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .super-visa-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .study-permit-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .work-student-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .pgwp-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .express-entry-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .pnp-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .family-sponsorship-content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .visitor-visa-content-section .content-text {
        margin-bottom: 24px;
    }

    .visitor-visa-content-section .content-text p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 18px;
    }
    
    .content-placeholder {
        padding: 20px 0;
    }
    
    .content-placeholder p {
        font-size: 15px;
    }
    
    .content-section {
        padding: 30px 0;
    }

    .content-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .content-text p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .factors-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        margin-top: 24px;
    }

    .factor-card {
        padding: 20px;
    }

    .factor-content h3 {
        font-size: 16px;
    }

    .factor-content p {
        font-size: 14px;
    }

        .factor-content ul {
            font-size: 14px;
        }
        
        .section-cta {
            margin-top: 24px;
        }
        
        .section-cta .btn-primary {
            padding: 12px 24px;
            font-size: 14px;
        }
}

/* ========================================
   BLOG SECTION STYLES
======================================== */

/* Blog Hero */
.blog-hero {
    background: url('./Images/hero-image.jpg') center/cover no-repeat;
    min-height: calc(300px + var(--fixed-header-offset));
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-category {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #008181;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1b222a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.blog-card-title a {
    color: #1b222a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #008181;
}

.blog-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.blog-card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.blog-card-link-wrapper:hover {
    text-decoration: none;
}

.blog-card-link-wrapper:hover .blog-card-title {
    color: #008181;
}

.blog-card-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #008181;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.blog-card-link:hover {
    color: #006666;
}

.blog-card-link svg {
    transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
    transform: translateX(2px);
}

/* Blog Post Page Styles */
.blog-post-hero {
    background: url('./Images/hero-image.jpg') center/cover no-repeat;
    min-height: calc(300px + var(--fixed-header-offset));
}

.blog-post-section {
    padding: 60px 0;
    background: #fff;
}

.blog-post-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.blog-post-category {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #008181;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
}

.blog-post-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1b222a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #718096;
}

.blog-post-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.blog-post-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #1b222a;
    margin: 40px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.blog-post-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1b222a;
    margin: 32px 0 16px 0;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content ul {
    list-style: disc;
}

.blog-post-content ol {
    list-style: decimal;
}

.blog-post-content strong {
    color: #1b222a;
    font-weight: 600;
}

.blog-post-cta {
    margin-top: 50px;
    padding: 40px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #008181;
    text-align: center;
}

.blog-post-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #1b222a;
    margin: 0 0 16px 0;
}

.blog-post-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #4a5568;
    margin: 0 0 24px 0;
}

/* Mobile Responsive for Blog */
@media (max-width: 768px) {
    .blog-section {
        padding: 40px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 18px;
    }
    
    .blog-card-excerpt {
        font-size: 14px;
    }
    
    .blog-post-section {
        padding: 40px 0;
    }
    
    .blog-post-title {
        font-size: 28px;
    }
    
    .blog-post-content h2 {
        font-size: 24px;
    }
    
    .blog-post-content h3 {
        font-size: 20px;
    }
    
    .blog-post-cta {
        padding: 30px 20px;
    }
    
    .blog-post-cta h3 {
        font-size: 20px;
    }
}
