/* ==========================================
   ANTI FRICTION SUPPLIES - Main Stylesheet
   ========================================== */

/* ==========================================
   CSS CUSTOM PROPERTIES (Variables)
   ========================================== */
:root {
    /* Primary Colors - Deep Navy / Steel Blue */
    --color-primary-900: #0a1628;
    --color-primary-800: #0f2240;
    --color-primary-700: #152d52;
    --color-primary-600: #1a3a68;
    --color-primary-500: #1e4a7d;
    --color-primary-400: #2d6aa8;
    --color-primary-300: #4a8fd4;
    --color-primary-200: #7eb3e8;
    --color-primary-100: #c5ddf5;
    --color-primary-50: #e8f2fc;

    /* Secondary Colors - Grey */
    --color-grey-900: #1a1d21;
    --color-grey-800: #2d3138;
    --color-grey-700: #464c56;
    --color-grey-600: #5f6673;
    --color-grey-500: #7a8291;
    --color-grey-400: #9aa1ae;
    --color-grey-300: #bbc1cb;
    --color-grey-200: #dce0e6;
    --color-grey-100: #eef0f3;
    --color-grey-50: #f7f8fa;

    /* Accent Colors - Warm Amber/Orange */
    --color-accent-600: #c45d10;
    --color-accent-500: #e67318;
    --color-accent-400: #f59031;
    --color-accent-300: #fba94d;
    --color-accent-200: #fcc57a;
    --color-accent-100: #fde2b3;
    --color-accent-50: #fff6e8;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: var(--color-grey-50);
    --bg-dark: var(--color-primary-900);

    /* Text Colors */
    --text-primary: var(--color-grey-900);
    --text-secondary: var(--color-grey-600);
    --text-muted: var(--color-grey-500);
    --text-inverse: #ffffff;

    /* Typography */
    --font-heading: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgb(230 115 24 / 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-6);

    /* Header */
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

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

ul,
ol {
    list-style: none;
}

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

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--color-accent-400);
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background-color: var(--color-accent-200);
    color: var(--color-primary-900);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-16) 0;
}

.section--alt {
    background-color: var(--bg-secondary);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-12);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--color-primary-800);
}

.section__subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-20) 0;
    }

    .section__title {
        font-size: var(--text-4xl);
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--space-24) 0;
    }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn__icon {
    flex-shrink: 0;
}

.btn--primary {
    background-color: var(--color-accent-500);
    color: white;
    border-color: var(--color-accent-500);
}

.btn--primary:hover {
    background-color: var(--color-accent-600);
    border-color: var(--color-accent-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-primary-700);
    border-color: var(--color-primary-300);
}

.btn--secondary:hover {
    background-color: var(--color-primary-50);
    border-color: var(--color-primary-500);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

@media (min-width: 768px) {
    .btn {
        padding: var(--space-4) var(--space-8);
    }
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-grey-200);
    z-index: 1000;
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 50px;
    width: auto;
}

@media (min-width: 768px) {
    .nav__logo-img {
        height: 56px;
    }
}

.nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-primary);
    padding: var(--space-20) var(--space-8);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    z-index: 100;
}

.nav__menu.show {
    right: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.nav__link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav__link:hover {
    background-color: var(--color-grey-100);
    color: var(--color-primary-600);
}

.nav__link--cta {
    margin-top: var(--space-4);
    background-color: var(--color-accent-500);
    color: white;
    text-align: center;
}

.nav__link.active {
    color: var(--color-accent-500);
}

/* Keep CTA text visible when active (otherwise it becomes accent on accent) */
.nav__link.nav__link--cta.active {
    color: var(--text-inverse);
}

.nav__link--cta:hover {
    background-color: var(--color-accent-600);
    color: white;
}

.nav__close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav__close:hover {
    background-color: var(--color-grey-100);
    color: var(--text-primary);
}

.nav__toggle {
    background: none;
    border: none;
    color: var(--color-primary-700);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav__toggle:hover {
    background-color: var(--color-grey-100);
}

/* Overlay when mobile menu is open */
.nav__menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 22, 40, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: -1;
}

.nav__menu.show::before {
    opacity: 1;
    visibility: visible;
}

/* Desktop Navigation */
@media (min-width: 1024px) {
    .nav__menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav__menu::before {
        display: none;
    }

    .nav__list {
        flex-direction: row;
        align-items: center;
        gap: var(--space-1);
    }

    .nav__link {
        font-size: var(--text-sm);
        padding: var(--space-2) var(--space-4);
    }

    .nav__link--cta {
        margin-top: 0;
        margin-left: var(--space-2);
    }

    .nav__close,
    .nav__toggle {
        display: none;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-16);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--bg-primary) 50%, var(--color-grey-50) 100%);
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--color-accent-100) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--color-primary-100) 0%, transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}

.hero__container {
    display: grid;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    color: var(--color-primary-900);
}

.hero__title .highlight {
    display: block;
    color: var(--color-accent-500);
}

