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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        /* Header */
        .header {
            background: #cac0b2;
            color: #5d4037;
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

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

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

        /* Fixed Logo Styling for Image */
        .logo-container {
            display: flex;
            align-items: center;
        }

        .logo {
            height: 50px; /* Fixed height for logo */
            width: auto; /* Maintain aspect ratio */
            max-height: 50px;
            object-fit: contain; /* Ensure proper image scaling */
        }

        /* Fixed Navigation Styling */
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 35px;
            margin: 0;
            padding: 0;
        }

        .main-nav li {
            margin: 0;
        }

        .fatima-nav-link {
            color: white !important;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 8px 15px;
            border-radius: 5px;
            display: block;
        }

        .fatima-nav-link:hover {
            background-color: rgba(255,255,255,0.15);
            transform: translateY(-1px);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 5px;
        }

        /* Mobile Navigation Styles */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 15px;
            }

            .mobile-menu-toggle {
                display: block;
                position: absolute;
                top: 15px;
                right: 20px;
            }

            .main-nav {
                display: none;
                width: 100%;
                margin-top: 10px;
            }

            .main-nav.mobile-open {
                display: block;
            }

            .main-nav ul {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .fatima-nav-link {
                padding: 12px 20px;
            }

            /* Logo mobile responsiveness */
            .logo {
                height: 40px !important;
                max-height: 40px;
            }
        }

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 1500;
            overflow-y: auto;
            padding: 0;
            box-sizing: border-box;
            padding-top: 100px; /* Increased space for the header */
        }

        .modal-content {
            width: 100%;
            max-width: 900px;
            position: relative;
            margin: 20px auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            left: 50%;
            transform: translateX(-50%);
            z-index: 1501;
        }

        /* Fallback close button styling */
        .fallback-close-btn {
            position: fixed;
            top: 135px;
            right: 20px;
            background: rgba(255, 255, 255, 0.95);
            border: none;
            color: #333;
            font-size: 2rem;
            cursor: pointer;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
            z-index: 1502;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .fallback-close-btn:hover {
            background: rgba(255, 255, 255, 1);
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        /* Hero Section with enhanced readability */
        .hero {
            background: linear-gradient(135deg, rgba(26, 54, 93, 0.4), rgba(45, 90, 135, 0.5)), 
                        var(--hero-bg, url('images/web/bck1s.png'));
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        /* About Section with CSS Variables */
        .about-section {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), 
                        var(--about-bg, url('images/web/bck2.jpg'));
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .about-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        /* Services Section with enhanced readability */
        .services-section {
            background: linear-gradient(135deg, rgba(26, 54, 93, 0.3), rgba(45, 90, 135, 0.4)), 
                        var(--services-bg, url('images/web/bck3.jpg'));
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .services-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        /* Training Section with enhanced readability */
        .training-section {
            background: linear-gradient(135deg, rgba(26, 54, 93, 0.3), rgba(45, 90, 135, 0.4)), 
                        var(--training-bg, url('images/web/bck4.jpg'));
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .training-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        /* Contact Section with enhanced readability */
        .contact-section {
            background: linear-gradient(135deg, rgba(26, 54, 93, 0.3), rgba(45, 90, 135, 0.4)), 
                        var(--contact-bg, url('images/web/bck5.jpg'));
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .contact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        /* Visible professional zoom-in effect like original */
        .hero::after {
            content: '';
            position: absolute;
            top: -10%;
            left: -10%;
            right: -10%;
            bottom: -10%;
            background: linear-gradient(135deg, rgba(26, 54, 93, 0.3), rgba(45, 90, 135, 0.4)), 
                        var(--hero-bg, url('images/web/bck1.jpg'));
            background-size: 110%;
            background-position: center;
            animation: heroZoom 10s ease-in-out infinite alternate;
            z-index: -1;
        }

        /* Text containers for consistent styling */
        .services-text,
        .training-text,
        .contact-text {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            z-index: 2;
        }

        /* Ensure all content stays above animated backgrounds */
        .hero-content,
        .about-text,
        .about-grid,
        .services-text,
        .training-text,
        .contact-text,
        .container,
        .hero-buttons,
        .services-grid,
        .contact-grid,
        .training-card-1,
        .training-card-2,
        .contact-card-1,
        .contact-card-2,
        .contact-card-3 {
            position: relative;
            z-index: 2;
        }

        @keyframes heroZoom {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.06);
            }
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(ellipse at center, rgba(26, 54, 93, 0.1) 0%, rgba(26, 54, 93, 0.3) 100%);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            padding: 0 20px;
        }

        .hero h1,
        .about-text h1,
        .services-text h1,
        .training-text h1,
        .contact-text h1 {
            font-size: clamp(1.8rem, 4vw, 4rem); /* Fluid typography */
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #ff8c00, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.8));
            line-height: 1.1; /* Tighter line height to prevent truncation */
            text-align: center;
            position: relative;
            z-index: 2;
            word-wrap: break-word; /* Allow word wrapping */
            hyphens: auto; /* Enable hyphenation for German */
        }

        /* Adjust font size for section titles vs hero title */
        .about-text h1,
        .services-text h1,
        .training-text h1,
        .contact-text h1 {
            font-size: clamp(1.5rem, 3vw, 2.8rem);
        }

        .hero .subtitle {
            font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* Fluid typography */
            margin-bottom: 40px;
            opacity: 0.95;
            font-weight: 300;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            background: rgba(0, 0, 0, 0.15);
            padding: 20px;
            border-radius: 15px;
            backdrop-filter: blur(5px);
            position: relative;
            z-index: 2;
            line-height: 1.5;
            word-wrap: break-word;
        }

        /* Add responsive styling for treatment journey section */
        .hero .treatment-journey {
            font-size: clamp(1.0rem, 2.2vw, 1.3rem);
            margin-bottom: 40px;
            opacity: 0.95;
            font-weight: 300;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            background: rgba(0, 0, 0, 0.15);
            padding: 20px;
            border-radius: 15px;
            backdrop-filter: blur(5px);
            position: relative;
            z-index: 2;
            text-align: left;
            line-height: 1.6;
            word-wrap: break-word;
        }

        .hero .treatment-journey h3 {
            color: white;
            font-size: clamp(1.2rem, 3vw, 1.6rem);
            margin-bottom: 20px;
            font-weight: 600;
            line-height: 1.3;
        }

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

        .btn-primary {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            color: white;
            padding: 15px 35px;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
        }

        .btn-secondary {
            background: #cac0b2;
            color: white;
            padding: 15px 35px;
            text-decoration: none;
            border: 2px solid #cac0b2;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
        }

        .btn-secondary:hover {
            background: #b8ae9f;
            color: white;
            transform: translateY(-3px);
        }

        /* Service Cards Floating */
        .floating-services {
            position: absolute;
            top: 80px;
            left: 0;
            right: 0;
            z-index: 10;
            pointer-events: none;
        }

        .service-card-float {
            position: absolute;
            background: rgba(255, 255, 255, 0.95);
            padding: 15px 20px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            backdrop-filter: blur(10px);
            text-align: center;
            transition: all 0.3s ease;
            min-width: 160px;
            max-width: 180px;
            pointer-events: auto;
        }

        .service-card-float:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.2);
        }

        .service-card-float.top-left {
            top: 15%;
            left: 8%;
        }

        .service-card-float.top-right {
            top: 10%;
            right: 8%;
        }

        .service-card-float.bottom-left {
            bottom: 15%;
            left: 5%;
        }

        .service-card-float.bottom-right {
            bottom: 10%;
            right: 10%;
        }

        .service-card-float h4 {
            color: #1a365d;
            font-size: 1rem;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .service-card-float p {
            color: #666;
            font-size: 0.85rem;
            line-height: 1.3;
            margin: 0;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .about-text h2 {
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            color: white;
            margin-bottom: 30px;
            font-weight: 600;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
            position: relative;
            z-index: 2;
            line-height: 1.2;
            word-wrap: break-word;
        }

        .about-text p {
            font-size: clamp(1.0rem, 2.2vw, 1.2rem);
            color: white;
            line-height: 1.8;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7), 1px 1px 2px rgba(0,0,0,0.8);
            position: relative;
            z-index: 2;
            background: rgba(0, 0, 0, 0.15);
            padding: 15px;
            border-radius: 10px;
            backdrop-filter: blur(5px);
            word-wrap: break-word;
        }

        .about-image {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            height: 400px;
            border-radius: 20px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('images/web/uebermich2.jpg');
            background-size: cover;
            background-position: center;
            transition: transform 0.5s ease;
        }

        .about-image:hover::before {
            transform: scale(1.1);
        }

        .about-image::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            opacity: 0.8;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2rem, 4vw, 2.8rem);
            color: white;
            margin-bottom: 20px;
            font-weight: 600;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
            position: relative;
            z-index: 2;
            line-height: 1.2;
            word-wrap: break-word;
        }

        .section-subtitle {
            text-align: center;
            font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            color: white;
            margin-bottom: 60px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            background: rgba(0, 0, 0, 0.15);
            padding: 20px;
            border-radius: 15px;
            backdrop-filter: blur(5px);
            position: relative;
            z-index: 2;
            line-height: 1.5;
            word-wrap: break-word;
        }

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

        .service-card {
            background: white;
            padding: 40px 30px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            border-radius: 50%;
            margin: 0 auto 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: white;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
        }

        .service-card h3 {
            font-size: 1.5rem;
            color: #1a365d;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .service-card p {
            color: #666;
            line-height: 1.6;
            font-size: 1rem;
        }

        /* Stats Section */
        .stats-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #1a365d, #2d5a87);
            color: white;
            text-align: center;
        }

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

        .stat-item {
            padding: 20px;
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: bold;
            color: #ff6b6b;
            display: block;
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 1.2rem;
            opacity: 0.9;
        }

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

        .contact-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 50px rgba(0,0,0,0.12);
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
        }

        .contact-card h4 {
            font-size: 1.4rem;
            color: #1a365d;
            margin-bottom: 15px;
        }

        .contact-card p {
            color: #666;
            margin-bottom: 8px;
            font-size: 1rem;
        }

        /* Footer */
        .footer {
            background: #1a365d;
            color: white;
            padding: 60px 0 30px;
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            cursor: pointer;
        }

        .footer-links a:hover {
            color: #ff6b6b;
            transform: translateY(-2px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 30px;
            color: rgba(255,255,255,0.7);
            font-size: 1rem;
        }

        /* Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        .service-card-float {
            animation: float 6s ease-in-out infinite;
        }

        .service-card-float:nth-child(2) {
            animation-delay: -2s;
        }

        .service-card-float:nth-child(3) {
            animation-delay: -4s;
        }

        .service-card-float:nth-child(4) {
            animation-delay: -6s;
        }

        /* Mobile Responsive - Multiple Breakpoints */
        
        /* Small tablets and large phones in landscape */
        @media (max-width: 1024px) {
            .hero h1 {
                font-size: clamp(2.2rem, 4vw, 3rem);
                line-height: 1.1;
            }
            
            .hero .subtitle {
                font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            }
            
            .hero .treatment-journey {
                font-size: clamp(1.0rem, 2.2vw, 1.2rem);
            }
        }

        /* Tablets and small laptops */
        @media (max-width: 768px) {
            .hero {
                height: auto;
                min-height: 100vh;
                padding: 120px 20px 60px;
                display: block;
                text-align: center;
                background-attachment: scroll;
            }

            .hero-content {
                max-width: 100%;
                padding: 0 10px;
                margin-top: 20px;
            }

            .hero h1 {
                font-size: clamp(1.6rem, 5vw, 2.4rem);
                line-height: 1.1;
                margin-bottom: 15px;
                padding: 0 5px;
            }

            .hero .subtitle {
                font-size: clamp(1.0rem, 3vw, 1.2rem);
                padding: 15px;
            }

            .hero .treatment-journey {
                font-size: clamp(0.9rem, 2.8vw, 1.1rem);
                padding: 15px;
            }

            .hero .treatment-journey h3 {
                font-size: clamp(1.1rem, 3.5vw, 1.4rem);
            }

            .about-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .section-title {
                font-size: clamp(1.8rem, 4vw, 2.2rem);
            }

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

            /* Service images mobile responsiveness - LEFT ALIGNED */
            .services-section div[style*="grid-template-columns: repeat(2, 1fr)"] {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                max-width: 100% !important;
            }
            
            .service-image-zoom {
                width: 100% !important;
                max-width: 350px !important;
                margin: 0 auto !important;
                height: 200px !important;
            }

            /* Fix service image positioning for mobile */
            .service-image-zoom::before {
                background-position: left center !important;
                transform: none !important;
            }

            .service-image-zoom:hover::before {
                transform: scale(1.05) !important;
            }

            /* Training section mobile responsiveness */
            .training-section div[style*="grid-template-columns: repeat(2, 1fr)"] {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                max-width: 400px !important;
            }

            .training-card-1,
            .training-card-2 {
                max-width: 100% !important;
                height: 400px !important;
            }

            /* Contact section mobile responsiveness */
            .contact-section div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                max-width: 400px !important;
                margin-left: auto !important;
                margin-right: auto !important;
            }

            .contact-card-1,
            .contact-card-2,
            .contact-card-3 {
                max-width: 100% !important;
                height: 400px !important;
            }

            /* Fix section heights for mobile */
            .about-section,
            .services-section,
            .training-section,
            .contact-section {
                padding: 80px 0 60px;
            }

            /* Ensure content cards are visible on mobile */
            .about-text p,
            .services-text > div,
            .training-text > div,
            .contact-text > div {
                margin-left: 10px;
                margin-right: 10px;
            }

            /* Modal mobile responsiveness */
            .modal-overlay {
                padding: 10px;
            }
            
            .modal-content {
                padding: 70px 20px 40px;
                margin: 10px auto;
                min-height: calc(100vh - 20px);
                max-width: 95%;
                left: 50%;
                transform: translateX(-50%);
            }

            .modal-close-btn {
                top: 15px;
                right: 15px;
                width: 45px;
                height: 45px;
                font-size: 1.8rem;
            }
        }

        /* Small mobile devices */
        @media (max-width: 480px) {
            .hero {
                padding: 100px 15px 40px;
                min-height: 90vh;
            }

            .hero-content {
                padding: 0 5px;
            }

            .hero h1 {
                font-size: clamp(1.4rem, 6vw, 2rem);
                line-height: 1.05;
                margin-bottom: 10px;
            }

            .hero .subtitle {
                font-size: clamp(0.9rem, 3.5vw, 1.1rem);
                padding: 12px;
                margin-bottom: 25px;
            }

            .hero .treatment-journey {
                font-size: clamp(0.85rem, 3vw, 1rem);
                padding: 12px;
                margin-bottom: 25px;
            }

            .hero .treatment-journey h3 {
                font-size: clamp(1rem, 4vw, 1.2rem);
                margin-bottom: 15px;
            }

            .btn-primary, .btn-secondary {
                padding: 12px 25px;
                font-size: 0.9rem;
            }
        }

        /* Landscape orientation for mobile devices */
        @media (max-height: 500px) and (orientation: landscape) {
            /* Reduce header height in landscape mode */
            .header {
                padding: 8px 0; /* Reduced from 15px */
            }
            
            .header-content {
                flex-direction: row !important; /* Keep horizontal layout */
                gap: 20px;
            }
            
            .logo {
                height: 35px !important; /* Smaller logo */
            }
            
            .main-nav ul {
                gap: 20px; /* Reduced gap between nav items */
            }
            
            .fatima-nav-link {
                padding: 5px 10px; /* Smaller padding */
                font-size: 0.9rem; /* Smaller font */
            }
            
            .hero {
                padding: 100px 15px 30px; /* Reduced top padding */
                min-height: 100vh;
            }

            .hero h1 {
                font-size: clamp(1.3rem, 4vh, 1.8rem);
                line-height: 1.1;
                margin-bottom: 8px;
            }

            .hero .subtitle {
                font-size: clamp(0.85rem, 2.5vh, 1rem);
                padding: 10px;
                margin-bottom: 15px;
            }

            .hero .treatment-journey {
                font-size: clamp(0.8rem, 2.2vh, 0.95rem);
                padding: 10px;
                margin-bottom: 15px;
            }

            .hero .treatment-journey h3 {
                font-size: clamp(0.95rem, 3vh, 1.1rem);
                margin-bottom: 10px;
            }

            .hero-buttons {
                gap: 15px;
            }

            .btn-primary, .btn-secondary {
                padding: 10px 20px;
                font-size: 0.85rem;
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Service images hover zoom effect */
        .service-image-zoom::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            transition: transform 0.8s ease;
            border-radius: 20px;
        }

        .service-image-zoom:nth-child(1)::before {
            background-image: url('images/web/servicetag01.jpg');
        }

        .service-image-zoom:nth-child(2)::before {
            background-image: url('images/web/servicetag02.jpg');
        }

        .service-image-zoom:nth-child(3)::before {
            background-image: url('images/web/servicetag03.jpg');
        }

        .service-image-zoom:nth-child(4)::before {
            background-image: url('images/web/servicetag04.jpg');
        }

        .service-image-zoom:hover::before {
            transform: scale(1.8) translateX(-45%);
        }

        /* Loading animation */
        .loading {
            opacity: 0;
            animation: fadeInUp 1s ease forwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
/* Fix for desktop screens with medium height where header overlaps content */
        @media (min-width: 769px) and (max-height: 900px) {
            .hero {
                padding-top: 120px;
                height: auto;
                min-height: 100vh;
            }
        }
/* Modal positioning fix - ensure all modals are centered */
/* Modal positioning fix - ensure all modals are centered */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1500;
    overflow-y: auto;
    padding-top: 100px;
    box-sizing: border-box;
    text-align: center; /* This helps center everything */
}

.modal-content {
    width: 100%;
    max-width: 900px;
    position: relative;
    margin: 20px auto; /* Simple centering - remove !important and left/transform */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1501;
    text-align: left; /* Reset text alignment for content */
}

/* Ensure modal content div has proper styling */
#modal-body {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

/* Force any content inside modals to not override positioning */
.modal-content > div,
#modal-body > div {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}