/* ==========================================================================
   VERSION 3 EXCLUSIVE - HIGH OCTANE INDUSTRIAL THEME
   Carbon Black, Metallic Silver, Electric Orange
   ========================================================================== */

:root {
  --v3-dark: #111111;
  --v3-darker: #0a0a0a;
  --v3-gray: #242424;
  --v3-light: #f4f6f8;
  --v3-orange: #ff5722;
  --v3-orange-hover: #e64a19;
  --v3-text-dark: #333333;
  --v3-text-muted: #888888;
  
  --font-primary: 'Montserrat', sans-serif;
  --font-display: 'Rajdhani', sans-serif;
}

body.v3-theme {
    font-family: var(--font-primary);
    background-color: var(--v3-light);
    color: var(--v3-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { transition: all 0.3s ease; }
a:hover { text-decoration: none; color: var(--v3-orange); }

.text-orange { color: var(--v3-orange) !important; }
.bg-dark { background-color: var(--v3-dark) !important; }
.bg-light { background-color: var(--v3-light) !important; }

/* ---------------------------------------------------
   Typography & Sections
------------------------------------------------------ */
.v3-section { padding: 80px 0; }
.v3-heading {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.v3-accent-line {
    width: 60px;
    height: 4px;
    background: var(--v3-orange);
    border-radius: 2px;
}

/* ---------------------------------------------------
   Navbar (Updated to Clean White)
------------------------------------------------------ */
/* 1. Header & Logo Alignment Fixes (Replace your current navbar rules with these) */
.v3-navbar {
    background: #ffffff !important;
    border-bottom: 3px solid var(--v3-orange);
    padding: 5px 0; /* Reduced padding to tighten the header */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.navbar-brand {
    padding: 10px 15px; /* Adjusts top and bottom padding for even spacing */
    height: auto;
    display: flex;
    align-items: center;
}
.v3-logo { 
    max-height: 52px; 
    width: auto; 
    margin-bottom: 5px; /* Lifts the logo slightly to prevent sticking to the bottom border */
}

/* 2. New Hero Right Section Styling (Add to the bottom of your Hero Section CSS) */
.badge-tag {
    display: inline-block;
    background: rgba(255, 87, 34, 0.15);
    color: var(--v3-orange);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.v3-new-features {
    margin-top: 35px;
}
.feature-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--v3-orange);
}
.icon-pulse {
    width: 45px;
    height: 45px;
    background: var(--v3-orange);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}
.feature-info h4 {
    color: #ffffff;
    margin: 0 0 5px 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}
.feature-info p {
    color: #aaaaaa;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.call-expert {
    color: var(--v3-orange);
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0;
    font-size: 28px;
}

.v3-nav-links {
    margin-top: 8px; 
}
.v3-nav-links li a {
    color: #333333 !important; /* Dark text for white header */
    font-family: var(--font-display);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 16px !important;
}
.v3-nav-links li a:hover {
    color: var(--v3-orange) !important;
}
.v3-nav-links .nav-highlight a {
    color: var(--v3-orange) !important;
    border: 2px solid var(--v3-orange);
    border-radius: 4px;
    margin-left: 10px;
    padding: 8px 18px !important;
    margin-top: 2px;
}

/* ---------------------------------------------------
   Hero Section & Form
------------------------------------------------------ */
.v3-hero-section {
    position: relative;
    background: #222222; /* Solid dark background */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 60px;
}
.v3-hero-overlay {
    display: none; /* Removed for a cleaner solid look */
}
.v3-hero-content { position: relative; z-index: 2; width: 100%; }

/* Solid Form Box */
.v3-solid-form {
    background: #333333; /* Slightly lighter than background */
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 1px solid #444;
}
.v3-form-header h3 {
    color: #ffffff;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    margin-top: 0;
    letter-spacing: 0.5px;
}
.v3-form-header .v3-accent-line { margin-bottom: 25px; width: 50px; }

.v3-input-group { margin-bottom: 18px; }
.v3-input {
    background: #1f1f1f; /* Dark inputs */
    border: 1px solid #444444;
    color: #ffffff !important;
    height: 50px;
    border-radius: 6px;
    font-size: 14px;
}
.v3-input:focus {
    background: #111111;
    border-color: var(--v3-orange);
    color: #ffffff !important;
    box-shadow: none;
}
.v3-input option { background: #1f1f1f; color: #ffffff; }
.v3-input::-webkit-input-placeholder { color: #888888; }
.v3-input::-moz-placeholder { color: #888888; }

.v3-btn-primary {
    background: var(--v3-orange);
    color: #ffffff;
    border: none;
    height: 55px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background 0.3s;
    margin-top: 10px;
    letter-spacing: 1px;
}
.v3-btn-primary:hover { background: var(--v3-orange-hover); color: #ffffff; }

/* Right Text Updates (Fixed visibility issue) */
.v3-main-title {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.v3-hero-subtitle {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 400;
}
.v3-hero-benefits { list-style: none; padding: 0; margin: 0 0 35px 0; }
.v3-hero-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.v3-icon-hex {
    width: 50px; height: 50px;
    background: rgba(255, 87, 34, 0.15); /* Light orange tint background */
    color: var(--v3-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}
.v3-benefit-text {
    flex-grow: 1;
}
.v3-benefit-text strong {
    display: block; 
    color: #ffffff !important; /* Force white */
    font-size: 18px; 
    margin-bottom: 4px;
    font-weight: 700;
}
.v3-benefit-text span { 
    display: block;
    color: #aaaaaa !important; /* Force visible light gray */
    font-size: 14px; 
    line-height: 1.5;
}

/* ---------------------------------------------------
   Hero Section Alignment & Gap Adjustments
------------------------------------------------------ */


@media (max-width: 991px) {
    .v3-hero-text-wrapper {
        padding-left: 0;
        margin-top: 40px; /* Ensures space when stacked on mobile/tablet */
    }
}

/* ---------------------------------------------------
   Features Grid (Flat Dark Mode with High Contrast)
------------------------------------------------------ */
.v3-heading-white {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff; /* Changed to bright white for visibility */
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.v3-card-accent-line {
    width: 50px;
    height: 4px;
    background: var(--v3-orange);
    margin-bottom: 15px;
    border-radius: 2px;
}

.v3-card-accent-spacer {
    height: 4px;
    margin-bottom: 15px;
}

.v3-feature-card {
    background: #1f1f1f; /* Flat dark card background */
    padding: 35px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: left; 
    border: 1px solid #333333; /* Added subtle border for card definition */
}

.v3-feature-card:hover {
    background: #252525;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: var(--v3-orange);
}

.v3-feature-icon {
    font-size: 36px;
    color: var(--v3-orange);
    margin-bottom: 25px;
    display: block;
}

.v3-feature-card h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: #ffffff; /* Changed from #555555 to bright white */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v3-feature-card p { 
    color: #dddddd; /* Changed from #999999 to light gray for easy reading */
    font-size: 15px; 
    line-height: 1.6;
    margin: 0;
}

/* ---------------------------------------------------
   CTA Strip 
------------------------------------------------------ */
.v3-cta-strip {
    background: var(--v3-orange);
    padding: 40px 0;
}
.v3-btn-dark {
    display: inline-block;
    background: var(--v3-dark);
    color: #fff;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 4px;
}
.v3-btn-dark:hover { background: var(--v3-gray); color: var(--v3-orange); }


/* --- Why Us Section (Clean List Layout) --- */

/* Sticky Heading on Desktop */
.v3-sticky-heading {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; /* Adjust based on your navbar height */
}

/* Feature Item Flexbox Wrapper */
.v3-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eeeeee; /* Subtle divider, no boxes */
}

/* Floating Icon Styling */
.v3-icon-wrap {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 87, 34, 0.1); /* Soft orange background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}

.v3-icon-wrap i {
    font-size: 24px;
    color: #ff5722; /* Vibrant orange icon */
}

/* Text Content */
.v3-feature-text h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
}

.v3-feature-text p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.v3-feature-text a {
    color: #ff5722;
    text-decoration: none;
}

.v3-feature-text a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .v3-sticky-heading {
        position: relative; /* Turn off sticky behavior on smaller screens */
        top: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .v3-sticky-heading .v3-accent-line {
        margin: 20px auto !important; /* Center the line */
    }
    
    .v3-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .v3-icon-wrap {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* ---------------------------------------------------
   Products Grid (Dark Cards with White Image Backgrounds)
------------------------------------------------------ */
.v3-product-card-dark {
    display: block;
    background: #1f1f1f; /* Matches the dark feature cards */
    border: 1px solid #333333;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.v3-product-card-dark:hover {
    border-color: var(--v3-orange);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform: translateY(-5px);
    text-decoration: none;
}

/* The solid white canvas container for the images */
.v3-product-img-white {
    background: #ffffff;
    border-radius: 4px;
    padding: 20px 10px;
    margin-bottom: 20px;
    height: 220px; /* Fixed height to ensure all cards are identical in size */
    display: flex;
    align-items: center;
    justify-content: center;
}

.v3-product-img-white img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; /* Ensures the image scales properly inside the white box */
    transition: transform 0.4s ease; 
}

.v3-product-card-dark:hover .v3-product-img-white img { 
    transform: scale(1.08); 
}

.v3-product-title-text {
    color: #ffffff; 
    font-family: var(--font-display); 
    font-weight: 700; 
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.v3-product-card-dark:hover .v3-product-title-text {
    color: var(--v3-orange);
}

/* ---------------------------------------------------
   Brands (New Tag Grid instead of Table)
------------------------------------------------------ */
.v3-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}
.v3-brand-tag {
    display: block;
    background: #fff;
    color: var(--v3-text-dark);
    text-align: center;
    padding: 15px 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.v3-brand-tag:hover {
    background: var(--v3-orange);
    color: #fff;
    border-color: var(--v3-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,87,34,0.3);
}

/* ---------------------------------------------------
   Testimonials (Dark & Sleek Cards)
------------------------------------------------------ */
.v3-testimonial-bg {
    background: url('../img/intro/bg1.jpg') center center / cover no-repeat;
    position: relative;
}
.v3-testimonial-bg::before {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
    background: rgba(17,17,17,0.9);
}
.v3-testimonial-bg > .container { position: relative; z-index: 2; }

/* ---------------------------------------------------
   Testimonials (Light Theme Cards)
------------------------------------------------------ */
.v3-review-card-light {
    background: #ffffff; /* Solid white matching the 'Why Us' section */
    padding: 35px 30px;
    border-radius: 0 8px 8px 0; /* Flat left side, rounded right side */
    border-left: 4px solid var(--v3-orange); /* Orange left border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow */
    position: relative;
    height: 380px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
}

.v3-review-card-light:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.v3-quote-icon-light {
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--v3-orange);
    line-height: 0.7;
    margin-bottom: 15px;
    opacity: 0.8;
}

.v3-review-text-light {
    color: #555555; /* Dark gray for readability on white */
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
    margin: 0;
}

.v3-review-footer-light {
    border-top: 1px solid #eaeaea; /* Light gray border line */
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v3-reviewer-light h5 {
    color: var(--v3-darker);
    margin: 0 0 5px 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
}

.v3-reviewer-light span {
    color: #888888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.v3-quote-mark {
    font-family: serif; font-size: 80px; color: var(--v3-orange);
    position: absolute; top: 0px; left: 20px; line-height: 1; opacity: 0.3;
}
.v3-review-card p {
    color: #ccc; font-style: italic; position: relative; z-index: 2; flex-grow: 1; margin-top: 20px;
}
.v3-review-footer { border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.v3-reviewer h5 { color: #fff; margin: 0 0 5px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px;}
.v3-reviewer span { color: #888; font-size: 12px; text-transform: uppercase;}
.v3-stars { color: var(--v3-orange); }

.v3-slider-nav .v3-nav-btn {
    display: inline-block; width: 50px; height: 50px; line-height: 48px;
    border: 2px solid var(--v3-orange); color: var(--v3-orange); border-radius: 50%;
    margin: 0 10px; font-size: 20px;
}
.v3-slider-nav .v3-nav-btn:hover { background: var(--v3-orange); color: #fff; }

/* ---------------------------------------------------
   Footer Elements
------------------------------------------------------ */
/* ---------------------------------------------------
   Footer Badges High-Contrast Fixes
------------------------------------------------------ */
.v3-footer-badges { 
    padding: 50px 0; 
    border-bottom: 1px solid #222222; 
}

.v3-badge { 
    padding: 20px; 
}

.v3-badge-center { 
    border-left: 1px solid #333333; 
    border-right: 1px solid #333333; 
}

.v3-badge i { 
    font-size: 38px; 
    margin-bottom: 15px; 
    display: inline-block;
}

.v3-badge h5 { 
    font-family: var(--font-display); 
    font-weight: 700; 
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: #ffffff !important; /* Forces pure white headings */
}

.v3-badge-text-light { 
    color: #dddddd !important; /* Bright light-gray for high contrast visibility */
    font-size: 14px; 
    line-height: 1.6;
    margin: 0; 
}

@media (max-width: 991px) {
    .v3-badge-center {
        border-left: none;
        border-right: none;
        border-top: 1px solid #333333;
        border-bottom: 1px solid #333333;
        margin: 20px 0;
    }
}

.v3-bbb-seal { background: #fff; padding: 30px 0; text-align: center; }
.v3-bbb-seal h5 { font-family: var(--font-display); font-weight: 700; color: #333; margin-bottom: 15px; font-size: 20px;}

.v3-footer { background: var(--v3-darker); padding-top: 60px; color: #888; }
.v3-footer-widget { margin-bottom: 30px; }
.v3-footer-widget h5 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 25px; border-bottom: 2px solid var(--v3-orange); display: inline-block; padding-bottom: 5px;}
.v3-footer-widget ul { list-style: none; padding: 0; margin: 0; }
.v3-footer-widget ul li { margin-bottom: 15px; }
.v3-footer-widget ul li a { color: #888; }
.v3-footer-widget ul li a:hover { color: var(--v3-orange); padding-left: 5px;}
.v3-contact-list i { width: 25px; }
.v3-payment-icons img { height: 35px; margin-right: 10px; margin-bottom: 10px; background: #fff; padding: 2px; border-radius: 4px;}
.v3-footer-bottom { background: #000; padding: 20px 0; border-top: 1px solid #1a1a1a; margin-top: 40px; }

/* Sticky Elements */
.v3-scrollup { position: fixed; right: 20px; bottom: 60px; width: 40px; height: 40px; background: var(--v3-orange); color: #fff; text-align: center; line-height: 40px; border-radius: 4px; z-index: 99; display: none; }
.v3-sticky-call { display : none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--v3-darker); color: #fff; text-align: center; padding: 10px; z-index: 999; font-weight: bold; font-family: var(--font-display); font-size: 18px;}
.v3-sticky-call a { color: var(--v3-orange); margin-left: 10px;}

@media (max-width: 991px) {
    
    .v3-sticky-call {display : block !important;}
    
}

/* ---------------------------------------------------
   Mobile Responsive Fixes (Menu & Form)
------------------------------------------------------ */
@media (max-width: 767px) {
    
    /* 1. Fix Mobile Menu Icon Size & Color */
    .navbar-toggle {
        border: 1px solid var(--v3-orange);
        padding: 8px 12px;
        margin-top: 8px;
        background: transparent;
    }
    .navbar-toggle .fa-bars {
        font-size: 26px;
        color: var(--v3-orange);
    }
    
    /* 2. Fix Transparent Mobile Menu Dropdown */
    .navbar-collapse {
        background-color: #ffffff; /* Forces solid white background */
        border-top: 2px solid var(--v3-orange) !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* 3. Optimize Mobile Form Grid (2 Columns) */
    .v3-solid-form {
        padding: 25px 15px; /* Reduces container padding to maximize screen space */
    }
    .v3-form-row {
        margin-left: -5px;
        margin-right: -5px;
    }
    .v3-form-row > [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }
    .v3-input-group {
        margin-bottom: 10px; /* Tighter vertical spacing */
    }
    .v3-input {
        padding: 6px 10px; /* Prevents text from being cut off on small screens */
        font-size: 13px;
    }
}

/* ---------------------------------------------------
   Thank You Page - Mobile Responsive Fixes
------------------------------------------------------ */
@media (max-width: 767px) {
    /* 1. Reduce padding on the main white card */
    .bg-light .v3-content-block {
        padding: 30px 15px !important;
    }
    
    /* 2. Scale down the checkmark and heading */
    .bg-light .v3-content-block .fa-check-circle {
        font-size: 55px !important;
        margin-bottom: 10px !important;
    }
    .bg-light .v3-content-block h1.v3-heading {
        font-size: 28px !important;
    }
    
    /* 3. Reduce padding inside the gray contact details box */
    .bg-light .v3-content-block > .row {
        padding: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* 4. Tweak icon and text spacing in the contact grid */
    .bg-light .v3-content-block .fa {
        font-size: 20px !important;
        margin-right: 10px !important;
    }
    .bg-light .v3-content-block strong {
        font-size: 16px !important;
    }
    
    /* 5. Force long emails to wrap instead of breaking the layout */
    .bg-light .v3-content-block a, 
    .bg-light .v3-content-block span,
    .bg-light .v3-content-block p {
        font-size: 14px !important;
        word-break: break-word;
    }
    
    /* 6. Adjust margin between stacked contact columns */
    .bg-light .v3-content-block > .row > .col-sm-6 {
        margin-bottom: 20px !important;
    }
    .bg-light .v3-content-block > .row > .col-sm-6:last-child {
        margin-bottom: 0 !important;
    }
}

/* ---------------------------------------------------
   Thank You Page - Button Alignment Fix
------------------------------------------------------ */
.v3-btn-home {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 35px !important;
    text-decoration: none !important;
    margin-top: 0; /* Overrides any inherited margin */
}