* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity .5s, visibility .5s
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden
}

.preloader-plane {
    animation: flyPlane 2s ease-in-out infinite
}

@keyframes flyPlane {

    0%,
    100% {
        transform: translateX(0) translateY(0)
    }

    25% {
        transform: translateX(20px) translateY(-10px) rotate(5deg)
    }

    50% {
        transform: translateX(0) translateY(-20px)
    }

    75% {
        transform: translateX(-20px) translateY(-10px) rotate(-5deg)
    }
}

.preloader-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
    margin-top: 15px
}

.preloader-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin: 0 4px;
    animation: dotBounce 1.4s ease-in-out infinite
}

.preloader-dots span:nth-child(2) {
    animation-delay: .2s
}

.preloader-dots span:nth-child(3) {
    animation-delay: .4s
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(.6);
        opacity: .5
    }

    40% {
        transform: scale(1);
        opacity: 1
    }
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: #0F766E;
    border-radius: 10px
}

.navbar-scrolled {
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    backdrop-filter: blur(20px)
}

.navbar-scrolled .nav-link {
    color: #1E293B !important
}

.navbar-scrolled .nav-logo {
    color: #0F766E !important
}

.navbar-scrolled .nav-cta {
    background: #0F766E !important;
    color: white !important
}

.navbar-scrolled .menu-icon {
    color: #1E293B !important
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1)
}

.mobile-menu.active {
    transform: translateX(0)
}

.mobile-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all .3s
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.page-hero-overlay {
    background: linear-gradient(135deg, rgba(15, 118, 110, .85), rgba(30, 41, 59, .8))
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, .5);
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle
}

/* Category Card */
.cat-card {
    transition: all .4s ease;
    cursor: pointer
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(15, 118, 110, .15)
}

.cat-card:hover .cat-icon {
    background: #0F766E;
    color: white;
    transform: rotateY(180deg)
}

.cat-icon {
    transition: all .6s ease
}

.cat-card.active {
    border-color: #0F766E;
    background: rgba(15, 118, 110, .02)
}

.cat-card.active .cat-icon {
    background: #0F766E;
    color: white
}

/* Accordion */
.faq-item {
    transition: all .3s ease
}

.faq-item:hover {
    border-color: #14B8A6
}

.faq-item.open {
    border-color: #0F766E;
    background: #F0FDFA
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(180deg);
    color: #0F766E
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s ease
}

.faq-item.open .faq-content {
    max-height: 500px
}

.faq-toggle-icon {
    transition: transform .3s ease
}

/* Search */
.search-input:focus {
    border-color: #0F766E;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, .08)
}

.search-highlight {
    background: #FEF3C7;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600
}

/* No Results */
@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.float-anim {
    animation: float 3s ease-in-out infinite
}

/* Contact Cards */
.contact-card {
    transition: all .3s ease
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, .1)
}

/* Pattern */
.pattern-dots {
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 20px 20px
}

.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all .3s
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s
}

.btn-primary:hover::before {
    left: 100%
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all .3s
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible
}

/* Helpful */
.helpful-btn {
    transition: all .2s
}

.helpful-btn:hover {
    color: #0F766E
}

.helpful-btn.voted {
    color: #0F766E;
    font-weight: 600
}