/* Custom CSS for Bimal Infrastructure & Traders */

/* Global Styles */
:root {
    --primary-color: #0D47A1;
    --secondary-color: #1976D2;
    --accent-color: #FFC107;
    --dark-color: #212529;
    --light-color: #F8F9FA;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    font-size: 14px;
    border-bottom: 1px solid #495057;
}

.top-bar a {
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-color) !important;
}

/* Navigation */
.navbar {
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: url('../images/index.jpg') center/cover no-repeat;
    min-height: 477px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Initial dark overlay */
    animation: brightnessTransition 8s infinite ease-in-out;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Brightness Transition Animation */
@keyframes brightnessTransition {
    0% {
        background: rgba(0, 0, 0, 0.5); /* Dark */
    }
    50% {
        background: rgba(0, 0, 0, 0.2); /* Bright */
    }
    100% {
        background: rgba(0, 0, 0, 0.5); /* Back to dark */
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Cards */
.feature-card,
.service-card,
.mission-card,
.vision-card {
    transition: var(--transition);
    border: none;
}

.feature-card:hover,
.service-card:hover,
.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-detail-card {
    transition: var(--transition);
    border: none;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Gallery */
.gallery-card {
    transition: var(--transition);
    cursor: pointer;
}

.gallery-card:hover {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.8) 0%, rgba(25, 118, 210, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    padding: 20px;
}

/* Team Cards */
.team-card {
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Contact Form */
.contact-form-card {
    border: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Page Headers */
.page-header {
    background: url('../images/header.webp') center/cover no-repeat;
    position: relative;
    padding: 85px 0px !important;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    /* Custom CSS for Bimal Infrastructure & Traders */

    /* Global Styles */
    :root {
        --primary-color: #0D47A1;
        --secondary-color: #1976D2;
        --accent-color: #FFC107;
        --dark-color: #212529;
        --light-color: #F8F9FA;
        --transition: all 0.3s ease;
    }
    
    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        color: #333;
    }
    
    /* Top Bar */
    .top-bar {
        font-size: 14px;
        border-bottom: 1px solid #495057;
    }
    
    .top-bar a {
        transition: var(--transition);
    }
    
    .top-bar a:hover {
        color: var(--accent-color) !important;
    }
    
    /* Navigation */
    .navbar {
        transition: var(--transition);
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
        color: var(--primary-color) !important;
    }
    
    .nav-link {
        font-weight: 500;
        position: relative;
        transition: var(--transition);
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color) !important;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--primary-color);
        transition: var(--transition);
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    /* Hero Section */
    .hero-section {
        background: url('../images/index.jpg') center/cover no-repeat;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Initial dark overlay */
        animation: brightnessTransition 8s infinite ease-in-out;
        z-index: 1;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
    }
    
    /* Brightness Transition Animation */
    @keyframes brightnessTransition {
        0% {
            background: rgba(0, 0, 0, 0.5); /* Dark */
        }
        50% {
            background: rgba(0, 0, 0, 0.2); /* Bright */
        }
        100% {
            background: rgba(0, 0, 0, 0.5); /* Back to dark */
        }
    }
    
    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .animate-fade-in {
        animation: fadeInUp 1s ease-out;
    }
    
    .animate-fade-in-delay {
        animation: fadeInUp 1s ease-out 0.3s both;
    }
    
    .animate-fade-in-delay-2 {
        animation: fadeInUp 1s ease-out 0.6s both;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .mission-card,
    .vision-card {
        transition: var(--transition);
        border: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .mission-card:hover,
    .vision-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }
    
    .service-detail-card {
        transition: var(--transition);
        border: none;
    }
    
    .service-detail-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Gallery */
    .gallery-card {
        transition: var(--transition);
        cursor: pointer;
    }
    
    .gallery-card:hover {
        transform: scale(1.05);
    }
    
    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(13, 71, 161, 0.8) 0%, rgba(25, 118, 210, 0.8) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: var(--transition);
    }
    
    .gallery-card:hover .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-content {
        text-align: center;
        padding: 20px;
    }
    
    /* Team Cards */
    .team-card {
        transition: var(--transition);
    }
    
    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Contact Form */
    .contact-form-card {
        border: none;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
    }
    
    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
    }
    
    /* Buttons */
    .btn-primary {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transition: var(--transition);
    }
    
    .btn-primary:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
    }
    
    .btn-outline-primary {
        color: var(--primary-color);
        border-color: var(--primary-color);
        transition: var(--transition);
    }
    
    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }
    
    /* Page Headers */
    .page-header {
        background: url('../images/header.webp') center/cover no-repeat;
        position: relative;
    }
    
    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3); /* Dark overlay for readability */
    }
    
    .page-header h1,
    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for header text */
    }
    
    .page-header .container {
        position: relative;
        z-index: 2;
    }
    
    /* Value Cards */
    .value-card {
        transition: var(--transition);
    }
    
    .value-card:hover {
        transform: translateY(-5px);
    }
    
    /* Stat Cards */
    .stat-card {
        transition: var(--transition);
        border: none;
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Feature Highlights */
    .feature-highlight {
        transition: var(--transition);
    }
    
    .feature-highlight:hover {
        transform: translateY(-5px);
    }
    
    /* Contact Info Cards */
    .contact-info-card {
        transition: var(--transition);
        border: none;
    }
    
    .contact-info-card:hover {
        transform: translateY(-5px);
        background-color: white !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Business Hours and Quick Contact */
    .business-hours-card,
    .quick-contact-card {
        transition: var(--transition);
    }
    
    .business-hours-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }
    
    /* Gallery Filter */
    .btn-group .btn {
        transition: var(--transition);
    }
    
    .btn-outline-primary.active {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    /* Map Container */
    .map-container {
        min-height: 400px;
    }
    
    /* Carousel Styles */
    .carousel-item {
        display: flex;
        justify-content: center;
    }
    
    .carousel-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 15px;
        margin: 10px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        max-width: 350px; /* Limit card width */
    }
    
    .carousel-card img {
        border-radius: 8px;
        height: 200px;
        object-fit: cover;
        width: 100%;
    }
    
    .testimonial-logo {
        width: 50px;
        height: 50px;
        background-color: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 24px;
        font-weight: bold;
        margin: 0 auto 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
        background: rgb(0 0 0 / 0%);
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-size: 50%;
    }
    
    /* Responsive Carousel Adjustments */
    .carousel-item .carousel-card {
        display: none; /* Hide all cards by default */
    }
    
    .carousel-item .carousel-card:nth-child(-n+3) {
        display: flex; /* Show up to 3 cards on large devices */
    }
    
    @media (max-width: 991px) {
        .carousel-item .carousel-card {
            display: none; /* Hide all cards */
        }
        .carousel-item .carousel-card:nth-child(-n+2) {
            display: flex; /* Show 2 cards on medium devices */
        }
        .carousel-card {
            margin: 5px;
            padding: 10px;
            max-width: 45%; /* Two cards side by side */
        }
        .carousel-card img {
            height: 180px;
        }
    }
    
    @media (max-width: 767px) {
        .carousel-item .carousel-card {
            display: none; /* Hide all cards */
        }
        .carousel-item .carousel-card:nth-child(1) {
            display: flex; /* Show only 1 card on small devices */
        }
        .carousel-card {
            margin: 5px auto;
            max-width: 90%; /* Center single card */
            padding: 10px;
        }
        .carousel-card img {
            height: 150px;
        }
    }
    
    /* Footer */
    footer {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    footer a:hover {
        color: var(--accent-color) !important;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-section {
            min-height: 70vh;
            text-align: center;
        }
        
        .display-4 {
            font-size: 2rem;
        }
        
        .hero-content .btn {
            margin-bottom: 10px;
        }
        
        .top-bar {
            text-align: center;
        }
        
        .top-bar .col-md-6:last-child {
            margin-top: 10px;
        }
    }
    
    @media (max-width: 576px) {
        .navbar-brand {
            font-size: 1.2rem !important;
        }
        
        .hero-content .btn {
            display: block;
            width: 100%;
            margin-bottom: 15px;
        }
        
        .feature-card,
        .service-card {
            margin-bottom: 30px;
        }
    }
    
    /* Loading Animation */
    .loading {
        opacity: 0;
        animation: fadeIn 0.5s ease-in-out forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
    
    /* Smooth Scrolling */
    html {
        scroll-behavior: smooth;
    }
    
    /* Custom Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for readability */
}

.page-header h1,
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for header text */
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Value Cards */
.value-card {
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

/* Stat Cards */
.stat-card {
    transition: var(--transition);
    border: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Feature Highlights */
.feature-highlight {
    transition: var(--transition);
}

.feature-highlight:hover {
    transform: translateY(-5px);
}

/* Contact Info Cards */
.contact-info-card {
    transition: var(--transition);
    border: none;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    background-color: white !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Business Hours and Quick Contact */
.business-hours-card,
.quick-contact-card {
    transition: var(--transition);
}

.business-hours-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Gallery Filter */
.btn-group .btn {
    transition: var(--transition);
}

.btn-outline-primary.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Map Container */
.map-container {
    min-height: 400px;
}

/* Carousel Styles */
.carousel-item img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.carousel-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0px 15px;
    margin: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-card img {
    border-radius: 8px;
}

.testimonial-logo {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgb(0 0 0 / 0%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 50%;
}

/* Responsive Carousel Adjustments */
@media (max-width: 991px) {
    .carousel-card {
        margin: 5px;
        padding: 10px;
    }
    .carousel-item img {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .carousel-card {
        margin: 5px auto;
        max-width: 90%;
    }
    .carousel-item img {
        height: 150px;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-content .btn {
        margin-bottom: 10px;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .top-bar .col-md-6:last-child {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .hero-content .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .feature-card,
    .service-card {
        margin-bottom: 30px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}



/* Custom CSS for Bimal Infrastructure & Traders */

/* Global Styles */
:root {
    --primary-color: #0D47A1;
    --secondary-color: #1976D2;
    --accent-color: #FFC107;
    --dark-color: #212529;
    --light-color: #F8F9FA;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    font-size: 14px;
    border-bottom: 1px solid #495057;
}

.top-bar a {
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-color) !important;
}

/* Navigation */
.navbar {
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Quick Contact Buttons */
.quick_contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.quick_contact_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
    text-decoration: none;
}

.quick_contact_btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.qwhtsapp {
    background: #25D366;
}

.qcall {
    background: var(--primary-color);
}

.quick_contact_btn::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: wave 1.5s infinite ease-out;
}

@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .quick_contact {
        bottom: 0;
        right: 0;
        left: 0;
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
    }

    .quick_contact_btn {
        width: 50% !important;
        height: 50px;
        font-size: 20px;
        margin-bottom: 0;
        border-radius: 0;
    }

    .qwhtsapp, .qcall {
        width: calc(50% - 15px);
    }

    .quick_contact_btn::before {
        border-radius: 0;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 430px !important;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Cards */
.feature-card,
.service-card,
.testimonial-card,
.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-card .card-img-top,
.testimonial-card .card-img-top,
.gallery-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body,
.testimonial-card .card-body {
    padding: 15px;
}

.gallery-image {
    position: relative;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(99 100 100 / 80%) 0%, rgb(57 79 102 / 80%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    padding: 20px;
}

.testimonial-logo {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* Carousel Styles */
.carousel {
    padding: 0 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50% 50%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--accent-color);
}

/* Responsive Carousel Adjustments */
@media (max-width: 991px) {
    .service-card .card-img-top,
    .testimonial-card .card-img-top,
    .gallery-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .service-card .card-img-top,
    .testimonial-card .card-img-top,
    .gallery-card .card-img-top {
        height: 150px;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        /* min-height: 70vh; */
        text-align: center;
        height: 200px !important;
    }

    .display-4 {
        font-size: 2rem;
    }

    .top-bar {
        text-align: center;
    }

    .top-bar .col-md-6:last-child {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }

    .feature-card,
    .service-card {
        margin-bottom: 30px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}




