/* ==========================================================================
    Kumar Constructions - Custom CSS Stylesheet
    ========================================================================== */

/* Variables & Design Tokens */
:root {
    /* Color Palette */
    --color-primary: #002949;       /* Deep Luxury Blue */
    --color-secondary: #bf9f00;     /* Rich Gold */
    --color-accent: #e0c387;        /* Soft Gold Accent */
    --color-bg-light: #fdfdfd;      /* Off-White Base */
    --color-bg-dark: #121824;       /* Deep Charcoal for Footer/Navs */
    --color-text-dark: #28303d;     /* High Contrast Text */
    --color-text-light: #f7f9fa;    /* White Text */
    --color-gray: #7a8089;          /* Neutral Gray */
    --color-gray-light: #f4f5f7;    /* Light Gray Base */
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout Variables */
    --container-width: 1180px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 8px 24px rgba(191, 159, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
}

/* Utility Components */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 16px 0;
}

.divider.center {
    margin: 16px auto;
}

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

.section-header h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
}

.section-header .sub-h5 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-gray);
    margin-top: 8px;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: #a38700;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header & Navigation Styles */
.header {
    position: relative;
    z-index: 100;
    background-color: white;
}

.top-bar {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--color-accent);
}

.info-item a:hover {
    color: white;
}

.navbar {
    background-color: white;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
}

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

.logo img {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-dark);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.hamburger, .nav-toggle::before, .nav-toggle::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

/* Hero Section with Split Slider Design */
.hero {
    position: relative;
    background-color: white;
    padding: 56px 0;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.hero-bg-offset {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%; /* Left 35% is tan background block */
    height: 100%;
    background-color: #e7deca; /* Beige offset background */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.hero-left {
    position: relative;
    display: flex;
    justify-content: center;
}

.slider-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 520px;
    background-color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius-sm);
    overflow: visible;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1; /* Fully visible */
    z-index: 2;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background-color: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
    left: 16px;
}

.slider-btn.next {
    right: 16px;
}

.hero-right {
    position: relative;
}

.hero-text-card h1 {
    font-size: 3.25rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    font-weight: 700;
}

.gold-divider {
    width: 65px;
    height: 3px;
    background-color: var(--color-secondary);
    margin-bottom: 24px;
}

.hero-text-card p {
    font-size: 1.05rem;
    color: var(--color-gray);
    margin-bottom: 36px;
    line-height: 1.75;
}

.hero-badges {
    display: flex;
    gap: 32px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(0, 41, 73, 0.04);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1.5px dashed var(--color-secondary);
    transition: var(--transition-fast);
}

.hero-badge:hover .badge-icon {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: rotate(5deg);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
}

.badge-sub {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-secondary);
}

/* About & Watermarks */
.about {
    padding: 64px 0;
    position: relative;
    overflow: hidden;
    background-color: #fafaf9;
}

.about-watermark-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    pointer-events: none;
    z-index: 1;
}

.watermark {
    font-family: var(--font-heading);
    font-size: 9.5rem;
    font-weight: 800;
    color: rgba(0, 41, 73, 0.025);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.watermark.align-right {
    text-align: right;
}

.about-grid {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text-container h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.about-desc {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* Turnkey Industrial & Factory Setups Section */
.industrial {
    padding: 64px 0;
    background-color: white;
    border-bottom: 1px solid var(--color-gray-light);
}

.industrial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.industrial-text h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.industrial-text .lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.industrial-text p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.industrial-capabilities {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cap-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cap-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-gray-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.cap-item:hover .cap-icon {
    background-color: var(--color-secondary);
    color: white;
    transform: scale(1.05);
}

.cap-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.cap-content p {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.5;
}

/* Portfolio Section & Tabs */
.portfolio {
    padding: 64px 0;
    background-color: white;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-gray-light);
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.tab-btn:hover {
    background-color: #eaecef;
}

.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-grid.hidden-images {
    margin-top: 24px;
}

.portfolio-grid.hidden {
    display: none;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 41, 73, 0.85) 0%, rgba(0, 41, 73, 0.2) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: opacity 0.4s var(--transition-smooth);
}

.item-overlay span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary);
    transform: translateY(15px);
    transition: transform 0.4s var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.gallery-item:hover .item-overlay span {
    transform: translateY(0);
}

.gallery-view-more {
    text-align: center;
    margin-top: 40px;
}

/* Services section */
.services {
    padding: 64px 0;
    background-color: #fafaf9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(191, 159, 0, 0.1);
    color: var(--color-secondary);
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-secondary);
}

.service-card:hover .service-icon {
    background-color: var(--color-secondary);
    color: white;
    transform: scale(1.05) rotate(5deg);
}

/* Quote Section with Forms */
.quote-section {
    position: relative;
    padding: 64px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 41, 73, 0.9);
    z-index: 1;
}

.quote-container {
    position: relative;
    z-index: 5;
}

