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

:root {
    /* === CENTRAL COLOUR PALETTE (only change these 10) ===
       1) --color-primary
       2) --color-secondary
       3) --color-accent
       4) --color-bg-1
       5) --color-bg-2
       6) --color-muted
       7) --color-danger
       8) --color-success
       9) --color-sky
       10) --color-white

       NOTE: For places that use semi-transparent variants the corresponding RGB helper variables
       are provided (e.g. --color-accent-rgb). Change the hex values above to restyle the site.
    */

    --color-primary: #4A98FF;       /* main brand blue */
    --color-primary-rgb: 74,152,255;

    --color-secondary: #4BFFC0;     /* teal/secondary */
    --color-secondary-rgb: 75,255,192;

    --color-accent: #0A2D57;        /* dark/navy for text, borders */
    --color-accent-rgb: 10,45,87;

    --color-bg-1: #f5f7fa;          /* light background start */
    --color-bg-2: #c3cfe2;          /* light background end */

    --color-muted: #666666;         /* secondary text */

    --color-danger: #ff4757;        /* alerts / urgent */
    --color-danger-rgb: 255,71,87;

    --color-success: #00c894;       /* success / positive */

    --color-sky: #4facfe;           /* extra highlight / sky */

    --color-white: #ffffff;         /* white / surfaces */
    --color-white-rgb: 255,255,255;

    /* === Derived gradients / helpers (use the 10 above) === */
    --gradient-banner: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-sheen: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    --gradient-sheen-strong: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    --gradient-hero-bg: linear-gradient(135deg, var(--color-bg-1) 0%, var(--color-bg-2) 100%);
    --gradient-outline: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.1), transparent);
    --gradient-alert: linear-gradient(135deg, var(--color-danger) 0%, color-mix(in srgb, var(--color-danger) 50%, var(--color-secondary) 50%), var(--color-danger) 100%);
    --gradient-card-glow: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.08) 0%, rgba(var(--color-primary-rgb), 0.08) 50%, rgba(var(--color-secondary-rgb), 0.08) 100%);
    --gradient-diagonal-glow: linear-gradient(45deg, transparent, rgba(var(--color-accent-rgb), 0.08), transparent);
    --gradient-urgent: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 60%, var(--color-accent) 100%);
    --gradient-section: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --gradient-sky: linear-gradient(135deg, var(--color-sky) 0%, #00f2fe 100%);
    --journey-line-color: rgba(var(--color-accent-rgb), 0.55);

    /* text & fallback */
    --text-default: var(--color-accent);
    --text-muted: var(--color-muted);
    --white: var(--color-white);
}

/* Application Deadline Banner */
.application-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-banner);
    color: var(--color-white);
    z-index: 1001;
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(var(--color-accent-rgb), 0.3);
    animation: bannerPulse 3s ease-in-out infinite;
    min-height: 70px; /* Ensure consistent height */
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%; /* Ensure full height usage */
    min-height: 40px; /* Match banner min-height */
}

.banner-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.banner-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.banner-text span {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 500;
}

.banner-action .btn-banner {
    background: var(--color-white);
    color: var(--color-accent);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.banner-action .btn-banner:hover {
    background: var(--color-bg-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.banner-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.banner-close:hover {
    background: rgba(var(--color-white-rgb), 0.2);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes bannerPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(var(--color-accent-rgb), 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(var(--color-accent-rgb), 0.5);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

html {
    scroll-behavior: smooth;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(10, 162, 87, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(10, 162, 87, 0.6);
    }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-default);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-sheen);
    transition: left 0.5s;
}

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

.btn-gradient {
    background: var(--gradient-brand);
    color: var(--color-white);
    border: none;
    box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.25);
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(var(--color-accent-rgb), 0.45);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-accent);
    border: none;
    box-shadow: 0 4px 15px rgba(var(--color-accent-rgb), 0.12);
}

.btn-white:hover {
    background: var(--color-bg-1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--color-accent-rgb), 0.18);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(var(--color-accent-rgb), 0.08);
    color: var(--color-accent);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 70px; /* Adjusted for banner min-height */
    width: 100%;
    background: rgba(var(--color-white-rgb), 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* When banner is closed, navbar returns to top */
.navbar.banner-closed {
    top: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-default);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-default);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: calc(60vh - 150px); /* Adjusted for banner (70px) + navbar (80px) */
    display: flex;
    align-items: center;
    background: var(--gradient-hero-bg);
    position: relative;
    overflow: hidden;
    padding-top: 150px; /* Adjusted for banner (70px) + navbar (80px) */
}

