html {
            font-size: 14.4px; /* 10% smaller than the default 16px */
        }
        
        :root {
            --primary-color: #002F49;
            --secondary-color: #7c929f;
            --accent-color: #004d7a;
            --maroon-color: #911d1f; /* Rich maroon */
            --maroon-light: #b72126; /* Lighter maroon for hover effects */
            --maroon-dark: #5a0017; /* Darker maroon for shadows */
            --maroon-transparent: rgba(128, 0, 32, 0.08); /* For subtle backgrounds */
            --gold-accent: #D4AF37; /* Gold accent to complement maroon */
        }

        body {
            font-family: 'Montserrat', Arial, sans-serif;
            line-height: 1.6;
            max-width: 100%;
            overflow-x: hidden;
        }
        .logo img{
            height: 50px;
            margin-right: -30px;
        }

        .hero-section {
            background: linear-gradient(to right, rgba(255,255,255,0.75) 30%, rgba(255,255,255,0.1)), 
                        url('assets/images/student_dashboard.png');
            background-size: cover;
            background-position: center;
            min-height: 85vh; /* Increased height for more impact */
            color: var(--primary-color);
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid var(--maroon-color); /* Maroon border at bottom */
        }

        /* Decorative diagonal accent stripe */
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background-color: var(--maroon-transparent);
            transform: rotate(45deg);
            z-index: 0;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }
        
        .hero-content {
            max-width: 600px;
            margin-right: auto;
            margin-left: 4rem;
            text-align: left;
            padding-right: 0;
            position: relative; /* For proper layering with decorative elements */
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 3.4rem; /* Reduced from 3.8rem */
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            text-shadow: 1px 1px 0px rgba(128,0,32,0.1); /* Subtle maroon shadow */
            letter-spacing: -0.5px;
        }

        .hero-content .lead {
            font-size: 1.44rem; /* Reduced from 1.6rem */
            margin-bottom: 1.5rem;
            color: var(--maroon-color); /* Changed to maroon */
            font-weight: 500;
        }
        
        .hero-content p {
            color: #333;
            font-size: 1rem; /* Adjusted from 1.1rem */
            line-height: 1.6;
        }

        .hero-features {
            justify-content: flex-start;
            margin-top: 3rem; /* More space above features */
            display: flex;
            flex-wrap: wrap;
            gap: 12px; /* Consistent spacing */
        }


        .hero-feature-item {
            background: linear-gradient(135deg, var(--maroon-color) 70%, var(--maroon-light) 100%);
            color: #fff;
            padding: 0.85rem 1.8rem;
            border-radius: 30px;
            transition: all 0.3s ease;
            border: 2px solid var(--maroon-color);
            box-shadow: 0 4px 18px rgba(128,0,32,0.18);
            font-weight: 600;
        }

        .hero-feature-item:hover {
            transform: translateY(-5px) scale(1.04);
            box-shadow: 0 8px 24px rgba(128,0,32,0.28);
            background: linear-gradient(135deg, var(--maroon-light) 60%, var(--maroon-color) 100%);
            color: #fff;
        }

        .hero-feature-item i {
            color: #fff;
            margin-right: 8px;
            font-size: 1.25rem;
            text-shadow: 0 2px 8px var(--maroon-dark);
        }

        .hero-feature-item span {
            color: #fff;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-shadow: 0 1px 4px var(--maroon-dark);
        }

        .navbar-dark {
            background: linear-gradient(90deg, var(--primary-color) 0%, var(--maroon-dark) 100%) !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 12px 0;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--maroon-color), var(--maroon-dark));
            border-color: var(--maroon-color);
            box-shadow: 0 3px 6px rgba(128,0,32,0.2);
            padding: 10px 20px;
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.3s;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, var(--maroon-light), var(--maroon-color));
            transform: translateY(-2px);
            box-shadow: 0 5px 12px rgba(128,0,32,0.3);
        }

        .feature-card {
            border: 1.5px solid #e5e5e5;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-color);
            box-shadow: 0 4px 18px rgba(0,47,73,0.15);
        }

        .bg-light {
            background-color: #f8f9fa !important;
        }

        .modal-content {
            border-radius: 10px;
            border: none;
        }

        .modal-header {
            background-color: var(--primary-color);
            color: white;
            border-radius: 10px 10px 0 0;
        }

        .btn-close {
            filter: brightness(0) invert(1);
        }

        .auth-form .form-control {
            border: 1.5px solid #e5e5e5;
            border-radius: 8px;
            padding: 10px 14px;
        }

        .auth-form .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: none;
        }

        .auth-form .btn-primary {
            padding: 10px;
            font-weight: 600;
        }

        footer {
            background: linear-gradient(90deg, var(--primary-color) 0%, var(--maroon-dark) 100%) !important;
            position: relative;
            overflow: hidden;
        }
        
        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(to right, var(--maroon-color), var(--gold-accent), var(--maroon-color));
        }

        .key-feature-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            color: var(--maroon-color);
            background: var(--maroon-transparent);
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%; 
            margin: 0 auto 1.5rem;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(128,0,32,0.1);
        }

        .key-feature-wrapper:hover .key-feature-icon {
            transform: rotateY(360deg);
            transition: transform 0.8s ease;
            background: rgba(128,0,32,0.15);
        }

        .review-component {
            padding: 5rem 0;
            background: linear-gradient(135deg, var(--primary-color), var(--maroon-dark));
            color: white;
            position: relative;
            overflow: hidden;
        }

        /* Decorative dots pattern */
        .review-component::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(var(--maroon-light) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.07;
            pointer-events: none;
        }
        
        /* Make review section title white and more visible */
        .review-component h2.text-center {
            color: white !important;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            margin-bottom: 2.5rem;
            font-weight: 700;
            position: relative;
        }
        
        .review-component h2.text-center::after {
            background: var(--gold-accent);
            height: 3px;
            width: 100px;
        }

        .component-card {
            background: rgba(255,255,255,0.15);
            border-radius: 12px;
            padding: 2.5rem;
            text-align: center;
            transition: all 0.4s;
            border: 1px solid rgba(255,255,255,0.2);
            backdrop-filter: blur(5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            position: relative;
            z-index: 1;
            height: 100%; /* Ensure equal height */
        }

        .component-card:hover {
            transform: translateY(-15px);
            background: rgba(255,255,255,0.15);
            border-color: rgba(255,255,255,0.2);
            box-shadow: 0 12px 25px rgba(0,0,0,0.25);
        }

        .component-icon {
            font-size: 3.2rem;
            margin-bottom: 1.8rem;
            color: white;
            text-shadow: 2px 2px 8px var(--maroon-dark);
            background: linear-gradient(135deg, var(--maroon-color), transparent);
            width: 90px;
            height: 90px;
            line-height: 90px;
            border-radius: 50%;
            margin: 0 auto 1.8rem;
            transition: all 0.5s;
        }
        
        .component-card:hover .component-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .component-card h4 {
            margin-bottom: 1rem;
            font-weight: 600;
            position: relative;
            padding-bottom: 15px;
        }

        .component-card h4::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--gold-accent); /* Gold accent line */
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .platform-users-img {
            height: 220px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            border: 3px solid white;
            transition: all 0.3s;
        }
        
        .feature-card:hover .platform-users-img {
            transform: scale(1.03);
            box-shadow: 0 12px 25px rgba(128,0,32,0.25);
            border-color: var(--maroon-transparent);
        }

        .navbar-nav .nav-link {
            color: white;
            margin: 0 1rem;
            position: relative;
            padding: 0.5rem 0;
            font-weight: 500;
            transition: all 0.3s;
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(to right, var(--maroon-color), var(--gold-accent)); /* Gradient underline */
            transition: width 0.3s;
            border-radius: 2px;
        }

        .navbar-nav .nav-link:hover {
            color: var(--gold-accent);
        }

        .navbar-nav .nav-link:hover::after {
            width: 100%;
        }
        
        .auth-buttons {
            margin-left: 2rem;
        }

        .auth-buttons .btn-outline-light {
            border: 2px solid white;
            font-weight: 500;
            padding: 10px 20px;
            font-size: 1.1rem;
            transition: all 0.3s;
        }
        
        .auth-buttons .btn-outline-light:hover {
            background-color: var(--maroon-color);
            border-color: var(--maroon-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(128,0,32,0.3);
        }

        /* Make login and signup buttons same width */
        .auth-buttons .btn-auth-same {
            min-width: 120px;
            text-align: center;
        }
        
        /* Section headings with maroon accents */
        section h2.text-center {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        section h2.text-center::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--maroon-color), var(--maroon-light));
            border-radius: 2px;
        }

        /* Contact section styles */
        .contact-section {
            background: linear-gradient(135deg, var(--primary-color), var(--maroon-dark));
            color: white;
            position: relative;
            overflow: hidden;
            padding: 5rem 0;
        }
        
        /* Background pattern */
        .contact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(var(--maroon-light) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.07;
            pointer-events: none;
        }
        
        .contact-section h2 {
            color: white !important;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            position: relative;
        }
        
        .contact-section h4 {
            color: white;
            font-weight: 600;
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }
        
        .contact-section h4::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--gold-accent);
            bottom: 0;
            left: 0;
        }
        
        .contact-info i {
            color: var(--gold-accent);
        }
        
        .contact-form .form-control {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            transition: all 0.3s;
        }
        
        .contact-form .form-control::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        
        .contact-form .form-control:focus {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--gold-accent);
            box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
        }
        
        .contact-form .btn-primary {
            background: var(--gold-accent);
            border-color: var(--gold-accent);
            transition: all 0.3s;
        }
        
        .contact-form .btn-primary:hover {
            background: #c09b2d;
            border-color: #c09b2d;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        /* ========================================
           MOBILE RESPONSIVE STYLES
           ======================================== */

        /* Mobile - Hide auth buttons */
        @media (max-width: 768px) {
            .auth-buttons {
                display: none !important;
            }
            
            /* Navbar adjustments for mobile */
            .navbar {
                padding: 12px 0;
                background: rgba(18, 36, 65, 0.95) !important;
                backdrop-filter: blur(10px);
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            
            
            /* Modern Hero section mobile design */
            .hero-section {
                min-height: 100vh;
                padding: 0;
                background: linear-gradient(135deg, rgba(18, 36, 65, 0.7) 0%, rgba(18, 36, 65, 0.8) 100%), 
                           url('/assets/images/student_dashboard.png');
                background-size: cover;
                background-position: center;
                position: relative;
                display: flex;
                align-items: center;
                overflow: hidden;
            }
            
            /* Animated background shapes - REMOVED */
            .hero-section::before {
                display: none;
            }
            
            .hero-section::after {
                display: none;
            }
            
            @keyframes float {
                0%, 100% { transform: translateY(0px) rotate(0deg); }
                50% { transform: translateY(-20px) rotate(180deg); }
            }
            
            /* Additional red accent shapes */
            .hero-content::after {
                content: '';
                position: absolute;
                top: 20%;
                right: -50px;
                width: 100px;
                height: 100px;
                background: radial-gradient(circle, rgba(128, 0, 32, 0.3), transparent);
                border-radius: 50%;
                filter: blur(20px);
                animation: float 15s ease-in-out infinite reverse;
                z-index: -2;
            }
            
            .hero-content {
                position: relative;
                z-index: 2;
                margin: 0 auto;
                text-align: center;
                max-width: 90%;
                padding: 0;
                background: none;
                box-shadow: none;
            }
            
            /* Glassmorphism card */
            .hero-content::before {
                content: '';
                position: absolute;
                top: -2rem;
                left: -1rem;
                right: -1rem;
                bottom: -2rem;
                background: rgba(255, 255, 255, 0.25);
                backdrop-filter: blur(20px);
                border-radius: 30px;
                border: 1px solid rgba(255, 255, 255, 0.3);
                box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
                z-index: -1;
            }
            
            .hero-content h1 {
                font-size: 2.5rem;
                margin-bottom: 1rem;
                color: white;
                font-weight: 900;
                line-height: 1.1;
                text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
                letter-spacing: -1px;
            }
            
            .hero-content .lead {
                font-size: 1.2rem;
                margin-bottom: 1.2rem;
                color: rgba(255, 255, 255, 0.95);
                font-weight: 600;
                text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            }
            
            .hero-content p {
                font-size: 0.95rem;
                margin-bottom: 2.5rem;
                color: rgba(255, 255, 255, 0.9);
                line-height: 1.6;
                padding: 0 1rem;
                text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            }
            
            .hero-features {
                justify-content: center;
                margin-top: 3rem;
                display: flex;
                flex-wrap: wrap;
                gap: 12px;
            }
            
            .hero-feature-item {
                background: linear-gradient(135deg, var(--maroon-color) 70%, var(--maroon-light) 100%);
                color: #fff;
                padding: 0.85rem 1.8rem;
                border-radius: 30px;
                transition: all 0.3s ease;
                border: 2px solid var(--maroon-color);
                box-shadow: 0 4px 18px rgba(128,0,32,0.18);
                font-weight: 600;
                margin: 0;
            }
            
            .hero-feature-item:hover {
                transform: translateY(-5px) scale(1.04);
                box-shadow: 0 8px 24px rgba(128,0,32,0.28);
                background: linear-gradient(135deg, var(--maroon-light) 60%, var(--maroon-color) 100%);
                color: #fff;
            }
            
            .hero-feature-item i {
                color: #fff;
                margin-right: 8px;
                font-size: 1.25rem;
                text-shadow: 0 2px 8px var(--maroon-dark);
            }
            
            .hero-feature-item span {
                color: #fff;
                font-weight: 700;
                letter-spacing: 0.3px;
                text-shadow: 0 1px 4px var(--maroon-dark);
            }
            
            /* Section spacing adjustments */
            section {
                padding: 3rem 0 !important;
            }
            
            .py-5 {
                padding: 3rem 0 !important;
            }
            
            /* Typography adjustments */
            section h2.text-center {
                font-size: 1.8rem;
                margin-bottom: 2rem;
            }
            
            /* Feature cards mobile layout */
            .platform-users-img {
                height: 180px;
            }
            
            .feature-card {
                margin-bottom: 2rem;
            }
            
            .feature-card h4 {
                font-size: 1.3rem;
            }
            
            .feature-card p {
                font-size: 0.9rem;
            }
            
            /* Key features mobile layout */
            .key-feature-icon {
                font-size: 2.5rem;
                width: 80px;
                height: 80px;
                margin-bottom: 1rem;
            }
            
            .key-feature-wrapper h5 {
                font-size: 1.1rem;
                margin-bottom: 0.5rem;
            }
            
            .key-feature-wrapper p {
                font-size: 0.85rem;
            }
            
            /* Component cards mobile adjustments */
            .component-card {
                padding: 2rem;
                margin-bottom: 1.5rem;
            }
            
            .component-icon {
                font-size: 2.5rem;
                width: 70px;
                height: 70px;
                line-height: 70px;
                margin-bottom: 1.2rem;
            }
            
            .component-card h4 {
                font-size: 1.2rem;
                margin-bottom: 0.8rem;
            }
            
            .component-card p {
                font-size: 0.9rem;
            }
            
            /* About section mobile layout */
            .about-us .col-md-6 {
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            
            .about-us img {
                max-width: 200px !important;
                margin: 0 auto 2rem auto !important;
                display: block !important;
                text-align: center;
            }
            
            /* Alternative more specific selector for the logo */
            #about-us .col-md-6:first-child {
                text-align: center !important;
            }
            
            #about-us img[src*="letpro2.png"] {
                margin-left: auto !important;
                margin-right: auto !important;
                display: block !important;
            }
            
            .about-us h4 {
                font-size: 1.3rem;
                margin-bottom: 1rem;
            }
            
            .about-us p {
                font-size: 0.9rem;
                text-align: justify;
            }
            
            .about-us .card-body {
                padding: 1.5rem;
            }
            
            .about-us .card-title {
                font-size: 1.2rem;
            }
            
            .about-us .list-unstyled li {
                font-size: 0.85rem;
                margin-bottom: 0.8rem;
            }
            
            /* Contact section mobile optimizations */
            .contact-section {
                padding: 3rem 0;
            }
            
            .contact-info,
            .contact-form {
                margin-bottom: 2rem;
            }
            
            .contact-info h4,
            .contact-form h4 {
                font-size: 1.3rem;
                text-align: center;
                margin-bottom: 1.5rem;
            }
            
            .contact-info h4::after,
            .contact-form h4::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .contact-info ul {
                font-size: 0.9rem;
            }
            
            .contact-info li {
                text-align: center;
                margin-bottom: 1.5rem;
            }
            
            .contact-form .form-control {
                font-size: 1rem;
                padding: 12px;
            }
            
            .contact-form .btn-primary {
                width: 100%;
                padding: 12px;
                font-size: 1.1rem;
            }
            
            /* Footer mobile adjustments */
            footer {
                padding: 2rem 0 !important;
                text-align: center;
            }
            
            footer p {
                font-size: 0.85rem;
                margin: 0;
            }
            
            /* Navigation mobile improvements */
            .navbar-nav {
                text-align: center;
                margin-top: 1rem;
            }
            
            .navbar-nav .nav-link {
                padding: 0.8rem 0;
                font-size: 1.1rem;
                margin: 0;
            }
            
            /* Remove hover effects on mobile for better performance */
            .hero-feature-item:hover,
            .feature-card:hover,
            .key-feature-wrapper:hover .key-feature-icon,
            .component-card:hover,
            .component-card:hover .component-icon {
                transform: none;
            }
        }

        /* Extra small devices (portrait phones, less than 576px) */
        @media (max-width: 575.98px) {
            .hero-section {
                min-height: 100vh;
                padding: 0;
            }
            
            .hero-content {
                max-width: 95%;
                padding: 0;
            }
            
            .hero-content::before {
                top: -1.5rem;
                left: -0.5rem;
                right: -0.5rem;
                bottom: -1.5rem;
                border-radius: 25px;
            }
            
            .hero-content h1 {
                font-size: 2.2rem;
                line-height: 1.1;
                margin-bottom: 0.8rem;
                letter-spacing: -0.5px;
            }
            
            .hero-content .lead {
                font-size: 1.1rem;
                margin-bottom: 1rem;
            }
            
            .hero-content p {
                font-size: 0.9rem;
                margin-bottom: 2rem;
                padding: 0 0.5rem;
            }
            
            .hero-feature-item {
                padding: 0.9rem 1.8rem;
                font-size: 0.9rem;
                min-width: 180px;
                margin: 0.4rem 0;
            }
            
            .hero-feature-item i {
                font-size: 1.1rem;
                margin-right: 8px;
            }
            
            /* Other mobile optimizations */
            section h2.text-center {
                font-size: 1.6rem;
            }
            
            .platform-users-img {
                height: 160px;
            }
            
            .component-card {
                padding: 1.5rem;
            }
            
            .about-us img {
                max-width: 150px !important;
            }
            
            .contact-info li {
                font-size: 0.85rem;
            }
        }

        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            /* Remove hover effects for touch devices */
            .hero-feature-item:hover,
            .feature-card:hover,
            .key-feature-wrapper:hover .key-feature-icon,
            .component-card:hover,
            .component-card:hover .component-icon,
            .btn-primary:hover,
            .auth-buttons .btn-outline-light:hover {
                transform: none !important;
                box-shadow: inherit !important;
            }
            
            /* Improve touch targets */
            .navbar-nav .nav-link {
                min-height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .contact-form .btn-primary {
                min-height: 48px;
            }
            
            /* Better spacing for touch */
            .hero-features {
                gap: 12px;
            }
            
            .hero-feature-item {
                min-height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }

        /* Landscape mobile adjustments */
        @media (max-width: 768px) and (orientation: landscape) {
            .hero-section {
                min-height: 100vh;
                padding: 0;
                display: flex;
                align-items: center;
            }
            
            .hero-content {
                max-width: 80%;
                padding: 0;
                margin: 0 auto;
            }
            
            .hero-content::before {
                top: -1rem;
                left: -1rem;
                right: -1rem;
                bottom: -1rem;
                border-radius: 20px;
            }
            
            .hero-content h1 {
                font-size: 2rem;
                margin-bottom: 0.6rem;
                line-height: 1.1;
            }
            
            .hero-content .lead {
                font-size: 1rem;
                margin-bottom: 0.8rem;
            }
            
            .hero-content p {
                font-size: 0.85rem;
                margin-bottom: 1.5rem;
                padding: 0;
            }
            
            .hero-features {
                margin-top: 1.2rem;
                gap: 0.6rem;
                flex-direction: row;
                flex-wrap: wrap;
            }
            
            .hero-feature-item {
                padding: 0.6rem 1.2rem;
                font-size: 0.8rem;
                min-width: 140px;
                margin: 0.2rem;
            }
            
            section {
                padding: 2rem 0 !important;
            }
        }

        /* High DPI displays */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            /* Optimize for retina displays */
            .hero-section {
                background-size: cover;
                background-attachment: scroll; /* Better performance on mobile */
            }
            
            .platform-users-img {
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
            }
        }