/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    height: 60px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    margin: 0.5rem 0 0 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #3b82f6;
    border-left-color: #3b82f6;
    padding-left: 2rem;
}

.dropdown-menu a svg {
    flex-shrink: 0;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Header CTA Button */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.300rem 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: rgb(0, 0, 0);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.menu-line {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: #0f172a;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Mobile Nav List */
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mobile-nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: white;
    transform: translateX(5px);
}

.mobile-nav-link svg {
    flex-shrink: 0;
}

/* Mobile Dropdown */
.mobile-dropdown {
    margin-bottom: 0.5rem;
}

.mobile-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: none;
    border: none;
    color: #cbd5e1;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mobile-dropdown-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

.mobile-dropdown-btn span {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 3rem;
    list-style: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-menu li {
    margin: 0;
}

.mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 2px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.mobile-dropdown-menu a:hover {
    color: white;
    border-left-color: #3b82f6;
    padding-left: 1.5rem;
}

.mobile-dropdown-menu a svg {
    flex-shrink: 0;
}

/* Mobile Nav Footer */
.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

.mobile-cta-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.mobile-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

.mobile-contact-info svg {
    flex-shrink: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
    .nav-list {
        gap: 1rem;
    }

    .nav-link,
    .dropdown-btn {
        padding: 0.5rem 0.5rem;
        font-size: 0.9rem;
    }

    .header-cta {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-content {
        height: 55px;
    }

    .logo {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .mobile-nav {
        max-width: 100%;
    }

    .mobile-nav-header {
        padding: 1.25rem;
    }

    .mobile-nav-content {
        padding: 1.25rem;
    }

    .mobile-nav-footer {
        padding: 1.25rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

    .header,
    .mobile-nav,
    .nav-link,
    .dropdown-btn,
    .dropdown-menu,
    .mobile-nav-link,
    .mobile-dropdown-btn,
    .header-cta,
    .mobile-cta-btn {
        transition: none;
    }
}

/* Focus styles for accessibility */
.nav-link:focus-visible,
.dropdown-btn:focus-visible,
.header-cta:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-dropdown-btn:focus-visible,
.mobile-cta-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dropdown-menu {
        background: #1e293b;
        border: 1px solid #334155;
    }

    .dropdown-menu a {
        color: #cbd5e1;
    }

    .dropdown-menu a:hover {
        background: #334155;
        color: white;
    }
}





.search-results-container {
    margin: 5px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #333333a0;
    color: aqua;
    position: fixed;
    margin-top: 41px;
}

#overlayBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    animation: fadeIn 0.3s ease;
}

@media (min-width: 768px) {
    .search-results-container {
        margin: 5px;
        max-height: 400px;
        overflow-y: auto;
        padding: 10px 0;
        background-color: #333333a0;
        color: aqua;
        position: fixed;
        margin-top: 41px;
        left: 0;
        width: 30%;
    }

    #overlayBox {
        width: 30%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        justify-content: center;
        align-items: flex-start;
        padding-top: 100px;
        animation: fadeIn 0.3s ease;
    }

    section {
        max-width: 1200px;
        margin: auto;
    }

}


.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: transparent;
    z-index: 1000;
    display: none;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: none;
}

.search-box {
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.search-input-container {
    padding: 15px;
    background: white;
    border-bottom: 1px solid #eee;
}

#searchInput {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #4a6ee0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

#searchInput:focus {
    border-color: #2d4ac0;
}

.search-results-container {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(195, 170, 170, 0);
}

.result-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    background: white;
}

.result-item:hover {
    background-color: #f8f9fa;
}

.result-item.active {
    background-color: #e8f0fe;
}

