:root {
    --primary-color: #9e0000;
    /* Dark Red */
    --secondary-color: #FFFFFF;
    /* White */
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #ffffff;
    --text-dark: #121212;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    padding-top: 70px;
    /* overflow: hidden; */
    /* For fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.text-highlight {
    color: var(--primary-color);
}

/* Navbar Styling */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-img {
    height: 38px;
    width: auto;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo-sub-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--dark-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-main-text {
    color: var(--dark-color);
}

/* Nav Items */
.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 6px;
    position: relative;
}

.nav-link {
    padding: 12px 16px !important;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
}

.nav-link-inner {
    position: relative;
    display: inline-block;
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-hover-line {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover .nav-hover-line,
.nav-link.active .nav-hover-line {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    padding: 0;
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: rgba(0, 200, 83, 0.05);
    border-left: 3px solid var(--primary-color);
    padding-left: 17px;
}



/* Dropdown Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    display: none;
}

/* Show submenu on click (handled by Bootstrap) */
.dropdown-submenu.show .dropdown-menu {
    display: block;
}

/* Right arrow indicator */
.dropdown-submenu .dropdown-toggle::after {
    display: none;
}

.dropdown-submenu .fa-chevron-right {
    transition: transform 0.3s ease;
}

.dropdown-submenu.show .fa-chevron-right {
    transform: rotate(90deg);
}


/* CTA Button */
.btn-cta {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.btn-cta i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.btn-cta:hover i {
    transform: translateX(3px);
}

/* Animated Toggler */
.animated-toggler {
    width: 26px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.toggler-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .topline {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .middleline {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bottomline {
    transform: translateY(-10px) rotate(-45deg);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-cta {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}


/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    color: var(--text-light);
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Add this to prevent scroll bars */
}

/* Video Background Styles */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

/* Keep all other existing hero styles exactly the same */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(101, 67, 33, 0.3) 100%);
    z-index: 2;
    /* Make sure overlay is above video */
}

/* Corner Logo  */
.corner-logo {
    top: 30px;
    left: 20px;
    z-index: 4;
    width: 120px;
}

.corner-logo img {
    width: 100%;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-hero {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.btn-hero:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    color: white;

}

.btn-outline-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--text-light);
    color: var(--dark-color);
}

.btn-custom2 {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
    transition: all 0.3s;
}
    
.btn-custom2:hover {
    background-color: #910000;
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}



.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down-link {
    color: var(--text-light);
    font-size: 1.5rem;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border: 2px solid var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.scroll-down-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}


/* About Section Enhancements */
.about-section .section-title {
    font-size: 2rem;
}

.text-highlight {
    color: var(--primary-color);
}

.custom-border {
    border-color: var(--primary-color) !important;
    /* your dark red */
}

.info-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.about-image img {
    object-fit: cover;
    height: 100%;
    min-height: 280px;
    border-radius: 8px;
}


/*--------------------------------- Services Section -----------------------------------*/
.services-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-slider {
    position: relative;
    overflow: hidden;
}

#servicesSlider {
    display: flex;
    transition: transform 0.5s ease;
    flex-wrap: nowrap;

}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--dark-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

.btn-slider {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border: none;
    transition: all 0.3s ease;
}

.slider-dots {
    display: inline-flex;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
}

.btn-slider:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .service-card {
        padding: 20px;
    }

    #servicesSlider {
        flex-wrap: wrap;
        transform: none !important;
    }

    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/*--------------------------------- Services Section -----------------------------------*/

/*--------------------------------- Our Core Value Section -----------------------------------*/
.service-box {
    background-color: var(--primary-color);
    width: 600px;
    min-height: 120px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .service-box {
        flex-direction: column !important;
        text-align: center;
    }

    .icon-circle {
        margin-bottom: 1rem;
    }

    .text-md-end {
        text-align: center !important;
    }
}

/*--------------------------------- Our Core Value Section -----------------------------------*/

/*--------------------------------- Client Section -----------------------------------*/
.logo-marquee {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(200px * 12);
    /* Adjust based on number of logos */
    animation: scroll 15s linear infinite;
}

.logo-track img {
    width: 200px;
    padding: 10px 20px;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.3s;
}

.logo-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/*--------------------------------- Client Section End -----------------------------------*/

/*--------------------------------- CEO Msg Section -----------------------------------*/

.ceo-message-section {
    background-color: var(--primary-color);
}

.ceo-message-section p {
    line-height: 1.8;
}

.quote-icon i {
    color: #fff;
    opacity: 0.5;
}

/*--------------------------------- CEO Msg Section End -----------------------------------*/

.vision-logo {
    max-width: 250px;
    height: auto;
    opacity: 0.9;
    transition: 0.3s;
}

.vision-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

.vision-2030-section {
    position: relative;
    background: url('../assets/images/vision-bg.jpg') no-repeat center center / cover;
    padding: 5rem 0;
    overflow: hidden;
}

.vision-2030-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* dark transparent overlay */
    z-index: 1;
}

.vision-2030-section .container {
    position: relative;
    z-index: 2;
}

.vision-2030-section .vision-text {
    text-shadow: 1px 1px 3px #000;
}


/*--------------------------------- Testemonial Section -----------------------------------*/
.testimonial-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #fff;
    transition: color 0.3s ease-in-out;
}

/* Animated background fill from top to bottom */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    transition: top 0.4s ease-in-out;
}

/* On hover: color fill slides down */
.testimonial-card:hover::before {
    top: 0;
}

.testimonial-card:hover {
    color: #fff;
}

.testimonial-card:hover .text-muted {
    color: #f0f0f0;
}

.top-strip {
    height: 14px;
    /* increased thickness */
    background-color: var(--primary-color);
}

/* Horizontal scroll marquee for cards */
.testimonial-marquee {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    animation: scrollCards 10s linear infinite;
}

.testimonial-track>.testimonial-card {
    width: 300px;
    background: #fff;
    transition: 0.3s;
}

/* Avatar style */
.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    /* thicker border */
    margin-top: -20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.749);
}

.stars {
    font-size: 1rem;
}

.card-body-content p {
    font-size: 0.95rem;
    min-height: 100px;
}

/* Card scroll animation */
@keyframes scrollCards {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}


/*--------------------------------- Footer Style  -------------------------*/


.footerbg {
    background-color: var(--primary-color);
}

.footer-text {
    color: (--text-light);
}

.hover-red:hover {
    color: #ff4d4d !important;
}

.footer-title {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ff4d4d;
}

.btn-social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background-color: #ff4d4d;
    border-color: #ff4d4d;
}

.bg-white-10 {
    background-color: var(--white-10);
}

.opacity-75 {
    opacity: 0.75;
}

.small {
    font-size: 0.875rem;
}

/* About Us Page Designing  */
.about-hero{
    background-color: #910000;
    color: white;
}