/* =========================================
   1. DESIGN TOKENS & THEME SYSTEM
   ========================================= */
:root,
[data-theme="light"] {
    /* Brand Colors */
    --clr-primary: #5e2c88;
    --clr-secondary: #38297e;
    --clr-primary-light: rgba(94, 44, 136, 0.08);
    --clr-primary-glow: rgba(94, 44, 136, 0.15);

    /* Theme Colors */
    --clr-bg: #f6f7fb;
    --clr-bg-gradient: linear-gradient(135deg, #f0e6f6 0%, #ffffff 40%, #f5f0fa 60%, #ffffff 100%);
    --clr-surface: #ffffff;
    --clr-text: #1a1a2e;
    --clr-text-secondary: #555566;
    --clr-text-light: #888899;
    --clr-border: #e8eaf1;
    --clr-border-subtle: #f0f1f5;

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-elevated: 0 12px 48px rgba(0, 0, 0, 0.08);

    /* Header */
    --header-bg: rgba(255, 255, 255, 0.92);
    --header-backdrop: blur(20px) saturate(180%);

    /* Misc */
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --star-color: #FBBF24;
    --success-color: #10b981;
}

[data-theme="dark"] {
    --clr-bg: #0f0f1a;
    --clr-bg-gradient: linear-gradient(135deg, #1a102a 0%, #0f0f1a 40%, #16102b 60%, #0f0f1a 100%);
    --clr-surface: #1a1a2e;
    --clr-text: #eaeaf0;
    --clr-text-secondary: #a0a0b8;
    --clr-text-light: #7a7a92;
    --clr-border: #2a2a40;
    --clr-border-subtle: #222238;

    --clr-primary-light: rgba(94, 44, 136, 0.15);
    --clr-primary-glow: rgba(94, 44, 136, 0.25);

    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.35);
    --shadow-elevated: 0 12px 48px rgba(0, 0, 0, 0.3);

    --header-bg: rgba(15, 15, 26, 0.92);
    --header-backdrop: blur(20px) saturate(180%);

    --overlay-bg: rgba(0, 0, 0, 0.65);
    --star-color: #FBBF24;
}

/* =========================================
   2. RESET & BASE
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--clr-bg-gradient);
    background-color: var(--clr-bg);
    background-attachment: fixed;
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   3. LAYOUT UTILITIES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

.text-primary {
    color: var(--clr-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-text);
    letter-spacing: -0.02em;
}

.sm-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.w-100 { width: 100%; }

/* =========================================
   3.5 SCROLL ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   4. BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(94, 44, 136, 0.25);
}

.btn-primary:hover {
    background-color: var(--clr-secondary);
    box-shadow: 0 6px 25px rgba(56, 41, 126, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-text);
    border: 1.5px solid var(--clr-border);
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background-color: var(--clr-primary-light);
}

/* =========================================
   5. HEADER / NAVBAR
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: var(--header-backdrop);
    -webkit-backdrop-filter: var(--header-backdrop);
    border-bottom: 1px solid var(--clr-border);
    z-index: 1000;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--clr-text);
    letter-spacing: -0.02em;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-secondary);
    position: relative;
    padding: 4px 0;
}

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

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

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

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--clr-border);
    border-radius: 10px;
    background: var(--clr-surface);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--clr-text);
}

.theme-toggle:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: var(--clr-primary-light);
}

/* Show/hide theme icons based on theme */
[data-theme="light"] .theme-icon.sun { display: none; }
[data-theme="light"] .theme-icon.moon { display: block; }
[data-theme="dark"] .theme-icon.sun { display: block; }
[data-theme="dark"] .theme-icon.moon { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--clr-text);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   6. HERO SECTION
   ========================================= */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background-color: var(--clr-surface);
    color: var(--clr-text-secondary);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--clr-text);
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--clr-text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

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

.floating-image {
    border-radius: 20px;
    box-shadow: var(--shadow-elevated);
    animation: floatDrone 6s ease-in-out infinite;
    max-height: 480px;
    object-fit: contain;
}

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

/* =========================================
   7. TRUST BAR
   ========================================= */
.trust-bar {
    background-color: var(--clr-surface);
    padding: 28px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.trust-track {
    display: inline-flex;
    animation: slideLeft 35s linear infinite;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--clr-bg);
    padding: 10px 22px;
    border-radius: 50px;
    margin: 0 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--clr-text);
    white-space: nowrap;
    border: 1px solid var(--clr-border-subtle);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.trust-svg {
    flex-shrink: 0;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   8. ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--clr-text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.about-card {
    background: var(--clr-surface);
    padding: 36px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(94, 44, 136, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    opacity: 0;
}

.about-card:hover::before,
.about-card.highlight-mobile::before {
    opacity: 1;
}

.about-card:hover,
.about-card.highlight-mobile {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(94, 44, 136, 0.15);
}

.card-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-icon svg {
    stroke: var(--clr-primary);
    transition: stroke 0.4s ease;
}

.about-card:hover .card-icon,
.about-card.highlight-mobile .card-icon {
    transform: scale(1.15) rotateY(180deg);
}

.about-card:hover .card-icon svg,
.about-card.highlight-mobile .card-icon svg {
    stroke: #ffffff;
}

.about-card h4 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-text);
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.about-card:hover h4,
.about-card.highlight-mobile h4 {
    transform: scale(1.05);
    color: #ffffff;
}

.about-card p {
    color: var(--clr-text-secondary);
    transition: color 0.4s ease;
}

.about-card:hover p,
.about-card.highlight-mobile p {
    color: rgba(255,255,255,0.9);
}

/* =========================================
   9. SOLUTIONS SECTION
   ========================================= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.solution-card {
    background-color: var(--clr-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    border: 1px solid var(--clr-border-subtle);
}

.solution-card:hover,
.solution-card.highlight-mobile {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.solution-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover img,
.solution-card.highlight-mobile img {
    transform: scale(1.03);
}

.solution-body {
    padding: 28px;
    background-color: var(--clr-surface);
    transition: background-color 0.35s ease;
}

.solution-card:hover .solution-body,
.solution-card.highlight-mobile .solution-body {
    background-color: var(--clr-primary);
}

.solution-body h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--clr-text);
    transition: color 0.35s ease;
}

.solution-card:hover .solution-body h4,
.solution-card.highlight-mobile .solution-body h4 {
    color: #ffffff;
}

.solution-body p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.35s ease;
}

.solution-card:hover .solution-body p,
.solution-card.highlight-mobile .solution-body p {
    color: rgba(255, 255, 255, 0.9);
}

/* =========================================
   10. SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--clr-surface);
    padding: 36px 28px;
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--clr-border-subtle);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover,
.service-card.highlight-mobile {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

.s-icon {
    margin-bottom: 20px;
    display: flex;
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--clr-text);
    transition: color 0.3s ease;
}

.service-card:hover h4,
.service-card.highlight-mobile h4 {
    color: var(--clr-primary);
}

.service-card p {
    color: var(--clr-text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* =========================================
   11. PORTFOLIO SECTION
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.portfolio-card {
    background-color: var(--clr-surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--clr-border-subtle);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-hover);
}

.p-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.p-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.p-thumb:hover img {
    transform: scale(1.05);
}

.p-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.p-thumb:hover .p-overlay {
    opacity: 1;
}

.p-thumb.playing img,
.p-thumb.playing .p-overlay {
    display: none;
}

.play-btn {
    width: 64px;
    height: 64px;
    background-color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(94, 44, 136, 0.4);
}

.play-btn:hover {
    transform: scale(1.12);
    background-color: var(--clr-secondary);
}

/* Removed unused playing states since click redirects now */

.p-thumb iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.p-label {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    color: var(--clr-text);
}

/* =========================================
   12. TRUSTED BRANDS
   ========================================= */
.brands-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
    padding: 40px 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}
.brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--clr-text);
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin: 0 40px;
    white-space: nowrap;
}

.brand:hover {
    opacity: 1;
}

/* =========================================
   13. TESTIMONIALS
   ========================================= */
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.test-card {
    background-color: var(--clr-surface);
    padding: 36px;
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--clr-border-subtle);
    display: flex;
    flex-direction: column;
}

.test-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stars {
    color: var(--star-color);
    font-size: 1.2rem;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.quote {
    color: var(--clr-text-secondary);
    font-style: italic;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}



.test-author strong {
    display: block;
    font-weight: 700;
    color: var(--clr-text);
    font-size: 0.95rem;
}

.test-author span {
    font-size: 0.82rem;
    color: var(--clr-text-light);
}

/* =========================================
   14. CONTACT SECTION
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--clr-text);
}

.c-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--clr-primary-light);
    flex-shrink: 0;
}

.form {
    background-color: var(--clr-surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border-subtle);
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid var(--clr-border);
    border-radius: 10px;
    background-color: var(--clr-bg);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--clr-text);
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: var(--clr-surface);
    box-shadow: 0 0 0 3px var(--clr-primary-glow);
}

/* =========================================
   15. FOOTER
   ========================================= */
.footer {
    background-color: var(--clr-surface);
    padding: 36px 0;
    border-top: 1px solid var(--clr-border);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

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

.f-copyright {
    color: var(--clr-text-light);
    font-size: 0.85rem;
}

.f-socials {
    display: flex;
    gap: 16px;
}

.f-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--clr-text-secondary);
    border: 1px solid var(--clr-border);
    transition: all 0.3s ease;
}

.f-socials a:hover {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    background: var(--clr-primary-light);
}

/* =========================================
   16. ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for children */
.about-grid .about-card:nth-child(2) { transition-delay: 0.1s; }
.about-grid .about-card:nth-child(3) { transition-delay: 0.2s; }
.about-grid .about-card:nth-child(4) { transition-delay: 0.3s; }

/* =========================================
   17. RESPONSIVE DESIGN
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-container,
    .contact-container {
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-padding {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Stack all grids */
    .hero-container,
    .about-container,
    .solutions-grid,
    .services-grid,
    .portfolio-grid,
    .test-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Hero */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .floating-image {
        max-height: 300px;
    }

    /* Hamburger Menu */
    .hamburger {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background-color: var(--clr-surface);
        box-shadow: var(--shadow-elevated);
        border-bottom: 1px solid var(--clr-border);
        z-index: 999;
    }

    .nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--clr-border-subtle);
    }

    .nav-link {
        display: block;
        padding: 18px 24px;
        text-align: center;
    }

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

    .btn-header {
        display: none;
    }

    /* About */
    .about-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-container {
        gap: 48px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .solutions-grid {
        gap: 20px;
    }

    .services-grid {
        gap: 16px;
    }

    .test-grid {
        gap: 16px;
    }

    .portfolio-grid {
        gap: 20px;
    }

    .brands-strip {
        gap: 32px;
    }

    .brand {
        font-size: 1.1rem;
    }
}
