:root {
    /* Light mode colors */
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --heading-color: #000000;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --main-color: linear-gradient(90deg, #0040ff, #00bbbb);
    --second-main-color: #26d6d6;
    --timeline-color: #2c3d72;
    --error-color: #f14c4c;
    --section-bg: #f8f9ff;
    --border-color: rgba(0, 0, 0, 0.1);
    --accent-color: #0062ff;
}

/* Dark mode colors - OLED optimized */
[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #ffffff;
    --heading-color: #ffffff;
    --card-bg: #121212;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --section-bg: #0a0a0a;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-text: #ffffff;
    --secondary-text: #e0e0e0;
    --accent-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.2rem; }

p, li, span {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Theme Toggle */
.theme-toggle {
    margin-right: 1rem;
}

.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: var(--section-bg);
}

.theme-toggle-btn .fa-sun {
    display: none;
    color: #ffffff;
}

.theme-toggle-btn .fa-moon {
    display: block;
    color: #000000;
}

[data-theme="dark"] .theme-toggle-btn .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle-btn .fa-moon {
    display: none;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.logo-placeholder img {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    object-fit: cover;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

/* Toggle animation (burger to X) */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #001830;
}

[data-theme="dark"] .hero {
    background-color: #001224;
}

/* Hero Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center right;
    z-index: 1;
    opacity: 0.95;
    /* Fallback background in case image doesn't load */
    background-color: #001a33;
}

/* Hero Container */
.hero-container {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    max-width: 650px;
    padding: 0 4rem;
    margin-left: 8%;
    position: relative;
    z-index: 3;
    background: rgba(0, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .hero-content-wrapper {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 180, 255, 0.2);
}

/* Hero Overlay and Shapes */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 20, 50, 0.95) 0%, rgba(0, 20, 50, 0.85) 40%, rgba(0, 20, 50, 0.7) 100%);
    z-index: 1;
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(to right, rgba(0, 10, 30, 0.9) 0%, rgba(0, 10, 30, 0.7) 40%, rgba(0, 10, 30, 0.2) 100%);
}

.hero-shape {
    position: absolute;
    z-index: 1;
}

.hero-shape-1 {
    top: 20%;
    left: 5%;
    width: 500px;
    height: 500px;
    border-radius: 58% 42% 38% 62% / 42% 55% 45% 58%;
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.02), rgba(0, 255, 240, 0.03));
    animation: floatingShape 15s infinite alternate ease-in-out;
}

.hero-shape-2 {
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    background: linear-gradient(135deg, rgba(0, 255, 240, 0.02), rgba(0, 100, 255, 0.03));
    animation: floatingShape 20s infinite alternate-reverse ease-in-out;
}

.hero-shape-3 {
    top: 50%;
    right: 20%;
    width: 300px;
    height: 300px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.01), rgba(0, 255, 200, 0.02));
    animation: floatingShape 18s infinite alternate ease-in-out;
}

/* Hero Box */
.hero-box {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 120, 255, 0.25);
    border-radius: 50px;
    padding: 0.2rem 1.2rem;
    overflow: hidden;
    height: 40px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 100, 255, 0.2);
    animation: fadeInDown 1s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-box i {
    color: #00e5ff;
    margin-right: 8px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

[data-theme="dark"] .hero-box {
    border: 2px solid rgba(100, 200, 255, 0.5);
    background: rgba(0, 100, 200, 0.15);
    box-shadow: 0 4px 15px rgba(0, 50, 255, 0.15);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    color: white;
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    letter-spacing: -0.5px;
    font-family: 'Montserrat', sans-serif;
}

.hero-title-line {
    display: block;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    position: relative;
}

.hero-title-line::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #00ffdd, #0080ff);
    bottom: -15px;
    left: 0;
    border-radius: 10px;
}

