/* Custom Navbar Styles (For Transparent-to-Sticky Effect) */
/* Initially Transparent State */
.custom-navbar-transparent {
    background-color: transparent !important;
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: none !important;
    width: 100%;
    z-index: 1030;
    position: fixed;
    top: 0;
}

/* Colors for transparent state */
.custom-navbar-transparent .navbar-brand img {
    /* Logo remains white for better visibility against dark hero images */
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease-in-out;
}

.custom-navbar-transparent .navbar-nav .nav-link {
    /* Changed to a gold-like color for better contrast against light backgrounds */
    color: #DBA63B !important;
    font-weight: 600;
}

.custom-navbar-transparent .navbar-nav .nav-link:hover {
    /* Adjust hover color for the new text color */
    color: #231F20 !important;
}

.custom-navbar-transparent .navbar-toggler-icon {
    /* Hamburger color changed to match text color */
    filter: none;
}

/* Scrolled/Sticky State */
.custom-navbar-scrolled {
    background-color: #000000 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Colors for scrolled state */
.custom-navbar-scrolled .navbar-brand img {
    filter: none;
}

.custom-navbar-scrolled .navbar-nav .nav-link {
    color: #DBA63B !important;
}

.custom-navbar-scrolled .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

.custom-navbar-scrolled .navbar-toggler-icon {
    filter: none;
}

/* --- YOUR EXISTING CSS CODE STARTS HERE (Aapka poora style.css ka code) --- */

.fixed-slide-image {
    height: 550px;
    object-fit: cover;
}

.navbar-toggler {
    border-color: #DBA63B !important;
    color: #DBA63B !important;
    background-color: transparent;
    padding: 6px 10px;
    margin-left: auto;
}

/* Hide dropdown arrow for "Products" link */
.nav-link.dropdown-toggle::after {
    display: none;
}

/* General nav-link styles */
.navbar .nav-link {
    color: #DBA63B !important;
    margin: 0 10px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.navbar .nav-link:hover {
    color: white !important;
}

/* Underline on hover for all nav-links except the dropdown-toggle */
.navbar .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s;
}

.navbar .nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

/* Dropdown menu and hover styles */
.dropdown-menu {
    background-color: #DBA63B;
    border: none;
    border-radius: 1px;
}

.dropdown-menu .dropdown-item {
    color: #DBA63B !important; /* Changed to white for better contrast */
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: black;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #231F20 !important; /* Dark hover background */
    color: #DBA63B !important; /* Theme color hover text */
    border-left: 3px solid #DBA63B;
}

/* Hover-based dropdown for desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Ensures the dropdown opens directly below */
    }
}

/* Responsive Fixes - Navbar */
@media (max-width: 991.98px) {
    .navbar-collapse {
        align-items: flex-end;
        text-align: right;
    }

    .navbar-collapse .nav-link {
        text-align: right;
        padding-right: 20px;
    }

    /* Fix to prevent horizontal scrollbar on small screens */
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 50px;
    }
}
/* navbar end */
/* Banner css - Yeh Custom Section ab home.ejs mein hai */
/* Iski styling aapke diye gaye code mein hai, wahi use hogi */
/* ---------- Responsive Layout for Custom Section ---------- */

/* Mobile view adjustments (screen width ≤ 768px) */
@media (max-width: 768px) {
    .custom-section .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .custom-section .col-md-4:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ---------- Image Container Styling ---------- */
.image-box {
    min-height: 300px;
    overflow: hidden;
    position: relative;
}

/* ---------- Image Styling ---------- */
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Text Overlay Styling ---------- */
.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.40rem;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0px 0px 4px rgba(0, 0, 0, 0.6);
}

