/* ==========================================================================
   Core NRC Brand Colors & Smooth Scroll
   ========================================================================== */
:root {
    --brand-teal: #60CFBD;
    --brand-tan: #DACAB1;
    --brand-brown: #6C5846;
    --bg-dark: #0a0e17; 
    --text-gray: #9ba0aa;
}

html {
    scroll-behavior: smooth; /* Havix theme smooth scrolling effect */
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

/* Base Utilities */
.fw-black { font-weight: 900; }
.tracking-wide { letter-spacing: 1px; }

/* Text & Background Utilities */
.text-brand-teal { color: var(--brand-teal) !important; }
.text-brand-tan { color: var(--brand-tan) !important; }
.text-brand-brown { color: var(--brand-brown) !important; }
.text-white { color: #ffffff !important; }

.bg-brand-teal { background-color: var(--brand-teal) !important; }
.bg-brand-tan { background-color: var(--brand-tan) !important; }
.bg-brand-brown { background-color: var(--brand-brown) !important; }

.text-light-gray { color: var(--text-gray); }
.fs-7 { font-size: 0.85rem; }
.fs-xs { font-size: 0.75rem; }

/* Global Animations */
.transition-scale { transition: transform 0.3s ease; }
.transition-scale:hover { transform: scale(1.05); }

/* ==========================================================================
   Nav & Hero Container Wrapper
   ========================================================================== */
.aspro-nav {
    background-color: var(--bg-dark);
    transition: all 0.4s ease-in-out;
    z-index: 1050;
}

.navbar-logo {
    transition: height 0.4s ease-in-out;
}

.aspro-nav.is-scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    background-color: rgba(10, 14, 23, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.aspro-nav.is-scrolled .navbar-logo {
    height: 65px; 
}

.aspro-hero-section {
    background-color: var(--bg-dark);
    padding-bottom: 12rem; 
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 65% 100%, 35% 94%, 0 98%);
}

/* ==========================================================================
   Row 1: Title Layout & Review Box
   ========================================================================== */
.title-vertical-line {
    width: 6px;
    min-height: 140px;
}

.aspro-display {
    font-size: 4.5rem;
    line-height: 0.9;
    letter-spacing: -1px;
}

.aspro-display-highlight {
    font-size: 4rem;
    line-height: 1;
}

.review-box {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.avatar-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}
.ms-n2 { margin-left: -0.75rem; }

/* ==========================================================================
   Logo Adjustments 
   ========================================================================== */
.navbar-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    margin-left: -10px; 
}

@media (max-width: 991.98px) {
    .navbar-logo {
        height: 90px;
    }
}

/* ==========================================================================
   Row 2: Background Shape & Machinery Slider
   ========================================================================== */
.slider-backdrop {
    position: absolute;
    top: 2rem;
    left: -15px; 
    width: 100%;
    height: 350px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 1;
}

.machinery-slider-wrapper {
    position: relative;
    z-index: 5;
    margin-top: 0rem;
    pointer-events: none; 
}

/* FIX: This overrides Bootstrap so the transparent images can break out of the box vertically */
.custom-visible-overflow {
    overflow: visible !important;
}

/* FIX: Constraining the image so it scales correctly and doesn't cover text */
.machinery-img {
    width: 110%; /* Slightly larger than column */
    max-width: 750px; /* Hard limit so it never touches the text */
    height: auto;
    margin-left: -5%; /* Center the overflow */
    filter: drop-shadow(25px 35px 25px rgba(0,0,0,0.85));
    transform: translateY(20px); /* Pushes the tires down out of the box nicely */
}

/* ==========================================================================
   Row 2: Right Area (Text, Buttons, Stats)
   ========================================================================== */
.right-content-area {
    position: relative;
    z-index: 10; /* Ensures buttons stay clickable and text stays on top */
    padding-top: 3rem;
}

/* Buttons */
.btn.bg-brand-brown {
    color: #fff !important; /* Forces white text on brown buttons */
}

.slanted-btn {
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.slanted-btn:hover { 
    transform: translateY(-3px); 
    background-color: #554435 !important; /* Darker brown on hover */
}

.slanted-btn-sm {
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}

.play-btn {
    width: 65px;
    height: 65px;
}

/* ==========================================================================
   Definitive Aspro Hero Shape
   ========================================================================== */
.aspro-hero-section {
    background-color: var(--bg-dark);
    padding-bottom: 10rem; 
    position: relative;
    z-index: 2;
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 60px), 
        65% 100%, 
        35% calc(100% - 40px), 
        0 calc(100% - 20px)
    );
}