/* When banner is closed, adjust hero padding */
.hero.banner-closed {
    min-height: calc(60vh - 80px);
    padding-top: 80px;
}
.hero-checklist {
  margin: 1.5rem 0 2rem;
  text-align: left;
  display: inline-block;
  color: var(--text-default);
  font-weight: 400;
}

.hero-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.5;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-checklist i {
  color: var(--color-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(var(--color-accent-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(var(--color-primary-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(var(--color-secondary-rgb), 0.1) 0%, transparent 50%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(60vh - 160px);
}

.hero-content {
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(80vh - 160px);
    padding-top: 40px;
    padding-bottom: 25px;
}

.hero-logo {
    text-align: center;
    margin-bottom: 3rem;
    flex-shrink: 0;
}

.hero-logo-img {
    height: 160px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
}

.hero-title-sub {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 500;
    color: var(--color-accent);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-application-notice {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.application-notice-content {
    background: var(--gradient-brand);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(var(--color-accent-rgb), 0.3);
    animation: heroNoticePulse 3s ease-in-out infinite;
    border: 2px solid var(--color-accent);
}

.application-notice-content i {
    font-size: 1.3rem;
    animation: calendarBounce 2s ease-in-out infinite;
}

.application-notice-content strong {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes heroNoticePulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(var(--color-accent-rgb), 0.3);
        border-color: var(--color-accent);
    }
    50% {
        box-shadow: 0 8px 25px rgba(var(--color-accent-rgb), 0.5);
        border-color: var(--color-primary);
    }
}

@keyframes calendarBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    min-width: 160px;
}

.hero-application-reminder {
    margin-top: 1.2rem;
    text-align: center;
    font-weight: 600;
    color: var(--color-accent);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.floating-card {
    position: absolute;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation-play-state: paused;
}

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

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

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

.card-4 {
    top: 20%;
    right: 10%;
    animation-delay: 3s;
}

.floating-card i {
    font-size: 2rem;
    color: var(--color-accent);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-default);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.mission-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.mission-logo-img {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mission-logo-img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* About Section */
.about {
    padding: 4rem 0 4rem 0;
    background: var(--color-white);
    margin-top: 4rem;
}

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

.about-text h3 {
    color: #333;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg-1);
    border-radius: 15px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-brand);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    color: var(--color-white);
    margin: 0;
}

.about-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

.image-placeholder.logo-only {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.about-logo-huge {
    height: 200px;
    width: auto;
    filter: brightness(1.2) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.about-logo-huge:hover {
    transform: scale(1.05);
    filter: brightness(1.3) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* Mission Section */
.mission {
    padding: 6rem 0;
    background: #f8f9fa;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-text {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mission-text h3 {
    color: #0A2D57;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-text p {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.mission-text strong {
    color: #333;
    font-weight: 600;
}

/* Growth Section */
.growth {
    padding: 6rem 0;
    background: var(--color-white);
}

.growth-content {
    margin-top: 2rem;
}

.growth-text {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.growth-text p {
    font-size: 1.2rem;
    line-height: 1.7;
}

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

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

.growth-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-outline);
    transition: left 0.6s ease;
}

.growth-card:hover::after {
    left: 100%;
}

.growth-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.growth-card:hover .growth-icon {
    transform: none;
}

.growth-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.growth-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.growth-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.growth-card p {
    color: #666;
    line-height: 1.6;
}

/* Recruitment Section */
.recruitment {
    padding: 6rem 0;
    background: #f8f9fa;
}

/* Application Deadline Alert */
.deadline-alert {
    background: var(--gradient-alert);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(var(--color-danger-rgb), 0.3);
    animation: deadlinePulse 4s ease-in-out infinite;
    border: 3px solid var(--color-danger);
}

.deadline-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--color-white);
}

.deadline-icon {
    font-size: 3rem;
    animation: warningBounce 2s ease-in-out infinite;
}

.deadline-text {
    flex: 1;
}

.deadline-text h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.deadline-text p {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.deadline-text strong {
    color: #fff;
    font-weight: 700;
}

.deadline-countdown {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.countdown-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-white);
    animation: urgencyBlink 1.5s ease-in-out infinite;
}

.deadline-action .btn-deadline {
    background: var(--color-white);
    color: var(--color-danger);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 1.1rem;
    white-space: nowrap;
}

.deadline-action .btn-deadline:hover {
    background: var(--color-bg-1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

@keyframes deadlinePulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(var(--color-danger-rgb), 0.3);
        border-color: var(--color-danger);
    }
    50% {
        box-shadow: 0 15px 40px rgba(var(--color-danger-rgb), 0.5);
        border-color: color-mix(in srgb, var(--color-danger) 60%, var(--color-secondary) 40%);
    }
}

@keyframes warningBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes urgencyBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

.recruitment-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.recruitment-text strong {
    color: #0A2D57;
    font-weight: 600;
}

.recruitment-cta {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.recruitment-cta h3 {
    color: #333;
    margin-bottom: 1rem;
}

.recruitment-cta p {
    margin-bottom: 2rem;
    color: #666;
}

/* Partners Section */
.partners {
    padding: 6rem 0;
    background: var(--color-white);
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr; /* stack by default */
    gap: 2rem;
    align-items: start;
}

.partners-text ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.partners-text li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Keep sponsors section with checkmarks */
.sponsors-text ul {
    list-style: none;
    padding: 0;
}

.sponsors-text li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.sponsors-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.partners-text strong,
.sponsors-text strong {
    color: #333;
    font-weight: 600;
}

.partners-cta,
.sponsors-cta {
    background: var(--color-bg-1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

/* Two-column lists for partners reasons and requirements */
.partners-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.partners-column h3 {
    margin-bottom: 0.75rem;
}

/* Put CTA under the lists on larger screens */
@media (min-width: 901px) {
    .partners-content {
        grid-template-columns: 1fr; /* text section and CTA stacked */
    }
}

/* Ensure partners content stacks well on mobile (already 1-col) */
@media (max-width: 900px) {
    .partners-lists {
        grid-template-columns: 1fr;
    }
}

.partners-cta h3,
.sponsors-cta h3 {
    color: #333;
    margin-bottom: 1rem;
}

.partners-cta p,
.sponsors-cta p {
    margin-bottom: 2rem;
    color: #666;
}

/* Sponsors Section */
.sponsors {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.sponsors-cta {
    background: var(--color-white);
}

/* Projects Note */
.projects-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projects-note p {
    font-style: italic;
    color: #666;
    margin: 0;
}

/* Personal Contact */
.personal-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
}

.personal-contact p {
    margin: 0;
    color: #333;
}

.personal-contact strong {
    color: var(--color-primary);
}

/* Contact Form Select */
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: var(--color-white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--color-white);
}

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

.project-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.project-card > * {
    position: relative;
    z-index: 2;
}

.project-image {
    height: 200px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image i {
    font-size: 4rem;
    color: var(--color-white);
}

/* Ensure project images fill and crop to container */
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

/* Responsive images for mobile */
@media (max-width: 768px) {
    .project-image img,
    .team-photo,
    .journey-image,
    .about-logo-huge {
        max-width: 100%;
        height: auto;
    }
    
    .project-image {
        height: 180px; /* Slightly smaller on mobile */
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .journey-image {
        max-width: 100%;
        height: auto;
    }
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #333;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--color-bg-1);
    color: var(--color-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #f9fafc;
}

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

/* Ensure exactly 5 columns on large screens for a 2x5 layout */
@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.team-card {
    text-align: center;
    background: var(--color-white);
    padding: 1.75rem 1.5rem 1.6rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-diagonal-glow);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.team-card:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-card > * {
    position: relative;
    z-index: 2;
}

.team-image {
    position: relative;
}

.team-role {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.team-actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.team-linkedin {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* push to card bottom and keep consistent spacing from the card edge */
    margin-top: auto;
    margin-bottom: 0.2rem;
    align-self: center;
}

.team-linkedin img {
    width: 100%;
    height: 100%;
    display: block;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-accent);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(var(--color-accent-rgb), 0.2);
}

.team-photo:hover {
    transform: scale(1.1);
    border-color: var(--color-primary);
    box-shadow: 0 12px 35px rgba(var(--color-accent-rgb), 0.3);
}

.team-card h3 {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.team-card p {
    font-size: 0.95rem;
    color: #555;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-avatar i {
    font-size: 2.5rem;
    color: var(--color-white);
}

.team-role {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--color-white);
}

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

.contact-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
}

.contact-method h4 {
    color: #333;
    margin-bottom: 0.2rem;
}

.contact-method p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: var(--color-bg-1);
    padding: 2rem;
    border-radius: 20px;
}

.contact-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo .logo-img:hover {
    transform: scale(1.05);
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(var(--color-accent-rgb), 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: var(--color-white);
}

.made-with-love {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #a0a0a0;
    font-style: italic;
}

.made-with-love i {
    color: var(--color-primary);
    margin: 0 0.2rem;
}

.made-with-love .fa-beer {
    color: #fbbf24;
}

/* Urgency Styling */
.urgent-deadline {
    color: var(--color-danger) !important;
    animation: urgentBlink 2s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(var(--color-danger-rgb), 0.3);
}

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

/* Enhanced Mobile Responsive Design */

/* Large tablet breakpoint */
@media (max-width: 1024px) and (min-width: 901px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .growth-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .recruitment-content,
    .partners-content,
    .sponsors-content {
        gap: 3rem;
    }
}

/* Tablet breakpoint */
@media (max-width: 900px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .growth-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .recruitment-content,
    .partners-content,
    .sponsors-content {
        gap: 3rem;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .application-banner {
        display: none; /* Hide banner completely on mobile */
    }
    
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px; /* Only navbar height since no banner on mobile */
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        z-index: 1001;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-default);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
.nav-link:hover {
    color: var(--color-accent);
}
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
        align-items: center;
        min-height: calc(100vh - 80px); /* Only navbar height since no banner on mobile */
    }
    
    .hero-content {
        padding-top: 30px;
        min-height: calc(100vh - 80px); /* Only navbar height since no banner on mobile */
        padding-bottom: 25px;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
    }
    
    .hero-application-notice {
        margin: 1.5rem 0;
    }
    
    .application-notice-content {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .application-notice-content i {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 24px;
        font-size: 1rem;
        border-radius: 30px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .mission-text {
        padding: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .growth-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .growth-card {
        padding: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        justify-items: center;
    }
    
    .team-card {
        padding: 1.5rem;
        max-width: 280px;
        width: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .contact-form h3 {
        text-align: center;
        margin-bottom: 2rem;
        color: #333;
    }
    
    .recruitment-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .partners-content,
    .sponsors-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile deadline alert */
    .deadline-alert {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .deadline-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .deadline-icon {
        font-size: 2.5rem;
    }
    
    .deadline-text h3 {
        font-size: 1.5rem;
    }
    
    .deadline-text p {
        font-size: 1rem;
    }
    
    .deadline-action .btn-deadline {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .footer-logo .logo-img {
        height: 60px;
    }
    
    .hero-logo-img {
        height: 120px;
    }
    
    .about-logo {
        height: 60px;
    }
    
    .about-logo-huge {
        height: 150px;
    }
    
    .mission-logo-img {
        height: 40px;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Mobile-specific improvements */
    .navbar {
        padding: 0.8rem 0;
        top: 0; /* No banner on mobile, so navbar goes to top */
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 2rem 0; /* Only navbar height since no banner on mobile */
        min-height: calc(60vh - 80px);
    }
    
    .about {
        padding: 4rem 0 3rem 0;
        margin-top: 3rem;
    }
    
    .mission,
    .projects,
    .growth,
    .team,
    .recruitment,
    .partners,
    .sponsors,
    .contact {
        padding: 3rem 0;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .project-tags {
        justify-content: center;
    }
    
    .team-bio {
        font-size: 0.85rem;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 12px;
        border: 2px solid #e0e0e0;
        width: 100%;
        transition: border-color 0.3s ease;
        min-height: 50px; /* Better touch target */
        -webkit-appearance: none;
        appearance: none;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.1);
}
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
}

/* Center CTA buttons inside their boxes on mobile */
@media (max-width: 768px) {
    .recruitment-cta .btn,
    .partners-cta .btn,
    .sponsors-cta .btn {
        width: max-content; /* override global mobile full-width */
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .application-banner {
        display: none; /* Hide banner on small mobile devices too */
    }
    
    .navbar {
        top: 0; /* No banner on mobile, so navbar goes to top */
        padding: 0.6rem 0;
    }
    
    .nav-menu {
        top: 60px; /* Only navbar height since no banner on mobile */
    }
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        max-width: 280px;
        border-radius: 25px;
    }
    
    .hero-logo-img {
        height: 100px;
    }
    
    .about-logo {
        height: 50px;
    }
    
    .about-logo-huge {
        height: 120px;
    }
    
    .mission-logo-img {
        height: 35px;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-card {
        padding: 1rem;
    }

    .team-linkedin {
        width: 20px;
        height: 20px;
    }

    /* Ensure CTA buttons stay centered on small mobile */
    .recruitment-cta .btn,
    .partners-cta .btn,
    .sponsors-cta .btn {
        width: max-content; /* override global mobile full-width */
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 280px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .growth-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .growth-card {
        padding: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 80px 0 3rem 0; /* Only navbar height since no banner on mobile */
        min-height: calc(60vh - 80px);
    }
    
    .hero-container {
        min-height: calc(60vh - 80px); /* Only navbar height since no banner on mobile */
        padding: 0 px;
    }
    
    .hero-content {
        padding-top: 25px;
        min-height: calc(60vh - 80px); /* Only navbar height since no banner on mobile */
        padding-bottom: 0px;
    }
    
    .about {
        padding: 2rem 0 2rem 0;
        margin-top: 1rem;
    }
    
    .mission,
    .projects,
    .growth,
    .team,
    .recruitment,
    .partners,
    .sponsors,
    .contact {
        padding: 2rem 0;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .footer-logo .logo-img {
        height: 50px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .team-bio {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Journey Section Styles */
.journey-flow {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 45px rgba(10, 45, 87, 0.12);
    overflow: hidden;
}

.journey-flow::before,
.journey-row-top::after,
.journey-row-mid::after,
.journey-row-mid::before,
.journey-row-bottom::before,
.journey-row-bottom::after {
    content: none;
}

.journey-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--gradient-section);
    border-radius: 20px;
}

.journey-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Ensure NGO benefits image adapts to container width on all screens */
.journey-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.journey-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: var(--gradient-sky);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.journey-content p {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0 auto 2.5rem;
    max-width: 680px;
    line-height: 1.6;
}

.journey-row {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.journey-row:last-child {
    margin-bottom: 0;
}

.journey-row-top {
    justify-content: center;
}

.journey-row-mid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.journey-row-mid .journey-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
}

.journey-row-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.journey-row-bottom .journey-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
}

.journey-branch {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    flex-wrap: nowrap;
    margin-bottom: 3.5rem;
    padding: 0 1rem 4rem;
    overflow-x: auto;
}

.journey-branch::-webkit-scrollbar {
    display: none;
}

.journey-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.journey-card {
    position: relative;
    background: #ffffff;
    border: 2px solid rgba(10, 45, 87, 0.12);
    border-radius: 18px;
    padding: 2rem;
    max-width: 420px;
    flex: 1 1 320px;
    text-align: left;
    box-shadow: 0 12px 30px rgba(10, 45, 87, 0.08);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10, 45, 87, 0.16);
}

.journey-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #13294b;
    margin-bottom: 0.6rem;
}

.journey-card p {
    font-size: 1rem;
    color: #556174;
    margin: 0;
    line-height: 1.55;
}

.journey-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(10, 45, 87, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #0A2D57;
    margin-bottom: 1rem;
}

.journey-card--intro {
    max-width: 540px;
    text-align: center;
}

.journey-card--intro .journey-icon {
    margin: 0 auto 1rem;
    background: rgba(74, 152, 255, 0.18);
    color: #0A2D57;
}

.journey-card--track.initiative {
    border-color: rgba(255, 99, 71, 0.35);
}

.journey-card--track.initiative .journey-icon {
    background: rgba(255, 99, 71, 0.15);
    color: #ff6540;
}

.journey-card--track.engineering {
    border-color: rgba(75, 255, 192, 0.35);
}

.journey-card--track.engineering .journey-icon {
    background: rgba(75, 255, 192, 0.2);
    color: #00c894;
}

.journey-card--event .journey-icon {
    background: rgba(79, 172, 254, 0.18);
    color: #2580ff;
}

.journey-card--mentorship .journey-icon {
    background: rgba(153, 102, 255, 0.18);
    color: #7740d9;
}

.journey-badge {
    position: absolute;
    top: -18px;
    right: 18px;
    background: #0A2D57;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journey-stack .journey-card {
    text-align: center;
    max-width: 520px;
}

/* Mobile Responsive for Journey Section */
@media (max-width: 768px) {
    .journey-section {
        margin: 2.5rem 0;
        padding: 2rem 0;
    }
    
    .journey-content {
        padding: 0 1rem;
    }
    
    .journey-content h3 {
        font-size: 2rem;
    }
    
    .journey-flow {
        padding: 2rem 1.25rem;
    }
    
    .journey-flow::before {
        display: none;
    }
    
    .journey-row {
        margin-bottom: 2rem;
        gap: 1.5rem;
    }
    
    .journey-row-top::after,
    .journey-row-mid::after,
    .journey-row-mid::before,
    .journey-row-bottom::before,
    .journey-row-bottom::after {
        display: none;
    }
    
    .journey-card {
        flex: 1 1 100%;
        text-align: center;
        padding: 1.75rem;
    }
    
    .journey-card h4 {
        font-size: 1.1rem;
    }
    
    .journey-card p {
        font-size: 0.95rem;
    }
    
    .journey-icon {
        margin: 0 auto 0.75rem;
    }
    
    .journey-badge {
        position: static;
        display: inline-block;
        margin-top: 1rem;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Improve scrolling performance */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Optimize animations for mobile */
    .floating-card,
    .project-card,
    .team-card,
    .growth-card {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        .floating-card {
            animation: none;
        }
        
        .hero-visual {
            animation: none;
        }
        
        * {
            transition: none !important;
            animation: none !important;
        }
    }
    
    /* Improve touch targets */
    .nav-link,
    .btn,
    .team-linkedin,
    .footer-social a {
        min-height: 11px;
        min-width: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better focus indicators for accessibility */
    .btn:focus,
    .nav-link:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 3px solid #0A2D57;
        outline-offset: 2px;
    }
}
