/* ========================================================
   NK ATALON - PRODUCTION MASTER STYLESHEET
   ======================================================== */

/* Global theme and base styles: defines colors, spacing variables, and default page behavior. */
:root {
    --primary: #2583ca;
    --secondary: #1D70C8;
    --accent: #4DADAD;
    --dark: #071A2C;
    --bg: #F8FBFD;
    --text: #2B2B2B;
    --white: #ffffff;
    --logo-height: 46px;
    --logo-height-mob: 38px;
    --hero-gradient: linear-gradient(135deg, rgba(7, 26, 44, 0.94) 0%, rgba(37, 112, 175, 0.9) 100%);
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.25);
    --soft-shadow: 0 16px 40px rgba(7, 26, 44, 0.05);
    --hover-shadow: 0 30px 60px rgba(37, 112, 175, 0.18);
    --smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* GLOBAL ASSET LOCK: Prevents any image/logo from changing color */
img {
    filter: none !important;
    -webkit-filter: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.25;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text);
    opacity: 0.8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================================
   BUTTON DESIGN SYSTEM
   ======================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--smooth);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 112, 175, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    box-shadow: var(--hover-shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(7, 26, 44, 0.06);
}

.btn-white:hover {
    background: var(--bg);
    transform: translateY(-2px);
}

/* ========================================================
   HEADER & NAVIGATION (PERMANENT WHITE)
   ======================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    /* Optimized padding for solid background */
    background: var(--white);
    /* Permanently White */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Constant soft shadow */
    transition: var(--smooth);
    display: flex;
    align-items: center;
    min-height: 85px;
}