.hero-title-accent {
    display: block;
    margin-top: 1.2rem;
    font-size: 3.4rem;
    background: linear-gradient(90deg, #00ffdd, #0080ff);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-style: italic;
    transform: translateX(5px);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 540px;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid #00e5ff;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    padding: 16px 30px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-button i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Primary CTA Button */
.primary-cta {
    background: linear-gradient(45deg, #3a7bd5, #00d2ff);
    color: white;
    box-shadow: 0 4px 15px rgba(58, 123, 213, 0.3);
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0040ff, #00bbff);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 123, 213, 0.5);
}

.primary-cta:hover::before {
    opacity: 1;
}

.primary-cta:hover i {
    transform: translateX(5px);
}

.primary-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.4);
}

/* Secondary CTA Button */
.secondary-cta {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.secondary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 100, 255, 0.1), transparent);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

[data-theme="dark"] .secondary-cta {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(77, 159, 255, 0.3);
}

.secondary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 150, 255, 0.5);
}

.secondary-cta:hover::before {
    left: 100%;
}

.secondary-cta:hover i {
    transform: scale(1.2);
}

.secondary-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Hero Highlights */
.hero-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-highlight i {
    color: #00e5ff;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease 0.4s both;
}

.hero-img {
    max-width: 90%;
    max-height: 70%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Placeholder for when image doesn't exist */
.hero-img-placeholder {
    width: 90%;
    height: 400px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1), rgba(0, 255, 240, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    position: relative;
    overflow: hidden;
}

.hero-img-placeholder:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-img-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 200, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 200, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.placeholder-icon {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    z-index: 2;
}

.placeholder-icon i {
    font-size: 2.5rem;
    color: #00d2ff;
    opacity: 0.8;
    animation: pulse 2s infinite alternate;
}

.placeholder-icon i:nth-child(1) {
    animation-delay: 0s;
}

.placeholder-icon i:nth-child(2) {
    animation-delay: 0.5s;
}

.placeholder-icon i:nth-child(3) {
    animation-delay: 1s;
}

.placeholder-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00bbbb, #0040ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    z-index: 2;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1), rgba(0, 255, 240, 0.1));
    mix-blend-mode: overlay;
    border-radius: 20px;
}

/* Hero Element Animations */
.hero-box i {
    animation: iconPulse 2s infinite alternate;
}

.hero-title-line::after {
    animation: widthExpand 1.5s ease forwards;
}

.hero-buttons .primary-cta {
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-buttons .secondary-cta {
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-highlight {
    animation: fadeInUp 1s ease;
}

.hero-highlight:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-highlight:nth-child(2) {
    animation-delay: 0.8s;
}

.hero-highlight:nth-child(3) {
    animation-delay: 1s;
}

/* Add hover effects */
.hero-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 100, 255, 0.2);
}

.hero-highlight {
    transition: transform 0.3s ease;
}

.hero-highlight:hover {
    transform: translateY(-3px);
}

.hero-highlight i {
    transition: transform 0.3s ease;
}

.hero-highlight:hover i {
    transform: scale(1.2);
}

/* Animation Keyframes */
@keyframes floatingShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 20px) rotate(5deg); }
}

/* ---------- Simplified Hero Override (added) ---------- */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(0,20,40,0.95), rgba(0,16,32,0.95));
    color: #fff;
    padding: 4rem 0;
}

.hero-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.hero-left {
    flex: 1 1 60%;
}