.result-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.result-preview {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.highlight {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 3px;
    font-weight: 600;
}

.no-results {
    padding: 30px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}


.footer {
    padding: 20px;
    text-align: center;
}

footer {
    background-color: black;
    bottom: 0;
    color: aliceblue;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 50px;
}

footer ul {
    display: flex;
}

footer li {
    padding: 0 10px;
    list-style: none;
}

@media (max-width:750px) {
    footer {
        background-color: black;
        bottom: 0;
        color: aliceblue;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

}


/* ==========
main page
============= */






/* =============
important massige 
================*/
.floating-link {
    position: fixed;
    bottom: 30px;
    right: 30px;
    text-decoration: none;
    z-index: 9999;
}

.floating-msg {
    background: #0f172a;
    color: #3b82f6;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: floatMove 6s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.floating-msg:hover {
    transform: scale(1.05);
}

/* Moving animation */
@keyframes floatMove {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-40px, -20px);
    }

    50% {
        transform: translate(-20px, 20px);
    }

    75% {
        transform: translate(20px, -10px);
    }

    100% {
        transform: translate(0, 0);
    }
}


@media (max-width: 768px) {
    .floating-link {
        top: 18%;
        bottom: auto;
        display: inline-block;
        transform: rotate(90deg);
    }

    .floating-msg {
        font-size: 14px;
        padding: 1px 14px;
        animation: none;
        margin-top: -66%;

    }
}









/* header */
/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-bottom: 150px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .1), transparent 50%);
    z-index: 0;
}

