/* ===================================
   ROCKWALL INFRA - PREMIUM DESIGN SYSTEM
   =================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   CSS VARIABLES & DESIGN TOKENS
   =================================== */
:root {
    /* Color Palette - Updated to match Logo (Red & Black) */
    --color-navy: #0F0F0F;
    /* Deep Black */
    --color-navy-light: #1A1A1A;
    /* Lighter Black */
    --color-red: #BA110D;
    /* Logo Red */
    --color-red-dark: #8B0000;
    /* Darker Red */
    --color-charcoal: #2D2D2D;
    --color-steel: #555555;
    --color-white: #FFFFFF;
    --color-off-white: #F4F4F4;
    --color-accent: linear-gradient(135deg, #BA110D 0%, #D32F2F 100%);
    /* Brighter red gradient, removed black */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Mobile Variables Overrides */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3.5rem;
        --spacing-xxl: 4.5rem;
    }
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
}

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;600&display=swap');

h1 {
    font-family: 'Kanit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-steel);
}

.text-gradient {
    background: var(--color-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-white);
}

.section-dark p {
    color: var(--color-steel-light);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns "side by side" */
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.flex {
    display: flex;
    gap: var(--spacing-md);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--color-red);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo span {
    background: var(--color-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 3rem;
    /* Spacing from logo */
}

.nav-link {
    color: var(--color-navy);
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    padding: 0.8rem 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-white);
    min-width: 260px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    border-radius: var(--radius-md);
    top: 100%;
    left: 0;
    padding: var(--spacing-xs) 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-top: 3px solid var(--color-red);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--color-navy);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--color-off-white);
    color: var(--color-red);
    padding-left: 25px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-navy);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   NAV ACTIONS (Right Side)
   =================================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    /* Push to right if space allows */
    padding-left: 2rem;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    /* Separator */
    height: 40px;
}

.header-socials {
    display: flex;
    gap: 1.2rem;
}