/* ==========================================================================
   Connecting the Section Below (Crucial for the seamless look)
   ========================================================================== */
/* To make this jagged cut look right, the section IMMEDIATELY BELOW IT 
   (your brown Trusted Brands banner) needs to slide up underneath it. */
.brand-banner-section {
    background-color: var(--brand-brown);
    margin-top: -60px; /* Slides the brown bar UP behind the jagged teeth */
    padding-top: 80px; /* Adds internal padding so the text isn't covered by the teeth */
    position: relative;
    z-index: 1; /* Keeps it behind the dark hero section */
}

/* ==========================================================================
   Responsive Logic
   ========================================================================== */
@media (max-width: 1199.98px) {
    .aspro-display { font-size: 3.5rem; }
    .aspro-display-highlight { font-size: 3rem; }
    .machinery-img { width: 100%; margin-left: 0; }
}

@media (max-width: 991.98px) {
    .aspro-display { font-size: 2.8rem; }
    .aspro-display-highlight { font-size: 2.5rem; }
    
    .review-box { margin-top: 2rem; }
    
    .slider-backdrop { width: 100%; height: 250px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .machinery-slider-wrapper { margin-top: -2rem; }
    .machinery-img { max-width: 100%; transform: translateY(0); }
    
    .right-content-area { padding-top: 1rem; }
    
    .aspro-hero-section {
        padding-bottom: 4rem;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 50% 100%, 0 95%); 
    }
}

/* ==========================================================================
   About Us Section Styles
   ========================================================================== */

/* Typography Overrides for this section */
.aspro-display-md {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

@media (max-width: 991.98px) {
    .aspro-display-md {
        font-size: 2.5rem;
    }
}

/* 1. Left Feature Box with Bottom-Right Slanted Cut */
.about-feature-box {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
}

.about-checklist i {
    width: 30px; 
    text-align: center;
}

/* 2. Right Image Wrapper & Floating Elements */
.about-image-wrapper {
    overflow: hidden; 
}

/* Top-Left Play Button */
.about-video-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    z-index: 5;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

/* Bottom-Right Floating Box */
.about-floating-box {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 80%;
    z-index: 5;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
}

@media (max-width: 767.98px) {
    .about-floating-box {
        max-width: 95%;
        padding: 1.5rem !important;
    }
    .about-floating-box h3 {
        font-size: 1.5rem !important;
    }
}

/* 3. Bottom Trusted Brands Banner */
.about-brands-banner {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
}

.border-lg-end {
    border-right: 1px solid rgba(108, 88, 70, 0.3); 
}

@media (max-width: 991.98px) {
    .border-lg-end {
        border-right: none;
        border-bottom: 1px solid rgba(108, 88, 70, 0.3);
    }
    .about-brands-banner {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
    }
}

/* ==========================================================================
   Equipment Range Section
   ========================================================================== */
.equipment-section {
    z-index: 1;
}

.bg-light-gray {
    background-color: #f7f8fa;
}

.equipment-bg-shape {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0 100%);
    z-index: 0;
}

