/* ========================================
   WIPLEX - Stylesheet
   Sécurité & Réseaux Informatiques
   ======================================== */

/* CSS Variables - Design System */
:root {
    /* Colors */
    --color-primary: #0066ff;
    --color-primary-light: #3385ff;
    --color-primary-dark: #0052cc;
    --color-accent: #00d4ff;
    --color-accent-glow: rgba(0, 212, 255, 0.3);
    
    --color-dark: #0a0e17;
    --color-dark-2: #111827;
    --color-dark-3: #1a2332;
    --color-surface: #232d3f;
    
    --color-text: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-text-subtle: #6b7280;
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.12);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #111827 50%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    
    /* Typography */
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Effects */
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(10, 14, 23, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
}

.header.scrolled .logo-img {
    height: 42px;
}

.nav-menu {
    display: flex;
    gap: 48px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

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

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-base);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-dark), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon-right {
    width: 18px;
    height: 18px;
    transition: var(--transition-base);
}

.btn:hover .btn-icon-right {
    transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-shield {
    width: 100%;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

.shield-icon {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.2));
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: particle-float 15s linear infinite;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header.light {
    color: var(--color-dark);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-header.light .section-tag {
    background: rgba(0, 102, 255, 0.15);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header.light .section-title {
    color: var(--color-dark);
}

.section-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.section-header.light .section-desc {
    color: #4b5563;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-dark-2);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-dark-3) 100%);
    border-color: rgba(0, 212, 255, 0.3);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--gradient-accent);
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--color-accent);
}

.service-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--color-text);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.service-link a {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link a:hover {
    gap: 10px;
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.12);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.15;
    margin-bottom: 16px;
    line-height: 1;
}

.feature-card:hover .feature-number {
    opacity: 0.3;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* ========================================
   REALISATIONS SECTION
   ======================================== */
.realisations {
    padding: var(--section-padding) 0;
    background: var(--color-dark);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--color-dark-2);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-slow);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.project-image {
    position: relative;
    height: 200px;
    background: var(--color-dark-3);
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.project-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--color-accent);
    opacity: 0.5;
}

.project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(0, 102, 255, 0.9);
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.project-content {
    padding: 32px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.project-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-details {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--color-text-subtle);
}

.project-details strong {
    color: var(--color-text-muted);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-dark-2);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-right: 40px;
}

.contact-desc {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
}

.contact-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 15px;
    color: var(--color-text-muted);
}

.contact-item a:hover {
    color: var(--color-accent);
}

/* Form */
.contact-form-wrapper {
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-dark-2);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-subtle);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}

.form-group select option {
    background: var(--color-dark-2);
    color: var(--color-text);
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.form-message {
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #080c12;
    padding: 80px 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-subtle);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--color-text-subtle);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--color-text-muted);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.social-link:hover svg {
    fill: var(--color-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-subtle);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--color-text-subtle);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-shield {
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.featured {
        grid-column: span 2;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 24px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-shield {
        max-width: 200px;
    }
    
    .services-grid,
    .features-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        grid-column: span 1;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .service-card,
    .feature-card,
    .project-card {
        padding: 32px 24px;
    }
    
    .project-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