.hero__description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero__contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.hero__contact-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-primary-700);
    transition: color var(--transition-fast);
}

.hero__contact-item:hover {
    color: var(--color-accent-500);
}

.hero__contact-item svg {
    color: var(--color-accent-500);
}

/* Hero Visual / Illustration */
.hero__visual {
    display: none;
}

.hero__illustration {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* Bearing Illustrations */
.bearing {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-grey-200), var(--color-grey-100));
    box-shadow: 
        var(--shadow-lg),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.bearing--large {
    width: 280px;
    height: 280px;
    top: 10%;
    left: 5%;
    -webkit-animation: rotate 30s linear infinite;
    animation: rotate 30s linear infinite;
}

.bearing--medium {
    width: 180px;
    height: 180px;
    bottom: 15%;
    right: 10%;
    -webkit-animation: rotate 20s linear infinite reverse;
    animation: rotate 20s linear infinite reverse;
}

.bearing__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-primary-600), var(--color-primary-800));
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.bearing__balls {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
}

.bearing__balls span {
    position: absolute;
    width: 15%;
    height: 15%;
    background: linear-gradient(145deg, var(--color-grey-300), var(--color-grey-400));
    border-radius: 50%;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(0, 0, 0, 0.2);
}

.bearing--large .bearing__balls span:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.bearing--large .bearing__balls span:nth-child(2) { top: 15%; right: 15%; }
.bearing--large .bearing__balls span:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.bearing--large .bearing__balls span:nth-child(4) { bottom: 15%; right: 15%; }
.bearing--large .bearing__balls span:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.bearing--large .bearing__balls span:nth-child(6) { bottom: 15%; left: 15%; }
.bearing--large .bearing__balls span:nth-child(7) { top: 50%; left: 0; transform: translateY(-50%); }
.bearing--large .bearing__balls span:nth-child(8) { top: 15%; left: 15%; }

.bearing--medium .bearing__balls span:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.bearing--medium .bearing__balls span:nth-child(2) { top: 25%; right: 10%; }
.bearing--medium .bearing__balls span:nth-child(3) { bottom: 25%; right: 10%; }
.bearing--medium .bearing__balls span:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.bearing--medium .bearing__balls span:nth-child(5) { bottom: 25%; left: 10%; }
.bearing--medium .bearing__balls span:nth-child(6) { top: 25%; left: 10%; }

.seal-icon {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 60%;
    left: 50%;
    background: linear-gradient(145deg, var(--color-accent-400), var(--color-accent-600));
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    -webkit-animation: pulse 3s ease-in-out infinite;
    animation: pulse 3s ease-in-out infinite;
}

.seal-icon::before {
    content: '';
    position: absolute;
    inset: 20%;
    background: var(--color-primary-800);
    border-radius: 50%;
}

.gear-icon {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 5%;
    right: 15%;
    color: var(--color-primary-300);
    -webkit-animation: rotate 15s linear infinite;
    animation: rotate 15s linear infinite;
}

.floating-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent-400);
    border-radius: 50%;
    opacity: 0.6;
    -webkit-animation: float 4s ease-in-out infinite;
    animation: float 4s ease-in-out infinite;
}

.floating-particles span:nth-child(1) { top: 20%; left: 80%; -webkit-animation-delay: 0s; animation-delay: 0s; }
.floating-particles span:nth-child(2) { top: 70%; left: 20%; -webkit-animation-delay: 0.5s; animation-delay: 0.5s; }
.floating-particles span:nth-child(3) { top: 40%; left: 90%; -webkit-animation-delay: 1s; animation-delay: 1s; }
.floating-particles span:nth-child(4) { top: 80%; left: 70%; -webkit-animation-delay: 1.5s; animation-delay: 1.5s; }
.floating-particles span:nth-child(5) { top: 10%; left: 40%; -webkit-animation-delay: 2s; animation-delay: 2s; }

@-webkit-keyframes rotate {
    from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes rotate {
    from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-webkit-keyframes pulse {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
    50% { -webkit-transform: scale(1.05); transform: scale(1.05); opacity: 0.9; }
}

@keyframes pulse {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
    50% { -webkit-transform: scale(1.05); transform: scale(1.05); opacity: 0.9; }
}

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

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

@media (min-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + var(--space-16));
        padding-bottom: var(--space-20);
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__visual {
        display: block;
    }

    .hero__container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: var(--text-5xl);
    }

    .hero__description {
        font-size: var(--text-xl);
    }
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products__grid {
    display: grid;
    gap: var(--space-6);
}

.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--color-grey-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.product-card:hover {
    border-color: var(--color-primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-5);
    color: var(--color-primary-500);
}

.product-card__icon svg {
    width: 100%;
    height: 100%;
}

.product-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-primary-800);
}

.product-card__description {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    line-height: 1.7;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent-500);
    transition: all var(--transition-fast);
}

.product-card__link:hover {
    color: var(--color-accent-600);
    gap: var(--space-3);
}

.product-card__link svg {
    transition: transform var(--transition-fast);
}

