﻿body {
    padding: 0px !important;
    margin: 0px !important;
    overflow-x: hidden !important;
}
/* Top Bar Styles */
.top-bar {
    background-color: darkred; /* Dark red color */
    color: #fff;
    font-size: 0.9em;
}

    .top-bar a {
        color: #fff;
        text-decoration: none;
        margin-right: 20px;
    }

    .top-bar .social-icons {
        display: flex;
        justify-content: flex-end;
    }

        .top-bar .social-icons a {
            width: 40px;
            height: 35px;
            background-color: #6d0000; /* Slightly darker red for social icons */
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: -12px;
            transition: background-color 0.3s ease;
        }

            .top-bar .social-icons a:hover {
                background-color: #c00000; /* Lighter red on hover */
            }

            .top-bar .social-icons a.facebook {
                background-color: #3b5998;
            }

            .top-bar .social-icons a.twitter {
                background-color: #00acee;
            }

            .top-bar .social-icons a.youtube {
                background-color: #c4302b;
            }

            .top-bar .social-icons a.linkedin {
                background-color: #0e76a8;
            }

/* Navbar Styles */
.navbar {
    background-color: #e7e9eb; /* Light gray background */
    padding: 20px 0;
}

.navbar-brand img {
    height: 50px; /* Adjust as needed */
    margin-right: 10px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #a00000 !important; /* Brand name color */
}

.navbar-nav .nav-link {
    color: #222 !important;
    font-weight: 650;
    font-size: 1.05em;
    margin-right: 20px;
    position: relative;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #a00000 !important;
    }

