/* ===== Global Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* Psychological Colors: Trust (Blue), Success (Gold), Innovation (Purple) */
    --primary-dark: #0a1128;
    --primary-blue: #1e3a8a;
    --deep-blue: #1e40af;
    --accent-gold: #fbbf24;
    --accent-orange: #f59e0b;
    --purple-accent: #7c3aed;
    --success-green: #10b981;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #94a3b8;
    --dark-text: #1e293b;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.25);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    overflow-x: hidden;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 2%;
    width: 100%;
}

/* ===== Header/Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    padding: 1rem 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header:hover {
    box-shadow: 0 4px 30px var(--shadow-hover);
    background: rgba(255, 255, 255, 0.98);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.company-name:hover {
    transform: translateY(-2px);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.nav-link:hover::before {
    transform: translateX(-50%) scale(1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link.active::before {
    transform: translateX(-50%) scale(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.85), rgba(30, 58, 138, 0.75)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    padding: 2rem;
    animation: heroContentFade 1.5s ease-out;
}

@keyframes heroContentFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff, #fbbf24, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    font-weight: 300;
    animation: fadeInUp 1.5s ease-out 0.3s backwards;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.5s ease-out 0.6s backwards, pulse 2s ease-in-out 2s infinite;
}

.cta-button::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.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(251, 191, 36, 0.7);
    }
}

/* ===== About Us Section ===== */
.who-we-are {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fefcfb 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.who-we-are * {
    box-sizing: border-box;
}

.who-we-are::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1), transparent);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange), var(--purple-accent));
    animation: expandWidth 1s ease-out forwards;
    border-radius: 2px;
}

@keyframes expandWidth {
    to {
        width: 60px;
    }
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px var(--shadow);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: block;
}

.section-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.section-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 80px var(--shadow-hover);
}

.section-image:hover::before {
    left: 125%;
}

/* ===== What We Do Section ===== */
.what-we-do {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.what-we-do * {
    box-sizing: border-box;
}

.what-we-do::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.05), transparent);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    padding: 0;
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-accent), var(--primary-blue), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(124, 58, 237, 0.25);
    border-color: var(--purple-accent);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    top: -30%;
    right: -30%;
    width: 300px;
    height: 300px;
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.feature-card:hover .card-icon {
    animation: spin 0.6s ease-in-out;
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .card-title {
    transform: translateX(5px);
}

.card-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-list {
    list-style: none;
    padding-left: 0;
}

.card-list li {
    padding: 0.5rem 0;
    color: var(--primary-dark);
    position: relative;
    padding-left: 1.5rem;
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    animation: checkPop 0.5s ease-out;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.feature-card:hover .card-list li {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* ===== Future Goals Section ===== */
.future-goals {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fefcfb 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.future-goals * {
    box-sizing: border-box;
}

.future-goals::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 50%;
    animation: floatReverse 25s ease-in-out infinite;
}

@keyframes floatReverse {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(100px, 100px);
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    padding: 0;
}

@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
    }
}

.goal-item {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent-gold);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.goal-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.05), transparent);
    transition: left 0.6s ease;
}

.goal-item:hover {
    background: var(--white);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.2);
    transform: translateX(15px) scale(1.02);
    border-left-color: var(--purple-accent);
}

.goal-item:hover::before {
    left: 100%;
}

.goal-icon {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    padding: 0.9rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
    transition: all 0.4s ease;
}

.goal-item:hover .goal-icon {
    transform: rotate(360deg) scale(1.2);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
}

.goal-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.goal-item:hover .goal-title {
    color: var(--purple-accent);
    transform: translateX(10px);
}

.goal-description {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ===== Advertisement Section ===== */
.advertisement-section {
    margin-top: 4rem;
    padding: 2.5rem 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.advertisement-section * {
    box-sizing: border-box;
}

.ad-heading {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.ad-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    border-radius: 2px;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    padding: 0;
}

@media (max-width: 1024px) {
    .ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ads-grid {
        grid-template-columns: 1fr;
    }
}

.video-ad-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    width: 100%;
    max-width: 100%;
}

.video-ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--purple-accent), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 10;
}

