@import url("https://fonts.googleapis.com/css2?family=Mona+Sans:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.cdnfonts.com/css/sf-pro-display");

body {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont,
    sans-serif;
}

/* Mona Sans for titles and headers */
h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.text-gradient,
.text-gradient-light,
.footer h3 {
    font-family: "SF Pro Display", sans-serif;
}

/* Hero background with gradient only on top portion */
.hero-bg {
    background: linear-gradient(
            180deg,
            rgba(173, 216, 230, 0.4) 0%,
            rgba(221, 160, 221, 0.3) 20%,
            rgba(255, 182, 193, 0.3) 40%,
            rgba(255, 218, 185, 0.2) 60%,
            rgba(240, 248, 255, 0.1) 80%,
            transparent 100%
    );
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -30%;
    width: 160%;
    height: 100%;
    background: radial-gradient(
            ellipse at 30% 20%,
            rgba(173, 216, 230, 0.21) 0%,
            transparent 70%
    ),
    radial-gradient(
            ellipse at 70% 10%,
            rgba(221, 160, 221, 0.13) 0%,
            transparent 70%
    ),
    radial-gradient(
            ellipse at 20% 40%,
            rgba(255, 182, 193, 0.12) 0%,
            transparent 60%
    ),
    radial-gradient(
            ellipse at 80% 30%,
            rgba(255, 218, 185, 0.16) 0%,
            transparent 60%
    );
    animation: float-shapes 15s ease-in-out infinite;
}

/* Footer background */
.footer-bg {
    rotate: 180deg;
    background: linear-gradient(
            180deg,
            rgba(173, 216, 230, 0.4) 0%,
            rgba(221, 160, 221, 0.2) 20%,
            rgba(255, 182, 193, 0.15) 40%,
            rgba(255, 218, 185, 0.12) 60%,
            rgba(240, 248, 255, 0.07) 80%,
            transparent 100%
    );
    position: relative;
    overflow: hidden;
}

.footer-bg::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -30%;
    width: 160%;
    height: 100%;
    background: radial-gradient(
            ellipse at 30% 20%,
            rgba(173, 216, 230, 0.21) 0%,
            transparent 70%
    ),
    radial-gradient(
            ellipse at 70% 10%,
            rgba(221, 160, 221, 0.13) 0%,
            transparent 70%
    ),
    radial-gradient(
            ellipse at 20% 40%,
            rgba(255, 182, 193, 0.12) 0%,
            transparent 60%
    ),
    radial-gradient(
            ellipse at 80% 30%,
            rgba(255, 218, 185, 0.16) 0%,
            transparent 60%
    );
    animation: float-shapes 15s ease-in-out infinite;
}

@keyframes float-shapes {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-10px, -15px) rotate(1deg);
    }
    50% {
        transform: translate(15px, -10px) rotate(-1deg);
    }
    75% {
        transform: translate(-5px, 10px) rotate(0.5deg);
    }
}

.floating-icon {
    position: absolute;
    animation: smoothFloat 6s ease-in-out infinite;
    opacity: 0;
    animation-fill-mode: forwards;
}

.floating-icon:nth-child(1) {
    animation-delay: 0.5s;
}

.floating-icon:nth-child(2) {
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    animation-delay: 3.5s;
}

@keyframes smoothFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) rotate(-2deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
}

.header-floating {
    backdrop-filter: blur(50px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInHeader 1s ease-out 0.3s forwards;
}

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

.nav-link {
    border-radius: 25px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000000;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 8px 16px;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: -1;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #6b7280;
    transform: translateY(-1px);
}

.nav-link.active {
    background: #0a0a0d;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInText 1.2s ease-out 1s forwards;
}

.text-gradient-light {
    background: linear-gradient(135deg, #93c5fd, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInText 1.2s ease-out 1.3s forwards;
}

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

/* Team section background */
.team-bg {
    background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(173, 216, 230, 0.15) 20%,
            rgba(221, 160, 221, 0.12) 40%,
            rgba(255, 182, 193, 0.12) 60%,
            rgba(255, 218, 185, 0.1) 80%,
            rgba(240, 248, 255, 0.05) 100%
    );
    position: relative;
}

.team-member {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member {
    opacity: 1;
    transform: translateY(0);
}

.team-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #000000;
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);*/
    /*transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);*/
    max-width: 400px;
    margin: 0 auto;
}

/*.team-image-container:hover {*/
/*    transform: translateY(-10px) scale(1.02);*/
/*    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);*/
/*}*/

.team-member-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.9s ease;
    display: block;
}

.team-image-container:hover .team-member-image {
    transform: scale(1.1);
}

.team-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #9ca3af;
}

.placeholder-container {
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
}

/*.team-details {*/
/*    padding: 24px 0;*/
/*}*/

.team-member-name {
    font-size: 28px;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.team-member-role {
    font-size: 16px;
    color: #555960;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.team-member-description {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    max-width: 100%;
}

/* Responsive adjustments for team layout */
@media (max-width: 768px) {
    .team-member-name {
        font-size: 24px;
        text-align: center;
    }

    .team-member-role {
        font-size: 14px;
        text-align: center;
    }

    .team-member-description {
        font-size: 14px;
        text-align: center;
    }

    .team-details {
        text-align: center !important;
    }

    /*.team-image-container {*/
    /*    max-width: 280px;*/
    /*}*/

    .team-member-image,
    .team-placeholder {
        height: 280px;
    }
}

.footer-link {
    color: rgba(51, 51, 51, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #374151;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-link:hover {
    color: #374151;
}

/* Newsletter input animation */
.newsletter-input {
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.newsletter-button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-button:hover {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Social icons animation */
.social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    color: #3b82f6 !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Page load animation */
.page-fade-in {
    opacity: 0;
    animation: pageLoad 1s ease-out forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

@media (min-width: 1800px) {
    .custom-4k\:top-96 {
        top: 20rem !important;
    }
    .custom-4k\:left-96 {
        left: 30rem !important;
    }
    .custom-4k\:right-96 {
        right: 30rem !important;
    }
    .custom-4k\:bottom-32 {
        bottom: 8rem !important;
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
