:root {
    --primary-color: #1a56db;
    --primary-dark: #1e40af;
    --secondary-color: #0f172a;
    --success-green: #059669;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #1a56db 100%);
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 82px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent; /* Ensure equal size with bordered buttons */
    gap: 8px;
    min-height: 52px; /* Standardize height */
    box-sizing: border-box;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: #f0f0f0;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.full-width {
    width: 100%;
}

.btn-whatsapp {
    background-color: #25D366 !important;
    color: white !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Mobile Responsive Navbar */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
        z-index: 1001; /* Ensure hamburger stays above menu */
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo img {
        height: 60px; /* Increased from 50px */
    }

    .nav-menu {
        position: fixed;
        top: 0; /* Cover full screen */
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 90px 20px 40px 20px; /* Adjusted padding */
        transition: left 0.3s ease;
        overflow-y: auto;
        gap: 0;
        box-shadow: none;
        z-index: 1000;
    }
    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    /* Remove border for the last item (CTA) and give it spacing */
    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.1s;
    }

    /* Staggered animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }

    .nav-link {
        display: flex;
        justify-content: flex-start; /* Align text to the left */
        align-items: center;
        padding: 16px 10px;
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-dark);
        transition: background 0.2s, color 0.2s;
        cursor: pointer;
        font-weight: 500;
        border-radius: 8px;
        text-align: left; /* Ensure text alignment */
    }

    .nav-link i {
        margin-left: auto; /* Push icon to the right */
    }

    /* Add hover/active state for mobile links */
    .nav-link:active, .nav-link:hover {
        background-color: var(--bg-light);
        color: var(--primary-color);
    }

    /* Style the CTA button in menu */
    .nav-menu .btn.nav-cta {
        width: 100%;
        justify-content: center;
        margin: 0;
        background-color: #25D366;
        color: white;
        border-radius: 50px; /* Pill shape */
        font-weight: 600;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    }
    
    .nav-menu .btn.nav-cta:hover {
        background-color: #128C7E;
        color: white; /* Ensure text stays white */
    }

    .nav-cta {
        /* Reset nav-cta specific styles that might conflict */
        display: flex; 
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 5px 0 5px 15px; /* Indent content */
        display: none;
        background: transparent; /* Transparent to blend */
        border-radius: 0;
        border-top: none;
        border-bottom: none;
        margin-bottom: 10px;
        border-left: 2px solid var(--border-color); /* Tree line guide */
        margin-left: 10px;
    }
    
    .dropdown-menu li {
        border-bottom: none; /* Remove separator in dropdown */
        opacity: 0;
        animation: slideDown 0.3s ease forwards;
        margin-bottom: 2px;
    }
    
    /* Staggered animation for dropdown items */
    .dropdown.active .dropdown-menu li:nth-child(1) { animation-delay: 0.05s; }
    .dropdown.active .dropdown-menu li:nth-child(2) { animation-delay: 0.1s; }
    .dropdown.active .dropdown-menu li:nth-child(3) { animation-delay: 0.15s; }
    .dropdown.active .dropdown-menu li:nth-child(4) { animation-delay: 0.2s; }
    .dropdown.active .dropdown-menu li:nth-child(5) { animation-delay: 0.25s; }
    .dropdown.active .dropdown-menu li:nth-child(6) { animation-delay: 0.3s; }

    .dropdown-menu li a {
        padding: 12px 15px;
        font-size: 0.95rem;
        color: var(--text-light);
        display: block; 
        position: relative;
        border-radius: 6px;
    }
    
    .dropdown-menu li a::before {
        display: none; /* Remove the dot */
    }

    .dropdown-menu li a:hover, .dropdown-menu li a:active {
        color: var(--primary-color);
        background: var(--bg-light);
        padding-left: 15px; /* Keep padding consistent */
    }
    
    /* Active state for dropdown in mobile */
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown.active .nav-link i {
        transform: rotate(180deg);
    }
    
    .dropdown.active > .nav-link {
        color: var(--primary-color);
        background: transparent; /* No background for parent link */
        font-weight: 600;
        border-left: none; /* Remove left border from previous style */
    }
    
    /* Footer Mobile Adjustments */
    .footer-logo {
        max-width: 80px; /* Decrease footer logo size on mobile */
    }
    
    /* CTA Buttons Mobile Stack */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        padding: 0 20px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }

    /* Hero Section Tablet/Mobile Adjustment */
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 15px; /* Add slight side padding for text */
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem; /* Adjust title size for tablet */
    }

    .hero-image {
        width: 100%;
        max-width: 480px; /* Constrain image width */
        margin: 0 auto;
        padding-top: 20px;
    }

    /* Page Hero Buttons Mobile/Tablet Adjustment */
    .page-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 15px;
    }

    .page-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-back {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.hero-img-front {
    position: absolute;
    width: 75%;
    height: auto;
    z-index: 2;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
}

/* Mobile Optimizations for Sections */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px; /* Reduce top padding */
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .services, .about, .features, .cta-section, .contact, .faq, .service-detail {
        padding: 60px 0; /* Standardize section padding on mobile */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Ensure buttons are full width on mobile for better UX */
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Grid Layout Optimizations - Force 1 column on mobile */
    .services-grid,
    .features-content,
    .about-content,
    .service-detail-grid,
    .cta-buttons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Adjust specific layouts */
    .about-content {
        gap: 2rem;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .service-sidebar {
        margin-top: 2rem;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 86, 219, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .service-list {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.service-card .service-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-card .service-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link::after {
    content: '→';
}

.service-link:hover {
    gap: 0.8rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}



@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.page-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Service Detail */
.service-detail {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

.service-detail-main h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-detail-main h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--success-green);
    position: absolute;
    left: 0;
    top: 0;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-info-card, .service-cta-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.service-info-card h3, .service-cta-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.service-info-card ul {
    list-style: none;
}

.service-info-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.service-info-card ul li i {
    color: var(--primary-color);
}

.service-cta-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-cta-card .btn {
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section .section-title {
    color: white;
    margin-bottom: 20px;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-cta-custom {
    background-color: #0f172a;
    color: white;
    border: 2px solid #0f172a;
}

.btn-cta-custom:hover {
    background-color: white;
    color: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(26, 86, 219, 0.08);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* FAQ Section (New) */
.faq {
    padding: 120px 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    user-select: none; /* Prevent text selection on double click */
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(26, 86, 219, 0.05); /* Slight blue tint */
    color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: block; /* Ensure it's not hidden by display: none */
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 1000px; /* Increased to accommodate longer content */
    opacity: 1;
}

.faq-answer p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.faq-answer ul li {
    margin-bottom: 8px;
}

/* Footer (Restored) */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.footer-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 24px;
    border-radius: 8px; /* Optional: adds a slight rounded corner if desired */
}

.footer-section h3 span {
    color: var(--success-green);
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--success-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--success-green);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--success-green);
    margin-top: 5px;
}

.footer-contact-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-contact-item a:hover {
    color: var(--success-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

#scrollToTopBtn.show {
    display: flex;
}

/* Contact Page Specifics */
.contact {
    padding: 120px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact-info {
    background: var(--gradient-hero);
    color: white;
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    text-align: left;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-item p {
    opacity: 0.9;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

/* Map Section */
.map-section {
    padding-bottom: 120px;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Slider for Trusted Partners */
.partners-section {
    padding: 60px 0;
    background: white;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--text-dark);
}

.slider {
    height: 110px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 110px;
    position: absolute;
    width: 150px; /* Reduced mask width */
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(280px * 26); /* Updated width calculation */
}

.slide-track:hover {
    animation-play-state: paused;
}

.slide {
    height: 90px;
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.slide img:hover {
    transform: scale(0.9);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 13)); } /* Adjust based on number of unique slides */
}

/* Contact Responsive */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 30px;
    }

    .contact-info {
        padding: 30px;
    }
}

/* Google Reviews Section */
.google-reviews {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.testimonial-slider {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0; /* Space for shadow */
}

.testimonial-slider::before,
.testimonial-slider::after {
    background: linear-gradient(to right, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    top: 0;
    pointer-events: none;
}

.testimonial-slider::after {
    right: 0;
    transform: rotateZ(180deg);
}

.testimonial-slider::before {
    left: 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: calc(350px * 12); /* 6 cards * 2 (duplicated) */
    animation: scroll-rtl 40s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 320px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.user-details h4 {
    font-size: 1rem;
    margin: 0 0 4px 0;
    color: var(--text-dark);
    font-weight: 600;
}

.stars {
    color: #fbbc04;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
}

.google-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.google-text {
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 500;
}

@keyframes scroll-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 6)); }
}

/* Mobile Responsive for Testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        width: 280px;
    }
    
    .testimonial-track {
        width: calc(310px * 12); /* (280 + 30) * 12 */
    }
    
    @keyframes scroll-rtl {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-310px * 6)); }
    }
}