/* Dropdown styles */
.dropdown-menu {
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.dropdown-item {
    font-size: 0.90rem !important;
    font-weight: 600 !important;
    padding: 8px 22px;
}

    .dropdown-item:hover {
        background-color: #d0d0d0;
        color: #a00000 !important;
    }

/* Multi-level Dropdown Styles */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none; /* Hide by default */
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block; /* Show on hover */
    }

    .dropdown-submenu .dropdown-toggle::after {
        display: none; /* Hide default caret for submenu parent */
    }

    /* Custom caret for multi-level dropdowns */
    .dropdown-submenu > .dropdown-item.dropdown-toggle::before {
        content: "\203A"; /* Simple right arrow › */
        font-size: 1.5em;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #555; /* Formal dark gray */
    }
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-item.dropdown-toggle::after{
        display:none;
    }
}

    /* Custom Toggler Icon for Cross Animation */
    .navbar-toggler {
        border: none; /* Remove default border */
        padding: 0;
        width: 30px; /* Adjust as needed */
        height: 24px; /* Adjust as needed */
        position: relative;
        outline: none;
        display: flex; /* Use flexbox to center the icon */
        align-items: center;
        justify-content: center;
    }

        .navbar-toggler:focus {
            box-shadow: none; /* Remove focus outline */
        }

    .navbar-toggler-icon {
        /* Crucial: Remove Bootstrap's default background SVG */
        background-image: none;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 100%; /* Make it fill the toggler button's width */
        height: 80%; /* Make it fill the toggler button's height */
        position: relative; /* For line positioning */
    }

        .navbar-toggler-icon .line {
            display: block;
            height: 3px;
            width: 100%;
            background: #222; /* Color of the lines */
            border-radius: 3px;
            transition: all 0.3s ease-in-out;
            transform-origin: center;
        }

    /* State when the navbar is collapsed (hamburger icon) */
    .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon .line:nth-child(1) {
        transform: translateY(0) rotate(0);
    }

    .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon .line:nth-child(2) {
        opacity: 1;
    }

    .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon .line:nth-child(3) {
        transform: translateY(0) rotate(0);
    }


    /* State when the navbar is open (cross icon) */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .line:nth-child(1) {
        transform: translateY(10px) rotate(45deg); /* Adjust translateY based on line spacing */
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .line:nth-child(2) {
        opacity: 0; /* Hide middle line */
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg); /* Adjust translateY based on line spacing */
    }


    .carousel-item {
        height: 76vh;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .carousel-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.55);
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

        .hero-content h1 {
            font-size: 2.6rem;
            line-height: 1.3;
            margin-bottom: 1rem;
        }

        .hero-content h5 {
            margin-bottom: 0.75rem;
        }

        .hero-content p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

    .hero-button {
        background-color: darkred !important;
        border: none !important;
        width: 170px !important;
        font-size: 1rem;
    }

        .hero-button:hover {
            background-color: #b30000;
        }

    /* Carousel Indicators */
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #fff;
    }

    .carousel-indicators .active {
        background-color: darkred;
    }

    /* Custom Arrows */
    .custom-prev-icon,
    .custom-next-icon {
        font-size: 2rem;
        color: #fff;
        font-weight: bold;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
    }

        .carousel-control-prev:hover span,
        .carousel-control-next:hover span {
            color: darkred;
        }

    /* Responsive */
    @media (max-width: 768px) {
        .hero-content h1 {
            font-size: 1.8rem;
        }

        .hero-button {
            width: 100%;
            text-align: center;
        }
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-button {
        background-color: darkred;
        border-radius: 0%;
        border: none;
        width: 25%;
    }

        .hero-button:hover {
            border-color: inherit !important;
            box-shadow: none !important;
        }

    /* About Section css */

    .nandyavart-section {
        background-color: #fff;
        padding-top: 50px; /* Only vertical padding */
        padding-bottom: 100px; /* Only vertical padding */

        margin-top: 35px;
        /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); */
    }

    .image-container {
        border-left: 14px solid #8B0000;
        border-bottom: 14px solid #8B0000;
        border-top: 14px solid #8B0000;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%; /* Ensure the container takes full height */
    }

        .image-container img {
            max-width: 100%;
            height: auto;
            display: block;
        }

    .content-container {
        padding-left: 30px;
    }

    .welcome-text {
        font-size: 1.1em;
        color: #222; /* Dark Red */
        margin-bottom: 10px;
        font-weight: bold;
    }

        .welcome-text::before {
            content: "// ";
            color: #8B0000; /* Dark Red */
        }

    .group-title {
        font-size: 2.5em;
        font-weight: bold;
        color: darkred;
        margin-bottom: 20px;
    }

    .group-description {
        font-size: 0.98em;
        line-height: 1.6;
        color: #222;
        margin-bottom: 20px;
    }

    .read-more-btn {
        background-color: darkred;
        color: #fff;
        font-weight: 700;
        padding: 14px 45px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        border-right: 5px solid black;
    }

        .read-more-btn:hover {
            background-color: #6a0000; /* Slightly darker red on hover */
            color: #fff;
        }

    /* Responsive adjustments */
    @media (max-width: 991.98px) {
        .image-container {
            margin-bottom: 30px;
            height: auto;
        }

        .content-container {
            padding-left: 15px;
        }

        .nandyavart-section {
            padding-top: 0px !important;
            padding-bottom: 50px !important;
        }
    }

    .product-card {
        border: none;
        /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease;
        background: #fffdfd6b;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        padding: 10px;
        border-radius: 4px;
    }

    .font-paper {
        font-size: 18px;
        font-weight: 790;
    }

    .product-card:hover {
        transform: translateY(-5px);
    }

    .product-card img {
        /* height: 220px; */
        object-fit: cover;
        width: 100%;
    }

    /* Owl dots */
    .owl-dots {
        text-align: center;
        margin-top: 20px;
    }

        .owl-dots .owl-dot span {
            width: 12px;
            height: 12px;
            margin: 5px;
            background: #999;
            display: block;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .owl-dots .owl-dot.active span {
            background: darkred;
            transform: scale(1.2);
        }

    /* Owl nav arrows */
    .owl-nav button {
        display: none;
    }

    .owl-carousel.owl-loaded {
        padding-top: 20px;
    }


    .counter-section {
        color: #fff;
        padding-top: 70px;
        padding-bottom: 45px;
    }

    .counter-box {
        display: flex;
        flex-direction: row; /* icon left + content right */
        align-items: center;
        justify-content: flex-start;
        gap: 15px; /* spacing between icon & content */
        padding: 20px;
        height: 140px; /* equal height */
    }

        .counter-box i {
            font-size: 40px;
            flex-shrink: 0; /* icon ka size fix rahe */
        }

        .counter-box .content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin: 20px;
        }

    .counter {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .counter-box p {
        margin: 0;
        font-size: 15px;
        font-weight: 500;
    }

    .counter-card {
        padding: 0 !important;
        margin-top: 0px;
    }

    .counter-wrap {
        display: flex;
        align-items: baseline;
        gap: 2px;
    }

    .plus {
        font-size: 15px;
    }
    /* .row > * {
  margin-top: 0 !important;
} */

    .mvv-card {
        background: #f8f9fa; /* light background */
        border-radius: 12px; /* rounded corners */
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .mvv-card i {
            font-size: 53px;
            color: #c0392b; /* icon color */
        }

        .mvv-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        }

    .certificate img {
        height: 40px !important;
    }


    body {
        font-family: Arial, sans-serif;
    }

    .footer-section {
        background-color: darkred;
        color: #fff;
        padding: 40px 0px;
        position: relative;
        overflow: hidden;
        padding-bottom: 0px;
    }

    .footer-bottom {
        background-color: #000000; /* Black background */
        color: #fff; /* White text */
        text-align: center;
        padding: 12px 0;
        font-size: 0.9rem;
        margin-top: 20px; /* Gap from upper footer */
    }

    /* Headings */
    .footer-heading {
        color: #fff;
        font-size: 1.2rem; /* smaller */
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 8px;
    }

    /* Links */
    .footer-links li a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9rem; /* smaller font */
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        margin-bottom: 10px;
    }

        .footer-links li a::before {
            content: '►';
            margin-right: 10px;
            font-size: 0.7rem;
            color: #fff;
            transition: margin-right 0.3s ease, color 0.3s ease;
        }

        /* Hover effect */
        .footer-links li a:hover {
            color: #FFD700; /* golden hover */
            padding-left: 8px;
        }

            .footer-links li a:hover::before {
                margin-right: 6px;
                color: #FFD700;
            }

    .footer-heading {
        color: #fff;
        font-size: 1.1rem; /* छोटा heading */
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 8px;
    }


        /* Underline effect */
        .footer-heading::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: #FFD700;
            border-radius: 2px;
        }

    @media (max-width: 991px) {
        iframe {
            min-height: 170px !important;
            margin-top: 20px;
        }
    }

    /* Responsive */
    @media (max-width: 767.98px) {
        .footer-section {
            padding: 30px 15px; /* padding in mobile */
        }
    }

    /* Adjust dropdown menu position for smaller screens */
    @media (max-width: 991.98px) {
        .dropdown-menu {
            width: 100%; /* Full width for dropdowns on mobile */
            text-align: center;
        }

        .dropdown-submenu .dropdown-menu {
            left: 0;
            margin-top: 0;
            border-left: 3px solid #a00000; /* Indicate sub-menu on mobile */
        }

        .dropdown-submenu > .dropdown-item.dropdown-toggle::before {
            content: "\25BC"; /* Simple down arrow ▼ */
            right: 20px;
            font-size: 0.6em;
            top:20px;
        }

        .top-bar .social-icons {
            justify-content: center;
        }

            .top-bar .social-icons a {
                width: 35px;
                height: 30px;
            }

        .navbar-toggler {
            height: 37px;
        }

        .navbar-nav .nav-link {
            font-size: 1.02em;
        }
    }

    @media (max-width: 375px) {
        .justify-content-start {
            font-size: 12px;
        }

        .navbar-brand img {
            height: 34px;
        }
    }

    @media (max-width: 768px) {
        .col-md-6 {
            padding-left: 43px;
            width: 100%;
        }

        .custom-next-icon {
            display: none !important;
        }

        .custom-prev-icon {
            display: none !important;
        }
    }
    /* Floating Container */
    .floating-icons {
        position: fixed;
        bottom: 80px; /* page ke bottom se */
        right: 20px; /* right side se */
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 9999;
    }

        /* Button Styling */
        .floating-icons .float-btn img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            cursor: pointer;
            animation: bounce 2s infinite; /* up-down move */
            transition: transform 0.3s;
        }

            .floating-icons .float-btn img:hover {
                transform: scale(1.15);
            }

    /* Bounce Animation */
    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    /* ✅ Responsive Fix */
    @media (max-width: 768px) {
        .floating-icons {
            bottom: 60px;
            right: 15px;
            gap: 12px;
        }

            .floating-icons .float-btn img {
                width: 45px;
                height: 45px;
            }
    }

    @media (max-width: 480px) {
        .floating-icons {
            bottom: 50px;
            right: 10px;
            gap: 10px;
        }

            .floating-icons .float-btn img {
                width: 40px;
                height: 40px;
            }
    }