/* ============================================
   FuyTech Website - Main Stylesheet
   Modern, Premium, Futuristic Design
   ============================================ */

/* Root Variables */
:root {
    --color-black: #0B0B0B;
    --color-black-light: #1A1A1A;
    --color-black-lighter: #2D2D2D;
    --color-red: #FF2D2D;
    --color-red-light: #FF5555;
    --color-red-dark: #CC2323;
    --color-white: #FFFFFF;
    --color-gray: #808080;
    --color-gray-light: #E8E8E8;
    --color-gray-dark: #3D3D3D;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.15s ease-out;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.45);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-black-light) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 45, 45, 0.2);
    border-top-color: var(--color-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--color-red);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-red-light));
    z-index: 1000;
    width: 0%;
    transition: width 0.2s ease;
}

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999;
    display: none;
    box-shadow: 0 0 20px rgba(255, 45, 45, 0.5);
    transition: all 0.1s ease-out;
}

@media (min-width: 1025px) {
    .cursor-glow {
        display: block;
    }
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(11, 11, 11, 0.95);
    padding: 0.25rem 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar-brand {
    flex: 0 0 auto;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-letter {
    color: var(--color-red);
    font-size: 28px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--color-white);
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 45, 45, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 501;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-red), transparent);
    top: 20%;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-red-dark), transparent);
    bottom: 10%;
    right: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 45, 45, 0.5), transparent);
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 10;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(32px, 6vw, 72px);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.typing-text {
    color: var(--color-white);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(255, 45, 45, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 45, 45, 0.5);
}

.btn-secondary {
    background: rgba(255, 45, 45, 0.1);
    color: var(--color-white);
    border: 1.5px solid var(--color-red);
}

.btn-secondary:hover {
    background: rgba(255, 45, 45, 0.2);
    transform: translateY(-3px);
}

.btn-small {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 16px;
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: rgba(255, 45, 45, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    z-index: 3;
}

.floating-card .card-icon {
    font-size: 24px;
    color: var(--color-red);
    margin-bottom: 0.5rem;
}

.card-1 {
    top: 20%;
    left: -60px;
    animation: floatCard 4s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: -40px;
    animation: floatCard 4s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 15%;
    left: 10%;
    animation: floatCard 4s ease-in-out infinite 1s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    animation: pulse 2s ease-in-out infinite;
}

.scroll-arrow {
    display: inline-block;
    margin-top: 10px;
    font-size: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Statistics Section */
.stats {
    position: relative;
    padding: 100px 2rem;
    background: linear-gradient(180deg, transparent, rgba(255, 45, 45, 0.05));
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 45, 45, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 45, 45, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 45, 45, 0.4);
}

.stat-number {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--color-red);
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

/* Services Section */
.services {
    position: relative;
    padding: 100px 2rem;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: rgba(255, 45, 45, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 15px;
    transition: var(--transition-smooth);
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    background: rgba(255, 45, 45, 0.1);
    transform: translateY(-10px);
    border-color: rgba(255, 45, 45, 0.4);
    box-shadow: 0 20px 40px rgba(255, 45, 45, 0.2);
}

.service-icon {
    font-size: 40px;
    color: var(--color-red);
    margin-bottom: 1.5rem;
    display: inline-flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 45, 0.1);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: rgba(255, 45, 45, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 2rem;
    background: linear-gradient(180deg, transparent, rgba(255, 45, 45, 0.05));
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition-smooth);
    text-align: center;
}

.feature-card:hover {
    background: rgba(255, 45, 45, 0.1);
    border-color: rgba(255, 45, 45, 0.3);
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 40px;
    color: var(--color-red);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 2rem;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 45, 45, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: fadeInUp 0.6s ease-out;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 45, 45, 0.4);
    box-shadow: 0 20px 40px rgba(255, 45, 45, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 2rem;
}

.project-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-red);
    background: rgba(255, 45, 45, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 0.8rem;
}

.project-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(255, 45, 45, 0.1);
    color: var(--color-red);
    border-radius: 20px;
    font-weight: 500;
}

/* Technologies Section */
.technologies {
    padding: 100px 2rem;
    background: linear-gradient(180deg, transparent, rgba(255, 45, 45, 0.05));
}

