/* Scroll effect */

/* COMPLETE HEADER STICKY */

.main-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: #fff;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* COMPLETE HEADER STICKY */

.topbar {
    background: #3b1f71;
    color: #fff;
    display: flex;
    align-items: center;
}

/* DESKTOP HEADER */

/* HEADERS */
.mobile-header,
.desktop-header {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.desktop-header {
    text-align: center;
    padding: 6px 0px 2px 0px;
    background: #f5f5f5;
}

.desktop-header {
    background: #f5f5f5;
    text-align: center;
}

.mobile-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.desktop-logo {
    height: 90px;
}

.desktop-menu {
    list-style: none;
    padding: 0;
    margin-top: 12px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.desktop-menu li {
    display: inline-block;
    margin: 0 25px;
}

.desktop-menu a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.desktop-menu a:hover {
    color: #d11f4e;
}

/* MOBILE HEADER */

.mobile-header {
    display: none;
    background: white;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    height: 70px;
}

.menu-btn {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* MOBILE MENU */

.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: #f3f3f3;
    z-index: 9999;
    transition: 0.4s;
    padding: 25px;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-btn {
    font-size: 28px;
    cursor: pointer;
}

.menu-links {
    list-style: none;
    padding: 0;
}

.menu-links li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.menu-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    letter-spacing: 1px;
}

.custom-footer {
    background: #e9ddff;
    padding: 80px 0 50px;
    color: #000000;
}

.footer-logo {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li a {
    color: #010101;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-menu li a:hover {
    color: #3d2072;
    transform: translateY(-2px);
}

.footer-divider {
    width: 80%;
    height: 1px;
    background: #ceb3ff;
    margin: 25px auto;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social img {
    width: 25px;
    display: inline-block;
    margin: 0 4px;
    transition: 0.3s;
}

.footer-social img:hover {
    transform: scale(1.1);
    color: #ffd166;
}

.footer-copy {
    font-size: 14px;
    opacity: 0.9;
}

/* SOCIAL */

.social-icons {
    margin-top: 30px;
}

.social-icons i {
    margin-right: 15px;
    font-size: 16px;
}

/* OVERLAY */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }
}

/* DESKTOP DROPDOWN */

.dropdown {
    position: relative;
}

.dropdown-menu-custom {
    position: absolute;
    top: 45px;
    left: -45px;
    z-index: 99;
    background: white;
    min-width: 225px;
    list-style: none;
    padding: 0px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.dropdown-menu-custom li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #e3e7e3;
}

.dropdown-menu-custom a {
    display: block;
    padding: 8px 15px;
    font-size: 11px;
    letter-spacing: 1px;
}

.dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-submenu {
    display: none;

    padding-left: 15px;
    list-style: none;
}

.mobile-submenu li {
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #e3e7e3;
}

.mobile-dropdown-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.contact-form {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#map iframe {
    border-radius: 8px;
}

/*/////////////// TOP BAR START HERE ////////////////// */
/*/////////////// TOP BAR START HERE ////////////////// */

.marquee-text {
    flex: 1;
    border-right: 2px solid white;
    margin-right: 0px;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    display: inline-block;
    animation: marquee 15s linear infinite;
    padding-left: 100%;
    /* Start from outside */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-text:hover .marquee-content {
    animation-play-state: paused;
}

.whatsapp-img {
    display: flex;
    align-items: center;
}

.topbar-icons {
    display: flex;
      font-size: 13px;
    padding: 10px 0px 10px 10px;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
    margin-left: auto; /* 🔥 THIS LINE FIXES IT */
}

.topbar {
    top: 0;
  
    background: #3b1f71;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: transform 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* optional */
}

.bgtopbar {
    background-color: #3b1f71;
}

.icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.enquiry-icon {
    background: #fe2e62;
}

.whatsapp-icon {
    background: #25d366;
}

.whatsapp-img {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.whatsapp-img i {
    color: white;
    font-size: 18px;
}

.topbar {
    box-sizing: border-box;
}

/*/////////////// TOP BAR END HERE ////////////////// */
/*/////////////// TOP BAR END HERE ////////////////// */

/*/////////////// TOP BAR END HERE ////////////////// */
/*/////////////// TOP BAR END HERE ////////////////// */
/*/////////////// TOP BAR END HERE ////////////////// */
/*/////////////// TOP BAR END HERE ////////////////// */

/* WhatsApp fixed button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    font-size: 24px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 999;
}

.whatsapp-text {
    background: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    margin-right: 8px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ////  SPARK ANIMATION START HERE /////////////// */
.sparkle-star {
    position: fixed;
    font-size: 30px;
    pointer-events: none;
    animation: sparkleFade 0.8s linear forwards;
}

@keyframes sparkleFade {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(0.3) rotate(180deg);
        opacity: 0;
    }
}

/* //////////////////////POPPUP SHOW START /////////////////////////// */
/* public/css/popup.css */

/* Popup Container - Top Center */
.popup-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    width: auto;
    pointer-events: none;
}

/* Popup Message Styles */
.popup-message {
    background: white;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
    position: relative;
    pointer-events: auto;
    border-left: 4px solid;
}

/* Different Types with Your Colors */
.popup-success {
    border-left-color: #362072;
}

.popup-success .popup-icon {
    background: #362072;
    color: white;
}

.popup-error {
    border-left-color: #fe2e62;
}

.popup-error .popup-icon {
    background: #fe2e62;
    color: white;
}

.popup-warning {
    border-left-color: #fe2e62;
}

.popup-warning .popup-icon {
    background: #fe2e62;
    color: white;
}

.popup-info {
    border-left-color: #362072;
}

.popup-info .popup-icon {
    background: #362072;
    color: white;
}

/* Icon Styles */
.popup-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}

/* Content Styles */
.popup-content {
    flex: 1;
}

.popup-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
    font-size: 15px;
}

