
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --secondary: #f59e0b;
            --secondary-dark: #d97706;
            --accent: #10b981;
            --accent-dark: #059669;
            --dark: #1f2937;
            --darker: #111827;
            --light: #f8fafc;
            --gray: #6b7280;
            --gray-light: #9ca3af;
            --white: #ffffff;
            --success: #22c55e;
            --error: #ef4444;
            --warning: #f59e0b;
            --info: #3b82f6;
            --border: #e5e7eb;
            --shadow: rgba(0, 0, 0, 0.1);
            --shadow-lg: rgba(0, 0, 0, 0.15);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background: var(--white);
            font-size: 16px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 30px var(--shadow);
            border-bottom: 1px solid var(--border);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo i {
            font-size: 1.5rem;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .nav-menu a:hover {
            color: var(--primary);
        }

        .mobile-menu {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--dark);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
            color: var(--white);
            padding: 140px 0 100px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
            background-size: cover;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 900;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }

        .btn {
            display: inline-block;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: var(--white);
            color: var(--primary);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .btn-secondary {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

        .btn-secondary:hover {
            background: var(--white);
            color: var(--primary);
            transform: translateY(-2px);
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 3rem;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.9rem;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Main Content */
        main {
            background: var(--white);
        }

        .section {
            padding: 100px 0;
        }

        .section-title {
            text-align: center;
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--dark);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 2px;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: var(--gray);
            margin-bottom: 4rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Services Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: var(--white);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 10px 40px var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px var(--shadow-lg);
        }

        .service-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        .service-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .service-card p {
            color: var(--gray);
            line-height: 1.7;
        }

        /* About Section */
        .about {
            background: var(--light);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--gray);
        }

        .about-text h3 {
            font-size: 1.8rem;
            color: var(--dark);
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

        .about-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-top: 2rem;
        }

        .about-feature {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .about-feature i {
            font-size: 1.5rem;
            color: var(--primary);
        }

        .about-feature span {
            font-weight: 600;
            color: var(--dark);
        }

        /* Process Section */
        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .process-step {
            text-align: center;
            position: relative;
        }

        .process-step::after {
            content: '';
            position: absolute;
            top: 40px;
            right: -1rem;
            width: 2rem;
            height: 2px;
            background: var(--primary);
        }

        .process-step:last-child::after {
            display: none;
        }

        .process-number {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--white);
            margin: 0 auto 1.5rem;
        }

        .process-step h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .process-step p {
            color: var(--gray);
            line-height: 1.6;
        }

        /* Testimonials */
        .testimonials {
            background: var(--light);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .testimonial {
            background: var(--white);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 30px var(--shadow);
            position: relative;
        }

        .testimonial::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: 20px;
            font-size: 4rem;
            color: var(--primary);
            opacity: 0.3;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.5rem;
            color: var(--gray);
            line-height: 1.7;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .testimonial-avatar {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 700;
            font-size: 1.2rem;
        }

        .testimonial-info h4 {
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 0.2rem;
        }

        .testimonial-info p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .testimonial-rating {
            margin-top: 1rem;
            color: var(--secondary);
        }

        /* FAQ Section */
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--white);
            border-radius: 10px;
            margin-bottom: 1rem;
            box-shadow: 0 2px 10px var(--shadow);
            overflow: hidden;
        }

        .faq-question {
            padding: 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--light);
            border: none;
            width: 100%;
            text-align: left;
            font-weight: 600;
            color: var(--dark);
            transition: background 0.3s ease;
        }

        .faq-question:hover {
            background: var(--border);
        }

        .faq-question i {
            transition: transform 0.3s ease;
        }

        .faq-question.active i {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-answer.active {
            padding: 1.5rem;
            max-height: 200px;
        }

        .faq-answer p {
            color: var(--gray);
            line-height: 1.7;
        }

        /* Features Section */
        .features {
            background: var(--light);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 2rem;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 5px 20px var(--shadow);
            transition: transform 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            min-width: 60px;
        }

        .feature-text h4 {
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
            font-size: 1.2rem;
        }

        .feature-text p {
            color: var(--gray);
            line-height: 1.6;
        }

        /* Contact Form */
        .contact-form {
            max-width: 700px;
            margin: 0 auto;
            background: var(--white);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 50px var(--shadow);
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark);
        }

        .form-control {
            width: 100%;
            padding: 1rem 1.2rem;
            border: 2px solid var(--border);
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .form-control::placeholder {
            color: var(--gray-light);
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        select.form-control {
            cursor: pointer;
        }

        /* Captcha */
        .captcha-box {
            background: var(--light);
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            margin-bottom: 2rem;
            border: 2px solid var(--border);
        }

        .captcha-question {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .captcha-input {
            width: 100px;
            text-align: center;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .submit-btn {
            width: 100%;
            padding: 1.2rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--white);
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
        }

        .submit-btn:disabled {
            background: var(--gray);
            cursor: not-allowed;
            transform: none;
        }

        /* Alert Messages */
        .alert {
            padding: 1rem 1.5rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            font-weight: 500;
            display: none;
            border-left: 4px solid;
        }

        .alert-success {
            background: #d1fae5;
            color: #065f46;
            border-left-color: var(--success);
        }

        .alert-error {
            background: #fee2e2;
            color: #991b1b;
            border-left-color: var(--error);
        }

        .alert-warning {
            background: #fef3c7;
            color: #92400e;
            border-left-color: var(--warning);
        }

        /* Floating Call Button */
        .floating-call {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            text-decoration: none;
            box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
            z-index: 1000;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .floating-call:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
            }

            50% {
                box-shadow: 0 8px 40px rgba(16, 185, 129, 0.8);
            }

            100% {
                box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
            }
        }

        /* Footer */
        footer {
            background: var(--darker);
            color: var(--white);
            padding: 4rem 0 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-section h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--white);
        }

        .footer-section p {
            color: var(--gray-light);
            line-height: 1.7;
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: var(--gray-light);
            text-decoration: none;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-links a:hover {
            color: var(--primary-light);
        }

        .footer-contact {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .footer-contact i {
            font-size: 1.2rem;
            color: var(--primary);
            min-width: 20px;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }

        .social-link:hover {
            background: var(--primary);
            transform: translateY(-2px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            text-align: center;
            color: var(--gray-light);
        }

        .footer-bottom p {
            margin-bottom: 0.5rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-menu {
                position: fixed;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--white);
                flex-direction: column;
                padding: 2rem;
                box-shadow: 0 5px 20px var(--shadow);
                display: none;
            }

            .nav-menu.active {
                display: flex;
            }

            .mobile-menu {
                display: block;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .hero-stats {
                gap: 1.5rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .about-features {
                grid-template-columns: 1fr;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .process-steps {
                grid-template-columns: 1fr;
            }

            .process-step::after {
                display: none;
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .container {
                padding: 0 15px;
            }

            .section {
                padding: 60px 0;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease;
        }

        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }

        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, .3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Location Page Styles */
        .location-intro {
            margin-bottom: 40px;
        }

        .intro-text {
            font-size: 18px;
            line-height: 1.8;
            color: #555;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 12px;
            border-left: 4px solid var(--primary);
        }

        .content-wrapper {
            max-width: 900px;
            margin: 0 auto;
        }

        .location-content {
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            line-height: 1.8;
        }

        .location-content h2 {
            color: var(--primary);
            font-size: 28px;
            margin-bottom: 20px;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 10px;
        }

        .location-content h3 {
            color: var(--primary);
            font-size: 22px;
            margin: 30px 0 15px 0;
            position: relative;
        }

        .location-content h3:before {
            content: '';
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 20px;
            background: var(--accent);
            border-radius: 2px;
        }

        .location-content p {
            margin-bottom: 20px;
            color: #555;
            font-size: 16px;
        }

        .location-content ul {
            margin: 20px 0;
            padding-left: 0;
        }

        .location-content li {
            list-style: none;
            padding: 8px 0 8px 30px;
            position: relative;
            color: #555;
            border-bottom: 1px solid #f0f0f0;
        }

        .location-content li:before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 8px;
            color: var(--accent);
            font-size: 14px;
        }

        .location-content li:last-child {
            border-bottom: none;
        }

        .loading-content {
            text-align: center;
            padding: 60px 20px;
            color: #666;
        }

        .loading-content i {
            font-size: 32px;
            margin-bottom: 20px;
            color: var(--primary);
        }

        .error-message {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 12px;
        }

        .alert {
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .alert-warning {
            background: #fff3cd;
            color: #856404;
            border: 1px solid #ffeaa7;
        }

        .alert-success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .alert-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* Responsive adjustments for location page */
        @media (max-width: 768px) {
            .location-content {
                padding: 20px;
                margin: 0 10px;
            }

            .intro-text {
                font-size: 16px;
                padding: 15px;
            }

            .location-content h2 {
                font-size: 24px;
            }

            .location-content h3 {
                font-size: 20px;
            }

            .location-content h3:before {
                left: -15px;
            }
        }
/* Add these CSS rules to fix horizontal scrolling on mobile */

/* 1. Prevent overall horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* 2. Fix hero stats spacing on mobile */
@media (max-width: 768px) {
    .hero-stats {
        gap: 1rem; /* Reduced from 3rem */
        flex-wrap: wrap; /* Allow wrapping if needed */
        padding: 0 10px; /* Add some padding */
    }
    
    .stat-item {
        min-width: 0; /* Allow items to shrink */
        flex: 1;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem; /* Slightly smaller on mobile */
    }
    
    .stat-label {
        font-size: 0.8rem; /* Smaller text */
    }
}

/* 3. Fix process step arrows causing overflow */
@media (max-width: 768px) {
    .process-step::after {
        display: none; /* Remove the connecting lines on mobile */
    }
}

/* 4. Ensure all containers don't exceed viewport */
.container {
    max-width: 100%;
    box-sizing: border-box;
}

/* 5. Fix form elements on mobile */
@media (max-width: 768px) {
    .contact-form {
        margin: 0 10px; /* Add margin instead of relying on container */
        padding: 1.5rem; /* Reduce padding */
    }
    
    .form-control {
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .captcha-box {
        padding: 1rem; /* Reduce padding */
    }
}

/* 6. Fix navigation overflow */
@media (max-width: 768px) {
    .nav-menu {
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 1rem; /* Reduce padding */
    }
}

/* 7. Ensure text doesn't cause overflow */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* 8. Fix grid items on mobile */
@media (max-width: 768px) {
    .services-grid,
    .testimonials-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem; /* Reduce gap */
        padding: 0 10px; /* Add padding */
    }
    
    .service-card,
    .testimonial,
    .feature-item {
        margin: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* 9. Fix floating button positioning */
@media (max-width: 768px) {
    .floating-call {
        right: 15px; /* Reduce from 30px */
        bottom: 15px; /* Reduce from 30px */
        width: 60px; /* Slightly smaller */
        height: 60px;
        font-size: 1.5rem; /* Smaller icon */
    }
}

/* 10. Fix hero button overflow */
@media (max-width: 768px) {
    .cta-buttons {
        padding: 0 20px; /* Add padding */
        gap: 0.8rem; /* Reduce gap */
    }
    
    .btn {
        padding: 0.8rem 1.5rem; /* Reduce padding */
        font-size: 0.9rem; /* Smaller text */
        min-width: 0; /* Allow shrinking */
    }
}

/* 11. Fix footer overflow */
@media (max-width: 768px) {
    .footer-content {
        padding: 0 10px;
    }
    
    .footer-links a {
        word-break: break-word;
    }
}

/* 12. Ensure images and media don't overflow */
img, video, iframe, object, embed {
    max-width: 100%;
    height: auto;
}

/* 13. Fix any absolute positioned elements */
@media (max-width: 768px) {
    .hero::before {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* 14. Additional safety measures */
* {
    box-sizing: border-box;
}

.section {
    overflow-x: hidden;
}

/* 15. Fix testimonial content */
@media (max-width: 768px) {
    .testimonial-text {
        word-break: break-word;
        hyphens: auto;
    }
}

/* 16. Fix FAQ overflow */
@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        word-break: break-word;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-answer.active {
        padding: 1rem;
    }
}

/* 17. Additional mobile-specific container adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 10px; /* Even smaller padding for very small screens */
    }
    
    .hero h1 {
        font-size: 2rem; /* Smaller title */
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
}