.video-ad-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25);
    border-color: var(--accent-gold);
}

.video-ad-card:hover::before {
    transform: scaleX(1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 10px 10px 0 0;
    max-width: 100%;
}

.video-wrapper .ad-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-play-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
    animation: pulse 2s ease-in-out infinite;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.video-wrapper:hover .play-button {
    transform: scale(1.1);
}

/* Custom video controls styling */
.ad-video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
}

.ad-video::-webkit-media-controls-play-button {
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.video-ad-content {
    padding: 1.3rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    width: 100%;
    box-sizing: border-box;
}

.ad-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s ease-in-out infinite;
    z-index: 5;
}

.ad-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.video-ad-card:hover .ad-title {
    color: var(--purple-accent);
    transform: scale(1.05);
}

.ad-description {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    max-width: 100%;
}

.ad-button {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    white-space: nowrap;
}

.ad-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--purple-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.ad-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.ad-button:hover::before {
    width: 300%;
    height: 300%;
}

.ad-button span {
    position: relative;
    z-index: 1;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.contact-section * {
    box-sizing: border-box;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1), transparent);
    border-radius: 50%;
    animation: floatReverse 20s ease-in-out infinite;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--purple-accent), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 10;
}

.team-member:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.member-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
    display: block;
    max-width: 100%;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-info {
    padding: 1.8rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    position: relative;
    width: 100%;
}

