* {
    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 0.5s, visibility 0.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: 0.2s;
}

.preloader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.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, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 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 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-hero-overlay {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.85), rgba(30, 41, 59, 0.8));
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle;
}

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 6s ease-in-out 2s infinite;
}

/* Team Card */
.team-card {
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-img {
    transition: transform 0.5s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Value Card */
.value-card {
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(15, 118, 110, 0.15);
}

.value-card:hover .value-icon {
    background: #0F766E;
    color: white;
    transform: rotateY(180deg);
}

.value-icon {
    transition: all 0.6s ease;
}

/* Timeline */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E5E7EB;
    transform: translateX(-50%);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0F766E;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #0F766E;
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }
}

/* Award Card */
.award-card {
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: scale(1.05);
}

/* Stats */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Partner Logo */
.partner-item {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s;
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Video Button */
.video-play-btn {
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(245, 158, 11, 0);
    }
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Marquee */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* CTA Section Pattern */
.pattern-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}