.tech-container {
    max-width: 1400px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.tech-badge-large {
    padding: 1.5rem;
    background: rgba(255, 45, 45, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tech-badge-large:hover {
    background: rgba(255, 45, 45, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 45, 45, 0.4);
    box-shadow: 0 10px 24px rgba(255, 45, 45, 0.2);
}

/* Book Session / Booking Form */
.book-session {
    padding: 100px 2rem;
}

.session-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-form {
    background: rgba(255, 45, 45, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    padding: 3rem;
    border-radius: 20px;
    animation: slideInUp 0.6s ease-out;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.checkbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label .link {
    color: var(--color-red);
    text-decoration: underline;
}

.error-message {
    font-size: 12px;
    color: #FF6B6B;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* About Section */
.about {
    padding: 100px 2rem;
    background: linear-gradient(180deg, transparent, rgba(255, 45, 45, 0.05));
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    animation: slideInLeft 0.6s ease-out;
}

.about-text h3 {
    font-size: 20px;
    margin: 2rem 0 1rem 0;
    color: var(--color-white);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.core-values {
    margin-top: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    padding: 1.5rem;
    background: rgba(255, 45, 45, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 45, 45, 0.2);
}

.value-item i {
    font-size: 24px;
    color: var(--color-red);
    margin-bottom: 0.5rem;
}

.value-item h4 {
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.about-image {
    animation: slideInRight 0.6s ease-out;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 2rem;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 3rem;
    background: rgba(255, 45, 45, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stars {
    color: var(--color-red);
    font-size: 16px;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: auto;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-red);
}

.author-info h4 {
    font-size: 15px;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 45, 45, 0.1);
    border: 1px solid rgba(255, 45, 45, 0.3);
    color: var(--color-red);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: rgba(255, 45, 45, 0.2);
    transform: scale(1.1);
}

/* FAQ Section */
.faq {
    padding: 100px 2rem;
    background: linear-gradient(180deg, transparent, rgba(255, 45, 45, 0.05));
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 45, 45, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 2rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: rgba(255, 45, 45, 0.05);
    color: var(--color-red);
}

.faq-question i {
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem 2rem;
}

.faq-answer p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* CTA Banner */
.cta-banner {
    padding: 60px 2rem;
    background: linear-gradient(135deg, rgba(255, 45, 45, 0.15), rgba(255, 45, 45, 0.05));
    border-top: 1px solid rgba(255, 45, 45, 0.2);
    border-bottom: 1px solid rgba(255, 45, 45, 0.2);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 100px 2rem;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    animation: slideInLeft 0.6s ease-out;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 45, 45, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-red);
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.contact-text p,
.contact-text a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-text a:hover {
    color: var(--color-red);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 45, 45, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-red);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    animation: slideInRight 0.6s ease-out;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-red);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.5), var(--color-black-light));
    border-top: 1px solid rgba(255, 45, 45, 0.1);
    padding: 60px 2rem 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--color-red);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background: var(--color-red-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 45, 45, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 45, 45, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-red);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Legal Pages */
.legal-section {
    padding: 60px 2rem;
    display: none;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section h2 {
    font-size: 36px;
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 20px;
    margin: 2rem 0 1rem 0;
}

.legal-section p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 0 0 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.legal-section li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--color-red);
}

.legal-section strong {
    color: var(--color-white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 100;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 45, 45, 0.4);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 45, 45, 0.3);
    padding: 16px 24px;
    border-radius: 12px;
    color: var(--color-white);
    font-size: 14px;
    z-index: 1001;
    animation: slideInUp 0.4s ease-out;
    display: none;
    max-width: 400px;
}

.toast.show {
    display: block;
}

.toast.success {
    border-color: #4CAF50;
    color: #4CAF50;
}

.toast.error {
    border-color: #FF6B6B;
    color: #FF6B6B;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container,
    .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-container,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .features-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 70px;
        padding: 0 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 499;
    }
    
    .navbar-menu.active {
        transform: translateX(0);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .booking-form {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
        min-height: auto;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .service-card,
    .feature-card,
    .project-card,
    .testimonial-card,
    .faq-item {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .navbar-menu {
        padding: 1.5rem;
        gap: 0.8rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .floating-card {
        padding: 1rem;
        font-size: 12px;
    }
    
    .cta-banner {
        padding: 40px 1.5rem;
    }
    
    .faq-question,
    .faq-answer {
        padding: 1.5rem 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .scroll-progress {
        display: none;
    }
    
    body {
        background: var(--color-white);
        color: var(--color-black);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
    .navbar {
        border-bottom-width: 2px;
    }
    
    .btn-primary {
        border: 2px solid var(--color-red);
    }
    
    .service-card,
    .feature-card,
    .project-card {
        border-width: 2px;
    }
}

/* ============================================
   Legal Modal
   ============================================ */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.legal-modal.is-open {
    display: flex;
}

.legal-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.legal-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    background: var(--color-black-light);
    border: 1px solid var(--color-gray-dark);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: var(--transition-smooth);
}

.legal-modal.is-open .legal-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.legal-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--color-black-lighter);
    color: var(--color-white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 2;
}

.legal-modal__close:hover {
    background: var(--color-red);
    transform: rotate(90deg);
}

.legal-modal__body {
    padding: 48px 40px 40px;
    overflow-y: auto;
}

.legal-modal__body .legal-section {
    display: block !important;
}

.legal-modal__body .legal-container {
    max-width: none;
    padding: 0;
}

.legal-modal__body h2 {
    color: var(--color-white);
    font-size: 28px;
    margin-bottom: 8px;
}

.legal-modal__body h3 {
    color: var(--color-red-light);
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-modal__body p {
    color: var(--color-gray-light);
    margin-bottom: 12px;
}

.legal-modal__body ul {
    margin: 0 0 12px 20px;
    color: var(--color-gray-light);
}

.legal-modal__body li {
    margin-bottom: 6px;
}

.legal-modal__body a {
    color: var(--color-red-light);
}

body.legal-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .legal-modal__body {
        padding: 40px 20px 28px;
    }
}
