/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Flour Lab palette – soft teal, wheat gold, and warm neutrals */
    --primary-green: #0f766e;
    --primary-purple: #0f766e;
    --primary-blue: #14b8a6;
    --accent-red: #d97706; /* warm wheat-gold accent */
    --accent-cyan: #a5f3fc;
    --dark-bg: #f3f4f6;
    --dark-card: #ffffff;
    --dark-card-hover: #e5f3f1;
    --dark-text: #111827;
    --light-text: #4b5563;
    --light-bg: #d1fae5;
    --white: #ffffff;
    --gradient-start: #e0f7f3;
    --gradient-end: #c7ece3;
    --gradient-accent: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.18);
    --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.35);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(45, 212, 191, 0.15) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 40% 20%, rgba(234, 179, 8, 0.12) 0%, transparent 55%);
    z-index: -1;
    animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(15, 23, 42, 0.15));
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
    line-height: 1.2;
}

.logo-red {
    color: var(--accent-red);
}

.logo-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-text);
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.3;
}

.tagline-red {
    color: var(--accent-red);
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-link::after {
    content: none;
}

.nav-link:hover {
    color: var(--primary-green);
    transform: translateY(-1px);
    background: rgba(15, 118, 110, 0.06);
}

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

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.nav-link.active::after {
    content: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate 40s linear infinite reverse;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
    transition: opacity 0.3s ease;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease, glow 3s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 55%, #0f172a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.hero-red {
    background: linear-gradient(135deg, var(--accent-red) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.tagline-red {
    background: linear-gradient(135deg, var(--accent-red) 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: transparent;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-join {
    font-size: 1.2rem;
    padding: 15px 40px;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    }
}

.hero-image {
    position: relative;
    width: 500px;
    height: 500px;
}

/* Interactive Background */
.interactive-background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.animated-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    animation: float-shape 6s ease-in-out infinite;
    filter: blur(40px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 3s;
}

.shape-5 {
    width: 160px;
    height: 160px;
    bottom: 40%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
}

.code-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--primary-purple);
    z-index: 2;
    opacity: 0.8;
}

.code-line {
    margin: 0.5rem 0;
    animation: typewriter 3s steps(20) infinite;
    white-space: nowrap;
    overflow: hidden;
}

.code-line:nth-child(1) {
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    animation-delay: 1s;
}

.code-line:nth-child(3) {
    animation-delay: 2s;
}

.code-keyword {
    color: var(--primary-purple);
    font-weight: 600;
}

.code-string {
    color: var(--primary-blue);
}

@keyframes typewriter {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

.card-icon-animated {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: float 3s ease-in-out infinite, cardGlow 4s ease-in-out infinite;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

@keyframes cardGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3); }
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.card-3 {
    bottom: 0;
    left: 20%;
    animation-delay: 2s;
}

.card-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.card-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 0.5rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-text);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s;
}

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

.problem-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: var(--dark-card-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.problem-card:hover .problem-image {
    transform: scale(1.05);
}

.problem-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--light-text);
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--dark-card);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
    overflow: hidden;
}

.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
}

.course-card > * {
    position: relative;
    z-index: 1;
}

.course-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
    background: var(--dark-card-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.course-card:hover::after {
    opacity: 1;
}

.course-card.featured {
    border: 3px solid var(--primary-purple);
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    animation: featuredPulse 3s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2); }
    50% { box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4); }
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.course-card:hover .course-image {
    transform: scale(1.1);
}

.course-card h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.course-description {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
}

.course-features li {
    padding: 0.5rem 0;
    color: var(--light-text);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.course-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
}

.btn-course {
    padding: 10px 25px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-course:hover {
    background: #45a049;
    transform: scale(1.05);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-image {
    transform: scale(1.1);
}

.feature-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.stat-card:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Target Section */
.target-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.target-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.target-card:hover::before {
    width: 300px;
    height: 300px;
}

.target-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--dark-card-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.target-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.target-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.target-card:hover .target-image {
    transform: scale(1.1);
}

.target-card h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.target-highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
}

/* Impact Section */
.impact-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

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

.impact-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.impact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    transition: width 0.4s ease;
}

.impact-card:hover::after {
    width: 100%;
}

.impact-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--dark-card-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.impact-icon {
    transition: transform 0.4s ease;
}

.impact-card:hover .impact-icon {
    transform: scale(1.2) rotate(5deg);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.impact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* SDG Section */
.sdg-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

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

.sdg-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.sdg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue), var(--primary-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.sdg-card:hover::before {
    transform: scaleX(1);
}

.sdg-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-lg);
    background: var(--dark-card-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.sdg-number {
    transition: all 0.4s ease;
}

.sdg-card:hover .sdg-number {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.sdg-number {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.sdg-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--dark-card-hover);
    border-color: rgba(139, 92, 246, 0.5);
}

.team-card.leader {
    border: 3px solid var(--primary-green);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.3);
    display: block;
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.6);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.3);
    display: block;
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.6);
}

.team-card h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--light-text);
}

.team-role {
    color: var(--primary-green);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.contact-item h4 {
    color: var(--dark-text);
}

.contact-item p {
    color: var(--light-text);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--dark-bg);
    color: var(--dark-text);
}

.form-group select option {
    background: var(--dark-card);
    color: var(--dark-text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: var(--dark-card-hover);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Order / E-commerce Layout */
.order-section {
    padding-top: 6rem;
}

.order-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.order-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 1.5rem 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-control label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
}

.order-summary {
    background: linear-gradient(145deg, #ffffff, #ecfdf5);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 118, 110, 0.12);
    position: sticky;
    top: 110px;
}

.order-summary h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.order-summary-highlight {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.order-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.order-summary-total {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(15, 23, 42, 0.15);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-green);
}

.order-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.tag-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-green);
    font-weight: 500;
}

.order-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(234, 179, 8, 0.12);
    color: #92400e;
    margin-bottom: 0.75rem;
}

/* Recommendation Page */
.recommend-section {
    margin-top: 80px;
    padding: 4rem 0 5rem;
    background: var(--dark-bg);
}

.recommend-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.recommend-intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommend-intro p {
    color: var(--light-text);
}

.recommend-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.badge-soft {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(20, 184, 166, 0.08);
    color: var(--primary-green);
    border: 1px solid rgba(20, 184, 166, 0.18);
}

.recommend-form {
    background: var(--dark-card);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.recommend-form .form-group:not(:last-of-type) {
    margin-bottom: 1.2rem;
}

.recommend-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
}

.recommendation-result {
    margin-top: 2rem;
    background: linear-gradient(135deg, #ecfeff, #dcfce7);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(15, 118, 110, 0.3);
    box-shadow: var(--shadow);
}

.recommendation-result.hidden {
    display: none;
}

.recommendation-title {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.recommendation-subtitle {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.recommendation-benefits {
    margin-bottom: 1.2rem;
    padding-left: 1.1rem;
    color: #374151;
}

.recommendation-benefits li {
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    background: #000000;
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-tagline {
    color: #ccc;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-image {
        width: 100%;
        height: 300px;
        margin-top: 2rem;
    }

    .floating-card {
        position: relative;
        margin-bottom: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .order-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .course-card.featured {
        transform: scale(1);
    }

    .courses-grid,
    .problem-grid,
    .target-grid,
    .impact-grid,
    .sdg-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