.popup-message-text {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

/* Close Button */
.popup-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.popup-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.popup-message.hide {
    animation: slideUp 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .popup-container {
        left: 20px;
        right: 20px;
        transform: none;
        min-width: auto;
    }

    .popup-message {
        padding: 12px 16px;
    }
}

/* //////////////////////POPPUP SHOW END /////////////////////////// */

/* /////////////////////////  LOADER SHOW START HERE /////////////////////////////// */

/* Loader Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

/* Loader Container */
.loader-container {
    text-align: center;
    background: white;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.3s ease;
}

/* Spinner Animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #362072;
    border-right: 4px solid #fe2e62;
    border-bottom: 4px solid #362072;
    border-left: 4px solid #fe2e62;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Alternative Pulse Loader */
.pulse-loader {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
}

.pulse-loader:before,
.pulse-loader:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #362072;
    opacity: 0.6;
    animation: pulse 2s ease-out infinite;
}

.pulse-loader:after {
    animation-delay: -1s;
    background: #fe2e62;
}

/* Loader Text */
.loader-text {
    color: #1f2937;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}

.loader-subtext {
    color: #6b7280;
    font-size: 13px;
    margin-top: 8px;
}

/* Progress Bar */
.progress-bar-container {
    width: 250px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 20px auto 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #362072, #fe2e62);
    width: 0%;
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .loader-container {
        padding: 25px 30px;
        margin: 0 20px;
    }

    .spinner {
        width: 40px;
        height: 40px;
    }

    .loader-text {
        font-size: 14px;
    }
}
/* /////////////////////////  LOADER SHOW END HERE /////////////////////////////// */

/* ///////////////////////////////////////////////////////////////////////// */
/* //////// RESPONSIVE CSS START HERE   ///////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////// */

/* Responsive Styles */
@media (max-width: 991px) {
    .topbar-icons a:last-child {
        margin-right: 10px;
        /* Adds margin to the last element (WhatsApp link) */
    }
}

@media (max-width: 768px) {
    .topbar-icons a:last-child {
        margin-right: 10px;
        /* Adds margin to the last element (WhatsApp link) */
    }
}

@media (max-width: 440px) {
    .topbar-icons a:last-child {
        margin-right: 10px;
        /* Adds margin to the last element (WhatsApp link) */
    }

    .mobile-heading-size {
        font-size: 20px !important;
    }
    .footer-about-text {
        font-size: 12px;
    }
}
