body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}


.breadcrumb-area {
    background: #f7f7f7;
    padding: 20px 0;
}

.elementor-section {
    padding: 40px 0;
}

.banner-section-content h1 {
    font-size: 2rem;
    font-weight: bold;
}

.banner-section-content p {
    font-size: 1rem;
}

.btn_wrapper .default-btn {
    margin-right: 15px;
    margin-top: 10px;
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

    .btn_wrapper .default-btn:hover {
        background: #0056b3;
    }

.elementor-social-icons-wrapper a {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #333;
}

.elementor-image-box {
    text-align: center;
    margin-bottom: 30px;
}

    .elementor-image-box img {
        margin-bottom: 10px;
    }

    .elementor-image-box h3 {
        font-size: 1.1rem;
    }

@media (max-width: 768px) {
    .elementor-column {
        margin-bottom: 30px;
    }

    .banner-section-content h1 {
        font-size: 1.5rem;
    }

    .elementor-image-box h3 {
        font-size: 1rem;
    }
}
.custom-contact-section h2 {
    font-size: 2rem;
    color: #0d6efd;
}

.custom-contact-section .form-control {
    border-radius: 0.75rem;
}

.custom-contact-section .btn-primary {
    background: linear-gradient(135deg, #0d6efd, #007bff);
    border: none;
}

    .custom-contact-section .btn-primary:hover {
        background: linear-gradient(135deg, #0056b3, #004ba0);
    }
.footer {
    background: linear-gradient(135deg, #121212, #1e1e1e);
    color: #ccc;
}

    .footer h5 {
        color: #fff;
    }

    .footer a:hover {
        color: #0d6efd;
        transition: 0.3s;
    }

.back-to-top .btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
}
.banner-section-content h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #0d6efd;
}

.banner-section-content p {
    font-size: 1.25rem;
    color: #333;
}

.btn_wrapper a.default-btn {
    margin-right: 10px;
}

.elementor-image-box {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

    .elementor-image-box img {
        margin-bottom: 10px;
    }

.card-img-top {
    height: 300px;
    object-fit: cover;
}

.social-icons i {
    background-color: #0d6efd;
    padding: 6px;
    border-radius: 50%;
    color: #fff;
}
.navbar-nav .nav-link {
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #0d6efd;
        text-decoration: underline;
    }
/* Add scroll spacing for anchor links */
section[id] {
    scroll-margin-top: 100px; /* Adjust this value based on your navbar height */
}
.card-img-overlay {
    transition: background-color 0.3s ease;
}

.card:hover .card-img-overlay {
    background-color: rgba(0, 0, 0, 0.65);
}

.card-img-top {
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}
.hover-shadow:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}
.g-5, .gx-5 {
    --bs-gutter-x: 0rem;
}
/* Global Styles & Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: #343a40; /* Darker text for readability */
    background-color: #f8f9fa; /* Light background */
}

html {
    scroll-behavior: smooth;
}

/* Navbar Enhancements */
.navbar {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly translucent white */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
}

.navbar-brand img {
    height: 45px; /* Adjust logo size */
    transition: transform 0.3s ease;
}

    .navbar-brand img:hover {
        transform: scale(1.05);
    }

.navbar-nav .nav-link {
    font-weight: 500;
    color: #495057; /* Darker grey for links */
    transition: all 0.3s ease;
    padding: 0.5rem 1rem; /* Adjust padding */
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #007bff; /* Primary blue */
        text-decoration: none; /* Remove underline */
        transform: translateY(-2px); /* Slight lift on hover */
    }

/* Sections Padding & Scroll Margin */
section {
    padding: 80px 0; /* More vertical space for sections */
}

    section[id] {
        scroll-margin-top: 80px; /* Adjust based on fixed navbar height */
    }

/* --- General Elements --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #212529;
}

.display-4 {
    font-weight: 700;
    color: #007bff;
}

.lead {
    font-size: 1.35rem;
    color: #5a6268;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3); /* Gradient background */
    border: none;
    padding: 14px 30px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

    .btn-primary:hover {
        background: linear-gradient(45deg, #0056b3, #003f80);
        transform: translateY(-3px) scale(1.02); /* Lift and slight grow */
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    }

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #007bff;
        color: #fff;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
    }

/* --- Banner Section --- */
.banner-section {
    background: url('@ViewBag.BaseUrl/images/banner-bg.jpg') no-repeat center center / cover; /* Example background image */
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden; /* Ensure no overflow from animations */
}

    .banner-section::before { /* Overlay for better text readability */
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    }

    .banner-section .container {
        position: relative; /* Ensure content is above overlay */
        z-index: 1;
    }

.banner-section-content {
    max-width: 800px;
    margin: 0 auto;
}

    .banner-section-content h1 {
        font-size: 3.8rem;
        color: #fff; /* White text for banner */
        animation: fadeInDown 1s ease-out; /* Animation for heading */
    }

    .banner-section-content p {
        font-size: 1.6rem;
        color: #e9ecef;
        animation: fadeInUp 1.2s ease-out; /* Animation for paragraph */
    }

.banner-section .btn_wrapper {
    margin-top: 40px;
    animation: fadeInUp 1.4s ease-out; /* Animation for buttons */
}

/* Carousel Customization */
.carousel-item {
    padding: 40px 0; /* Add padding to carousel items */
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1); /* Make arrows visible on dark background */
}