.quote-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.quote-text h3 {
    font-size: 2.25rem;
    color: white;
    margin-bottom: 32px;
}

.worker-graphic-container {
    max-width: 400px;
}

.worker-image {
    width: 100%;
    height: auto;
}

.quote-form-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
}

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

.quote-form .cf-turnstile {
    margin-bottom: 24px;
}

.quote-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.quote-form input, .quote-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.quote-form input:focus, .quote-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-gold);
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-secondary);
    color: white;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-block;
}

/* Our Clients Section */
.clients {
    padding: 64px 0;
    background-color: white;
}

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

.client-card {
    background-color: var(--color-gray-light);
    border-radius: var(--border-radius-sm);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.client-card img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.client-card span {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* Hover: movement animation only — no colour/background/text changes */
.client-card:hover img {
    animation: client-logo-bob 0.9s ease-in-out infinite;
}

@keyframes client-logo-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Leadership */
.leadership {
    padding: 64px 0;
    background-color: #fafaf9;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.team-card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 40px;
    width: 320px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 3px solid var(--color-secondary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-card .designation {
    font-size: 0.9rem;
    color: var(--color-gray);
}

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

.team-card:hover .avatar-wrapper {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

/* Footer Section */
.footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 0;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-section img {
    height: 60px;
    width: auto;
    margin-bottom: 24px;
}

.footer-logo-section p {
    line-height: 1.8;
}

.footer-info-section h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-info-section p {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-info-section i {
    color: var(--color-secondary);
    margin-top: 4px;
}

.footer-info-section a:hover {
    color: white;
}

.footer-bottom {
    background-color: #0b0f17;
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-credit {
    margin-top: 6px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-credit a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Floating WhatsApp FAB */
.whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 99;
    transition: var(--transition-fast);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 1000;
    width: 360px;
    max-width: calc(100vw - 48px);
    background-color: #fff;
    color: #28303d;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 41, 73, 0.22);
    overflow: hidden;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.toast.hidden {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    pointer-events: none;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 18px 18px 20px;
}

.toast-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background-color: #22a06b;
}

/* Pop the icon in when the toast appears */
.toast:not(.hidden) .toast-icon {
    animation: toast-icon-pop 0.5s ease both;
}

.toast-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #1a2533;
}

.toast-message {
    font-size: 0.875rem;
    line-height: 1.45;
    color: #5a6472;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #9aa3ad;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #28303d;
}

/* Bottom progress bar that drains over the toast's lifetime */
.toast-progress {
    height: 4px;
    width: 100%;
    background-color: #22a06b;
    transform-origin: left;
}

.toast:not(.hidden) .toast-progress {
    animation: toast-progress 4s linear forwards;
}

/* Error variant */
.toast.toast-error .toast-icon,
.toast.toast-error .toast-progress {
    background-color: #e74c3c;
}

@keyframes toast-icon-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes toast-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Animations Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Responsive Breakpoints - Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .hero-container {
        gap: 32px;
        grid-template-columns: 1.1fr 0.9fr;
    }
    
    .hero-text-card h1 {
        font-size: 2.75rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide topbar on mobile */
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-gray-light);
    }
    
    .nav-link:hover, .nav-link.active {
        background-color: var(--color-gray-light);
        border-bottom-color: transparent;
    }
    
    /* Vertical rhythm on mobile */
    .about,
    .industrial,
    .portfolio,
    .services,
    .quote-section,
    .clients,
    .leadership {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2,
    .about h2,
    .industrial-text h2 {
        font-size: 1.7rem;
    }

    .footer {
        padding: 56px 0 0;
    }

    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-bg-offset {
        width: 100%;
        height: 380px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .slider-card {
        height: 380px;
        max-width: 100%;
    }
    
    .hero-text-card {
        text-align: center;
        padding: 0;
    }
    
    .gold-divider {
        margin: 0 auto 24px;
    }
    
    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .watermark {
        font-size: 5rem;
    }
    
    .about-desc {
        font-size: 1rem;
    }
    
    .industrial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .industrial-text {
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .quote-text h3 {
        font-size: 1.8rem;
    }
    
    .worker-graphic-container {
        display: none; /* Hide worker graphic on mobile for simplicity */
    }
    
    .quote-form-wrapper {
        padding: 32px;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .whatsapp-btn {
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .about,
    .industrial,
    .portfolio,
    .services,
    .quote-section,
    .clients,
    .leadership {
        padding: 52px 0;
    }

    .hero-text-card h1 {
        font-size: 2.1rem;
    }

    .section-header h2,
    .about h2,
    .industrial-text h2 {
        font-size: 1.5rem;
    }

    .slider-card {
        height: 300px;
    }

    .client-grid {
        gap: 16px;
    }

    .client-card {
        padding: 20px;
    }

    .quote-form-wrapper {
        padding: 24px;
    }

    .watermark {
        font-size: 3.5rem;
    }
}
