/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Features */
.background-features {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #1e40af, #60a5fa);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1d4ed8, #93c5fd);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Call Button */
.call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.call-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
    background: linear-gradient(45deg, #1e40af, #60a5fa);
}

.call-button:active {
    transform: translateY(-1px);
}

@keyframes pulse {
    0% { box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(30, 58, 138, 0.6); }
    100% { box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3); }
}

.phone-icon {
    font-size: 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu - Completely Fixed for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 5px;
    padding: 5px;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.4);
}

.bar {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    margin: 2px 0;
    transition: 0.3s ease;
    border-radius: 2px;
    display: block;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* CRITICAL FIX: Force hamburger visibility on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1001 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 2px solid #1e3a8a !important;
        border-radius: 5px !important;
        padding: 5px !important;
        width: 35px !important;
        height: 35px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .hamburger:hover {
        background: rgba(30, 58, 138, 0.1) !important;
        border-color: #1e3a8a !important;
        transform: scale(1.05) !important;
    }
    
    .hamburger .bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #1e3a8a !important;
        width: 25px !important;
        height: 3px !important;
        margin: 2px 0 !important;
    }
    
    /* Hide regular nav menu on mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        overflow-y: auto;
        z-index: 999;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(30, 58, 138, 0.1);
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link:hover {
        background-color: rgba(30, 58, 138, 0.05);
        color: #1e3a8a;
    }

    .nav-link::after {
        display: none;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    /* Ensure navbar has proper height */
    .navbar {
        min-height: 70px;
        display: flex;
        align-items: center;
    }
    
    .nav-container {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #e0e7ff 100%);
    background-image: url('https://img.freepik.com/free-photo/representation-collective-mind-process-concept-digital-art-style_23-2151657666.jpg?semt=ais_hybrid&w=740');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin: 0 12rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease 0.2s both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease 0.4s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-graphic {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6, #60a5fa);
    border-radius: 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-graphic::before {
    content: '🧠';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: white;
}

/* Glow Effect */
.glow-effect {
    transition: all 0.3s ease;
}

.glow-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 3rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.features-grid.no-card {
    gap: 3rem;
}

.feature-item {
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-image {
    margin-bottom: 1.2rem;
    border-radius: 24px;
    overflow: hidden;
    height: 260px;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 24px;
}

.feature-image:hover,
.feature-image:focus,
.feature-image:active {
    box-shadow: 0 0 32px 8px rgba(59, 130, 246, 0.35), 0 0 8px 2px #1e3a8a;
    transform: scale(1.04);
}

.feature-image:hover img,
.feature-image:focus img,
.feature-image:active img {
    transform: scale(1.08);
}

.feature-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.feature-item p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Info Section */
.contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.about-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.about-photo {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.10);
    margin-bottom: 0.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.about-photo:hover,
.about-photo:focus,
.about-photo:active {
    box-shadow: 0 0 32px 8px rgba(59, 130, 246, 0.25), 0 0 8px 2px #1e3a8a;
    transform: scale(1.04);
}

.about-graphic {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6, #60a5fa);
    border-radius: 20px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.about-graphic::before {
    content: '💙';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    color: white;
}

.about-graphic-bg {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 320px;
    height: 320px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6, #60a5fa);
    border-radius: 30px;
    opacity: 0.13;
    z-index: 0;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.about-photo.large {
    width: 420px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.10);
    margin-bottom: 0.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    color: #64748b;
    line-height: 1.6;
}

/* FAQ Styles */
.faq-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #e0e7ff 100%);
    text-align: center;
}

.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.faq-question h3 {
    color: #1e3a8a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: #1e3a8a;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.faq-item.active .faq-question h3,
.faq-item.active .faq-question .faq-icon {
    color: white;
}

.faq-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
    text-align: center;
}

.faq-cta .cta-content h2 {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-cta .cta-content p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.faq-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page-specific Hero Sections */
.services-hero,
.about-hero,
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #e0e7ff 100%);
    text-align: center;
}

/* Services Page Styles */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-image {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.12);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card .btn {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}

.service-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: bold;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    animation: none;
    transition: box-shadow 0.3s, transform 0.3s, opacity 0.5s;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s forwards;
}

.process-step.glow-touch {
    box-shadow: 0 0 32px 8px rgba(59, 130, 246, 0.25), 0 0 8px 2px #1e3a8a;
    transform: scale(1.06) translateY(-8px);
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: #64748b;
    line-height: 1.6;
}

/* About Page Styles */
.mission-section {
    padding: 80px 0;
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-text h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.mission-text p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.1rem;
}

.mission-graphic {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6, #60a5fa);
    border-radius: 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
}

.mission-graphic::before {
    content: '💙';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: white;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: white;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.member-image {
    flex-shrink: 0;
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.member-info h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-title {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.member-credentials span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Experience Section */
.experience-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.experience-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.experience-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.experience-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.experience-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9ff;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.08), rgba(30, 58, 138, 0.08));
    border-radius: 30px;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.testimonial-card:hover {
    box-shadow: 0 16px 48px rgba(30, 58, 138, 0.15);
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.2);
}

.testimonial-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.testimonial-image {
    position: relative;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e0e7ff;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
    border-color: #3b82f6;
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.25);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    color: #334155;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: #3b82f6;
    position: absolute;
    top: -10px;
    left: -20px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-content p::after {
    content: '"';
    font-size: 3rem;
    color: #3b82f6;
    position: absolute;
    bottom: -25px;
    right: -10px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-author h4 {
    margin: 0 0 0.25rem 0;
    color: #1e3a8a;
    font-size: 1.2rem;
    font-weight: 600;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact Page Styles */
.contact-details {
    padding: 80px 0;
    background: white;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-container p {
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

/* Emergency Section */
.emergency-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: white;
    text-align: center;
}

.emergency-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.emergency-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.emergency-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.emergency-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hours Section */
.hours-section {
    padding: 80px 0;
    background: white;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.hours-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.hours-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hours-time {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.hours-card p:last-child {
    color: #64748b;
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e0e7ff 100%);
}

.map-container {
    max-width: 600px;
    margin: 0 auto;
}

.map-placeholder {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-placeholder p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1001 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 2px solid #1e3a8a !important;
        border-radius: 5px !important;
        padding: 5px !important;
        width: 35px !important;
        height: 35px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .hamburger:hover {
        background: rgba(30, 58, 138, 0.1) !important;
        border-color: #1e3a8a !important;
        transform: scale(1.05) !important;
    }
    
    .hamburger .bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #1e3a8a !important;
        width: 25px !important;
        height: 3px !important;
        margin: 2px 0 !important;
    }
    
    /* Hide regular nav menu on mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        overflow-y: auto;
        z-index: 999;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(30, 58, 138, 0.1);
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link:hover {
        background-color: rgba(30, 58, 138, 0.05);
        color: #1e3a8a;
    }

    .nav-link::after {
        display: none;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    /* Ensure navbar has proper height */
    .navbar {
        min-height: 70px;
        display: flex;
        align-items: center;
    }
    
    .nav-container {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 60px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem 0;
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
        margin-top: 2rem;
    }

    .hero-graphic::before {
        font-size: 6rem;
    }

    .call-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
        z-index: 1002;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .about-graphic {
        width: 280px;
        height: 280px;
    }

    .about-graphic::before {
        font-size: 4rem;
    }

    .features-grid.no-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-image {
        height: 200px;
        max-width: 100%;
    }

    .about-image {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-photo {
        width: 100%;
        max-width: 320px;
        height: 180px;
    }

    .testimonial-layout {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .testimonial-image img {
        width: 70px;
        height: 70px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        margin: 0;
    }

    /* Process Grid */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Form Responsive */
    .form-container {
        padding: 2rem 1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Container padding */
    .container {
        padding: 0 15px;
    }

    /* Improve spacing and readability */
    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    /* Better button spacing */
    .hero-buttons {
        margin-top: 2rem;
    }

    /* Improve card layouts */
    .service-card,
    .testimonial-card,
    .contact-card {
        margin-bottom: 1.5rem;
    }

    /* Better form layout */
    .form-group {
        margin-bottom: 1.5rem;
    }

    /* Improve FAQ layout */
    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        border-radius: 8px;
    }

    /* Better image handling */
    .feature-image img,
    .service-image img,
    .testimonial-image img {
        object-fit: cover;
    }

    /* Improve call button visibility */
    .call-button {
        box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    }

    /* Better section spacing */
    .section {
        margin: 2rem 0;
    }

    /* Improve text readability */
    p {
        line-height: 1.7;
    }

    /* Better list spacing */
    .service-features li {
        margin-bottom: 0.5rem;
    }

    /* Improve navigation visibility */
    .navbar {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }

    /* About page specific styles */
    .about-hero {
        padding: 100px 0 60px;
        min-height: 60vh;
    }
    
    .about-hero .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .mission-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .mission-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .mission-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .mission-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .mission-graphic {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .value-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .value-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .team-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .team-member {
        padding: 2rem 1.5rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
        font-size: 3rem;
        margin: 0 auto 1.5rem;
    }
    
    .member-info h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .member-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .member-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .member-credentials {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .member-credentials span {
        font-size: 0.9rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-item {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .experience-number {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .experience-item h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .experience-item p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Services page specific styles */
    .services-hero-img {
        padding: 100px 0 60px;
        min-height: 60vh;
    }
    
    .services-hero-img .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .services-hero-img .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-image {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .service-features {
        margin-bottom: 1.5rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1.5rem;
    }
    
    .process-step h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .process-step p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .author-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .author-info span {
        font-size: 0.9rem;
    }
    
    /* CTA section responsive */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-logo h2 {
        font-size: 1.1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-graphic {
        width: 250px;
        height: 250px;
    }

    .hero-graphic::before {
        font-size: 4rem;
    }

    .call-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .call-button span {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .contact-grid,
    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-stats {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-graphic {
        width: 250px;
        height: 250px;
    }

    .about-graphic::before {
        font-size: 3rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 0.9rem;
    }

    .faq-answer p {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .feature-image {
        height: 150px;
        max-width: 100%;
    }

    .about-photo {
        width: 100%;
        max-width: 100%;
        height: 120px;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-image img {
        width: 60px;
        height: 60px;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-image {
        height: 150px;
    }

    .process-step {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .form-container {
        padding: 1.5rem 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 10px;
    }

    /* Footer adjustments */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #60a5fa;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.about-hero {
    padding: 120px 0 80px;
    background: url('https://a.storyblok.com/f/155755/1920x1281/fbffefdae1/the-importance-of-having-a-psychologist-blog.jpg/m/2402x0/filters:format(webp)') center center/cover no-repeat;
    text-align: center;
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero::before {
    display: none !important;
    background: none !important;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .hero-title,
.about-hero .hero-subtitle {
    color: #fff;
    text-shadow: 0 2px 12px rgba(30,58,138,0.5);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.fullscreen-hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero-img {
    min-height: 100vh;
    height: 100vh;
    background: url('https://images.everydayhealth.com/images/emotional-health/what-is-a-psychologist-1440x810.jpg?w=508') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.services-hero-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 30, 60, 0.65); /* single, darker overlay */
    z-index: 1;
}

.services-hero-img .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.services-hero-img .hero-title,
.services-hero-img .hero-subtitle {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(30,58,138,0.5), 0 0 4px rgba(255,255,255,0.3), 2px 2px 0px rgba(0,0,0,0.3);
    -webkit-text-stroke: 3px #fff;
    text-stroke: 3px #fff;
    stroke: 3px #fff;
    paint-order: stroke fill;
}

.contact-hero-img {
    min-height: 50vh;
    height: 50vh;
    background: url('https://electrodoc.co.za/images/contact_us.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-hero-img::before {
    display: none !important;
    background: none !important;
}

.contact-hero-img .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero-img .hero-title,
.contact-hero-img .hero-subtitle {
    color: #fff;
    font-size: 2.7rem;
    text-shadow: 0 2px 12px rgba(30,58,138,0.5);
}

.faq-hero-img {
    min-height: 50vh;
    height: 50vh;
    background: url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=1920&h=1080&fit=crop') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.faq-hero-img::before {
    display: none !important;
    background: none !important;
}

.faq-hero-img .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.faq-hero-img .hero-title,
.faq-hero-img .hero-subtitle {
    color: #fff;
    font-size: 2.7rem;
    text-shadow: 0 2px 12px rgba(30,58,138,0.5);
}

/* Animate Our Process */
.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.3s; }
.process-step:nth-child(3) { animation-delay: 0.5s; }
.process-step:nth-child(4) { animation-delay: 0.7s; }

/* Animation utility for testimonials */
.testimonial-animate {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s forwards;
}

.about-hero .hero-title,
.about-hero .hero-subtitle {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(30,58,138,0.5), 0 0 4px rgba(255,255,255,0.3), 2px 2px 0px rgba(0,0,0,0.3);
    -webkit-text-stroke: 3px #fff;
    text-stroke: 3px #fff;
    stroke: 3px #fff;
    paint-order: stroke fill;
}

.contact-hero-img .hero-title,
.contact-hero-img .hero-subtitle {
    color: #fff;
    font-size: 2.7rem;
    text-shadow: 0 2px 12px rgba(30,58,138,0.5);
}

.faq-hero-img .hero-title,
.faq-hero-img .hero-subtitle {
    color: #fff;
    font-size: 2.7rem;
    text-shadow: 0 2px 12px rgba(30,58,138,0.5);
}

/* Medium devices (tablets) */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid.no-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-content {
        gap: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Ensure mobile menu is above all other elements */
.nav-menu.active {
    z-index: 1000;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .call-button {
        min-height: 50px;
        min-width: 50px;
    }

    /* Improve form elements */
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px;
    }

    /* Better spacing for mobile */
    .hero {
        padding: 120px 0 80px;
    }

    .section {
        padding: 60px 0;
    }

    .features,
    .about-us,
    .process-section,
    .testimonials-section {
        padding: 60px 0;
    }
}

/* Landscape orientation improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
        padding: 80px 0 40px;
    }

    .nav-menu {
        height: calc(100vh - 70px);
        max-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-link,
    .btn,
    .call-button {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
} 