/* --- About Us Section --- */
#about img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

    #about img:hover {
        transform: translateY(-5px); /* Subtle lift on hover */
    }

#about h2 {
    font-size: 2.5rem;
    color: #007bff;
}

#about h3 {
    color: #495057;
    margin-top: 15px;
    margin-bottom: 25px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Services Section --- */
#services {
    background-color: #f8f9fa;
}

    #services .text-center h2 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    #services .text-center p {
        font-size: 1.2rem;
        color: #6c757d;
    }

.service-card {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-10px) scale(1.02); /* More prominent lift and slight grow */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        background: linear-gradient(135deg, #e0f2ff, #fff); /* Subtle gradient on hover */
    }

    .service-card img {
        width: 70px; /* Larger icons */
        height: 70px;
        object-fit: contain;
        margin-bottom: 20px;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1)); /* Icon shadow */
    }

    .service-card h5 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #343a40;
    }

/* --- Team Section --- */
#team {
    background-color: #fff;
}

    #team .text-center h2 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    #team .text-center p {
        font-size: 1.2rem;
        color: #6c757d;
    }

.team-card {
    border: none;
    border-radius: 15px;
    overflow: hidden; /* Ensure image corners are rounded */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .team-card img {
        height: 320px; /* Consistent image height */
        object-fit: cover;
        width: 100%;
        transition: transform 0.3s ease;
    }

    .team-card:hover img {
        transform: scale(1.08); /* Zoom effect on hover */
    }

    .team-card .card-body {
        padding: 25px;
        background-color: #f8f9fa; /* Light background for body */
    }

    .team-card .card-title {
        font-size: 1.4rem;
        font-weight: 600;
        color: #007bff;
        margin-bottom: 5px;
    }

    .team-card .text-muted {
        font-size: 1rem;
    }

/* --- Contact Section --- */
#contact {
    background-color: #e9f5ff; /* Light blue background */
}

    #contact img {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        height: auto; /* Allow image to scale */
        max-width: 100%;
        object-fit: cover;
    }

    #contact .bg-white {
        border-radius: 15px !important; /* Override default Bootstrap border-radius */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px !important;
    }

    #contact h2 {
        font-size: 2.5rem;
        color: #007bff;
        margin-bottom: 20px;
    }

    #contact p {
        font-size: 1.1rem;
        color: #5a6268;
    }

    #contact .form-floating .form-control {
        border-radius: 10px;
        border: 1px solid #ced4da;
        padding: 1.2rem 0.75rem; /* Adjust padding for better label floating */
    }

    #contact .form-floating label {
        color: #6c757d;
    }

    #contact .form-floating .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    }

    #contact textarea.form-control {
        min-height: 150px; /* Make textarea taller */
    }

    #contact .btn-primary {
        width: 100%; /* Full width button */
    }

/* --- Animation Keyframes --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for Sections on Scroll (using JavaScript) */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px); /* Start further down */
    transition: opacity 0.9s ease-out, transform 0.9s ease-out; /* Slower and smoother */
}

    .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .banner-section-content h1 {
        font-size: 3rem;
    }

    .banner-section-content p {
        font-size: 1.4rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 80px 0;
    }

    .banner-section-content h1 {
        font-size: 2.5rem;
    }

    .banner-section-content p {
        font-size: 1.2rem;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .service-card, .team-card {
        margin-bottom: 25px; /* Add space between cards on small screens */
    }

    #about img {
        margin-bottom: 30px;
    }

    #contact .col-lg-6 {
        margin-bottom: 30px; /* Space between image and form on small screens */
    }
}

@media (max-width: 576px) {
    .banner-section-content h1 {
        font-size: 2rem;
    }

    .banner-section-content p {
        font-size: 1rem;
    }

    .btn_wrapper .btn {
        display: block;
        margin: 10px auto;
    }

    .service-card img {
        width: 60px;
        height: 60px;
    }

    .service-card h5 {
        font-size: 1.15rem;
    }
}
/* Custom CSS for the Chatbot */

/* Chatbot Button */
.chatbot-toggle-button {
    position: fixed;
    bottom: 30px; /* Increased from 20px */
    right: 30px; /* Increased from 20px */
    z-index: 1000; /* Higher z-index to ensure it's on top */
    cursor: pointer;
    background-color: var(--rudrra-blue, #007bff); /* Use your primary blue or default */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25); /* More prominent shadow */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px; /* Slightly larger button */
    height: 70px;
}

    .chatbot-toggle-button:hover {
        transform: scale(1.05) translateY(-3px); /* Subtle lift on hover */
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    }

    .chatbot-toggle-button img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Ensure icon scales well */
    }

