:root {
    --primary-color: #CD7F32;
    /* Industrial Bronze */
    --secondary-color: #5d5d5d;
    /* Darker Steel Grey for contrast */
    --bg-main: #ffffff;
    /* White Background */
    --bg-card: #f8f9fa;
    /* Light Grey Card */
    --text-main: #212529;
    /* Deep Charcoal */
    --text-muted: #6c757d;
    /* Muted Grey */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --primary-glow: rgba(205, 127, 50, 0.3);
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-main) !important;
    color: var(--text-main) !important;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header .logo,
header nav ul li a {
    color: var(--primary-color);
}

header .logo img {
    transition: var(--transition);
}

header .nav-active {
    color: var(--secondary-color) !important;
    border-bottom: 2px solid var(--secondary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: currentColor;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 1px;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-main);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.hero-content,
.page-hero .container {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal-hero 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

@keyframes reveal-hero {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    color: var(--primary-color);
    font-size: 4rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background: #b71c1c;
    transform: translateY(-3px);
}

/* Page Hero */
.page-hero {
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 100px 0;
    background-color: var(--bg-main);
}

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

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #8B4513, #CD7F32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease-in-out;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li a {
        color: var(--primary-color) !important;
        font-size: 1.2rem;
    }

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

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

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #444;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    text-align: center;
}

.stat-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Product Grid */
#products,
#products-catalog {
    background-color: var(--bg-card);
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    animation: sine-float 6s ease-in-out infinite;
    /* Sine Wave Movement */
}

.product-card:nth-child(even) {
    animation-delay: -3s;
}

@keyframes sine-float {

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

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

.product-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    animation-play-state: paused;
}

.product-img {
    height: 247px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 30px;
    background: var(--bg-card);
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-family: 'Times New Roman', Times, serif;
    font-weight: 800;
}

.product-info p {
    font-size: 1rem;
    color: #455a64;
    line-height: 1.6;
}

/* Contact Section */
#contact {
    background-color: var(--bg-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Footer */
footer {
    background: var(--white);
    color: var(--text-muted);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-title {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-person-name {
    color: var(--text-main);
    font-weight: 600;
    display: block;
}

.contact-number {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

.contact-actions {
    display: flex;
    gap: 5px;
}

.btn-small {
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-call {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-wa {
    background: #25D366;
    color: var(--white);
}

.footer-cta {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.cta-btn {
    flex: 1;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.cta-call {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-whatsapp {
    background: #25D366;
    /* WhatsApp Green */
    color: var(--white);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
}

/* Industries Section */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.industry-card {
    height: 350px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.industry-card:hover img {
    transform: scale(1.15);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
}

.industry-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 5px solid var(--primary-color);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

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

.gallery-item:hover {
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: 0 0 0 0 var(--primary-glow);
    transition: box-shadow 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::after {
    box-shadow: 0 0 20px 5px var(--primary-glow);
}

/* Client Skeleton */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.client-tile {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.client-tile:hover {
    background: var(--glass-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

.client-placeholder {
    width: 150px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    border: 2px dashed #ccc;
}

/* Floating Enquiry Widget */
.floating-enquiry {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000;
}

.enquiry-btn {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(237, 27, 36, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.enquiry-btn:hover {
    transform: scale(1.1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 2000;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}


.enquiry-modal {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    padding: 25px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.enquiry-modal.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Offset Fix */
section {
    scroll-margin-top: 80px;
}

/* --- Reveal Animations --- */
.reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-init.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Staggered Delay Utilities */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Box Glow Effect for specific elements */
.product-card,
.stat-item,
.feature-item,
.industry-card,
.about-image,
.gallery-item {
    position: relative;
    z-index: 1;
}

.product-card::after,
.stat-item::after,
.feature-item::after,
.about-image::after,
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 var(--primary-glow);
    transition: box-shadow 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.product-card:hover::after,
.stat-item:hover::after,
.feature-item:hover::after,
.about-image:hover::after,
.gallery-item:hover::after {
    box-shadow: 0 0 20px 5px var(--primary-glow);
}

.about-image:hover,
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-image img,
.gallery-item img {
    transition: var(--transition);
}

.about-image:hover img,
.gallery-item:hover img {
    transform: scale(1.03);
}

/* Scale reveal for specific elements */
.reveal-scale {
    transform: scale(0.9);
}

.reveal-scale.revealed {
    transform: scale(1) !important;
}

/* Specific reveal for standalone images */
.about-image img,
.gallery-item img {
    will-change: transform;
}

/* Footer Mobile Overrides - Placed at end for proper CSS specificity/cascading */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
        text-align: center;
    }

    footer {
        padding: 25px 0 15px !important;
    }

    .footer-logo {
        margin: 0 auto 10px !important;
        display: block;
        height: 50px !important;
    }

    .footer-title {
        margin-bottom: 10px !important;
        font-size: 1rem !important;
    }

    .footer-links li {
        margin-bottom: 5px !important;
    }

    .footer-contact li {
        margin-bottom: 8px !important;
    }

    .contact-row {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid var(--glass-border);
    }

    .footer-contact li:last-child .contact-row {
        border-bottom: none;
        padding-bottom: 0 !important;
    }

    .footer-address ul li {
        margin-bottom: 10px !important;
    }
}