
        html {
            scroll-behavior: smooth;
        }
        /* Core styles from main page */
        :root {
            --primary-color: #970c1c;
            --secondary-color: #171717;
            --light-gray: #f4f4f4;
            --dark-gray: #393939;
            --white: #ffffff;
            --sidebar-fixed-top: 70px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: var(--secondary-color);
            font-family: 'Arial', sans-serif;
        }

        html,
        body {
            overflow-x: clip;
        }
        
        header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }

        .logo-text {
            font-size: 24px;
            font-weight: bold;
            color: var(--secondary-color);
            margin-left: 10px;
        }
        
        .logo-img {
            width: 60px;
            height: auto;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 20px;
            position: relative;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--secondary-color);
            font-weight: 500;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            padding: 1px 0;
            font-size: 14px;
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .nav-links .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--white);
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            min-width: 180px;
            border-radius: 3px;
            padding: 5px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        visibility 0.3s;
            transform-origin: top center;
            z-index: 100;
        }
        
        /* Show dropdown when clicked (for desktop) */
        .nav-links li.dropdown-open .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }
        
        .dropdown-menu li {
            margin: 0;
            list-style-type: none;
        }
        
        .dropdown-menu a {
            padding: 5px 15px;
            font-size: 13px;
        }
        
        .dropdown-menu a:hover {
            background-color: var(--light-gray);
        }
        
        .has-dropdown::after {
            content: "▼";
            font-size: 10px;
            margin-left: 5px;
            display: inline-block;
            vertical-align: middle;
        }
        
        .btn {
            display: inline-block;
            padding: 7.5px 15px; /* Increased by 1.25x */
            background-color: var(--primary-color);
            color: var(--white);
            text-decoration: none;
            border-radius: 4px; /* Increased by 1.25x */
            font-weight: 600;
            transition: background-color 0.3s;
            font-family: 'Arial', sans-serif;
            font-size: 16px; /* Increased by 1.25x */
        }
        
        .btn:hover {
            background-color: #7a0916;
        }

        /* Dropdown arrow positioning fix */
        .nav-links a.has-dropdown {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-links a.has-dropdown::after {
            margin-left: 8px;
        }
        
        .search-container {
            position: relative;
            margin-right: 15px;
        }
        
        .search-input {
            padding: 4px 10px;
            border: 1px solid #ddd;
            border-radius: 15px;
            font-size: 12px;
            width: 140px;
            transition: width 0.3s;
            font-family: 'Arial', sans-serif;
        }
        
        .search-input:focus {
            width: 180px;
            outline: none;
            border-color: var(--primary-color);
        }
        
        .search-btn {
            background: none;
            border: none;
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #777;
        }
        
        .search-btn:hover {
            color: var(--primary-color);
        }
        
        .search-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            border-radius: 4px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .search-suggestions.show {
            max-height: 300px;
            overflow-y: auto;
        }
        
        .search-suggestion-item {
            padding: 8px 12px;
            cursor: pointer;
            font-size: 13px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .search-suggestion-item:hover {
            background-color: #f5f5f5;
        }
        
        .search-suggestion-item .suggestion-title {
            font-weight: bold;
            color: var(--secondary-color);
        }
        
        .search-suggestion-item .suggestion-category {
            font-size: 11px;
            color: #777;
            margin-left: 5px;
        }
        

        .hero-inner {
            background-color: var(--secondary-color);
            color: var(--white);
            padding: 60px 0;
            background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../Images/3 x 12 Web Banner - Medium Smooth.png');
            background-size: cover;
            background-position: center;
        }
        
        .hero-content {
            max-width: 800px;
        }
        
        .hero-inner h1 {
            font-size: 38px;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .hero-inner p {
            font-size: 18px;
            margin-bottom: 30px;
        }

        .section {
            padding: 70px 0;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* In-content text links */
        section p a:not(.btn),
        section li a:not(.btn),
        main p a:not(.btn),
        main li a:not(.btn) {
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 1px solid rgba(151, 12, 28, 0.35);
            transition: color 0.2s ease, border-bottom-color 0.2s ease;
        }

        section p a:not(.btn):hover,
        section li a:not(.btn):hover,
        main p a:not(.btn):hover,
        main li a:not(.btn):hover {
            color: #7a0916;
            border-bottom-color: #7a0916;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 32px;
            margin-bottom: 15px;
        }
        
        .section-title p {
            font-size: 18px;
            color: var(--dark-gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .content-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .content-image {
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .content-text h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .content-text p {
            margin-bottom: 15px;
        }

        .content-text ul {
            margin-bottom: 20px;
            padding-left: 20px;
        }

        .content-text li {
            margin-bottom: 10px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-top: 20px;
        }

        .feature-card {
            background-color: var(--white);
            border-radius: 6px;
            padding: 25px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

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

        .feature-icon {
            width: 60px;
            height: 60px;
            background-color: var(--light-gray);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }

        .feature-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--primary-color);
        }

        .feature-card p {
            color: var(--dark-gray);
            font-size: 15px;
        }


        .cta-section {
            background-color: var(--primary-color);
            color: var(--white);
            text-align: center;
            padding: 60px 0;
        }
        
        .cta-content {
            max-width: 700px;
            margin: 0 auto;
        }
        
        .cta-content h2 {
            font-size: 32px;
            margin-bottom: 20px;
        }
        
        .cta-content p {
            font-size: 18px;
            margin-bottom: 30px;
        }
        
        .btn-white {
            background-color: var(--white);
            color: var(--primary-color);
        }
        
        .btn-white:hover {
            background-color: #f0f0f0;
        }

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

        .stat-item h3 {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .stat-item p {
            font-size: 16px;
            color: var(--dark-gray);
        }

        .stat-item a {
            color: var(--dark-gray);
            border-bottom: 1px solid rgba(57, 57, 57, 0.4);
            text-decoration: none;
        }

        .stat-item a:hover {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }

        footer {
            background-color: var(--secondary-color);
            color: var(--white);
            padding: clamp(40px, 8vw, 80px) 0 clamp(15px, 3vw, 30px);
            min-height: 20vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: clamp(20px, 3vw, 35px);
            margin-bottom: clamp(20px, 4vw, 50px);
            align-items: start;
        }
        
        .footer-col {
            display: flex;
            flex-direction: column;
            min-height: clamp(120px, 15vh, 200px);
            justify-content: flex-start;
        }
        
        .footer-col h4 {
            font-size: clamp(16px, 3.5vw, 22px);
            margin-bottom: clamp(12px, 2.5vw, 25px);
            font-family: 'Arial', sans-serif;
            font-weight: 600;
            letter-spacing: 0.5px;
            line-height: 1.3;
        }
        
        .footer-links {
            list-style: none;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: clamp(8px, 1.5vw, 15px);
        }
        
        .footer-links li {
            margin-bottom: 0;
        }
        
        .footer-links a {
            color: #b3b3b3;
            text-decoration: none;
            transition: all 0.3s ease;
            font-family: 'Arial', sans-serif;
            font-size: clamp(13px, 2.8vw, 16px);
            line-height: 1.5;
            display: block;
            padding: clamp(4px, 1vw, 8px) 0;
            border-radius: 4px;
        }
        
        .footer-links a:hover {
            color: var(--white);
            transform: translateX(5px);
            background-color: rgba(255, 255, 255, 0.05);
            padding-left: clamp(8px, 2vw, 12px);
        }
        
        .copyright {
            text-align: center;
            padding-top: clamp(15px, 3vw, 25px);
            border-top: 1px solid #444;
            color: #b3b3b3;
            font-family: 'Arial', sans-serif;
            font-size: clamp(12px, 2.5vw, 14px);
            margin-top: auto;
            line-height: 1.4;
        }

        @media (max-width: 992px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .content-columns {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .hero-inner h1 {
                font-size: 32px;
            }

            .section-title h2 {
                font-size: 28px;
            }
        }

        /* Mobile Navigation Toggle Button */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            padding: 5px;
            color: var(--secondary-color);
            z-index: 101;
        }

        .mobile-menu-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--secondary-color);
            margin: 5px 0;
            transition: 0.3s;
        }

        /* Medium devices (tablets, 769px - 992px) */
        @media (max-width: 992px) {
            .container {
                max-width: 100%;
                padding: 0 30px;
            }
            
            .services-grid,
            .process-grid,
            .vulnerability-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .content-columns {
                gap: 30px;
            }
        }

        /* Small devices (landscape phones, 481px - 768px) */
        @media (max-width: 768px) {
            /* Mobile Navigation */
            .mobile-menu-toggle {
                display: block;
                z-index: 102;
                order: 2; /* Position hamburger on the right */
                margin-left: auto;
                margin-right: 0;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 300px;
                height: 100vh;
                background: var(--white);
                flex-direction: column;
                padding: 80px 20px 20px;
                box-shadow: -2px 0 10px rgba(0,0,0,0.1);
                transition: right 0.3s ease;
                z-index: 99;
                overflow-y: auto;
            }
            
            /* Add close button for mobile menu */
            .nav-links::before {
                content: "✕";
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 24px;
                color: var(--dark-gray);
                cursor: pointer;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: all 0.2s ease;
                z-index: 101;
                user-select: none;
            }
            
            .nav-links::before:hover {
                background: var(--light-gray);
                color: var(--primary-color);
                transform: scale(1.1);
            }
            
            .nav-links::before:active {
                transform: scale(0.95);
                background: rgba(151, 12, 28, 0.1);
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links li {
                margin: 0;
                width: 100%;
                border-bottom: 1px solid rgba(0,0,0,0.08);
                position: relative;
            }
            
            .nav-links li:last-child {
                border-bottom: none;
            }
            
            .nav-links > li > a {
                padding: 18px 20px;
                font-size: 17px;
                min-height: 56px;
                width: 100%;
                justify-content: space-between;
                font-weight: 500;
                letter-spacing: 0.3px;
                transition: all 0.2s ease;
                position: relative;
            }
            
            .nav-links > li > a:hover {
                background: rgba(151, 12, 28, 0.03);
            }
            
            .nav-links > li > a.has-dropdown {
                position: relative;
                overflow: hidden;
                cursor: pointer;
            }
            
            .nav-links > li > a.has-dropdown::after {
                content: "▼";
                font-size: 12px;
                margin-left: auto;
                color: var(--primary-color);
                transition: transform 0.3s ease;
            }
            
            .nav-links > li.dropdown-open > a.has-dropdown::after {
                transform: rotate(180deg);
            }
            
            .nav-links > li.dropdown-open > a {
                background: rgba(151, 12, 28, 0.04);
                color: var(--primary-color);
                border-bottom: 2px solid var(--primary-color);
            }
            
            .nav-links .dropdown-menu {
                position: static;
                box-shadow: none;
                max-height: 0;
                padding-left: 0;
                background: #f8f8f8;
                min-width: 100%;
                margin: 0;
                border-radius: 6px;
                overflow: hidden;
                border-left: 3px solid var(--primary-color);
                opacity: 0;
                visibility: hidden;
                transform: none;
                transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                            margin 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                            opacity 0.3s ease-out,
                            visibility 0.3s;
            }
            
            .nav-links li.dropdown-open .dropdown-menu {
                max-height: 600px;
                margin: 8px 20px;
                opacity: 1;
                visibility: visible;
            }
            
            .dropdown-menu li {
                position: relative;
                border-bottom: 1px solid rgba(0,0,0,0.05);
            }
            
            .dropdown-menu li:last-child {
                border-bottom: none;
            }
            
            .dropdown-menu a {
                font-size: 15px;
                padding: 14px 20px 14px 30px;
                display: block;
                transition: background-color 0.2s ease, color 0.2s ease;
                position: relative;
                color: var(--secondary-color);
                background: transparent;
            }
            
            .dropdown-menu a:hover {
                background: rgba(151, 12, 28, 0.05);
                color: var(--primary-color);
            }
            
            /* Header adjustments */
            nav {
                padding: 10px 0;
                display: flex;
                justify-content: space-between;
                align-items: center;
                position: relative;
            }
            
            /* Logo positioning - center */
            .logo {
                position: absolute;
                left: 50%;
                transform: translateX(35%);
                z-index: 98;
            }
            
            .logo-text {
                font-size: 20px;
            }
            
            .logo-img {
                width: 50px;
            }
            
            /* Search and button positioning - left side */
            .nav-right-section {
                order: 1;
                width: auto;
                margin-right: 0;
                margin-left: 0;
                flex: 1;
            }
            
            .search-container {
                display: none;
            }
            
            .nav-right-section .btn {
                font-size: 14px;
                padding: 8px 16px;
            }
            
            /* Hero sections */
            .hero,
            .hero-inner {
                padding: 60px 0;
            }
            
            .hero h1,
            .hero-inner h1 {
                font-size: 32px;
                line-height: 1.3;
            }
            
            .hero p,
            .hero-inner p {
                font-size: 16px;
            }
            
            /* Section adjustments */
            .section {
                padding: 60px 0;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .section-title p {
                font-size: 16px;
            }
            
            /* Grid layouts */
            .services-grid,
            .process-grid,
            .vulnerability-grid,
            .solution-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            
            /* Content columns */
            .content-columns {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .content-columns.reverse {
                display: flex;
                flex-direction: column-reverse;
            }
            
            /* Cards and content blocks */
            .service-card,
            .process-card,
            .vulnerability-card {
                margin-bottom: 0;
            }
            
            .service-img,
            .content-img {
                height: 200px;
            }
            
            .service-content,
            .process-content {
                padding: 20px;
            }
            
            /* Buttons */
            .btn {
                min-height: 44px;
                display: inline-flex;
                align-items: center;
            }
            
            /* Footer adjustments */
            footer {
                padding: clamp(30px, 6vw, 60px) 0 clamp(15px, 3vw, 25px);
                min-height: 25vh;
            }
            
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: clamp(12px, 3vw, 20px);
                margin-bottom: clamp(15px, 3vw, 30px);
            }
            
            .footer-col {
                min-height: clamp(100px, 12vh, 150px);
            }
            
            .footer-col h4 {
                font-size: clamp(15px, 4vw, 18px);
                margin-bottom: clamp(10px, 2vw, 18px);
            }
            
            .footer-links a {
                font-size: clamp(13px, 3.2vw, 15px);
                padding: clamp(6px, 1.5vw, 10px) 0;
            }
            
            /* CTA sections */
            .cta-content h2 {
                font-size: 28px;
            }
            
            .cta-content p {
                font-size: 16px;
            }
            
            /* Forms */
            .contact-form input,
            .contact-form select,
            .contact-form textarea {
                font-size: 16px;
                padding: 12px 15px;
                min-height: 44px;
            }
            
            .contact-columns {
                grid-template-columns: 1fr;
            }
            
            /* Sticky sidebar for mobile */
            .sticky-sidebar {
                position: fixed;
                bottom: 0;
                top: auto;
                right: 0;
                left: 0;
                width: 100%;
                transform: none;
                border-radius: 6px 6px 0 0;
                margin: 0;
                padding: 10px;
                background-color: rgba(255, 255, 255, 0.95);
                box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
                z-index: 90;
            }
            
            .sticky-sidebar ul {
                display: flex;
                justify-content: space-around;
                align-items: center;
            }
            
            .sticky-sidebar li {
                margin: 0;
                flex: 1;
                text-align: center;
            }
            
            .sticky-sidebar a {
                font-size: 13px;
                padding: 5px 2px;
                text-align: center;
                white-space: nowrap;
                padding-left: 10px;
                display: inline-block;
            }
            
            /* Main content padding for fixed sidebar */
            .main-content {
                padding-bottom: 80px;
            }
        }

        /* Extra small devices (phones, 320px - 480px) */
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            
            .hero h1,
            .hero-inner h1 {
                font-size: 24px;
            }
            
            .hero p,
            .hero-inner p {
                font-size: 14px;
                line-height: 1.5;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 14px;
            }
            
            .section {
                padding: 40px 0;
            }
            
            .section-title h2 {
                font-size: 24px;
            }
            
            .section-title p {
                font-size: 14px;
            }
            
            .service-content h3,
            .process-card h3,
            .vulnerability-card h3 {
                font-size: 16px;
            }
            
            .service-content p,
            .process-content p,
            .vulnerability-card p {
                font-size: 13px;
            }
            
            .stat-item h3 {
                font-size: 28px;
            }
            
            .stat-item p {
                font-size: 14px;
            }
            
            /* Timeline adjustments */
            .timeline-item {
                padding-left: 30px;
            }
            
            .timeline-year {
                font-size: 16px;
            }
            
            .timeline-content h3 {
                font-size: 16px;
            }
            
            .timeline-content p {
                font-size: 13px;
            }
        }

        /* Extra mobile optimizations for smallest screens */
        @media (max-width: 375px) {
            .hero h1,
            .hero-inner h1 {
                font-size: 22px;
            }
            
            .section-title h2 {
                font-size: 22px;
            }
            
            .service-content h3,
            .process-card h3 {
                font-size: 15px;
            }
            
            .stat-item h3 {
                font-size: 24px;
            }
            
            .btn {
                font-size: 13px;
                padding: 8px 16px;
            }
            
            .sticky-sidebar a {
                font-size: 11px;
            }
            
            /* Stats grid single column on very small screens */
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Mobile-specific JavaScript behaviors */
        @media (max-width: 768px) {
            /* Disable hover effects on mobile */
            .service-card:hover,
            .process-card:hover,
            .vulnerability-card:hover {
                transform: none;
            }
            
            /* Ensure dropdowns work with touch */
            .nav-links .has-dropdown {
                cursor: pointer;
            }
        }

        /* Landscape orientation adjustments */
        @media (max-width: 768px) and (orientation: landscape) {
            .hero,
            .hero-inner {
                padding: 40px 0;
            }
            
            .section {
                padding: 40px 0;
            }
            
            .sticky-sidebar {
                padding: 5px;
            }
            
            .sticky-sidebar a {
                font-size: 12px;
            }
        }
        
        /* Medium devices (tablets, 769px - 992px) */
        @media (max-width: 992px) {
            /* Ensure footer uses horizontal space on tablets */
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: clamp(15px, 2.5vw, 25px);
            }
        }
        
        /* Large tablets and small desktops (993px - 1200px) */
        @media (min-width: 993px) and (max-width: 1200px) {
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: clamp(20px, 2vw, 30px);
            }
            
            .footer-col h4 {
                font-size: clamp(17px, 1.8vw, 20px);
            }
            
            .footer-links a {
                font-size: clamp(14px, 1.4vw, 16px);
            }
        }
        
        /* Medium desktops (1201px - 1400px) */
        @media (min-width: 1201px) and (max-width: 1400px) {
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: clamp(25px, 2.2vw, 35px);
            }
        }
        
        /* Large desktops (1401px and above) */
        @media (min-width: 1401px) {
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: clamp(30px, 2vw, 50px);
                max-width: 1200px;
                margin: 0 auto clamp(20px, 4vw, 50px) auto;
            }
            
            .footer-col h4 {
                font-size: clamp(18px, 1.5vw, 22px);
            }
            
            .footer-links a {
                font-size: clamp(15px, 1.2vw, 17px);
            }
            
            .copyright {
                font-size: clamp(14px, 1.1vw, 16px);
            }
        }
        
        /* Medium mobile devices footer optimization */
        @media (min-width: 376px) and (max-width: 600px) {
            footer {
                padding: clamp(35px, 7vw, 50px) 0 clamp(15px, 3vw, 25px);
                min-height: 28vh;
            }
            
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: clamp(18px, 4vw, 28px);
                align-items: stretch;
            }
            
            .footer-col {
                min-height: clamp(90px, 14vh, 140px);
                text-align: left;
            }
            
            .footer-col h4 {
                font-size: clamp(15px, 4.2vw, 17px);
                margin-bottom: clamp(10px, 2.5vw, 15px);
            }
            
            .footer-links a {
                font-size: clamp(13px, 3.5vw, 15px);
                padding: clamp(6px, 1.8vw, 9px) 0;
            }
            
            .copyright {
                font-size: clamp(12px, 3.2vw, 14px);
            }
        }
        
        /* Extra mobile optimizations for smallest screens */
        @media (max-width: 375px) {
            /* Extra small footer optimizations */
            footer {
                padding: clamp(25px, 8vw, 40px) 0 clamp(12px, 4vw, 20px);
                min-height: 30vh;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: clamp(12px, 5vw, 20px);
                text-align: center;
            }
            
            .footer-col {
                min-height: clamp(80px, 15vh, 120px);
                align-items: center;
            }
            
            .footer-col h4 {
                font-size: clamp(16px, 5vw, 20px);
                margin-bottom: clamp(8px, 3vw, 15px);
                text-align: center;
            }
            
            .footer-links {
                align-items: center;
                width: 100%;
            }
            
            .footer-links a {
                font-size: clamp(14px, 4vw, 16px);
                text-align: center;
                padding: clamp(8px, 2vw, 12px) clamp(10px, 3vw, 20px);
                margin: 0 auto;
                width: fit-content;
            }
            
            .copyright {
                font-size: clamp(13px, 4vw, 15px);
                padding-top: clamp(12px, 4vw, 20px);
            }
        }
    