.Hero {
    max-width: 1200px;
    margin: 10% auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* ================= LEFT ================= */
.hero-L {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-L h1 {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
}

.hero-L b {
    display: inline-block;
    margin: 20px 0;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
}

.hero-L p {
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ================= BUTTONS ================= */
.hero-button {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-button a {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.hero-button-1 {
    background: #fff;
    color: #667eea;
}

.hero-button-1:hover {
    transform: translateY(-3px);
}



.hero-button-2 {
    border: 2px solid rgba(255, 255, 255, .4);
    color: #fff;
}

.hero-button-2:hover {
    background: rgba(255, 255, 255, .15);
}

/* ================= RIGHT BOXES ================= */
.hero-R {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.h-box {
    height: 150px;
    display: grid;
    place-items: center;
    font-size: 50px;
    background: rgba(255, 255, 255, .1);
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

/* ================= STATS ================= */
.hd-box {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    z-index: 1;
    position: relative;
}

.stat {
    min-width: 200px;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
}

.stat-label {
    letter-spacing: 1px;
}

/* ================= WAVE ================= */
.wave-wrap {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}

.wasf {
    width: 100%;
    height: 130px;
}

.parallax>use {
    animation: waveMove 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-duration: 18s
}

.parallax>use:nth-child(2) {
    animation-duration: 22s
}

.parallax>use:nth-child(3) {
    animation-duration: 26s
}

.parallax>use:nth-child(4) {
    animation-duration: 30s
}

@keyframes waveMove {
    from {
        transform: translateX(-90px)
    }

    to {
        transform: translateX(85px)
    }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }
}

/* ================= MOBILE FIX ================= */
@media(max-width:992px) {
    .Hero {
        flex-direction: column;
        text-align: center;
        margin-top: 20%;
    }

    .hero-R {
        display: none
    }
}

@media(max-width:768px) {
    .hero-section {
        padding-bottom: 170px
    }

    .hero-L h1 {
        font-size: 2.8rem
    }

    .stat {
        min-width: 45%
    }
}

@media(max-width:480px) {
    .hero-L h1 {
        font-size: 2.2rem
    }

    .stat {
        min-width: 100%
    }

    .wasf {
        height: 30vh;
    }
}

/* ========== MOBILE STATS SMALL BOX FIX ========== */

/* Tablet & Mobile */
@media (max-width: 768px) {

    .hd-box {
        gap: 12px;
        margin-top: 30px;
    }

    .stat {
        min-width: 140px;
        padding: 12px 10px;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .hd-box {
        gap: 60px;
        top: 51px;
    }

    .stat {
        min-width: 120px;
        padding: 10px 8px;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.h-box {
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.h-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.h-box:hover::before {
    transform: rotate(45deg) translate(10%, 10%);
    top: 10%;
}

.h-box:nth-child(1) {
    animation-delay: 0s;
    background: rgba(255, 107, 107, 0.15);
}

.h-box:nth-child(2) {
    animation-delay: 1s;
    background: rgba(107, 255, 200, 0.15);
}

.h-box:nth-child(3) {
    animation-delay: 2s;
    background: rgba(107, 200, 255, 0.15);
}

.h-box:nth-child(4) {
    animation-delay: 3s;
    background: rgba(255, 200, 107, 0.15);
}

.h-box:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat {
    transition: all 0.4s ease;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.stat:hover::before {
    transform: rotate(45deg) translate(10%, 10%);
    top: 10%;
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 200%;
    height: 200%;
    background: linear-gradient(39deg, #55ff6e, rgba(0, 0, 0, 0), #ff8787c8);
    transform: rotate(10000deg);
    transition: transform 10.9s ease;
}


















/* ===== ABOUT PAGE ===== */
.haproven-about {
    margin-top: 100px;
    padding: 20px;
}

.about-l {
    max-width: 1000px;
    margin-bottom: 30px;
}

.about-senter {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Focus section */
.focus-section {
    flex: 1;
    padding: 25px;
    background-color: rgba(242, 243, 244, 0.957);
    border-radius: 12px;
}

.focus-section ul {
    margin-top: 10px;
    padding-left: 20px;
}

.focus-section li {
    padding: 7px 0;
}

/* Video section */
.video-section {
    flex: 1;
}

.video-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px) {
    .about-senter {
        gap: 20px;
    }
}

@media (max-width: 750px) {
    .about-senter {
        flex-direction: column;
    }

    .focus-section {
        text-align: center;
    }
}



/* =======
       What We D
 =======*/

.what-we-do {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}


.section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 51px;
}




.section-header p {
    line-height: 1.8;
    margin-top: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(203, 203, 203, 0.192);
    border-radius: 20px;
    padding: 22px;
    /* border: 1px solid rgb(56, 191, 248); */
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 2px 2px rgba(0, 0, 0, 0.911),
        0px 0 20px rgba(0, 0, 0, 0);
}


.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgb(56, 191, 248);
    box-shadow:
        0 20px 10px rgba(0, 0, 0, 0.911),
        0px 0 10px rgb(174, 77, 223);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: #38bdf8;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.2));
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}


.feature-card h3 {
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-card p {
    line-height: 1.7;

}

.decorative-dots {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(56, 189, 248, 0.2);
    border-radius: 50%;
}

.dot:nth-child(1) {
    top: 20%;
    left: 15%;
}

.dot:nth-child(2) {
    top: 40%;
    right: 20%;
}

.dot:nth-child(3) {
    bottom: 30%;
    left: 25%;
    background: rgba(125, 211, 252, 0.2);
}

.dot:nth-child(4) {
    bottom: 50%;
    right: 30%;
    background: rgba(14, 165, 233, 0.2);
}

.dot:nth-child(5) {
    top: 60%;
    left: 40%;
    background: rgba(56, 189, 248, 0.15);
}

.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(14, 165, 233, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.stat-item {
    text-align: center;
}

.Team-p {
    margin-bottom: 50px;
}


@media (max-width: 1024px) {
    .features-grid {
        gap: 30px;
        display: grid;
    }

    .feature-card {
        padding: 35px;
    }

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .what-we-do {
        padding: 40px 25px;
        /* margin-top: 367px; */
        margin-top: 20px;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    .section-header p {
        font-size: 1.15rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card h3 {
        font-size: 1.6rem;
    }

    .feature-card p {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .what-we-do {
        padding: 30px 20px;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }

    .section-header p {
        font-size: 1.05rem;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.4rem;
    }

    .stats-banner {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width:380px) {
    .section-header {
        text-align: center;
        max-width: 1000px;
    }

}




/* ============
 TOOLS & PRODUCTS
 ============== */

.tools {
    padding: 60px 20px;
    background-color: #ffffff;
}

.tools-top {
    max-width: 800px;
    margin-bottom: 40px;
}

.tools-top h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.tools-top p {
    color: #555;
    line-height: 1.6;
}

/* List Layout */
.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-item {
    padding: 20px;
    border-radius: 10px;
    background: #f9fafb;
    transition: 0.3s ease;
    box-shadow:
        0 2px 0px rgba(0, 0, 0, 0.911);
}

.tool-item:hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.tool-number {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #4f46e5;
}

.tool-item h4 {
    margin: 6px 0;
}

.tool-item i {
    color: #666;
    font-style: normal;
    font-size: 14px;
}

/* ===== MOBILE ===== */
@media (max-width: 720px) {
    .tools {
        padding: 40px 16px;
    }

    .tools-top h2 {
        font-size: 26px;
    }
}





/* =====
 HOW AT WORK SECTION
 ===== */
.How-at-work {
    display: flex;
    gap: 50px;
    flex-direction: column-reverse;
}

.How-at-work-1 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.How-at-work-1 img {
    width: 80%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.How-at-work-2 {
    flex: 1;
}

.How-at-work-2 h2 {
    margin-bottom: 15px;
}

.How-at-work-2>p {
    line-height: 1.7;
    margin-bottom: 35px;
}

.work-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.step {
    padding: 22px;
    border-radius: 16px;
    border: 0.9px solid rgba(0, 0, 0, 0.517);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    line-height: 1.6;
}

.step:hover {
    transform: translateY(-6px);
    background-color: rgba(126, 216, 255, 0.193);
    border-color: #38bdf8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .How-at-work {
        flex-direction: column;
        padding: 60px 6%;
    }

    .work-steps {
        grid-template-columns: 1fr;
    }
}






/* =======
project 
========*/
.projects {
    padding: 60px 20px;
        /* background: #5dd8ff7a; */
    border-radius: 11px;
}

.projects-header {
    margin: auto;
}

.projects-header h2 {
    text-align: center;
    font-size: 2.2rem;
}

.projects-header p {
    color: #555;
    margin: 26px 9px;
}

/* Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
}

.project-filters button {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #2563eb;
    background: transparent;
    color: #2563eb;
    cursor: pointer;
}

.project-filters button.active,
.project-filters button:hover {
    background: #2563eb;
    color: #fff;
}


/* Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Card */
.project-card {
    /* background: linear-gradient(145deg, #000000, #1e40af); */
    padding: 7px;
    border-radius: 22px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px;


}

.project-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, #000000, #1e40af);

}

.project-inner {
    background: #fff;
    padding: 20px;
    height: 100%;
    border-radius: 10px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-meta a:hover {
    color: #0bdf2a;
}

.project-inner:hover {
    background-color: rgba(0, 0, 0, 0);
    color: #f9fbff;
}

.project-inner:hover p {
    color: #d6dbe7;
}

.project-inner:hover .project-meta a {
    color: #22d3ee;
}

.project-icon {
    font-size: 42px;
}

.project-inner h3 {
    margin: 12px 0 8px;
}

.project-inner p {
    color: #000000eb;
    font-size: 0.95rem;
}

.project-meta {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 600;
}

/* CTA */
.ab-pro {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.ab-pro button {
    padding: 12px 26px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}




/* ===========
 team page
=========== */


.team {
    padding: 80px 20px;
    /* background: #0f172a; */
    /* color: #fff; */
}

.team-btn {
    padding: 30px 0 0;
    display: grid;
    width: 20%;
    margin: auto;
}

.team-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.team-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.team-header p {
    color: #323336ac;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.team-card {
    /* background: #020617; */
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid #1e293b;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
}

.team-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.team-card h3 {
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.team-card span {
    display: block;
    font-size: 0.9rem;
    color: #0456db;
    margin-bottom: 10px;
    font-weight: 500;
}

.team-card p {
    font-size: 0.9rem;
    color: #414141;

}





/* =====
   MISSION & VISION
 ===== */
.mission-vision {
    padding: 90px 0;
}

.mv-header {
    text-align: center;
    margin: 0 auto 60px;
}

.mv-header h2 {
    margin-bottom: 12px;
}

.mv-header p {
    line-height: 1.7;
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;

}

.mv-card {
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(111, 106, 106, 0.164);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.923);
}

.mv-card h3 {
    margin-bottom: 15px;
}

.mv-card p {
    line-height: 1.8;
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

@media (max-width: 768px) {
    .mission-vision {
        padding: 70px 6%;
    }
}



/*============== Join Haproven Now ===============*/
.join-page {
    position: relative;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.join-content {
    max-width: 900px;
    width: 100%;
}

.join-content h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #38bdf8;
    margin-bottom: 20px;
}

.join-content p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.8;
    margin-bottom: 50px;
}

.join-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature {
    background: rgba(56, 189, 248, 0.15);
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
}

.feature h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: blue;
}

.feature p {
    font-size: 0.95rem;
}

.feature:hover {
    transform: translateY(-6px);
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
}

.b-buttom {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 34px;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background: #38bdf8;
    color: #020617;
}

.btn.primary:hover {
    background: #0ea5e9;
}


@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .join-page {
        padding: 60px 6%;
    }

    .join-content p {
        margin-bottom: 35px;
    }


    .feature {
        padding: 5px;
        border-radius: 18px;
        border: 1px solid rgba(24, 19, 19, 0.13);
        transition: 0.3s ease;
    }

}

@media (max-width: 500px) {
    .join-content p {
        margin-bottom: 15px;
    }

}

.back-btns {
    position: absolute;
    margin-left: 10px;
    margin-top: 20px;
    z-index: 1000;
    font-size: 2rem;
    text-decoration: none;
}

/*/////// Join Haproven Now /////// */


/* ============ wave========= */
.wave {
    bottom: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* Optional smooth wave animation */
.wave use {
    animation: waveMove 18s linear infinite;
}

.wave use:nth-child(2) {
    animation-duration: 22s
}

.wave use:nth-child(3) {
    animation-duration: 26s
}

@keyframes waveMove {
    from {
        transform: translateX(-80px);
    }

    to {
        transform: translateX(80px);
    }
}

/* ============ wave End========= */







/* ======
Join the Communit
========== */


.Join-the-Communit {
    /* max-width: 100%; */
    padding: 15px;
}

.Join-the-box {
    border-radius: 55% 0;
    height: 40vh;
    color: #f3e1f4;
    background-color: #333333;
    background-size: 25%;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    /* color: #f3e1f4; */
}

@media (max-width:750px) {
    .Join-the-box {
        border-radius: 0;

    }

    .Join-the-Communit {
        padding: 0;
    }

    .footer {
        padding: 10px;
        display: flex;
        flex-direction: column;
    }


    footer {
        background-color: black;
        bottom: 0;
        color: aliceblue;
        display: flex;
        padding: 30px 20px;
        align-items: center;
    }

}



#canvas1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: black;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Content container */
.content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    /* width: 100% 1272px; */
    text-align: center;
    padding: 40px;
    /* background: rgba(15, 23, 42, 0.7); */
    backdrop-filter: blur(2px);
    border-radius: 20px;
    /* border: 1px solid rgba(56, 189, 248, 0.2); */
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
}

/* Title */
h1 {
    /* color: #39f838; */
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgb(179, 94, 235);
}

h1 span {
    color: #38bdf8;
    display: inline-block;
}

/* Tagline */
.tagline {
    font-size: 1.2rem;
    color: #94a3b8;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Description */
.description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #cbd5e1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.description span {
    color: #38bdf8;
    font-weight: 600;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 4;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.4);
    background: #0ea5e9;
}

.btn-secondary {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-3px);
}

/* Simple stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    position: relative;
    z-index: 4;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #38bdf8;
    line-height: 1;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}



/* Responsive */
@media (max-width: 768px) {
    .stat-number {
        color: black;

    }

    h1 {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .description {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .content {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.8rem;
    }

    .content {
        padding: 25px 15px;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}


/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BASE ===== */
body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADINGS ===== */
h1,
h2,
h3 {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* ===== TEXT ===== */
p {
    margin: 1em 0;
}

b {
    font-weight: 600;
}

/* ===== LINKS (ACCESSIBLE COLORS) ===== */
a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, text-decoration 0.25s ease;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

a:active {
    color: #039fff;
}

/* ===== BUTTONS ===== */
button,
.btns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    background-color: #38bdf8;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover,
.btns:hover {
    background-color: #0ea5e9;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

button:active,
.btns:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* ===== DETAILS ===== */
details {
    color: #000000;
}