/* Equipment Cards */
.equipment-card {
    background-color: #eeede9; 
    border: none;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.equipment-card:hover {
    transform: translateY(-10px);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.equipment-card-img {
    height: 250px;
    object-fit: contain;
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.equipment-card:hover .equipment-card-img {
    transform: scale(1.15) translateY(-5px);
}

.drop-shadow-md {
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.4));
}

/* ==========================================================================
   Innovation Section (Dark Bottom Section)
   ========================================================================== */
.innovation-section {
    margin-top: -6rem; 
    padding-top: 10rem;
    z-index: 5;
    clip-path: polygon(0 60px, 25% 0, 70% 80px, 100% 20px, 100% 100%, 0 100%);
}

.aspro-display-sm {
    font-size: 3.2rem;
    letter-spacing: -1px;
}

.innovation-backdrop {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 110%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
    z-index: 1;
}

.innovation-floating-box {
    position: absolute;
    top: 25%;
    left: -2rem; 
    width: 260px;
    z-index: 3;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.innovation-image-wrapper img {
    max-width: 130%; 
    margin-left: -15%;
}

@media (max-width: 1199.98px) {
    .aspro-display-sm { font-size: 2.8rem; }
}

@media (max-width: 991.98px) {
    .innovation-section {
        margin-top: -3rem;
        padding-top: 7rem;
        clip-path: polygon(0 40px, 30% 0, 70% 50px, 100% 20px, 100% 100%, 0 100%);
    }
    
    .aspro-display-sm { font-size: 2.4rem; }
    
    .innovation-image-wrapper img {
        max-width: 100%;
        margin-left: 0;
    }
    
    .innovation-floating-box {
        left: 0; 
        width: 220px;
        top: 0;
        margin-top: -2rem;
    }
    
    .innovation-backdrop {
        width: 100%;
        height: 100%;
        left: 50%;
    }
}

/* ==========================================================================
   Rental Services Section
   ========================================================================== */
.service-card {
    background-color: #f3f6f8; 
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: #ffffff;
    border-color: rgba(96, 207, 189, 0.2); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.service-icon-box {
    width: 65px;
    height: 65px;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.service-card:hover .service-icon-box {
    transform: scale(1.1);
    background-color: var(--brand-brown) !important; 
}

.service-link {
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--brand-teal) !important;
}

.transition-icon {
    transition: transform 0.3s ease;
}

.service-link:hover .transition-icon {
    transform: translate(3px, -3px); 
}

.rounded-pill {
    border-radius: 50px !important;
}

@media (max-width: 991.98px) {
    .service-card {
        padding: 2rem !important; 
    }
}

/* ==========================================================================
   Industry We Serve Section
   ========================================================================== */
.industry-section {
    background: linear-gradient(to bottom, var(--bg-dark) 0%, var(--bg-dark) 65%, #ffffff 65%, #ffffff 100%);
    z-index: 2;
}

.industry-card {
    border-radius: 4px;
    background-color: var(--bg-dark);
}

@media (min-width: 768px) {
    .industry-card { height: 250px !important; }
    .industry-card-large { height: 250px !important; }
    .industry-card-medium { height: 320px !important; }
}

.industry-img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 23, 0.75); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.industry-card:hover .industry-overlay {
    opacity: 1;
    visibility: visible;
}

.industry-hover-content {
    height: 100%;
}

.industry-title {
    transform: translateY(30px); 
    opacity: 0; 
    transition: all 0.4s ease;
    transition-delay: 0.1s; 
}

.industry-btn-wrapper {
    transform: translateY(30px); 
    opacity: 0; 
    transition: all 0.4s ease;
    transition-delay: 0.2s; 
}

.industry-card:hover .industry-title,
.industry-card:hover .industry-btn-wrapper {
    transform: translateY(0); 
    opacity: 1; 
}

.text-shadow {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hover-btn-dark {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.hover-btn-dark:hover {
    background-color: var(--bg-dark) !important;
    color: #fff !important;
    border-color: var(--brand-teal);
}

/* ==========================================================================
   Client Testimonials Section
   ========================================================================== */
.bg-light-gray {
    background-color: #f7f8fa; 
}

.trusted-box {
    top: 50px;
    left: -40px; 
    border-left: 4px solid var(--brand-teal);
    width: 250px;
}

.testimonial-hero-img-wrapper {
    min-height: 450px;
    max-height: 600px; 
    width: 90% !important; 
}

.testimonial-overlap-row {
    margin-top: -120px; 
}

.custom-indicators {
    bottom: -40px;
}

.custom-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background-color: #d1d5db !important;
    margin: 0 6px !important;
    border: none !important;
}

.custom-indicators button.active {
    background-color: var(--brand-teal) !important;
    transform: scale(1.3);
}

@media (max-width: 991.98px) {
    .trusted-box {
        left: 20px; 
        top: -30px; 
    }
    .testimonial-hero-img-wrapper {
        width: 100% !important;
        margin-top: 2rem;
    }
    .testimonial-overlap-row {
        margin-top: -50px; 
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
    background-color: #060910; 
}

/* 1. Subtle Diagonal Background Split */
.footer-bg-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    height: 75%;
    background-color: rgba(255, 255, 255, 0.02); 
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
    pointer-events: none;
}

/* 2. Text & Link Styling */
.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-teal);
    transform: translateX(4px); 
}

.footer-socials a {
    font-size: 1.2rem;
}

.footer-socials a:hover {
    color: var(--brand-tan) !important; 
}

/* 3. The Overlapping CTA Box */
.footer-cta-box {
    position: relative;
    z-index: 5;
}

@media (min-width: 992px) {
    .footer-cta-box {
        margin-top: -3rem; 
        margin-bottom: -1px; 
    }
}

/* Cut-corner Icon Box */
.cta-icon-box {
    width: 70px;
    height: 70px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

/* 4. Minimal Form Styling */
.footer-input {
    background: transparent !important;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0;
    padding: 0.5rem 0;
    color: #000 !important;
    box-shadow: none !important;
    font-weight: 700;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.footer-input::placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
    font-weight: 500;
}

.footer-input:focus {
    border-bottom-color: #000 !important; 
}

/* Submit Button with Slanted Cut */
.footer-submit-btn {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-submit-btn:hover {
    background-color: var(--brand-brown) !important; 
    transform: translateY(-2px);
}
/* ==========================================================================
   Inner Page Hero Additions
   ========================================================================== */
.inner-hero-section {
    background-color: var(--bg-dark);
    /* Keeps the shape but takes up less vertical space than the homepage */
    padding-top: 2rem;
    padding-bottom: 8rem; 
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 60px), 
        65% 100%, 
        35% calc(100% - 40px), 
        0 calc(100% - 20px)
    );
}

/* ==========================================================================
   Equipment Card Action Bar (Quick Rent Buttons)
   ========================================================================== */
.equipment-action-bar {
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: #ffffff;
}

.contact-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon-btn:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Specific Platform Colors */
.bg-whatsapp {
    background-color: #25D366; /* Official WhatsApp Green */
}
.bg-whatsapp:hover { background-color: #1ebe58; }

.bg-phone {
    background-color: var(--brand-brown); 
}

.bg-email {
    background-color: var(--brand-teal);
    color: var(--bg-dark); /* Keeps email icon dark for contrast */
}
.bg-email:hover { color: var(--bg-dark); }

/* ==========================================================================
   Quotation Form - Custom Interactive Checkbox Cards
   ========================================================================== */
/* Hide the default HTML radio/checkbox circles visually but keep them functional */
.custom-quote-check:checked + label {
    background-color: var(--bg-dark) !important;
    border-color: var(--bg-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    transform: translateY(-3px);
}

/* Change icon colors to Teal when the card is selected */
.custom-quote-check:checked + label i {
    color: var(--brand-teal) !important;
}

/* Base style for the label acting as a button */
.custom-quote-check + label {
    border-radius: 12px !important;
    background-color: #ffffff;
    border: 2px solid rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-quote-check + label:hover {
    border-color: var(--brand-tan) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Sticky WhatsApp Button
   ========================================================================== */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #ffffff !important;
    border-radius: 50%;
    font-size: 2.2rem;
    z-index: 1060; /* Ensures it stays above navbars and footers */
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    /* Custom pulsing animation */
    animation: pulse-whatsapp 2s infinite;
}

.sticky-whatsapp i {
    margin-top: -2px; /* Perfectly centers the FontAwesome icon */
    margin-left: 2px;
}

/* Hover State */
.sticky-whatsapp:hover {
    background-color: #1ebe58; /* Slightly darker green */
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    animation: none; /* Stops pulsing when hovering */
}

/* Pulse Animation Keyframes */
@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);
    }
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .sticky-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}