/* Chatbot Button Animation (from Animate.css) */
.animate__pulse {
    animation-duration: 2s; /* Adjust duration */
    animation-iteration-count: infinite;
}


/* Chatbot Window */
.chatbot-window {
    position: fixed;
    bottom: 110px; /* Position above the button */
    right: 30px;
    width: 350px; /* Slightly wider */
    max-width: 90vw; /* Responsive width */
    height: 450px; /* Slightly taller */
    background: #fff;
    border: 1px solid #dee2e6; /* Lighter border */
    border-radius: 15px; /* More rounded corners */
    z-index: 1000; /* Same as button */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack header, messages, input vertically */
    overflow: hidden; /* Hide anything outside */
}

/* Chatbot Header */
.chatbot-header {
    padding: 15px 20px; /* More padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle separator */
    font-size: 1.1rem;
    position: relative;
    z-index: 1; /* Ensure it's above messages on scroll */
    background-color: var(--rudrra-blue, #007bff); /* Use your primary blue */
}

    .chatbot-header .btn-close-white {
        opacity: 0.8; /* Make close button slightly transparent */
        transition: opacity 0.2s ease;
    }

        .chatbot-header .btn-close-white:hover {
            opacity: 1;
        }


/* Chatbot Messages Area */
.chatbot-messages {
    flex-grow: 1; /* Allows it to take up available space */
    overflow-y: auto; /* Scrollable messages */
    padding: 15px;
    background-color: #f8f9fa; /* Light grey background for chat area */
    display: flex; /* Use flexbox for messages */
    flex-direction: column; /* Stack messages */
    gap: 10px; /* Space between messages */
}

/* Individual Chat Messages */
.chat-message {
    padding: 10px 15px;
    border-radius: 15px; /* Rounded bubbles */
    max-width: 85%; /* Don't take full width */
    word-wrap: break-word; /* Prevent long words from overflowing */
    font-size: 0.95rem;
    line-height: 1.5;
}

.user-message {
    background-color: var(--rudrra-blue, #007bff);
    color: #fff;
    align-self: flex-end; /* Align user messages to the right */
    border-bottom-right-radius: 5px; /* Sharpen one corner for a bubble look */
}

.bot-message {
    background-color: #e9ecef; /* Light grey for bot messages */
    color: var(--text-dark, #343a40);
    align-self: flex-start; /* Align bot messages to the left */
    border-bottom-left-radius: 5px; /* Sharpen one corner */
}

/* Loading Indicator */
.loading-dots {
    background-color: #e9ecef;
    color: var(--text-dark, #343a40);
    align-self: flex-start;
    animation: fadeIn 0.3s ease-out; /* Simple fade in for loading indicator */
}

    .loading-dots span {
        animation: blink 1.4s infinite steps(1); /* Blink dots */
    }

    .loading-dots .dot-1 {
        animation-delay: 0s;
    }

    .loading-dots .dot-2 {
        animation-delay: 0.2s;
    }

    .loading-dots .dot-3 {
        animation-delay: 0.4s;
    }

@keyframes blink {
    0%, 20% {
        opacity: 0;
    }

    40%, 100% {
        opacity: 1;
    }
}


/* Chatbot Input Area */
.chatbot-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e9ecef; /* Separator above input */
    background-color: #fff;
}

    .chatbot-input-area .form-control {
        flex-grow: 1; /* Input takes most space */
        border-radius: 25px; /* Pill-shaped input */
        padding: 10px 18px;
        border-color: #ced4da;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .chatbot-input-area .form-control:focus {
            border-color: var(--rudrra-blue, #007bff);
            box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
        }

    .chatbot-input-area .send-button {
        margin-left: 10px;
        border-radius: 50%; /* Circular send button */
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        flex-shrink: 0; /* Don't let it shrink */
        background-color: var(--rudrra-blue, #007bff);
        border-color: var(--rudrra-blue, #007bff);
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

        .chatbot-input-area .send-button:hover {
            background-color: var(--rudrra-dark-blue, #0056b3);
            border-color: var(--rudrra-dark-blue, #0056b3);
            transform: scale(1.05);
        }

/* Responsive Adjustments for Chatbot */
@media (max-width: 576px) {
    .chatbot-toggle-button {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        padding: 8px;
    }

    .chatbot-window {
        width: calc(100vw - 30px); /* Fill most of the screen width */
        height: 70vh; /* Make it taller on small screens */
        bottom: 80px; /* Adjust position */
        right: 15px;
    }

    .chatbot-header {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .chatbot-messages {
        padding: 10px;
        gap: 8px;
    }

    .chat-message {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .chatbot-input-area {
        padding: 10px;
    }

        .chatbot-input-area .form-control {
            padding: 8px 15px;
        }

        .chatbot-input-area .send-button {
            width: 40px;
            height: 40px;
            font-size: 1rem;
            margin-left: 8px;
        }
}