/* YUVRAJ ENTERPRISES - Main Styles */

:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #0d6efd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    background: #f8fafc;
}

.main-content {
    padding-top: 90px;
}

/* Header / Navbar */
.custom-navbar {
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    transition: 0.4s;
    padding: 10px 0;
}

.custom-navbar.navbar-scrolled {
    padding: 6px 0;
    background: rgba(17, 24, 39, 0.98);
}

.header-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.header-logo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.3rem;
}

.brand-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.brand-subtitle {
    color: #d6d6d6;
    font-size: 0.75rem;
}

.navbar-nav .nav-link {
    color: #fff !important;
    margin: 0 4px;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 14px !important;
    border-radius: 30px;
    transition: 0.3s;
}

.navbar-nav .nav-link i {
    margin-right: 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #0d6efd, #00b4ff);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.35);
}

.btn-login {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff !important;
    border-radius: 40px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
    border: none;
}

.btn-login:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(40, 167, 69, 0.4);
}

/* Sections */
.page-section {
    scroll-margin-top: 95px;
}

.section-block {
    max-width: 900px;
}

.section-circle-title {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-color);
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.bg-light {
    background-color: #f1f5f9 !important;
}

/* Page Banner (inner pages) */
.page-banner {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -90px;
    padding-top: 90px;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 80px 20px 60px;
}

.page-banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-banner-content .lead {
    font-size: 1.15rem;
    opacity: 0.95;
}

/* Services dropdown hover */
@media (min-width: 992px) {
    .nav-hover-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu-dark {
    background: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 280px;
}

.dropdown-menu-dark .dropdown-item {
    color: #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    white-space: normal;
}

.dropdown-menu-dark .dropdown-item:hover {
    background: rgba(13, 110, 253, 0.25);
    color: #fff;
}

/* Content sections */
.section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-heading {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.section-image img {
    transition: transform 0.3s;
}

.section-image img:hover {
    transform: scale(1.02);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Hero slider home */
.hero-slider {
    height: 80vh;
    min-height: 500px;
    margin-top: -90px;
    padding-top: 0;
}

.home-hero-static {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    margin-top: -90px;
    padding-top: 90px;
}

.home-hero-static h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bannerSwiper {
    height: 100%;
}

.banner-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}

/* Services list */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.services-list li:hover {
    transform: translateX(5px);
}

.services-list li i {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 2px;
}

/* Locations list */
.locations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.locations-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.location-num {
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Contact */
.contact-info-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.contact-form-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 3px;
}

.contact-item h6 {
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Gallery */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

/* Inner pages */
.page-header-inner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 50px 0 40px;
    text-align: center;
    margin-top: -90px;
    padding-top: 140px;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    padding: 60px 0 25px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.footer-logo h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo small {
    color: #cbd5e1;
}

.footer-about {
    color: #cbd5e1;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 45px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 10px 0;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #d1d5db;
}

.footer-contact i {
    width: 38px;
    height: 38px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.footer-line {
    margin: 35px 0 20px;
    border-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: #b8b8b8;
    font-size: 0.9rem;
    text-align: center;
}

#scrollTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

#scrollTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollTop:hover {
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #111827;
        margin-top: 12px;
        padding: 15px;
        border-radius: 15px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .btn-login {
        width: 100%;
        text-align: center;
    }

    .brand-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .banner-content h1,
    .home-hero-static h1 {
        font-size: 1.75rem;
    }

    .hero-slider {
        height: 55vh;
        min-height: 350px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }
}
