/* ============================================
   SHRI AMIT INDUSTRIES — Design System
   ============================================ */

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

/* --- CSS Variables --- */
:root {
    --navy-900: #06101f;
    --navy-800: #0a1628;
    --navy-700: #0f1f35;
    --navy-600: #152a45;
    --navy-500: #1e3a5f;
    --blue-500: #2196F3;
    --blue-400: #42a5f5;
    --blue-300: #64b5f6;
    --blue-200: #90caf9;
    --gold: #d4a843;
    --gold-light: #e8c97a;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --success: #4CAF50;
    --error: #F44336;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(33, 150, 243, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy-900);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
}

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

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

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 72px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-600);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy-800);
    background: rgba(33, 150, 243, 0.08);
}

.nav-links a.nav-cta {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(10, 22, 40, 0.2);
}

.nav-links a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10, 22, 40, 0.3);
    background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--navy-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-logo img {
        height: 52px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(30px);
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        font-size: 1.05rem;
        border-radius: 10px;
        color: var(--gray-200);
        text-align: center;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .nav-links a.nav-cta {
        margin-top: 12px;
        background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
        color: var(--white);
        text-align: center;
        box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    }

    .nav-links a.nav-cta:hover {
        background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
        box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    }
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 40%, var(--navy-600) 100%);
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--blue-300);
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--blue-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--blue-400), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
    justify-content: center;
}

/* Hero Product Showcase */
.hero-showcase {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    animation: fadeInUp 0.8s ease 0.5s both;
    position: relative;
}

.hero-product {
    border-radius: var(--radius-lg);
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.6s ease;
}

.hero-product:hover {
    transform: translateY(-8px);
}

.hero-p1 {
    height: 140px;
    animation: heroFloat 4s ease-in-out 0.5s infinite;
}

.hero-p2 {
    height: 180px;
    animation: heroFloat 4s ease-in-out 1s infinite;
}

.hero-p3 {
    height: 160px;
    animation: heroFloat 4s ease-in-out 1.5s infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Page Hero (for inner pages) */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.06) 0%, transparent 70%);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray-400);
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray-500);
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb a {
    color: var(--blue-400);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-900);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.4);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

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

.section-header .label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blue-400);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(33, 150, 243, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(33, 150, 243, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.product-card .product-img {
    position: relative;
    padding: 28px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.3), rgba(15, 31, 53, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    overflow: hidden;
}

.product-card .product-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-img::before {
    opacity: 1;
}

.product-card .product-img img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-card .product-info {
    padding: 20px 24px;
}

.product-card .product-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-card .product-info .product-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(33, 150, 243, 0.1);
    color: var(--blue-300);
    border-radius: 50px;
    font-weight: 500;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-item {
    text-align: center;
    padding: 32px 16px;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-300), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ============================================
   CLIENTS MARQUEE
   ============================================ */
.clients-section {
    overflow: hidden;
    padding: 80px 0;
}

.clients-marquee {
    display: flex;
    gap: 28px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.clients-marquee:hover {
    animation-play-state: paused;
}

.client-logo {
    background: rgba(255, 255, 255, 0.93);
    border-radius: 12px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 80px;
    transition: var(--transition);
    flex-shrink: 0;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.client-logo img {
    max-height: 48px;
    max-width: 110px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 0.85;
    transition: var(--transition);
}

.client-logo:hover img {
    opacity: 1;
}

/* ============================================
   ABOUT / INFO GRID
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.info-grid.reverse {
    direction: rtl;
}

.info-grid.reverse>* {
    direction: ltr;
}

.info-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.info-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.info-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.info-content p {
    color: var(--gray-400);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

/* Mission & Vision Cards */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
}

.mv-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(33, 150, 243, 0.15);
    transform: translateY(-4px);
}

.mv-card .mv-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.mv-card:first-child .mv-icon {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
    color: var(--blue-400);
}

.mv-card:last-child .mv-icon {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
    color: var(--gold);
}

.mv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.mv-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* Industries Served */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: stretch;
}

.industries-grid .industry-item {
    flex: 1 1 160px;
    max-width: 260px;
}

.why-us-grid .industry-item {
    max-width: none;
}

.industry-item {
    text-align: center;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.industry-item:hover {
    background: rgba(33, 150, 243, 0.06);
    border-color: rgba(33, 150, 243, 0.15);
    transform: translateY(-4px);
}

.industry-item .industry-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.industry-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-300);
}

/* ============================================
   TECHNOLOGY CARDS
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(33, 150, 243, 0.15);
    box-shadow: var(--shadow-glow);
}

.tech-card .tech-img {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.3), rgba(15, 31, 53, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tech-card .tech-img img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.5s ease;
}

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

.tech-card .tech-info {
    padding: 24px;
}

.tech-card .tech-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.tech-card .tech-info p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-left-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(33, 150, 243, 0.15);
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 150, 243, 0.1);
    color: var(--blue-400);
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--gray-200);
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: var(--blue-400);
}

.map-container {
    flex: 1;
    min-height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.7) contrast(1.2) saturate(0.8);
}

/* Contact Form */
.contact-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form .form-subtitle {
    color: var(--gray-400);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

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

/* Captcha Styling */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 16px 8px 8px;
    transition: var(--transition);
}

.captcha-wrapper:focus-within {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.captcha-wrapper img.captcha {
    border-radius: 4px;
    height: 48px;
    object-fit: contain;
    background: #ffffff;
    /* Captcha needs light background for readability */
}

/* Override default input styles specifically inside the captcha wrapper so it seamlessly blends */
.captcha-wrapper input[type="text"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--white);
    font-size: 1.05rem;
    outline: none;
    box-shadow: none;
    letter-spacing: 2px;
}

.captcha-wrapper input[type="text"]:focus {
    box-shadow: none;
    border-color: transparent;
    background: transparent;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.92);
    padding: 8px 16px;
    border-radius: 10px;
}

.footer-brand .nav-logo span {
    color: var(--navy-800);
}

.footer-brand p {
    color: var(--gray-400);
    margin: 16px 0 24px;
    font-size: 0.92rem;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--gray-400);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.2);
    color: var(--blue-400);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-300);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 0.92rem;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--blue-400);
    padding-left: 6px;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    color: var(--white);
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.4);
}

/* ============================================
   DJANGO MESSAGES
   ============================================ */
.django-messages {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.django-message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    animation: slideInRight 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    backdrop-filter: blur(20px);
}

.django-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.django-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.django-message .close-msg {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.django-message .close-msg:hover {
    opacity: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    color: var(--gray-400);
    margin-bottom: 32px;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

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

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

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 20px);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

/* Scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-grid.reverse {
        direction: ltr;
    }

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

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

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-hero {
        padding: 130px 0 60px;
    }

    .hero {
        min-height: 80vh;
        padding-top: 110px;
    }

    .stat-item .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 48px 0;
    }

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

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

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

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

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .info-content h2 {
        font-size: 1.8rem;
    }

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

/* ============================================
   UTILITIES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--blue-400), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 32px;
}

/* ============================================
   DJANGO MESSAGES (TOASTS)
   ============================================ */
.django-messages {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.django-message {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.95rem;
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.django-message span {
    flex: 1;
}

.django-message .close-msg {
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: var(--transition);
}

.django-message .close-msg:hover {
    color: var(--white);
}

.django-message.success {
    border-left: 4px solid var(--success);
}

.django-message.error {
    border-left: 4px solid var(--error);
}

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

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

/* ============================================
   WHATSAPP FLOATING ICON
   ============================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}