.header-socials a {
    color: var(--color-navy);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.header-socials a:hover {
    color: var(--color-red);
    transform: translateY(-2px) scale(1.1);
    opacity: 1;
}

.btn-customer-care {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--color-navy);
    /* Black button */
    color: var(--color-white);
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-customer-care:hover {
    background: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(186, 17, 13, 0.4);
    color: white;
}

.btn-customer-care i {
    font-size: 1.1rem;
}

/* Continuous Shine Animation */
@keyframes shine-gleam {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.btn-customer-care::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine-gleam 4s infinite ease-in-out;
    pointer-events: none;
}

/* Hide nav actions on tablet/mobile */
@media (max-width: 1100px) {
    .nav-actions {
        display: none;
    }

    /* Ensure nav menu doesn't break */
    .nav-menu {
        gap: var(--spacing-sm);
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn-dark {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-dark:hover {
    background: var(--color-navy-light);
    transform: translateY(-2px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(44, 62, 80, 0.75) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
    padding: 0 var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-logo-box {
    background: white;
    display: inline-block;
    padding: 20px 40px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-logo-box img {
    width: 280px;
    height: auto;
    display: block;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: clamp(2.2rem, 8vw, 4rem);
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 120px 0 60px;
    }

    .hero-logo-box {
        padding: 15px 30px;
        margin-bottom: 20px;
    }

    .hero-logo-box img {
        width: 180px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto var(--spacing-lg);
    /* Center with bottom margin */
    max-width: 800px;
    /* "Keep this some left and right" */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Attractive look */
    line-height: 1.6;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   CARDS
   =================================== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.card-dark h3 {
    color: var(--color-white);
}

.card-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-navy);
}

.card p {
    font-size: 1rem;
    color: var(--color-steel);
}

.card-dark {
    background: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dark h3 {
    color: var(--color-white);
}

.card-dark p {
    color: var(--color-steel-light);
}

/* ===================================
   PROJECT CARDS
   =================================== */
.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 100%);
    padding: var(--spacing-lg);
    color: var(--color-white);
    transform: translateY(60%);
    transition: var(--transition-base);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.project-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.25rem;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        gap: var(--spacing-sm);
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.stat-item p {
    font-size: 1.125rem;
    color: var(--color-steel-light);
}

/* ===================================
   CONTACT FORM
   =================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-navy);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(186, 17, 13, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===================================
   FOOTER
   =================================== */
/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #fff;
    color: var(--color-charcoal);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Increased min-width for long emails */
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer h4 {
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0;
    color: var(--color-steel);
    font-size: 0.95rem;
    /* Slightly smaller to fit long addresses */
}

.footer-links p i {
    color: var(--color-red);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-link {
    color: var(--color-steel);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--color-red);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--color-steel);
}

/* ===================================
   WHATSAPP BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: var(--transition-base);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 70%;
        height: 100vh;
        background: var(--color-navy);
        flex-direction: column;
        padding: var(--spacing-xxl) var(--spacing-md);
        transition: var(--transition-base);
        gap: var(--spacing-md);
        z-index: 2000;
        align-items: flex-start;
    }

    /* Fix for invisible text on mobile menu */
    .nav-menu .nav-link {
        color: var(--color-white) !important;
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 10px 0;
    }

    .nav-menu .nav-link i {
        display: none;
        /* Hide chevron on mobile menu */
    }

    .nav-menu.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .mobile-toggle {
        display: block;
        order: 3;
    }

    .nav-actions {
        order: 2;
        margin-right: 15px;
        padding-left: 0;
        border-left: none;
    }

    .header-socials {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar .btn-customer-care span {
        display: none;
    }

    .navbar .header-socials {
        display: none;
    }
}

.hero-buttons {
    flex-direction: column;
    align-items: center;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 300px;
}

.section {
    padding: var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-lg) 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        padding-bottom: 80px;
        /* Space for mobile contact bar */
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
        --spacing-md: 1.25rem;
        --spacing-lg: 2rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .card {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .hero-logo-box {
        padding: 10px 20px;
    }

    .hero-logo-box img {
        width: 150px;
    }
}

.modal-content {
    max-height: 98vh;
}

.modal-details {
    padding: 20px !important;
}

/* Button Mobile Consistency */
.btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

/* ===================================
   PRODUCT & PROJECT GRID STYLES
   =================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .mobile-contact-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 10px;
        gap: 10px;
    }

    .mobile-contact-bar .btn {
        flex: 1;
        padding: 12px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: var(--radius-md);
    }
}

@media (min-width: 769px) {
    .mobile-contact-bar {
        display: none;
    }
}

.product-image-container {
    height: 300px;
    /* Increased for better visibility */
    overflow: hidden;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show full image */
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

.product-info {
    padding: var(--spacing-md);
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.product-price {
    color: var(--color-red);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Horizontal Scrolling Showcase for Homepage */
.horizontal-showcase {
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 5px;
    /* Padding for shadow visibility */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 20px;
    /* Space for scrollbar */
}

.horizontal-showcase::-webkit-scrollbar {
    height: 6px;
}

.horizontal-showcase::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.horizontal-showcase::-webkit-scrollbar-thumb {
    background-color: var(--color-red);
    border-radius: 10px;
}

.horizontal-showcase .product-card {
    min-width: 300px;
    /* Fixed width card */
    max-width: 300px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Split Layout for Side-by-Side Sections */
.split-layout {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

.split-column {
    flex: 1;
    /* width: 50%; Removed to allow flexible column count */
    min-width: 0;
    /* Crucial for nested allow overflow-x scroll */
}

/* Ensure horizontal showcase works inside split */
.split-column .horizontal-showcase {
    padding-bottom: 20px;
}

.split-column .horizontal-showcase .product-card {
    min-width: 250px;
    /* Slightly smaller cards for side-by-side view */
    max-width: 250px;
}

/* Force 2-column grid inside split layout */
.split-column .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* Adjust images in dense grid */
.split-column .product-image-container {
    height: 220px;
    /* Slightly smaller for dense view */
}

@media (max-width: 1100px) {
    .split-layout {
        flex-direction: column;
    }

    .split-column {
        width: 100%;
    }

    .split-column .product-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Revert to 3 on full width if needed */
    }
}

@media (max-width: 768px) {
    .split-column .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .split-column .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PREMIUM FEATURE LIST DESIGN
   =================================== */
.feature-card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: 25px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    background: transparent;
    border: 1px solid transparent;
}

.feature-card-horizontal:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(186, 17, 13, 0.08);
    /* Very subtle red tint */
    color: var(--color-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card-horizontal:hover .feature-icon {
    background: var(--color-red);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    /* Slightly smaller than huge cards for readability */
    color: var(--color-navy);
}

.feature-content p {
    font-size: 1rem;
    color: var(--color-steel);
    line-height: 1.6;
    margin: 0;
}

.feature-content p {
    font-size: 1rem;
    color: var(--color-steel);
    line-height: 1.6;
    margin: 0;
}

/* Dark Section Feature Cards */
.section-dark .feature-card-horizontal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-dark .feature-content h3 {
    color: var(--color-white);
}

.section-dark .feature-content p {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .feature-icon {
    background: var(--color-red);
    color: var(--color-white);
}

/* Why Choose Animation Enhancements */
.section-dark .feature-card-horizontal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-dark .feature-card-horizontal:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.5);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.3);
}

.section-dark .feature-card-horizontal:hover .feature-icon {
    transform: scale(1.2) rotate(360deg);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Staggered animation on scroll */
.feature-card-horizontal:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card-horizontal:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card-horizontal:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card-horizontal:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card-horizontal:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card-horizontal:nth-child(6) {
    animation-delay: 0.6s;
}

/* =================================== 
   LEADERSHIP SECTION 
   =================================== */
.leadership-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-off-white);
}

.leadership-card {
    display: grid;
    grid-template-columns: 450px 1fr;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.leadership-image {
    width: 100%;
    min-height: 450px;
    background: #f8f8f8;
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Adjusted to focus on face */
    display: block;
}

.leadership-info {
    padding: var(--spacing-xxl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(186, 17, 13, 0.08);
    color: var(--color-red);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    align-self: flex-start;
}

.leadership-title h2 {
    font-size: 2.25rem;
    color: var(--color-navy);
    margin-bottom: 5px;
    line-height: 1.1;
}

.leadership-title .designation {
    color: var(--color-red);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.leadership-bio p {
    color: var(--color-steel);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.leadership-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-off-white);
    color: var(--color-navy);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .leadership-card {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .leadership-image {
        height: 450px;
        min-height: 450px;
    }

    .leadership-info {
        padding: 40px var(--spacing-xl);
    }
}

@media (max-width: 480px) {
    .leadership-image {
        height: 380px;
        min-height: 380px;
    }

    .leadership-title h2 {
        font-size: 1.8rem;
    }

    .leadership-info {
        padding: 30px 20px;
    }
}