/* =========================================
   About Page Specific Styles
   ========================================= */

/* About Page Hero & Intro */
.about-page-content {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.about-intro {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-intro-header {
    margin-bottom: 30px;
}

.about-intro-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-intro-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

.about-intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-closing-text {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-closing-text.highlight {
    font-weight: 500;
    color: var(--secondary-color);
}

/* What We Do Section */
.what-we-do {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

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

.service-card-about {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-about::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.service-card-about:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card-about h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card-about p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Specific Border Colors for Service Cards */
.service-card-about.company-reg::before { background: var(--primary-color); }
.service-card-about.taxation::before { background: var(--success-green); }
.service-card-about.accounting::before { background: #f59e0b; }
.service-card-about.financing::before { background: #3b82f6; }
.service-card-about.ip::before { background: #8b5cf6; }

/* Core Values Section */
.core-values {
    background: #f8fafc;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-item .value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Specific Colors for Value Icons */
.value-item.val-experience .value-icon { color: var(--primary-color); }
.value-item.val-solutions .value-icon { color: var(--success-green); }
.value-item.val-pricing .value-icon { color: #f59e0b; }
.value-item.val-trust .value-icon { color: #8b5cf6; }

/* Commitment CTA */
.commitment-cta {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.commitment-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-green));
}

.commitment-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.commitment-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.commitment-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.cta-box {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.commitment-cta .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Responsive Adjustments for About Page */
@media (max-width: 768px) {
    .about-intro-header h2 {
        font-size: 2rem;
    }
    
    .service-card-about {
        padding: 30px 20px;
    }
    
    .core-values, .commitment-cta {
        padding: 40px 20px;
    }
    
    .value-item {
        padding: 20px;
    }
}

