:root {
    /* Color Palette */
    --primary-color: #ff6b35;
    /* Vibrant Construction Orange */
    --primary-dark: #e85d2a;
    --secondary-color: #0d1b2a;
    /* Deep Navy Blue */
    --secondary-light: #1b263b;
    --accent-color: #415a77;
    --text-light: #f6f8fa;
    --text-dark: #1d3557;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Scaffolding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #f0f4f8;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-padding {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
}

.btn-sm:hover {
    background: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-text {
    opacity: 0;
    /* Hidden initially, JS will trigger */
    animation-fill-mode: forwards;
    /* Keep final state */
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

/* Use pseudo-element for background to avoid 'containing block' issues for fixed children */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
    backdrop-filter: none;
    transition: var(--transition);
    opacity: 0;
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar.scrolled::before {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    /* Optional: if the user wants it rounded, though the image itself looks circular already */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.brand-sub {
    font-size: 0.8rem;
    color: #ccc;
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--white) !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-cta::after {
    display: none;
    /* No underline for button */
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
    background: none;
    border: none;
    z-index: 1002;
}

/* Language Switcher */
.lang-switcher {
    margin-left: 20px;
    z-index: 1001;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.lang-btn i {
    font-size: 1.1rem;
}

/* Mobile Responsive Lang Btn */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: auto;
        /* Push to right */
        margin-right: 15px;
        /* Spacing from hamburger */
        position: relative;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    /* High quality construction bg */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Delay classes for staggered animation */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

/* About / Proprietor */
.about {
    background: #fff;
    position: relative;
}

.subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 50px;
    border-radius: 2px;
}

.line.orange {
    background: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.about-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
}

.about-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Dealers Section */
.dealers {
    background: var(--secondary-color);
    color: var(--white);
}

.section-header.light .title {
    color: var(--white);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.brand-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    min-width: 200px;
    flex: 1 1 200px;
    transition: var(--transition);
    cursor: default;
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.brand-item h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.brand-item .grade {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    color: #888;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

/* Background Gradients acting as placeholder images */
.cement-bg {
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
}

.steel-bg {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: white;
}

.other-bg {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #555;
    background: radial-gradient(circle at 10% 20%, rgb(255, 131, 61) 0%, rgb(249, 183, 23) 90%);
    color: white;
}


.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-info ul {
    list-style: disc;
    padding-left: 20px;
    color: #555;
}

.product-info li {
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), #f8f9fa;
    /* Subtle texture */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-info {
    padding: 50px;
    background: var(--secondary-color);
    color: var(--white);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item a,
.info-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-extra {
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #e9ecef;
    min-height: 400px;
}

.map-container {
    width: 100%;
    height: 100%;
    flex: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.btn-map {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
}

.btn-map:hover {
    background: var(--primary-color);
    transform: translateX(-50%) translateY(-3px);
}

.map-bg i {
    font-size: 3rem;
    color: #ddd;
}

/* Footer */
footer {
    background: #050b14;
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-logo h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-logo p {
    color: #888;
    margin-bottom: 30px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: -100%;
        /* Hidden */
        left: 0;
        width: 100%;
        height: 100dvh;
        /* Dynamic viewport height */
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-links.active {
        top: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    /* Fix Contact Section Mobile Layout */
    .contact-wrapper {
        gap: 20px;
    }

    .contact-info {
        padding: 30px 20px;
    }

    .contact-extra {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .map-container {
        height: 500px;
        width: 100%;
        margin-bottom: 15px;
        border-radius: 10px;
        overflow: hidden;
    }

    .btn-map {
        position: static;
        transform: none;
        width: fit-content;
        min-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .btn-map:hover {
        transform: translateY(-3px);
    }
}

/* Body Scroll Lock */
.no-scroll {
    overflow: hidden;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* Correct icon alignment */
.whatsapp-float i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@keyframes pulse-whatsapp {
    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);
    }
}