.member-info::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    border-radius: 2px;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member:hover .member-info::before {
    opacity: 1;
    top: -10px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.team-member:hover .member-name {
    transform: translateY(-5px);
    letter-spacing: 1px;
}

.member-role {
    font-size: 0.95rem;
    color: var(--medium-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    max-width: 100%;
}

.member-role::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.4s ease;
}

.team-member:hover .member-role {
    color: var(--primary-blue);
}

.team-member:hover .member-role::after {
    width: 100%;
}

/* ===== Join Us Section ===== */
.join-us {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a1128 0%, #1e3a8a 50%, #7c3aed 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.join-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(124, 58, 237, 0.3) 0%, transparent 50%);
    animation: gradientMove 20s ease infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.join-us .section-title,
.join-us .section-subtitle {
    color: var(--white);
}

.join-us .section-title::after {
    background: var(--accent-gold);
}

.join-content {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-info {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.contact-icon {
    font-size: 1.5rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.contact-link {
    color: var(--accent-gold);
    transition: all 0.3s ease;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-link:hover::after {
    width: 100%;
}

.website-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.separator {
    color: var(--medium-gray);
}

.contact-text {
    color: var(--white);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-gold);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.social-link:hover {
    color: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.social-link:hover::before {
    width: 200%;
    height: 200%;
}

.social-link span {
    position: relative;
    z-index: 1;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* ===== Ripple Effect ===== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--purple-accent), var(--primary-blue));
    z-index: 9999;
    transition: width 0.2s ease;
}

/* ===== Loading Animation ===== */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Smooth Transitions ===== */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

button,
a,
.nav-link,
.cta-button {
    cursor: pointer;
    user-select: none;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--purple-accent));
    border-radius: 6px;
    border: 2px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--purple-accent), var(--accent-gold));
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-left {
    animation: slideLeft 0.8s ease-out forwards;
}

.slide-right {
    animation: slideRight 0.8s ease-out forwards;
}

.fade-up {
    animation: slideUp 0.8s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .image-content {
        order: -1;
    }

    .nav {
        position: fixed;
        top: 4rem;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 1.8rem;
        box-shadow: 0 0.25rem 1.25rem var(--shadow);
        transition: left 0.3s ease;
        gap: 0;
        -webkit-overflow-scrolling: touch;
        /* Enable momentum scrolling on iOS */
        z-index: 1001;
        /* Ensure it's above other elements */
    }

    .nav.active {
        left: 0;
    }

    .nav li {
        margin: 0.9rem 0;
        width: 100%;
    }

    /* Fix for iOS Safari mobile menu */
    .nav a {
        display: block;
        width: 100%;
        padding: 1rem 0;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
        /* Ensure it's above the nav */
    }

    /* Fix for iOS 15+ where fixed positioning can be problematic */
    .mobile-menu-toggle.active {
        position: relative;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem;
    }

    .container {
        padding: 0 1%;
    }

    .who-we-are,
    .what-we-do,
    .future-goals,
    .contact-section,
    .join-us {
        padding: 2.5rem 0;
    }

    .team-grid {
        gap: 1.8rem;
    }

    .member-image {
        height: 280px;
    }

    .contact-info {
        gap: 1.4rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .website-links {
        flex-direction: column;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.88rem;
    }

    .ad-icon {
        font-size: 2.2rem;
    }
}

/* ===== Learn More Link for Feature Cards ===== */
.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.card-link:hover {
    color: var(--purple-accent);
    transform: translateX(5px);
}

.card-link:hover::after {
    width: 100%;
}

/* ===== Learn More Link for Feature Cards ===== */
.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.card-link:hover {
    color: var(--purple-accent);
    transform: translateX(5px);
}

.card-link:hover::after {
    width: 100%;
}

/* ===== Additional iPhone Specific Styles ===== */
@media only screen and (max-device-width: 320px) {

    /* iPhone SE and other small screens */
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0;
    }

    .feature-card,
    .goal-item {
        padding: 1.2rem;
    }

    .card-title,
    .goal-title {
        font-size: 1.1rem;
    }

    .section-description {
        font-size: 0.95rem;
    }
}

@media only screen and (max-device-width: 480px) and (orientation: portrait),
only screen and (max-device-width: 736px) and (orientation: landscape) {

    /* General iPhone fixes */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }

    body {
        -webkit-overflow-scrolling: touch;
        font-size: 16px;
        /* Prevents iOS zoom on input focus */
    }

    /* Header adjustments */
    header {
        padding: 0.8rem 1rem;
        height: auto;
    }

    .logo {
        height: 40px;
    }

    .company-name {
        font-size: 1.2rem;
    }

    /* Navigation adjustments */
    .nav {
        top: 3.5rem;
        padding: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }

    /* Hero section adjustments */
    .hero-section {
        min-height: 80vh;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    /* Section adjustments */
    .who-we-are,
    .what-we-do,
    .future-goals,
    .join-us {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Grid adjustments */
    .content-grid,
    .cards-grid,
    .timeline-grid,
    .team-grid,
    .ads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-content {
        order: -1;
        margin-bottom: 1.5rem;
    }

    /* Card adjustments */
    .feature-card,
    .goal-item,
    .video-ad-card,
    .team-member {
        padding: 1.5rem;
    }

    .card-title,
    .goal-title {
        font-size: 1.2rem;
    }

    /* Contact section adjustments */
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }

    .website-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }

    /* Social links adjustments */
    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .social-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Footer adjustments */
    .footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }

    /* Animation fixes for performance */
    .slide-left,
    .slide-right,
    .fade-up,
    .zoom-in {
        animation: none;
        opacity: 1;
        transform: none;
    }

    /* Remove parallax effect on mobile */
    .hero-section {
        transform: none !important;
    }
}

/* ===== iPhone X and newer devices ===== */
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2),
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {

    /* Safe area insets for notch */
    header {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .container {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .hero-content {
        padding: 1rem env(safe-area-inset-right) 1rem env(safe-area-inset-left);
    }
}

/* ===== Fix for iOS input zoom ===== */
@media screen and (-webkit-min-device-pixel-ratio: 2) {

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"] {
        font-size: 16px !important;
    }
}

/* ===== Prevent iOS text size adjustment ===== */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ===== Fix for iOS button styling ===== */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    border-radius: 0;
}

/* ===== Fix for iOS video elements ===== */
video {
    -webkit-media-controls: inherit;
}