        body {
            box-sizing: border-box;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 25%, #45B7D1 50%, #96CEB4 75%, #FFEAA7 100%);
            color: #2d3436;
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 107, 107, 0.15);
            backdrop-filter: blur(20px);
            z-index: 1000;
            transition: all 0.3s ease;
            padding: 1rem 0;
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        }

        .header.scrolled {
            background: rgba(255, 107, 107, 0.95);
            box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-svg {
            width: 45px;
            height: 45px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            filter: drop-shadow(0 2px 8px rgba(127, 0, 255, 0.3));
        }

        .logo-svg:hover {
            transform: scale(1.15) rotate(10deg);
            filter: drop-shadow(0 5px 20px rgba(127, 0, 255, 0.6)) drop-shadow(0 0 15px rgba(0, 255, 224, 0.4));
            animation: logoFloat 2s ease-in-out infinite;
        }

        @keyframes logoFloat {
            0%, 100% { transform: scale(1.15) rotate(10deg) translateY(0px); }
            50% { transform: scale(1.15) rotate(10deg) translateY(-3px); }
        }

        .logo-container:hover .logo-text {
            background: linear-gradient(45deg, #7F00FF, #00FFE0, #FF6B6B, #4ECDC4);
            background-size: 300% 300%;
            animation: gradientShift 2s ease infinite;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .logo-text {
            font-family: 'Poppins', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(45deg, #7F00FF, #00FFE0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: #2d3436;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 1rem;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1);
            transition: all 0.3s ease;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .nav-links a:hover::after {
            width: 80%;
        }

        .nav-links a:hover {
            color: #FF6B6B;
            transform: translateY(-2px);
        }

        .login-btn {
            background: linear-gradient(45deg, #7F00FF, #00FFE0);
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 25px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(127, 0, 255, 0.4);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: #ffffff;
            transition: all 0.3s ease;
        }

        /* Hero Section with Image Slider */
        .hero {
            height: 100vh;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-slider {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 2s ease-in-out;
        }

        .hero-slide.active {
            opacity: 1;
        }

        .hero-slide::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(11, 11, 69, 0.7), rgba(127, 0, 255, 0.5));
        }

        .hero-content {
            text-align: center;
            z-index: 2;
            max-width: 900px;
            padding: 0 2rem;
            position: relative;
        }

        .hero-title {
            font-family: 'Poppins', sans-serif;
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            opacity: 0;
            animation: slideUp 1s ease 0.5s forwards;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0;
            animation: slideUp 1s ease 1s forwards;
            color: #e0e0e0;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            opacity: 0;
            animation: slideUp 1s ease 1.5s forwards;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .cta-button {
            background: linear-gradient(45deg, #7F00FF, #00FFE0);
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 600;
            color: #ffffff;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(127, 0, 255, 0.4);
        }

        .cta-button.secondary {
            background: transparent;
            border: 2px solid #00FFE0;
        }

        .cta-button.secondary:hover {
            background: #00FFE0;
            color: #0B0B45;
        }

        /* Sections */
        .section {
            padding: 6rem 0;
            max-width: 1400px;
            margin: 0 auto;
            padding-left: 2rem;
            padding-right: 2rem;
        }

        .section-title {
            font-family: 'Poppins', sans-serif;
            font-size: 3rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 4rem;
            background: linear-gradient(45deg, #7F00FF, #00FFE0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* About Preview Section */
        .about-preview {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-bottom: 6rem;
        }

        .about-content h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: #00FFE0;
        }

        .about-content p {
            margin-bottom: 1.5rem;
            color: #e0e0e0;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .read-more {
            color: #7F00FF;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .read-more:hover {
            color: #00FFE0;
            transform: translateX(5px);
        }

        .expandable-content {
            max-height: 0;
            overflow: hidden;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 1rem;
            opacity: 0;
            transform: rotateY(-90deg);
            transform-origin: left center;
            perspective: 1000px;
        }

        .expandable-content.expanded {
            max-height: 400px;
            opacity: 1;
            transform: rotateY(0deg);
        }

        .flashcard {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
            border: 2px solid rgba(255, 107, 107, 0.3);
            border-radius: 15px;
            padding: 1.5rem;
            margin-top: 1rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            transform-style: preserve-3d;
            transition: all 0.3s ease;
        }

        .flashcard:hover {
            transform: translateY(-5px) rotateX(5deg);
            box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
        }

        .about-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .about-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        /* Services Preview */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
            backdrop-filter: blur(15px);
            border-radius: 25px;
            padding: 2.5rem;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: 2px solid rgba(255, 107, 107, 0.3);
            position: relative;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .service-card:hover::before {
            left: 100%;
        }

        .service-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 25px 50px rgba(255, 107, 107, 0.3);
            border-color: rgba(78, 205, 196, 0.6);
        }

        .service-image {
            width: 100%;
            height: 200px;
            border-radius: 15px;
            margin-bottom: 1.5rem;
            object-fit: cover;
        }

        .service-card h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #00FFE0;
        }

        .service-card p {
            color: #e0e0e0;
            margin-bottom: 1rem;
        }

        /* Portfolio Gallery */
        .portfolio-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .portfolio-item {
            position: relative;
            aspect-ratio: 16/10;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .portfolio-item:hover {
            transform: scale(1.05);
        }

        .portfolio-item:hover img {
            transform: scale(1.1);
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(127, 0, 255, 0.8), rgba(0, 255, 224, 0.8));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }

        .portfolio-overlay h4 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: #ffffff;
        }

        .portfolio-overlay p {
            color: #ffffff;
            text-align: center;
        }

        /* Testimonials */
        .testimonials {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 4rem 2rem;
            margin: 4rem 0;
        }

        .testimonial-slider {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .testimonial {
            display: none;
        }

        .testimonial.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .testimonial-text {
            font-size: 1.3rem;
            font-style: italic;
            margin-bottom: 2rem;
            color: #e0e0e0;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        .author-image {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }

        .author-info h4 {
            color: #00FFE0;
            margin-bottom: 0.2rem;
        }

        .author-info p {
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Newsletter */
        .newsletter {
            background: linear-gradient(45deg, #7F00FF, #00FFE0);
            border-radius: 20px;
            padding: 3rem;
            text-align: center;
            margin: 4rem 0;
        }

        .newsletter h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 2rem;
            margin-bottom: 1rem;
            color: #ffffff;
        }

        .newsletter p {
            margin-bottom: 2rem;
            color: #ffffff;
            opacity: 0.9;
        }

        .newsletter-form {
            display: flex;
            gap: 1rem;
            max-width: 400px;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .newsletter-form input {
            flex: 1;
            padding: 1rem;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            min-width: 250px;
        }

        .newsletter-form button {
            background: #ffffff;
            color: #7F00FF;
            border: none;
            padding: 1rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* Login/Signup Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            backdrop-filter: blur(10px);
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: linear-gradient(135deg, #0B0B45, #2d2d7a);
            border-radius: 20px;
            padding: 3rem;
            max-width: 400px;
            width: 90%;
            position: relative;
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .modal h2 {
            font-family: 'Poppins', sans-serif;
            text-align: center;
            margin-bottom: 2rem;
            color: #00FFE0;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #e0e0e0;
            font-weight: 500;
        }

        .form-group input {
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(127, 0, 255, 0.3);
            border-radius: 10px;
            color: #ffffff;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: #00FFE0;
            box-shadow: 0 0 10px rgba(0, 255, 224, 0.3);
            transform: scale(1.02);
        }

        .form-group input::placeholder {
            color: #aaa;
        }

        .user-greeting {
            display: none;
            align-items: center;
            gap: 1rem;
            color: #00FFE0;
        }

        .logout-btn {
            background: transparent;
            border: 1px solid Black;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .logout-btn:hover {
            background: green;
            color: #ffffff;
        }

        /* Footer */
        .footer {
            background: rgba(11, 11, 69, 0.9);
            padding: 4rem 0 2rem;
            margin-top: 6rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .footer-section h4 {
            font-family: 'Poppins', sans-serif;
            color: #00FFE0;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
        }

        .footer-section a {
            color: #e0e0e0;
            text-decoration: none;
            display: block;
            margin-bottom: 0.8rem;
            transition: all 0.3s ease;
        }

        .footer-section a:hover {
            color: #7F00FF;
            transform: translateX(5px);
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .footer-logo svg {
            width: 30px;
            height: 30px;
            filter: drop-shadow(0 0 5px rgba(127, 0, 255, 0.3));
        }

        .social-icons {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            background: linear-gradient(45deg, #7F00FF, #00FFE0);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }

        .social-icon:hover {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 5px 15px rgba(127, 0, 255, 0.4);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(127, 0, 255, 0.3);
            color: #aaa;
        }

        /* Legal Content Modal */
        .legal-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 3000;
            backdrop-filter: blur(10px);
        }

        .legal-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .legal-content {
            background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
            border-radius: 20px;
            padding: 3rem;
            max-width: 800px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            animation: modalSlideIn 0.3s ease;
            color: #ffffff;
        }

        .legal-content h2 {
            font-family: 'Poppins', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
            color: #ffffff;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .legal-content h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            margin: 2rem 0 1rem 0;
            color: #ffffff;
            border-bottom: 2px solid rgba(255, 255, 255, 0.3);
            padding-bottom: 0.5rem;
        }

        .legal-content p {
            margin-bottom: 1.5rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
        }

        .legal-content ul {
            margin: 1rem 0;
            padding-left: 2rem;
        }

        .legal-content li {
            margin-bottom: 0.8rem;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Enhanced Responsive Design */
        @media (max-width: 1200px) {
            .nav-container {
                padding: 0 1.5rem;
            }
            
            .section {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
            
            .portfolio-gallery {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        @media (max-width: 992px) {
            .hero-title {
                font-size: 3.2rem;
            }
            
            .hero-subtitle {
                font-size: 1.3rem;
            }
            
            .about-preview {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 1.8rem;
            }
            
            .portfolio-gallery {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
            
            .section-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: linear-gradient(135deg, rgba(255, 107, 107, 0.98), rgba(78, 205, 196, 0.98));
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 2rem;
                gap: 1.5rem;
                border-radius: 0 0 25px 25px;
                box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
                border: 2px solid rgba(255, 255, 255, 0.2);
                animation: slideDown 0.3s ease;
            }
            
            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links a {
                color: #ffffff;
                font-size: 1.1rem;
                padding: 1rem;
                border-radius: 15px;
                background: rgba(255, 255, 255, 0.1);
                text-align: center;
                transition: all 0.3s ease;
            }
            
            .nav-links a:hover {
                background: rgba(255, 255, 255, 0.2);
                transform: scale(1.05);
            }
            
            .hamburger {
                display: flex;
            }
            
            .hamburger span {
                background: linear-gradient(45deg, #7F00FF, #00FFE0);
                border-radius: 2px;
            }
            
            .hero {
                padding: 0 1rem;
            }
            
            .hero-title {
                font-size: 2.8rem;
                line-height: 1.2;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
                margin-bottom: 2.5rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 1.2rem;
            }
            
            .cta-button {
                width: 100%;
                max-width: 300px;
                text-align: center;
                padding: 1.2rem 2rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .service-card {
                padding: 2rem 1.5rem;
                margin: 0 0.5rem;
            }
            
            .portfolio-gallery {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .newsletter-form {
                flex-direction: column;
                gap: 1.2rem;
            }
            
            .newsletter-form input {
                min-width: auto;
                width: 100%;
                padding: 1.2rem;
                font-size: 1rem;
            }
            
            .newsletter-form button {
                width: 100%;
                padding: 1.2rem;
            }
            
            .section {
                padding: 4rem 0;
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            .section-title {
                font-size: 2.4rem;
                margin-bottom: 3rem;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 2.5rem;
                text-align: left;
            }
            
            .legal-content {
                padding: 2rem;
                margin: 1rem;
                max-height: 85vh;
            }
            
            .legal-content h2 {
                font-size: 2rem;
            }
            
            .modal-content {
                margin: 1rem;
                padding: 2rem;
            }
            
            .testimonials {
                padding: 3rem 1.5rem;
            }
            
            .testimonial-text {
                font-size: 1.1rem;
            }
            
            .about-content h3 {
                font-size: 1.8rem;
            }
            
            .flashcard {
                padding: 1.5rem;
                margin-top: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .nav-container {
                padding: 0 1rem;
            }
            
            .logo-text {
                font-size: 1.5rem;
            }
            
            .logo-svg {
                width: 35px;
                height: 35px;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .service-card {
                padding: 1.5rem 1rem;
                margin: 0;
            }
            
            .service-card h3 {
                font-size: 1.3rem;
            }
            
            .flashcard {
                padding: 1.2rem;
            }
            
            .newsletter {
                padding: 2rem 1.5rem;
            }
            
            .newsletter h3 {
                font-size: 1.6rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .social-icons {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .service-card {
                padding: 1.2rem 0.8rem;
            }
            
            .flashcard {
                padding: 1rem;
            }
            
            .legal-content {
                padding: 1.5rem;
            }
            
            .legal-content h2 {
                font-size: 1.6rem;
            }
            
            .legal-content h3 {
                font-size: 1.1rem;
            }
            
            .about-content h3 {
                font-size: 1.5rem;
            }
            
            .cta-button {
                padding: 1rem 1.5rem;
                font-size: 1rem;
            }
            
            .testimonial-author {
                flex-direction: column;
                gap: 0.8rem;
            }
            
            .author-image {
                width: 50px;
                height: 50px;
            }
        }

        @media (max-width: 360px) {
            .hero-title {
                font-size: 1.8rem;
            }
            
            .section {
                padding-left: 0.8rem;
                padding-right: 0.8rem;
            }
            
            .service-card {
                padding: 1rem 0.6rem;
            }
            
            .newsletter {
                padding: 1.5rem 1rem;
            }
            
            .modal-content {
                padding: 1.5rem;
            }
            
            .legal-content {
                padding: 1.2rem;
            }
        }

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }