/* =========================
   PREMIUM RESET & VARIABLES
========================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Premium Color Palette */
    --clr-bg: #f8fafc;
    --clr-surface: #ffffff;
    --clr-surface-blur: rgba(255, 255, 255, 0.75);

    /* Deep ultramarine & Navy */
    --clr-primary: #1e3a8a;
    --clr-primary-light: #3b82f6;
    --clr-navy: #0f172a;

    /* Emerald / Clover */
    --clr-accent: #10b981;
    --clr-accent-glow: rgba(16, 185, 129, 0.4);

    /* text */
    --clr-text-main: #1e293b;
    --clr-text-muted: #64748b;

    /* Gradients */
    --gd-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gd-accent: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gd-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 0 20px var(--clr-accent-glow);

    /* Others */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-slow: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);

    --container-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background-color: #060b14;
    /* Match footer color to prevent white gap */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.outfit-font {
    font-family: 'Outfit', sans-serif;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* =========================
   UTILITIES & TYPOGRAPHY
========================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--clr-navy);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Glassmorphism Badge */
.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gd-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.3);
    color: white;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-accent {
    background: var(--gd-accent);
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
    color: white;
}

/* =========================
   NAVBAR (Premium Floating)
========================= */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 0 16px;
}

.navbar.scrolled {
    top: 10px;
}

.navbar-inner {
    background: var(--clr-surface-blur);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    max-width: var(--container-width);
    margin: 0 auto;
}

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

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

/* Desktop nav links */
.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-text-main);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-pill);
    transform: scale(0);
    transition: var(--transition-smooth);
    z-index: -1;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scale(1);
}

/* Right Nav Elements */
.nav-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 12px;
}

.nav-actions {
    order: 1;
}

.navbar-toggler {
    order: 2;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-pill);
    padding: 4px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    z-index: 1;
}

.language-switcher::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: var(--clr-surface);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.language-switcher[data-active-lang="uz"]::before {
    transform: translateX(100%);
}

.lang-btn {
    position: relative;
    font-family: 'Outfit', sans-serif;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 2;
}

.lang-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.06);
    border-radius: var(--radius-pill);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.lang-btn:hover:not(.active) {
    color: var(--clr-primary-light);
}

.lang-btn:hover:not(.active)::after {
    transform: scale(1);
    opacity: 1;
}

.lang-btn.active {
    color: var(--clr-primary);
}

.lang-btn.active:hover {
    color: var(--clr-primary-light);
    transform: scale(1.02);
}

/* Mobile Burger Button */
.navbar-toggler {
    display: none;
    background: var(--clr-surface);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--clr-navy);
    font-size: 1.25rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10000;
    flex-shrink: 0;
}

.navbar-toggler:hover {
    background: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
    transform: scale(1.05);
}

/* ─── Mobile Drawer Menu ─── */
@keyframes navDrawerIn {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu hidden by default (JS adds .active) */
.nav-links-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 9998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 12px;
    /* Wrapper padding exactly to create a frame effect like premium Apple designs */
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: calc(100vh - 24px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-carousel .carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    /* Let clicks pass through except on children */
}

/* Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 10;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev {
    left: 40px;
}

.hero-carousel .carousel-control-next {
    right: 40px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

/* Info Cards inside Hero */
.hero-top-info {
    position: absolute;
    top: 120px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    pointer-events: auto;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: slideDown 1s var(--transition-smooth) forwards;
}

.hero-glass-card h1 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-glass-card p {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 0;
}

.hero-contact-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 16px 28px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    animation: slideDown 1s var(--transition-smooth) 0.2s forwards;
    opacity: 0;
}

.hero-contact-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Center Content */
.hero-center {
    margin: auto;
    text-align: center;
    pointer-events: auto;
}

.hero-dynamic-text {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 40px;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 1.2s var(--transition-smooth) forwards;
}

/* =========================
   CATALOG PREMIUM
========================= */
.catalog-section {
    background: #ffffff;
    position: relative;
    padding-bottom: 80px;
}

/* Background ornament */
.catalog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Hidden catalog items */
.catalog-item-hidden {
    display: none;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
}

.catalog-item-hidden.catalog-item-revealed {
    display: block;
    animation: catalogReveal 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}



@keyframes catalogReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Show All Button */
.catalog-show-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.catalog-show-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 44px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: white;
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.12);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.catalog-show-all-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gd-primary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.catalog-show-all-btn:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(30, 58, 138, 0.28);
}

.catalog-show-all-btn:hover::before {
    opacity: 1;
}

.catalog-show-all-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.catalog-show-all-btn:hover i {
    transform: translateY(2px);
}

.catalog-show-all-btn.expanded i {
    transform: rotate(180deg);
}

.catalog-show-all-btn.expanded:hover i {
    transform: rotate(180deg) translateY(2px);
}

.catalog-card {
    background: var(--clr-surface);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 10px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gd-glass);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.catalog-card:hover::after {
    opacity: 1;
}

.catalog-image-wrap {
    height: 240px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.catalog-image-wrap img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: var(--transition-slow);
    filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.1));
}

.catalog-card:hover .catalog-image-wrap img {
    transform: scale(1.15) rotate(-3deg);
}

.catalog-content {
    padding: 0 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.catalog-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clr-navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.catalog-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.catalog-card:hover .catalog-link {
    gap: 16px;
    color: var(--clr-primary-light);
}

/* =========================
   ABOUT PREMIUM
========================= */
.about-section {
    padding: 0 12px;
    margin-bottom: 120px;
}

.about-wrapper {
    background: var(--clr-surface);
    border-radius: 48px;
    padding: 80px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 1);
}

.about-wrapper::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--clr-navy);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    margin-bottom: 24px;
}

.about-list {
    list-style: none;
    margin-top: 25px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-navy);
    margin-bottom: 4px;
}

.about-list li:last-child {
    margin-bottom: 0;
}

.about-list i {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    background: var(--gd-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
}

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

.stat-card {
    background: var(--clr-bg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: var(--clr-surface);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 130, 246, 0.2);
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gd-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-card p {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}

/* =========================
   ADVANTAGES PREMIUM
========================= */
.advantages-section {
    background: var(--clr-navy);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Dark theme section title */
.advantages-section .section-title h2 {
    color: white;
}

.advantages-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.advantage-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.advantage-card:hover::before {
    opacity: 1;
}

.adv-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    margin: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--clr-accent);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.advantage-card:hover .adv-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gd-accent);
    color: white;
    box-shadow: var(--shadow-glow);
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    margin: 0;
}

.adv-body {
    flex: 1;
}

/* =========================
   CONTACT / FOOTER
========================= */
.contact-section {
    padding: 120px 0;
    background: var(--clr-bg);
}

.contact-wrapper {
    background: var(--clr-surface);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-info {
    flex: 1;
    background: var(--clr-navy);
    color: white;
    padding: 60px;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--clr-primary-light);
}

.contact-item strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form-area {
    flex: 1;
    padding: 60px;
    background: var(--clr-surface);
}

.contact-form-area h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-navy);
    margin-bottom: 40px;
}

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

.form-control {
    width: 100%;
    padding: 18px 24px;
    background: var(--clr-bg);
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--clr-navy);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    background: var(--clr-surface);
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.footer {
    background: #060b14;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}



.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* =========================
   RESPONSIVE — COMPREHENSIVE
========================= */

/* ── 1200px — Large tablet / small laptop ── */
@media (max-width: 1200px) {
    .about-wrapper {
        padding: 60px 50px;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .contact-info,
    .contact-form-area {
        padding: 50px 40px;
    }
}

/* ── 1024px — Tablet landscape ── */
@media (max-width: 1024px) {
    .section-padding {
        padding: 90px 0;
    }

    .contact-wrapper {
        flex-direction: column;
    }

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

    .contact-form-area {
        padding: 50px 40px;
    }

    .about-wrapper {
        padding: 50px 40px;
        border-radius: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ── 992px — Tablet portrait / mobile menu breakpoint ── */
@media (max-width: 992px) {
    html {
        scroll-padding-top: 80px;
    }

    /* ─ Navbar ─ */
    .navbar {
        top: 12px;
    }

    .navbar-inner {
        padding: 10px 16px;
    }

    .nav-links {
        display: flex; /* Always flex but hidden */
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        background: #ffffff;
        flex-direction: column;
        gap: 4px;
        padding: 20px 16px 24px;
        border-radius: 24px;
        border: 1px solid rgba(226, 232, 240, 0.8);
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
        z-index: 9999;
        transform-origin: top center;
        
        /* New Smooth Animation Properties */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1rem;
        font-weight: 700;
        padding: 14px 20px;
        width: 100%;
        text-align: left;
        border-radius: 14px;
        color: var(--clr-navy);
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        letter-spacing: 0.3px;
        
        /* Initial state for staggered animation */
        opacity: 0;
        transform: translateX(-15px);
        transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered transition delays */
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.3s; }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--clr-primary);
        background: rgba(30, 58, 138, 0.05);
    }

    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        position: relative;
    }

    /* ─ Hero ─ */
    .hero-top-info {
        flex-direction: column;
        gap: 16px;
        top: 90px;
        left: 20px;
        right: 20px;
    }

    .hero-glass-card {
        padding: 18px 20px;
    }

    .hero-contact-pill {
        align-self: flex-start;
    }

    /* ─ About ─ */
    .about-section [class*="col-"]:first-child {
        margin-bottom: 24px !important;
    }
    .about-stats {
        margin-top: 0;
    }
}

/* ── 768px — Mobile large ── */
@media (max-width: 768px) {

    /* ─ General ─ */
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        margin-bottom: 48px;
    }

    .container {
        padding: 0 16px;
    }

    /* ─ Navbar ─ */
    .navbar {
        top: 8px;
    }

    .navbar-inner {
        padding: 8px 14px;
    }

    .logo-img {
        height: 30px;
    }

    /* ─ Hero ─ */
    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 85vh;
    }

    /* ─ About ─ */
    .about-section {
        padding: 0 8px;
        margin-bottom: 70px;
    }

    .about-wrapper {
        padding: 36px 24px;
        border-radius: 24px;
    }

    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-list {
        margin-top: 24px;
    }

    .about-list li {
        font-size: 0.95rem;
        gap: 8px;
        margin-bottom: 4px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-card h3 {
        font-size: 2.5rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }

    /* ─ Advantages ─ */
    .advantages-section {
        padding: 70px 0;
    }

    .advantage-card {
        padding: 24px 20px;
        gap: 16px;
    }

    .adv-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .advantage-card h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .advantage-card p {
        font-size: 0.85rem;
    }

    /* ─ Catalog ─ */
    .catalog-section {
        padding-bottom: 80px;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .catalog-card {
        padding: 6px !important;
        border-radius: 16px !important;
    }

    .catalog-image-wrap {
        height: 130px !important;
        padding: 8px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }

    .catalog-image-wrap img {
        max-width: 90% !important;
        max-height: 90% !important;
    }

    .catalog-content {
        padding: 4px 8px 8px !important;
    }

    .catalog-content h3 {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }

    .catalog-link {
        font-size: 0.75rem !important;
    }

    /* ─ Contacts ─ */
    .contact-section {
        padding: 70px 0;
    }

    .contact-wrapper {
        border-radius: 24px;
    }

    .contact-info {
        padding: 36px 24px;
    }

    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }

    .contact-item {
        gap: 14px;
        margin-bottom: 22px;
    }

    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .contact-form-area {
        padding: 36px 24px;
    }

    .contact-form-area h3 {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }

    .form-control {
        padding: 14px 18px;
        font-size: 1rem;
    }

    textarea.form-control {
        min-height: 120px;
    }

    /* ─ Footer ─ */
    .footer {
        padding: 60px 0 32px;
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .footer-links li {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }



    .footer-bottom {
        margin-top: 40px;
        padding-top: 24px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 0.85rem;
    }
}

/* ── 576px — Mobile standard ── */
@media (max-width: 576px) {

    /* ─ Hero ─ */
    .hero-section {
        padding-top: 80px;
    }

    .hero-top-info {
        left: 12px;
        right: 12px;
    }

    /* ─ About ─ */
    .about-wrapper {
        padding: 28px 18px;
        border-radius: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 22px 16px;
        grid-column: auto !important;
    }

    /* ─ Catalog ─ */
    .catalog-grid {
        gap: 8px !important;
    }

    .catalog-card {
        padding: 4px !important;
    }

    .catalog-image-wrap {
        height: 100px !important;
        padding: 6px !important;
    }

    .catalog-content h3 {
        font-size: 0.72rem !important;
    }

    .catalog-link {
        font-size: 0.68rem !important;
        gap: 4px !important;
    }

    /* ─ Contact ─ */
    .contact-info,
    .contact-form-area {
        padding: 28px 18px;
    }

    .contact-info h3,
    .contact-form-area h3 {
        font-size: 1.3rem;
    }

    /* ─ Footer ─ */
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* ─ Buttons ─ */
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ── 400px — Very small phones (Galaxy A, older iPhones) ── */
@media (max-width: 400px) {
    .navbar-inner {
        padding: 8px 12px;
    }

    .logo-img {
        height: 26px;
    }

    .about-wrapper {
        padding: 22px 14px;
    }

    .catalog-image-wrap {
        height: 85px !important;
    }

    .catalog-content h3 {
        font-size: 0.65rem !important;
    }

    .contact-info,
    .contact-form-area {
        padding: 22px 14px;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}

/* Footer contact links — inherit footer text color, underline on hover */
.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-contact-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}
