
        /* CSS Variables - Tech Theme */
        :root {
            --dark-blue: #1a365d;
            --darker-blue: #0f2043;
            --accent-orange: #ff7846;
            --light-orange: #fff0eb;
            --light-blue: #e9f0fa;
            --white: #ffffff;
            --black: #0f0f0f;
            --transition-fast: all 0.3s ease;
            --transition-medium: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            --transition-slow: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            --shadow-light: 8px 8px 0px rgba(26, 54, 93, 0.2);
            --shadow-medium: 12px 12px 0px rgba(26, 54, 93, 0.3);
            --shadow-heavy: 16px 16px 0px rgba(26, 54, 93, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="8" y="8" width="8" height="8" fill="%23ff7846" opacity="0.8"/></svg>'), auto;
        }

        /* Preloader Styles */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0f2043;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .preloader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .preloader-content {
            text-align: center;
            position: relative;
        }

        .preloader-logo {
            width: 120px;
            height: 120px;
            margin-bottom: 30px;
            animation: pulse 1.5s infinite ease-in-out;
            border-radius: 50%;
            background: linear-gradient(145deg, #1a365d, #0f2043);
            box-shadow: 0 8px 32px rgba(255, 120, 70, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
        }

        .preloader-logo img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 50%;
        }

        .preloader-text {
            color: #fff;
            font-size: 1.5rem;
            margin-bottom: 25px;
            font-family: 'Space Grotesk', sans-serif;
            letter-spacing: 2px;
        }

        .progress-container {
            width: 300px;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
            margin: 0 auto;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #ff7846, #ff9e7d);
            border-radius: 4px;
            transition: width 0.3s ease;
        }

        .loading-dots {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 8px;
        }

        .dot {
            width: 12px;
            height: 12px;
            background: #ff7846;
            border-radius: 50%;
            animation: bounce 1.5s infinite ease-in-out;
        }

        .dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes pulse {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 120, 70, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 120, 70, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 120, 70, 0); }
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: var(--white);
            color: var(--black);
            overflow-x: hidden;
            line-height: 1.6;
            position: relative;
            -webkit-text-size-adjust: 100%;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Libre Baskerville', serif;
            font-weight: 700;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 12px;
        }

        ::-webkit-scrollbar-track {
            background: var(--white);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--dark-blue);
            border: 3px solid var(--white);
            border-radius: 0;
        }

        /* Top Bar */
        .top-bar {
            background-color: var(--dark-blue);
            color: var(--white);
            padding: 12px 0;
            font-size: 0.9rem;
        }

        .top-bar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 90%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .top-contact {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .top-contact a {
            color: var(--white);
            text-decoration: none;
            transition: var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .top-contact a:hover {
            color: var(--accent-orange);
        }

        .app-download {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .app-download a {
            color: var(--white);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition-fast);
        }

        .app-download a:hover {
            color: var(--accent-orange);
        }

        /* Header & Navigation */
        header {
            position: sticky;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 25px 0 20px;
            transition: var(--transition-medium);
            display: flex;
            justify-content: center;
            background-color: var(--white);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        }

        header.scrolled {
            padding: 15px 0 10px;
            box-shadow: 5px 5px 0px rgba(26, 54, 93, 0.1);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 90%;
            max-width: 1400px;
            position: relative;
        }

        .logo {
            font-family: 'Libre Baskerville', serif;
            font-size: 2.8rem;
            font-weight: 700;
            text-decoration: none;
            color: var(--dark-blue);
            position: relative;
            line-height: 0.9;
            transform: rotate(-1deg);
            transition: var(--transition-fast);
            display: flex;
            flex-direction: column;
        }

        .logo:hover {
            transform: rotate(0deg);
            color: var(--accent-orange);
        }

        .logo span {
            color: var(--accent-orange);
            font-size: 1rem;
            transform: rotate(1deg);
            margin-top: -5px;
            letter-spacing: 2px;
        }

        .logo img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        animation: pulse 1.5s infinite ease-in-out;
        }

        @keyframes pulse {
        0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 120, 70, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 120, 70, 0); }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 120, 70, 0); }
        }

        @keyframes bounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
        }

        nav {
            position: relative;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 5px;
            flex-wrap: wrap;
            max-width: 950px;
            justify-content: flex-end;
        }

        nav ul li {
            transform: translateY(0);
            opacity: 1;
        }

        nav ul li a {
            color: var(--dark-blue);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 10px 15px;
            border: 3px solid var(--dark-blue);
            display: block;
            transform: rotate(-1deg);
            transition: var(--transition-fast);
            background-color: var(--white);
            margin: 4px;
        }

        nav ul li a:hover {
            background-color: var(--dark-blue);
            color: var(--white);
            transform: rotate(0deg) translateY(-5px);
            box-shadow: var(--shadow-medium);
        }

        .enroll-btn {
            background-color: var(--accent-orange) !important;
            color: var(--white) !important;
            border-color: var(--accent-orange) !important;
        }

        .enroll-btn:hover {
            background-color: var(--dark-blue) !important;
            border-color: var(--dark-blue) !important;
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: 3px solid var(--dark-blue);
            color: var(--dark-blue);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 10px;
            position: absolute;
            right: 0;
            top: 10px;
            z-index: 1001;
        }

        /* Contact Hero Section */
        .contact-hero {
            min-height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--dark-blue);
            color: var(--white);
            padding: 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .contact-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 120, 70, 0.1), rgba(26, 54, 93, 0.3));
            z-index: 1;
        }

        .contact-hero-content {
            position: relative;
            z-index: 2;
            padding: 0 20px;
            width: 90%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .contact-hero-content h1 {
            font-size: 4.5rem;
            margin-bottom: 20px;
            transform: rotate(-2deg);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .contact-hero-content p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto;
            font-weight: 300;
            transform: rotate(1deg);
        }

        /* Section Styles */
        .section {
            padding: 100px 0;
            position: relative;
        }

        .section-title {
            text-align: center;
            margin-bottom: 70px;
            position: relative;
            padding: 0 20px;
        }

        .section-title h2 {
            font-size: 4rem;
            color: var(--dark-blue);
            display: inline-block;
            position: relative;
            transform: rotate(-2deg);
            background: var(--white);
            padding: 0 30px;
            border: 4px solid var(--dark-blue);
            box-shadow: var(--shadow-medium);
        }

        /* Contact Section */
        .contact-container {
            width: 90%;
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            padding: 0 20px;
            align-items: center;
        }

        .contact-info h2 {
            font-size: 4rem;
            color: var(--dark-blue);
            margin-bottom: 50px;
            max-width: 600px;
            transform: rotate(-2deg);
            position: relative;
            display: inline-block;
            border: 4px solid var(--dark-blue);
            padding: 10px 30px;
        }

        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 40px;
            margin-bottom: 50px;
        }

        .contact-method {
            display: flex;
            align-items: flex-start;
            gap: 30px;
            transform: rotate(-1deg);
        }

        .method-icon {
            min-width: 70px;
            height: 70px;
            background: var(--accent-orange);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 2rem;
            border: 4px solid var(--dark-blue);
            transform: rotate(3deg);
            transition: var(--transition-medium);
        }

        .contact-method:hover .method-icon {
            transform: rotate(0deg) scale(1.1);
            background: var(--dark-blue);
        }

        .method-details h4 {
            font-size: 1.6rem;
            color: var(--dark-blue);
            margin-bottom: 10px;
            transform: rotate(1deg);
        }

        .method-details p, .method-details a {
            color: #555;
            font-weight: 300;
            font-size: 1.1rem;
            transition: var(--transition-fast);
            transform: rotate(-1deg);
            text-decoration: none;
        }

        .method-details a:hover {
            color: var(--accent-orange);
        }

        .social-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            max-width: 250px;
        }

        .social-item {
            width: 50px;
            height: 50px;
            border: 4px solid var(--white); /* Changed to white border */
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark-blue);
            font-size: 1.2rem;
            transition: var(--transition-medium);
            transform: rotate(-3deg);
            text-decoration: none;
        }

        .social-item:hover {
            background: var(--accent-orange);
            color: var(--white);
            transform: rotate(0deg) translateY(-10px);
            box-shadow: var(--shadow-medium);
            border-color: var(--accent-orange);
        }

        .map-container {
            height: 400px;
            border: 6px solid var(--dark-blue);
            box-shadow: var(--shadow-medium);
            transform: rotate(2deg);
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Contact Form Section */
        .contact-form-section {
            background-color: var(--light-blue);
            padding: 100px 0;
        }

        .form-container {
            width: 90%;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .contact-form {
            background: var(--white);
            padding: 50px;
            box-shadow: var(--shadow-medium);
            border: 6px solid var(--dark-blue);
            transform: rotate(1deg);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-control {
            width: 100%;
            padding: 18px 22px;
            background: var(--white);
            border: 4px solid var(--dark-blue);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition-fast);
            font-weight: 500;
            transform: rotate(-1deg);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent-orange);
            background: var(--light-orange);
            transform: rotate(0deg);
        }

        .form-control.textarea {
            min-height: 120px;
            resize: vertical;
            font-family: inherit;
        }

        .submit-btn {
            width: 100%;
            padding: 20px 25px;
            background: var(--dark-blue);
            color: var(--white);
            border: 4px solid var(--dark-blue);
            font-size: 1.2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: var(--transition-medium);
            font-family: 'Space Grotesk', sans-serif;
            transform: rotate(-2deg);
        }

        .submit-btn:hover {
            background: var(--accent-orange);
            transform: rotate(0deg) translateY(-10px);
            box-shadow: var(--shadow-heavy);
            border-color: var(--accent-orange);
        }

        /* Footer */
        footer {
            background: var(--darker-blue);
            color: var(--white);
            padding: 100px 50px 50px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 50px;
            margin-bottom: 80px;
        }

        .footer-col h3 {
            font-size: 1.8rem;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
            transform: rotate(-2deg);
            display: inline-block;
            border: 4px solid var(--white);
            padding: 10px 20px;
        }

        .footer-about p {
            margin-bottom: 30px;
            font-weight: 300;
            font-size: 1rem;
            transform: rotate(1deg);
            max-width: 300px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 20px;
            transform: rotate(-1deg);
        }

        .footer-links a {
            color: var(--light-orange);
            text-decoration: none;
            transition: var(--transition-fast);
            font-weight: 500;
            font-size: 1rem;
            padding: 8px 12px;
            border: 3px solid transparent;
            display: inline-block;
        }

        .footer-links a:hover {
            border-color: var(--accent-orange);
            color: var(--accent-orange);
            transform: rotate(0deg) translateX(10px);
        }

        .footer-hours {
            display: flex;
            flex-direction: column;
            gap: 15px;
            transform: none;
        }

        .hours-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 3px solid rgba(255, 255, 255, 0.1);
            transform: rotate(-1deg);
        }

        .hours-day {
            opacity: 0.9;
            font-weight: 500;
        }

        .hours-time {
            font-weight: 700;
            color: var(--accent-orange);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 40px;
            border-top: 4px solid rgba(255, 255, 255, 0.1);
            font-size: 1rem;
            opacity: 0.8;
            font-weight: 500;
            letter-spacing: 1px;
            transform: rotate(1deg);
            position: relative;
            z-index: 10;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        /* Scroll to Top Button */
        .scroll-to-top {
            position: fixed;
            bottom: 50px;
            right: 50px;
            width: 70px;
            height: 70px;
            background: var(--dark-blue);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            box-shadow: var(--shadow-medium);
            cursor: pointer;
            transition: var(--transition-medium);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) rotate(-3deg);
            border: 4px solid var(--white);
            margin-bottom: 65px;
        }

        .scroll-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) rotate(0deg);
        }

        .scroll-to-top:hover {
            background: var(--accent-orange);
            transform: translateY(-10px) rotate(0deg) scale(1.1);
            box-shadow: var(--shadow-heavy);
        }

        /* Animated Border Elements */
        .animated-border {
            position: absolute;
            border: 3px solid var(--accent-orange);
            pointer-events: none;
            z-index: 1;
            opacity: 0.7;
            animation: borderFloat 8s infinite ease-in-out;
        }

        @keyframes borderFloat {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            25% {
                transform: translate(10px, 10px) rotate(5deg);
            }
            50% {
                transform: translate(0, 20px) rotate(0deg);
            }
            75% {
                transform: translate(-10px, 10px) rotate(-5deg);
            }
        }

        /* Animation for page load */
        .slide-up {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .slide-up.appear {
            opacity: 1;
            transform: translateY(0);
        }

        /* CSS for Social Media Icons */
        .floating-social {
            position: fixed;
            left: 10px; /* Moved further left for desktop/tablet */
            bottom: 30px;
            z-index: 998;
            display: flex;
            flex-direction: column;
            gap: 12px;
            will-change: transform;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .social-icon {
            position: relative;
            width: 45px;
            height: 45px;
            border: 3px solid var(--dark-blue);
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark-blue);
            font-size: 1.2rem;
            text-decoration: none;
            transform: rotate(-2deg);
            transition: var(--transition-medium);
            box-shadow: var(--shadow-light);
            will-change: transform;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .social-icon:hover {
            transform: rotate(0deg) translateX(5px);
            box-shadow: var(--shadow-medium);
        }

        .social-icon.youtube:hover {
            background: #FF0000;
            color: var(--white);
            border-color: #FF0000;
        }

        .social-icon.instagram:hover {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: var(--white);
            border-color: #dc2743;
        }

        .social-icon.twitter:hover {
            background: #1DA1F2;
            color: var(--white);
            border-color: #1DA1F2;
        }

        .social-icon.facebook:hover {
            background: #4267B2;
            color: var(--white);
            border-color: #4267B2;
        }

        .social-icon.whatsapp:hover {
            background: #25D366;
            color: var(--white);
            border-color: #25D366;
        }

        .tooltip {
            position: absolute;
            left: 55px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--dark-blue);
            color: var(--white);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-fast);
            box-shadow: var(--shadow-light);
        }

        .tooltip::before {
            content: '';
            position: absolute;
            left: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            border-right: 6px solid var(--dark-blue);
        }

        .social-icon:hover .tooltip {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(5px);
        }

        /* Animation for initial appearance */
        @keyframes socialBounceIn {
            0% {
                opacity: 0;
                transform: translateY(50px) rotate(-5deg);
            }
            60% {
                transform: translateY(-5px) rotate(1deg);
            }
            100% {
                opacity: 1;
                transform: translateY(0) rotate(-2deg);
            }
        }

        .social-icon {
            animation: socialBounceIn 0.8s ease-out forwards;
            opacity: 0;
        }

        .social-icon:nth-child(1) { animation-delay: 0.1s; }
        .social-icon:nth-child(2) { animation-delay: 0.2s; }
        .social-icon:nth-child(3) { animation-delay: 0.3s; }
        .social-icon:nth-child(4) { animation-delay: 0.4s; }
        .social-icon:nth-child(5) { animation-delay: 0.5s; }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            .floating-social {
                left: 8px; /* Further left for tablets */
                bottom: 25px;
            }
            
            .social-icon {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .floating-social {
                flex-direction: row;
                left: 50% !important;
                bottom: 20px;
                transform: translateX(-50%) !important;
                background: rgba(255, 255, 255, 0.9);
                padding: 8px 12px;
                border-radius: 40px;
                border: 3px solid var(--dark-blue);
                box-shadow: var(--shadow-medium);
                gap: 10px;
                will-change: auto;
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
            }
            
            .social-icon {
                width: 35px;
                height: 35px;
                font-size: 1rem;
                transform: rotate(-2deg) !important;
                box-shadow: var(--shadow-light);
                border: 3px solid var(--dark-blue);
                will-change: auto;
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
            }
            
            .social-icon:hover {
                transform: rotate(0deg) translateY(-5px) !important;
                box-shadow: var(--shadow-medium);
            }
            
            .tooltip {
                display: none;
            }
            
            @keyframes socialBounceIn {
                0% {
                    opacity: 0;
                    transform: translateY(30px) rotate(-5deg);
                }
                60% {
                    transform: translateY(-5px) rotate(1deg);
                }
                100% {
                    opacity: 1;
                    transform: translateY(0) rotate(-2deg);
                }
            }
        }

        @media (max-width: 480px) {
            .floating-social {
                padding: 6px 10px;
                gap: 8px;
            }
            
            .social-icon {
                width: 32px;
                height: 32px;
                font-size: 0.9rem;
            }
        }

        /* For very large screens, keep it from getting too far left */
        @media (min-width: 1600px) {
            .floating-social {
                left: 15px;
            }
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .contact-hero-content h1 {
                font-size: 3.5rem;
            }
            .section-title h2 {
                font-size: 3.5rem;
            }
            .contact-info h2 {
                font-size: 3.5rem;
            }
        }

        @media (max-width: 992px) {
            .contact-hero-content h1 {
                font-size: 3rem;
            }
            .contact-container {
                grid-template-columns: 1fr;
                gap: 50px;
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            nav {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                background: var(--white);
                padding: 100px 20px 40px;
                box-shadow: var(--shadow-medium);
                clip-path: circle(0px at top right);
                transition: var(--transition-medium);
                z-index: 999;
                overflow-y: auto;
            }
            nav.active {
                clip-path: circle(150% at top right);
            }
            nav ul {
                flex-direction: column;
                gap: 15px;
                align-items: center;
            }
            nav ul li a {
                width: 100%;
                text-align: center;
                transform: none;
                margin: 5px 0;
            }
            .contact-hero-content h1 {
                font-size: 2.5rem;
            }
            .section-title h2 {
                font-size: 2.8rem;
            }
            .contact-info h2 {
                font-size: 2.8rem;
            }
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
            .contact-form {
                padding: 30px;
            }
            /* Add bottom padding to footer to avoid overlap with floating social icons */
            footer {
                padding-bottom: 100px;
            }
        }

        @media (max-width: 576px) {
            .top-bar-container {
                flex-direction: column;
                gap: 15px;
            }
            .logo {
                font-size: 2.2rem;
            }
            .contact-hero-content h1 {
                font-size: 2rem;
            }
            .contact-hero-content p {
                font-size: 1.1rem;
            }
            .section-title h2 {
                font-size: 2.2rem;
            }
            .contact-info h2 {
                font-size: 2.2rem;
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
            footer {
                padding: 60px 20px 100px;
            }
        }

        /* Specific fixes for different device types */
        /* iPhone SE, iPhone XR, iPhone 12 Pro, iPhone 14 Pro Max */
        @media (max-width: 430px) and (max-height: 950px) {
            footer {
                padding: 60px 20px 80px !important; /* Added bottom padding */
            }
            
            .footer-bottom {
                margin-top: 20px;
                padding-top: 30px;
            }
            
            .footer-grid {
                margin-bottom: 40px !important;
            }
        }

        /* Pixel 7, Samsung Galaxy S8+, S20 Ultra, A51/71 */
        @media (max-width: 412px) and (max-height: 915px) {
            footer {
                padding: 60px 15px 80px !important;
            }
            
            .footer-bottom {
                margin-top: 15px;
            }
        }

        /* iPad Mini */
        @media (width: 768px) and (height: 1024px) {
            footer {
                padding: 80px 30px 70px !important;
            }
            
            .footer-bottom {
                margin-top: 25px;
            }
        }

        /* Surface Duo */
        @media (width: 540px) and (height: 720px) {
            footer {
                padding: 70px 25px 80px !important;
            }
        }

        /* Galaxy Z Fold 5 (folded - cover screen) */
        @media (max-width: 717px) and (min-height: 800px) {
            footer {
                padding: 70px 20px 90px !important;
            }
            
            .footer-bottom {
                margin-top: 20px;
            }
        }

        /* Galaxy Z Fold 5 (unfolded - main screen) */
        @media (min-width: 718px) and (max-width: 883px) {
            footer {
                padding: 100px 50px 70px !important;
            }
        }

        /* Ensure the attribution text has proper spacing */
        .footer-bottom p:last-child {
            margin-top: 15px;
            padding: 10px;
            border-radius: 4px;
            transform: rotate(0deg);
        }

        /* Make sure footer columns don't overlap on small screens */
        @media (max-width: 768px) {
            .footer-grid {
                gap: 30px !important;
            }
            
            .footer-col {
                min-width: 100%;
            }
            
            .footer-bottom {
                transform: rotate(0deg);
            }
        }

        /* Additional spacing for very small devices */
        @media (max-width: 350px) {
            footer {
                padding: 50px 15px 90px !important;
            }
            
            .footer-bottom {
                padding-top: 20px;
            }
            
            .footer-bottom p {
                font-size: 0.9rem;
            }
        }





        /* Footer Responsive Fixes */
        /* iPad Air (820px) and iPad Pro (1024px) */
        @media (min-width: 768px) and (max-width: 1024px) {
            footer {
                padding: 80px 40px 60px !important;
            }
            
            .footer-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 40px !important;
                margin-bottom: 60px !important;
            }
            
            .footer-col {
                min-width: 100%;
            }
            
            .footer-col h3 {
                font-size: 1.6rem;
                padding: 8px 16px;
            }
            
            .footer-about p {
                font-size: 0.95rem;
                max-width: 100%;
            }
            
            .footer-links a {
                font-size: 0.95rem;
                padding: 6px 10px;
            }
            
            .footer-bottom {
                padding-top: 30px;
                transform: rotate(0deg);
            }
            
            /* Ensure proper spacing for attribution */
            .footer-bottom p:last-child {
                margin-top: 20px;
                /* background: rgba(255, 255, 255, 0.1); */
                padding: 12px;
            }
        }

        /* Surface Pro 7 (912px) and similar devices */
        @media (min-width: 912px) and (max-width: 1368px) {
            footer {
                padding: 90px 45px 70px !important;
            }
            
            .footer-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 45px !important;
                margin-bottom: 70px !important;
            }
            
            .footer-col h3 {
                font-size: 1.7rem;
            }
            
            .footer-about p {
                font-size: 1rem;
            }
            
            .hours-row {
                flex-direction: column;
                gap: 5px;
            }
            
            .hours-day, .hours-time {
                width: 100%;
                text-align: left;
            }
        }

        /* iPad Pro 12.9" (1024px) specific fixes */
        @media (width: 1024px) and (height: 1366px) {
            footer {
                padding: 85px 35px 65px !important;
            }
            
            .footer-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 35px !important;
            }
            
            .footer-col:nth-child(3),
            .footer-col:nth-child(4) {
                margin-top: 10px;
            }
        }

        /* Landscape iPad fixes */
        @media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
            footer {
                padding: 70px 30px 50px !important;
            }
            
            .footer-grid {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 30px !important;
            }
            
            .footer-col h3 {
                font-size: 1.5rem;
            }
            
            .footer-links a {
                font-size: 0.9rem;
            }
        }

        /* Additional safety measures for very specific breakpoints */
        @media (min-width: 768px) and (max-width: 1200px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }

        /* Prevent text overflow on all devices */
        .footer-col h3,
        .footer-links a,
        .footer-about p {
            overflow-wrap: break-word;
            word-wrap: break-word;
            hyphens: auto;
        }

        /* Ensure footer doesn't overlap with floating social icons on tablets */
        @media (max-width: 1024px) {
            footer {
                padding-bottom: 100px !important;
            }
        }

        /* Very large tablets and small laptops */
        @media (min-width: 1025px) and (max-width: 1280px) {
            footer {
                padding: 90px 40px 60px !important;
            }
            
            .footer-grid {
                gap: 35px !important;
            }
        }

        /* Fix for horizontal scrolling issues */
        footer {
            width: 100%;
            overflow-x: hidden;
        }

        .footer-grid {
            max-width: 100%;
        }

        /* Ensure attribution text is always properly spaced */
        @media (max-width: 1024px) {
            .footer-bottom {
                flex-direction: column;
                gap: 15px;
            }
            
            .footer-bottom p:last-child {
                margin-top: 20px;
            }
        }