/* Lenis Smooth Scrolling */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

:root {
    /* Colors */
    --primary: #1E3A8A;
    /* Royal Blue */
    --primary-dark: #172554;
    --primary-light: #3B82F6;
    --secondary: #FACC15;
    /* Bright Yellow */
    --secondary-hover: #EAB308;
    --accent: #F59E0B;

    --bg-white: #ffffff;
    --bg-off-white: #F8FAFC;
    --bg-light-blue: #EFF6FF;

    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --text-white: #ffffff;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Loader */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-light-blue);
    border-top: 5px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    color: var(--primary);
    font-size: 0.8rem;
    animation: pulse 1.5s infinite ease-in-out;
    z-index: 10000;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 span,
h2 span {
    color: var(--secondary);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 5rem 0;
}

.bg-off-white {
    background-color: var(--bg-off-white);
}

.bg-light-blue {
    background-color: var(--bg-light-blue);
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

/* Components */

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--secondary);
    transition: width var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--primary-dark);
}

.btn-primary:hover::after {
    width: 100%;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Base styling for logo images */
.logo img {
    height: 35px;
    /* Reduced for second logo */
    width: auto;
}

/* Specific styling for the first logo to make it bigger */
.logo img:first-child {
    height: 120px;
    /* Increased to 120px */
}

.logo span {
    color: var(--secondary-hover);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-top: 5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-white) 50%, var(--bg-light-blue) 50%);
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-subtitle {
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    filter: blur(50px);
    animation: float 6s ease-in-out infinite;
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary);
    margin: 0;
}

.stat-item p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--secondary-hover);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer p {
    color: #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-links li {
    margin-bottom: 0.8rem;
    color: white;
}

.footer-links a {
    color: white;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #64748b;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-delay:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-delay:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-delay:nth-child(4) {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--header-height) + 2rem);
    }

    .hero-buttons {
        justify-content: center;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: #000000 !important;
    margin-left: 0.5rem;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .logo-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
}

/* Modern Framer-Style Banner Section */
.animated-banner {
    position: relative;
    height: 350px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 2rem;
}

/* Animated Gradient Orbs */
.animated-banner::before,
.animated-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatOrb 8s ease-in-out infinite;
    z-index: 0;
}

.animated-banner::before {
    background: var(--primary);
    top: -50px;
    left: 10%;
    animation-delay: 0s;
}

.animated-banner::after {
    background: var(--secondary);
    bottom: -50px;
    right: 10%;
    animation-delay: -4s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.animated-banner .container {
    position: relative;
    z-index: 2;
    /* Glassmorphism Card Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.animated-banner h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-white);
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-off-white);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.faq-answer-content {
    padding: 2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-icon {
    transition: transform 0.4s ease;
    color: var(--secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Profile Cards (Team) */
/* Profile Cards (Team) Redesign */
.profile-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 3px solid var(--secondary);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover img {
    transform: scale(1.1);
}

.profile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1rem 1.25rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 40%, transparent);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.profile-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.profile-info .role {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
    letter-spacing: 1.5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}