.hero-right {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-eyebrow {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.hero-accent {
    display: inline-block;
    color: var(--accent-color, #00d2ff);
    margin-left: 0.35rem;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(90deg,#0062ff,#00d2ff);
    color: #fff;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    background: transparent;
}

.hero-image-simple {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background: #fff;
}

/* Responsive: stack on small screens */
@media (max-width: 800px) {
    .hero-inner { flex-direction: column-reverse; text-align: center; }
    .hero-right { margin-bottom: 1.5rem; }
    .hero-left { width: 100%; }
    .hero-title { font-size: 1.8rem; }
    .hero-image-simple { width: 160px; height: 160px; }
}

/* Make sure legacy complex hero styles don't interfere */
.hero-bg-image, .hero-overlay, .hero-shape, .hero-content-wrapper, .hero-box, .hero-highlights, .hero-image, .hero-img, .hero-img-placeholder {
    display: none !important;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0;
        transform: translateX(-20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

@keyframes widthExpand {
    0% { width: 0; opacity: 0; }
    100% { width: 80px; opacity: 1; }
}

@keyframes typingCursor {
    0% { border-right-color: rgba(0, 210, 255, 0.8); }
    100% { border-right-color: transparent; }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--main-color);
    background-clip: text;          
    -webkit-background-clip: text;
    color: transparent;          
    -webkit-text-fill-color: transparent;
    font-family: 'Montserrat', sans-serif;
}

/* Vision Section */
.vision-section {
    background: var(--bg-color);
}

.vision-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: cardAppear 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .vision-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.vision-card p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.vision-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.highlight span:last-child {
    font-weight: 600;
    color: var(--accent-color);
}

/* Posts Section */
.posts-section {
    background: var(--section-bg);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

[data-theme="dark"] .post-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 98, 255, 0.15);
}

[data-theme="dark"] .post-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 98, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.post-card:hover::before {
    transform: translateX(100%);
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.post-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Events Section */
.events-section {
    background: var(--bg-color);
}

.events-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.meet-schedule, .events-timeline {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .meet-schedule, 
[data-theme="dark"] .events-timeline {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.meet-schedule h3, .events-timeline h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.coming-soon {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 2rem;
    background: var(--section-bg);
    border-radius: 10px;
}

/* Events Section */
.events-section {
    background: white;
}

.events-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-item:hover {
    transform: translateX(10px);
}

.event-item.past-event {
    opacity: 0.7;
}

.event-date {
    text-align: center;
    min-width: 80px;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.event-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.event-content p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.event-time {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Activities Section */
.activities-section {
    background: var(--section-bg);
}

.activities-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Member Section */
.member-section {
    background: var(--bg-color);
}

.member-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.eligibility-criteria {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .eligibility-criteria {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.eligibility-criteria h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.eligibility-criteria ul {
    list-style: none;
    padding: 0;
}

.eligibility-criteria li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.eligibility-criteria li:before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.registration-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .registration-form {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.registration-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Login Section */
.login-section {
    background: var(--bg-color);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.login-content {
    max-width: 400px;
    margin: 0 auto;
}

.login-form, .forgot-password-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .login-form, 
[data-theme="dark"] .forgot-password-form {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.back-to-login {
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.back-to-login:hover {
    background: var(--accent-color);
    color: white;
}

.hidden {
    display: none;
}

/* Contact Section */
.contact-section {
    background: var(--section-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .contact-info {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-details {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .contact-form-container {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.submit-button {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(58, 123, 213, 0.3);
}

/* Feedback Section */
.feedback-section {
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 64, 255, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.feedback-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 187, 187, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.feedback-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.feedback-intro {
    padding: 2rem;
    border-radius: 15px;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

[data-theme="dark"] .feedback-intro {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.intro-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.intro-icon i {
    color: white;
    font-size: 1.8rem;
}

.feedback-intro h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.feedback-intro p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feedback-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.feedback-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--section-bg);
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

[data-theme="dark"] .feedback-highlight {
    background: rgba(255, 255, 255, 0.05);
}

.feedback-highlight i {
    color: var(--accent-color);
}

.feedback-highlight span {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
}

[data-theme="dark"] .contact-form {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.form-header h4 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--heading-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form label i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(58, 123, 213, 0.3);
}

.success-message {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fadeInScale 0.5s ease;
    z-index: 10;
}

[data-theme="dark"] .success-message {
    background: var(--card-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.success-message.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon i {
    color: #22c55e;
    font-size: 2.5rem;
}

.success-message h4 {
    color: var(--heading-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 80%;
    line-height: 1.7;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.form-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-weight: 500;
    color: var(--accent-color);
}

.loader {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About Section */
.about-section {
    background: var(--section-bg);
}

.about-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--card-bg);
    color: var(--text-color);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

[data-theme="dark"] .tab-btn {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--main-color);
    color: white;
    border: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .tab-content {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-content.active {
    display: block;
}

.conduct-content ul {
    list-style: none;
    padding: 0;
}

.conduct-content li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.conduct-content li:before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.club-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: var(--section-bg);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

[data-theme="dark"] .highlight-card {
    background: rgba(255, 255, 255, 0.03);
}

.highlight-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.year-selector {
    margin-bottom: 2rem;
    text-align: center;
}

.year-selector label {
    margin-right: 1rem;
    font-weight: 600;
}

.year-selector select {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardAppear 0.6s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .member-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.member-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(58, 123, 213, 0.2);
}

[data-theme="dark"] .member-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.member-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.member-card p {
    color: var(--accent-color);
    font-weight: 500;
}

.join-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #000428, #00051a) !important;
    color: white !important;
    padding: 4rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0040ff, #00bbbb);
}

[data-theme="dark"] .footer {
    background: linear-gradient(to right, #000000, #000428) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* This ensures the footer always has light text on dark background, regardless of light/dark mode */
.footer, .footer p, .footer h4, .footer li, .footer a {
    color: white !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-tagline {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0040ff, #00bbbb);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-contact i {
    color: #00bbbb;
    margin-right: 0.8rem;
    font-size: 0.95rem;
}

.footer .nav-brand {
    color: white;
}

.footer .brand-name {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    color: white;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #0040ff, #00bbbb);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 64, 255, 0.4);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, 
        transparent,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent
    );
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.version {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6) !important;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-policy-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policy-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .member-content, 
    .contact-content,
    .events-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feedback-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 700px;
    }
    
    .feedback-intro {
        align-items: center;
        text-align: center;
    }
    
    .feedback-highlights {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .hero-content-wrapper {
        margin-left: 5%;
        padding: 2.5rem;
        max-width: 550px;
    }

    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-title-accent {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-box {
        font-size: 1rem;
        height: 36px;
        padding: 0.15rem 1rem;
    }
    
    .cta-button {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .hero-highlights {
        gap: 1.5rem;
    }
    
    .hero-shape-1 {
        width: 400px;
        height: 400px;
    }
    
    .hero-shape-2 {
        width: 300px;
        height: 300px;
    }
    
    .hero-shape-3 {
        width: 250px;
        height: 250px;
    }

    .hero-bg-image {
        background-position: 75% center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        gap: 10px;
        padding: 15px 15px 15px 40px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 6px;
        display: none;
        z-index: 999;
    }
    
    [data-theme="dark"] .nav-menu {
        background: #121212;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 100px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
        align-items: center;
        max-width: 100%;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .hero-bg-image {
        background-position: 65% center;
        opacity: 0.85;
    }

    .hero-img,
    .hero-img-placeholder {
        max-width: 80%;
        max-height: 300px;
    }
    
    .hero-img-placeholder {
        height: 300px;
    }
    
    .placeholder-icon i {
        font-size: 2rem;
    }
    
    .placeholder-text {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: -0.3px;
    }
    
    .hero-title-line::after {
        width: 60px;
        height: 4px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-title-accent {
        font-size: 2.4rem;
        margin-top: 1rem;
        transform: none;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .hero-box {
        margin: 0 auto 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 15px 20px;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-shape-1,
    .hero-shape-2, 
    .hero-shape-3 {
        opacity: 0.5;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 20, 50, 0.85) 0%, rgba(0, 20, 50, 0.95) 100%);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .vision-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .vision-highlights {
        gap: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer responsive styles */
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.2px;
    }
    
    .hero-title-line::after {
        width: 50px;
        height: 3px;
        bottom: -10px;
    }
    
    .hero-title-accent {
        font-size: 1.9rem;
        margin-top: 0.8rem;
    }

    .hero-img,
    .hero-img-placeholder {
        max-width: 90%;
        max-height: 250px;
    }
    
    .hero-img-placeholder {
        height: 250px;
    }
    
    .placeholder-icon {
        gap: 15px;
    }
    
    .placeholder-icon i {
        font-size: 1.8rem;
    }
    
    .placeholder-text {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .vision-card {
        padding: 1.5rem;
    }
    
    .post-card, 
    .member-card,
    .contact-info,
    .contact-form-container,
    .registration-form,
    .eligibility-criteria,
    .login-form,
    .tab-content {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .vision-card h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .feedback-intro h3 {
        font-size: 1.3rem;
    }
    
    /* Footer small screen styles */
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        align-items: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li, 
    .footer-contact li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer {
        padding: 3rem 0 1rem;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    }