/* Optional: Slight shadow increase on scroll */
header.scrolled {
    box-shadow: var(--soft-shadow);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    max-height: var(--logo-height);
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    /* Permanently Dark for White Header */
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: var(--smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: var(--smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary) !important;
}

/* Contact Plain Text Button Override */
.nav-links a.nav-btn {
    background: transparent !important;
    padding: 5px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.nav-links a.nav-btn:hover {
    transform: none !important;
}

/* ========================================================
   HERO / INNER PAGE BANNERS
   ======================================================== */
.hero {
    position: relative;
    margin-top: 85px;
    /* Safely clears the fixed white header */
    min-height: calc(100vh - 85px);
    /* Adjusts viewport calculation */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    color: var(--white);
    margin-top: 40px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(66, 195, 195, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 720px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* RESTORED: Dark Blue Backgrounds for Inner Pages */
.page-header {
    margin-top: 85px;
    /* Pushes beneath fixed header */
    background-color: var(--dark);
    background-image: var(--hero-gradient);
    padding: 120px 0 100px;
    /* Recalculated padding */
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.page-header p {
    color: var(--white);
    opacity: 0.85;
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* ========================================================
   MARQUEE, GRIDS & CARDS
   ======================================================== */
.trusted-section {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trusted-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.marquee-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.marquee-track img {
    height: 40px;
    margin: 0 40px;
    opacity: 0.9;
    transition: var(--smooth);
    vertical-align: middle;
}

.marquee-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--soft-shadow);
    transition: var(--smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.product-card:hover::before {
    transform: scaleX(1);
}

/* FULL WIDTH: Index Page Image Thumbnails */
.product-icon-frame {
    width: 100%;
    height: 180px;
    background: rgba(37, 112, 175, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    padding: 20px;
    transition: var(--smooth);
}

.product-icon-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--smooth);
}

.product-card:hover .product-icon-frame {
    background: var(--primary);
    transform: scale(1.03);
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.product-card p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 24px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.product-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--smooth);
    margin-top: auto;
}

.product-link:hover {
    color: var(--secondary);
    gap: 12px;
}

.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    align-items: center;
}

.customer-node {
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(7, 26, 44, 0.05);
    transition: var(--smooth);
    cursor: pointer;
}

.customer-node img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Stats */
.stats-section {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

/* ========================================================
   ABOUT PAGE LAYOUTS
   ======================================================== */
.mv-section {
    background: var(--white);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.mv-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.mv-content p {
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.8;
}

.mv-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mv-card {
    background: var(--bg);
    padding: 40px;
    border-radius: 16px;
    border-left: 5px solid var(--accent);
    box-shadow: var(--soft-shadow);
    transition: var(--smooth);
}

.mv-card:hover {
    transform: translateX(10px);
    box-shadow: var(--hover-shadow);
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-section {
    background: var(--bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    text-align: center;
    transition: var(--smooth);
    border: 1px solid rgba(7, 26, 44, 0.03);
}

.team-img {
    width: 100%;
    height: 300px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: var(--smooth);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 30px 20px;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.team-info p {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================================
   PRODUCTS / CATALOG LAYOUT
   ======================================================== */
.catalog-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 60px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
    height: fit-content;
    position: sticky;
    top: 110px;
}

.sidebar h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--bg);
    padding-bottom: 10px;
    text-transform: uppercase;
}

.search-box {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--bg);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text);
    font-size: 0.95rem;
}

.filter-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.filter-list label {
    cursor: pointer;
    width: 100%;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 30px;
}

.catalog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: var(--smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.card-img {
    width: 100%;
    height: 220px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.card-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.brand-tag {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.catalog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.specs-list {
    list-style: none;
    margin-bottom: 25px;
    font-size: 0.9rem;
    opacity: 0.85;
    flex-grow: 1;
}

.specs-list li {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(7, 26, 44, 0.08);
}

.card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.card-actions .btn {
    padding: 11px 16px;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

/* ========================================================
   TEST SERVICES & CONTACT
   ======================================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: var(--soft-shadow);
    transition: var(--smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(77, 173, 173, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 100%;
    transform: translate(30%, 30%);
    transition: var(--smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.service-card:hover::after {
    transform: scale(2) translate(10%, 10%);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(37, 112, 175, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* SPACING FIX: Proper separation from footer */
.cta-banner {
    background: var(--hero-gradient);
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--hover-shadow);
    margin-top: 60px;
    margin-bottom: 80px;
}

.contact-container {
    padding: 80px 24px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.form-card {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--soft-shadow);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--smooth);
    background: var(--bg);
    width: 100%;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 112, 175, 0.1);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(77, 173, 173, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-text p,
.info-text a {
    color: var(--text);
    opacity: 0.8;
    text-decoration: none;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    height: 320px;
    background: #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: var(--soft-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================================
   RESOURCES LIBRARY
   ======================================================== */
.resources-container {
    padding: 80px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.resource-search {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
    margin-bottom: 60px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.resource-search input {
    flex-grow: 1;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
}

.resource-search select {
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
}

.resource-category {
    margin-bottom: 60px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.resource-card {
    background: var(--white);
    border: 1px solid rgba(7, 26, 44, 0.05);
    padding: 25px;
    border-radius: 12px;
    transition: var(--smooth);
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--soft-shadow);
    border-color: var(--accent);
}

.r-type {
    font-size: 0.75rem;
    color: var(--white);
    background: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.r-type.pdf {
    background: #e74c3c;
}

.r-type.software {
    background: var(--accent);
}

.r-type.video {
    background: #f39c12;
}

.resource-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.4;
}

.download-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-top: auto;
}

/* ========================================================
   GLOBAL FOOTER
   ======================================================== */
footer {
    background: var(--dark);
    color: var(--white);
    border-top: 5px solid var(--primary);
    padding: 0;
}

footer .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Social media icons in footer */
.footer-social {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.15);
}

.footer-social-link svg {
    width: 26px;
    height: 26px;
}

.footer-social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
    border-color: transparent;
}

.footer-social-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-instagram:hover {
    background: linear-gradient(135deg, #ffc04d 0%, #f07850 25%, #f0394f 50%, #e03080 75%, #d024a0 100%);
}

.footer-social-linkedin {
    background: #0a66c2;
}

.footer-social-linkedin:hover {
    background: #0d80f0;
}

.footer-social-facebook {
    background: #1877f2;
}

.footer-social-facebook:hover {
    background: #3a90ff;
}

.footer-social-whatsapp {
    background: #25d366;
}

.footer-social-whatsapp:hover {
    background: #30e878;
}

.footer-legal-links a {
    color: inherit;
    text-decoration: none;
    margin-left: 24px;
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* ========================================================
   SCROLL REVEALS
   ======================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s all cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================
   MOBILE CORE & RESPONSIVE
   ======================================================== */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    /* Dark bars for the white header */
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background: var(--dark) !important;
}

.mobile-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background: var(--dark) !important;
}

@media (max-width: 992px) {
    header {
        padding: 16px 0;
    }

    .brand-logo {
        max-height: var(--logo-height-mob);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .page-header h1 {
        font-size: 2.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .catalog-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        width: 100%;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        box-shadow: -15px 0 40px rgba(7, 26, 44, 0.12);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1500;
    }

    .nav-links.mobile-open {
        right: 0;
    }

    .nav-links a {
        color: var(--dark) !important;
        font-size: 1.25rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links a::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-pad {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .form-card {
        padding: 30px 20px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .resource-search {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links a {
        margin: 0 10px;
    }
}

/* ========================================================
   INDUSTRY BACKGROUND IMAGE CARDS
   ======================================================== */
.industry-card {
    padding: 0 !important;
    /* Removes standard padding so the image goes edge-to-edge */
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    /* Pushes the text to the bottom */
    justify-content: center;
    border: none !important;
}

/* Gradient overlay to ensure text is always readable */
.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 26, 44, 0.95) 0%, rgba(7, 26, 44, 0.1) 100%);
    z-index: 1;
    transition: var(--smooth);
}

/* Brightens and turns blue on hover */
.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(37, 112, 175, 0.95) 0%, rgba(7, 26, 44, 0.2) 100%);
}

.industry-title {
    position: relative;
    z-index: 2;
    /* Keeps text above the overlay */
    color: var(--white) !important;
    padding: 30px 20px;
    margin: 0 !important;
    width: 100%;
    text-align: center;
    font-size: 1.4rem !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: var(--smooth);
}

.industry-card:hover .industry-title {
    transform: translateY(-5px);
}

/* Ensures the top animated color line stays above the image */
.industry-card::before {
    z-index: 3;
}