/* banner end */
/* about Custom CSS */
.about-hero {
    background-image: url('/assets/images/about_header1.png');
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.about-hero h1 {
    font-size: 2.70rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
    position: relative;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
    border-radius: 10px;
    z-index: 1;
}

/* contact banner */
.contact-hero {
    background-image: url('/assets/images/contact_us.jpg');
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.contact-hero h1 {
    font-size: 2.70rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
    position: relative;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 1;
}
/* blog banner */
.blog-hero {
    background-image: url('/assets/images/blog.jpg');
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.blog-hero h1 {
    font-size: 2.70rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
    position: relative;
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 1;
}
/* blog banner */
.gallery-hero {
    background-image: url('/assets/images/gallery.jpg');
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.gallery-hero h1 {
    font-size: 2.70rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
    position: relative;
}

.gallery-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 1;
}

/* galler end  */
/* solution end  */
.solution-hero {
    background-image: url('/assets/images/solution.jpg');
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.solution-hero h1 {
    font-size: 2.70rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
    position: relative;
}

.solution-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 1;
}

/* though section */

/* about Custom CSS */
.about-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background-color: #f8f9fa;
}

.cube-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cube-wrapper {
    perspective: 1000px;
    width: 180px;
    height: 180px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

/* Cube face images */
.front {
    transform: translateZ(90px);
    background-image: url('/assets/images/About/about_1.png');
}
.back {
    transform: rotateY(180deg) translateZ(90px);
    background-image: url('/assets/images/About/about_2.png');
}
.right {
    transform: rotateY(90deg) translateZ(90px);
    background-image: url('/assets/images/About/about_3.png');
}
.left {
    transform: rotateY(-90deg) translateZ(90px);
    background-image: url('/assets/images/About/about_4.png');
}
.top {
    transform: rotateX(90deg) translateZ(90px);
    background-image: url('/assets/images/About/about_5.png');
}
.bottom {
    transform: rotateX(-90deg) translateZ(90px);
    background-image: url('/assets/images/About/about_6.png');
}

.face-text {
    background-color: rgba(183, 129, 8, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
}

@keyframes rotate {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

.content-section {
    padding: 30px;
}

.about-title {
    color: #DBA63B;
    font-weight: 700;
    font-size: 2rem !important;
    margin-bottom: 30px;
}

.about-text {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.btn-see-more {
    background-color: #DBA63B;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s;
    border: none;
}

.btn-see-more:hover {
    background-color: #000000;
    color: #DBA63B;
}

@media (max-width: 992px) {
    .cube-wrapper { width: 150px; height: 150px; margin-bottom: 40px; }
    .front { transform: translateZ(75px); }
    .back { transform: rotateY(180deg) translateZ(75px); }
    .right { transform: rotateY(90deg) translateZ(75px); }
    .left { transform: rotateY(-90deg) translateZ(75px); }
    .top { transform: rotateX(90deg) translateZ(75px); }
    .bottom { transform: rotateX(-90deg) translateZ(75px); }
}

/* contact cs */
.contact-title{
    font-size: 2.50rem;
    color: #ffffff;
    border-radius: 10px;
}

.contact-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

.contact-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.contact-subheading {
    color: #666;
}

.form-control {
    padding: 10px;
    border-radius: 0;
    border: 1px solid #ccc;
}

.btn-dark:hover{
    background-color: #231F20;
    color: #fff;
}
.btn-dark {
    background-color: #DBA63B;
    border: none;
    border-radius: 0;
    padding: 10px;
    font-weight: 500;
}

.contact-info {
    padding-left: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 4px;
    color: #DBA63B;
}

@media (max-width: 768px) {
    .contact-info { padding-left: 0; margin-top: 30px; }
}

/* conversation section */
/* our fun fact section css */
.fun-facts-section {
    background: url('/assets/images/golden-creative-lights-halftone-wallpaper.jpg') no-repeat center center/cover;
    position: relative;
}

.text-orange { color: #f06c00; }

.underline {
    width: 80px;
    height: 2px;
    text-decoration: none;
    border-bottom: 2px dashed #DBA63B;
}

.divider {
    width: 1px;
    height: 80px;
    background-color: #ccc;
    opacity: 0.5;
}
/* footer css */
/* Main footer styles */
footer.bg-light {
    background-color: #000000 !important;
    color: #ffffff;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings */
footer.bg-light h5 {
    color: #B8820A;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Links */
footer.bg-light a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer.bg-light a:hover {
    color: #B8820A;
}

/* Text override */
footer.bg-light .text-dark {
    color: #ffffff !important;
}

/* Highlighted text */
footer.bg-light .fw-bold {
    color: #B8820A !important;
}

/* Button styling */
footer.bg-light .btn-outline-dark {
    border-color: #B8820A;
    color: #B8820A;
    padding: 10px 20px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

footer.bg-light .btn-outline-dark:hover {
    background-color: #B8820A;
    color: #231F20;
}

/* ===============================
   NEW: Contact icon and phone fixes
   =============================== */
footer.bg-light .contact-icon {
    color: #B8820A;
    margin-right: 10px;
    font-size: 16px;
}

footer.bg-light .phone-number {
    color: #ffffff;
    font-weight: 500;
}

/* ===============================
   NEW: Social icons (bottom icons)
   =============================== */
footer.bg-light .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 6px;
    border-radius: 50%;
    border: 1px solid #B8820A;
    color: #B8820A;
    font-size: 18px;
    transition: all 0.3s ease;
}

footer.bg-light .social-icons a:hover {
    background-color: #B8820A;
    color: #231F20;
}

/* ===============================
   Responsive CSS
   =============================== */
@media (max-width: 768px) {
    footer.bg-light { text-align: center; padding: 20px 10px; }
    footer.bg-light h5 { font-size: 18px; }
    footer.bg-light a, footer.bg-light .fw-bold, footer.bg-light .text-dark { display: block; margin: 8px 0; }
    footer.bg-light .btn-outline-dark { width: 100%; margin: 10px 0; }
    .social-icons { justify-content: center; display: flex; flex-wrap: wrap; margin-top: 15px; }
}

/* our work section */
.fixed-slide-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.8);
}
@media (max-width: 992px) {
    .fixed-slide-image { height: 400px; }
}
@media (max-width: 768px) {
    .fixed-slide-image { height: 300px; }
    h3 { font-size: 1.5rem !important; }
}
@media (max-width: 576px) {
    .fixed-slide-image { height: 250px; }
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
}
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* get in touch */
:root {
    --primary-orange: #DBA63B;
    --dark-charcoal: #231F20;
    --white-text: #FFFFFF;
    --light-grey-text: #E0E0E0;
}

.contact-cta-section-new {
    background-color: #000000;
    color: var(--white-text);
    padding: 20px 20px;
    text-align: center;
    margin: 0;
    max-width: 100%;
}

.cta-content-new {
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta-section-new h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--white-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-underline-wrapper {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.cta-underline-wrapper::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60%;
    height: 3px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.cta-button-new {
    display: inline-block;
    color: var(--light-grey-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 300;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.cta-button-new:hover {
    color: var(--primary-orange);
}

.cta-underline-wrapper:hover::after {
    width: 100%;
    background-color: var(--primary-orange);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-cta-section-new { padding: 30px 15px; }
    .contact-cta-section-new h2 { font-size: 1.8rem; }
    .cta-button-new { font-size: 1.1rem; }
}
@media (max-width: 480px) {
    .contact-cta-section-new h2 { font-size: 1rem; }
    .cta-button-new { font-size: 1rem; }
}

