/********** Template CSS **********/
:root {
    --primary: #010052;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Gold utility */
.bg-gold {
    background-color: #EFBF04 !important;
}

.btn-gold {
    background-color: #EFBF04 !important;
    border-color: #EFBF04 !important;
    color: #000000 !important;
}

.btn-gold:hover {
    background-color: #d6a903 !important;
    border-color: #d6a903 !important;
    color: #000000 !important;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}


/* FAQ Section */
.faq-item {
    cursor: pointer;
    transition: .5s;
    border-left: 4px solid var(--primary);
}

.faq-item:hover {
    background: #EFBF04 !important;
    color: #000 !important;
}

.faq-item:hover h5 {
    color: #000 !important;
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item:hover .faq-answer {
    max-height: 200px;
    opacity: 1;
    color: #000;
}

/* WhatsApp Chat */
.whatsapp-chat {
    position: fixed;
    bottom: 90px;
    right: 45px;
    z-index: 98;
}

.chat-popup {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.chat-popup.show {
    display: block;
}

.chat-header {
    background: #25D366;
    color: #fff;
    padding: 15px;
    font-family: 'Jost', sans-serif;
}

.chat-body {
    padding: 15px;
}

.chat-body .chat-greeting {
    background: #EEF9FF;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.chat-footer {
    padding: 12px 15px;
    border-top: 1px solid #eee;
}

.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    color: #fff !important;
}

/* Privacy Overlay */
#privacy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

#privacy-overlay.show {
    display: flex;
}

#privacy-modal {
    background: #fff;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease;
}

#privacy-modal img {
    max-height: 50px;
    margin-bottom: 15px;
}

#privacy-modal h4 {
    color: var(--primary);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
}

#privacy-modal p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

#privacy-modal .privacy-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

#privacy-modal .btn-accept {
    background-color: #EFBF04;
    border: none;
    color: #000;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
    font-family: 'Jost', sans-serif;
}

#privacy-modal .btn-accept:hover {
    background-color: #d6a903;
}

#privacy-modal .btn-dismiss {
    background: none;
    border: 1px solid #ddd;
    color: #999;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
    font-family: 'Jost', sans-serif;
}

#privacy-modal .btn-dismiss:hover {
    background: #f5f5f5;
    color: #666;
}