/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
    --primary-color: #002147;
    --secondary-color: #fd7e14;
    --accent-color: #f8f9fa;

    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    overflow-x: hidden;
    opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

/* Navbar .offcanvas */
.offcanvas {
    width: 100% !important;
}


/*  Carousel Section Start   */
.hero-slide {
    height: 85vh;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 33, 71, 0.85),
            rgba(0, 82, 155, 0.55));
    display: flex;
    align-items: center;
}

.hero-content {
    background: white;
    padding: 30px;
    border-radius: 5px;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #ff8c1a;
}

/* PopUp Image Full code */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
}

.popup-content {
    position: relative;
    max-width: 400px;
    width: 85%;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    display: block;
}

.popup-overlay.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.popup-content {
    position: relative;
    max-width: 420px;
    width: 85%;
    background: transparent;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-overlay.show .popup-content {
    transform: translateY(0) scale(1);
}

.popup-content img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #000;
    color: #fff;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-family: Arial, sans-serif;
    z-index: 100;
    border: 2px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: green;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 15px #e74c3c;
}

/* PopUp Image full Code End Here */

/* Icons Whatsapp and Chatbot Start  */

.contact-stack {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
}

.whatsapp-float {
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebc57;
    transform: scale(1.1);
    color: white;
}

.chat-btn {
    width: 55px;
    height: 55px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.chat-btn:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.chat-box {
    position: fixed;
    bottom: 5px;
    right: 5px;
    width: 320px;
    max-height: 450px;
    background: white;
    border-top-left-radius: 15px;
    box-shadow: -5px -5px 25px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 10000;
    flex-direction: column;
    overflow: hidden;
}

.chat-box.active {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    background: #f9f9f9;
}

.bot-msg {
    background: #f8f9fa;
    color: #2d3436;
    padding: 12px 15px;
    border-radius: 0 12px 12px 12px;
    margin-bottom: 10px;
    max-width: 85%;
    align-self: flex-start;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.user-msg {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    margin-bottom: 10px;
    max-width: 85%;
    align-self: flex-end;
    margin-left: auto;
    font-size: 14px;
}

.chat-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-top: 15px;
    padding: 5px;
}

.chat-options button {
    background: #ffffff;
    color: #0d6efd;
    border: 1.5px solid #0d6efd;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-options button:hover {
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.loading-msg {
    font-style: italic;
    color: #6c757d;
    font-size: 12px;
    display: flex;
    align-items: center;
}

/* Icons Whatsapp and Chatbot End */

/* footer Start Here */

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

footer a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

/* Footet End Here */


/* ======================== Media Queery ======================== */

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.666667%;
    }
}

@media (max-width: 576px) {
    .success-img-small {
        height: 130px;
    }

    .success-card h6 {
        font-size: 0.8rem !important;
    }
}

/* ANIMATION */
@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 1.8rem !important;
    }
}


@media (max-width: 480px) {
    .popup-content {
        max-width: 320px;
    }

    .close-btn {
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        max-width: 300px;
    }
}

@keyframes floatImg {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-8px) scale(1.05);
    }
}