.product-card__link:hover svg {
    transform: translateX(4px);
}

@media (min-width: 640px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card--wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .products__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-card--wide {
        grid-column: span 2;
    }
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries__grid {
    display: grid;
    gap: var(--space-6);
}

.industry-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-grey-100);
    transition: all var(--transition-base);
}

.industry-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.industry-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    color: var(--color-accent-500);
}

.industry-card__icon svg {
    width: 100%;
    height: 100%;
}

.industry-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-primary-800);
}

.industry-card__description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .industries__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
#about {
    /* Ensure About fills the viewport so the next section ("Why Choose Us") doesn't peek in on jump */
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
}

.about__grid {
    display: grid;
    gap: var(--space-12);
}

.about__content {
    max-width: 650px;
}

.about__content .section__title {
    text-align: left;
    margin-bottom: var(--space-6);
}

.about__text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.about__text p:first-child {
    font-size: var(--text-lg);
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: linear-gradient(135deg, var(--color-primary-50), var(--bg-primary));
    border: 1px solid var(--color-primary-100);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.highlight-box__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--color-accent-500);
}

.highlight-box__icon svg {
    width: 100%;
    height: 100%;
}

.highlight-box__content {
    display: flex;
    flex-direction: column;
}

.highlight-box__label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.highlight-box__value {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary-800);
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.features__grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.feature {
    text-align: center;
    padding: var(--space-6);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.feature__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    padding: var(--space-3);
    background: linear-gradient(135deg, var(--color-accent-100), var(--color-accent-50));
    border-radius: var(--radius-lg);
    color: var(--color-accent-600);
}

.feature__icon svg {
    width: 100%;
    height: 100%;
}

.feature__title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-primary-800);
}

.feature__description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-10);
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-accent-500);
}

.testimonial__quote {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.testimonial__cite {
    font-style: normal;
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

@media (min-width: 640px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact__grid {
    display: grid;
    gap: var(--space-12);
}

.contact__info-title,
.contact__form-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--color-primary-800);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-grey-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

a.contact__detail:hover {
    background: var(--color-primary-50);
}

.contact__detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-100);
    border-radius: var(--radius-md);
    color: var(--color-primary-600);
}

.contact__detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact__detail-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact__detail-value {
    font-size: var(--text-base);
    color: var(--text-primary);
}

.contact__hours {
    padding: var(--space-4);
    background: var(--color-accent-50);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-accent-400);
}

.contact__hours p {
    font-size: var(--text-sm);
    color: var(--color-accent-600);
    margin: 0;
}

/* Contact Form */
.contact__form-wrapper {
    background: var(--color-grey-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-row {
    display: grid;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-label .required {
    color: var(--color-error);
}

.form-label .optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 2px solid var(--color-grey-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--color-grey-300);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary-400);
    box-shadow: 0 0 0 3px var(--color-primary-100);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6673' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-primary-900);
    color: var(--text-inverse);
    padding: var(--space-12) 0 var(--space-6);
}

.footer__grid {
    display: grid;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer__logo {
    margin-bottom: var(--space-4);
}

.footer__logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__description {
    font-size: var(--text-sm);
    color: var(--color-grey-400);
    line-height: 1.7;
    max-width: 300px;
}

.footer__title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-grey-400);
    margin-bottom: var(--space-4);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer__nav a {
    font-size: var(--text-sm);
    color: var(--color-grey-300);
    transition: color var(--transition-fast);
}

.footer__nav a:hover {
    color: var(--color-accent-400);
}

.footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__contact-items a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-grey-300);
    transition: color var(--transition-fast);
}

.footer__contact-items a:hover {
    color: var(--color-accent-400);
}

.footer__contact-items svg {
    color: var(--color-accent-500);
}

.footer__bottom {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-primary-700);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer__bottom p {
    font-size: var(--text-sm);
    color: var(--color-grey-500);
}

.footer__credit {
    font-size: var(--text-xs);
    color: var(--color-grey-600);
}

.footer__credit a {
    color: var(--color-accent-400);
    transition: color var(--transition-fast);
}

.footer__credit a:hover {
    color: var(--color-accent-300);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* ==========================================
   ANIMATIONS & UTILITIES
   ========================================== */
/* Fade-in animation for sections */
.section__header,
.product-card,
.industry-card,
.feature,
.highlight-box,
.about__text,
.testimonial,
.contact__info,
.contact__form-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .hero__visual,
    .btn,
    .nav__toggle,
    .whatsapp-float {
        display: none;
    }

    .hero {
        padding-top: var(--space-8);
        min-height: auto;
    }

    .section {
        padding: var(--space-8) 0;
    }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 4px 12px rgba(37, 211, 102, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all var(--transition-base);
}

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

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 
        0 6px 20px rgba(37, 211, 102, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--color-grey-900);
    color: white;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-grey-900);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse animation for attention */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: var(--space-4);
        right: var(--space-4);
    }

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

    .whatsapp-float__tooltip {
        display: none;
    }
}

