﻿:root {
  --bg-color: #0a0a0f;
  --text-color: #e0e0e0;
  --primary-color: #00f2ff;
  --secondary-color: #7000ff;
  --accent-color: #ff0055;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.highlight {
  color: var(--primary-color);
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Alignment Utilities */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-full-line { width: 100%; }

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
}

.btn-secondary {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--primary-color);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.scrolled {
  background: #0a0a0f; /* Solid background matching bg-color */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* For mobile menu positioning */
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

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

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.4s;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul li a:not(.btn-primary) {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

nav ul li a:not(.btn-primary):hover {
  opacity: 1;
  color: var(--primary-color);
}

nav ul li a.active {
  color: var(--primary-color);
  font-weight: 700;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./images/innovation_hub_hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  background-attachment: fixed;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,15,0.3), rgba(10,10,15,0.9));
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: #fff;
  border-radius: 50%;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

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

/* Intro Hub Section */
#intro-hub {
  padding: 6rem 0;
  background-color: #f8f9fa; /* Light background */
  position: relative;
  z-index: 20;
  color: #1a1a2e; /* Dark text base */
}

#intro-hub .highlight {
  color: #7000ff; /* Use secondary color for better contrast on light bg */
}

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

.intro-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0f172a; /* Dark heading */
}

.intro-content p {
  font-size: 1.1rem;
  color: #475569; /* Darker gray for readability on light bg */
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.intro-image {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Softer shadow */
  border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.intro-image:hover img {
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .intro-content {
    order: 2;
  }
  
  .intro-image {
    order: 1;
  }
}

/* Objectives Section */
#objectives {
  padding: 4rem 0 8rem 0;
  background-color: #eee; /* Light gray background */
  color: #1a1a2e;
}

#objectives .container h2 {
    font-size: 2.5rem;
    margin-bottom: 0rem;
    color: #0f172a!important;
}

.objectives-container {
  display: flex;
  width: 100%;
  height: 500px; /* Fixed height for the expansion effect */
  gap: 1rem;
  margin-top: 1rem;
}

.obj-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  flex: 0.5; /* Default collapsed state */
  margin: 10px;
  position: relative;
  transition: flex 0.7s ease-in-out;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.obj-card.active {
  flex: 5; /* Expanded state */
}

.obj-card .obj-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease-in 0.4s; /* Delay fade in */
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.obj-card.active .obj-content {
  opacity: 1; /* Visible when active */
}

.obj-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  white-space: nowrap; /* Keep title on one line if possible */
}

@media (max-width: 768px) {
  .objectives-container {
    flex-direction: column;
    height: auto;
  }
  
  .obj-card {
    height: 80px; /* Collapsed height on mobile */
    flex: none; /* Disable flex scaling on mobile axis if using height */
    width: 100%;
    transition: height 0.7s ease-in-out;
  }
  
  .obj-card.active {
    height: 300px; /* Expanded height on mobile */
    flex: none;
  }
}

/* Actions Section */
#actions {
  padding: 6rem 0;
  background-color: var(--bg-color);
  text-align: center;
  position: relative;
  z-index: 10;
}

.actions-split {
  display: block; /* Formerly grid */
}

.actions-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.actions-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.actions-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.line {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 2rem auto;
  border-radius: 2px;
}

.line.align-left {
  margin: 0 auto 2rem auto;
}

/* Events Section (formerly Impact Stats) */
#events {
  padding: 6rem 0;
  background-color: #ffffff; /* Pure white background */
  position: relative;
  z-index: 10;
}

#events .section-header h2 {
    color: #0f172a;
}

#events .actions-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.action-image-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.action-image-card:hover {
  transform: translateY(-5px);
}

.action-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.action-image-card:hover img {
  transform: scale(1.1) rotate(-3deg);
}

.action-image-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  z-index: 2;
}

/* Stats Styles reused in Events */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
  border-color: rgba(0, 243, 255, 0.3);
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

#events .stat-card p {
  color: #475569;
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 1rem 0;
}

.carousel-slide {
  min-width: 25%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

@media (max-width: 968px) {
  .carousel-slide {
    min-width: 50%;
  }
}

@media (max-width: 600px) {
  .carousel-slide {
    min-width: 100%;
  }
  .carousel-container {
    padding: 0 1rem;
  }
  .carousel-btn {
    width: 35px;
    height: 35px;
  }
}

/* About Section (Original) */
#about {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

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

.about-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.about-card:hover::before {
  transform: translateX(100%);
}

.about-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Partners Section */
#partners {
  padding: 8rem 0;
  background-color: #eee; /* Match Objectives background */
  position: relative;
  width: 100%;
}

#partners .section-header h2 {
    color: #0f172a;
}

/* Full width carousel container for partners if requested to occupy "page full" */
#partners .carousel-container {
    max-width: 100%;
    padding: 0 6rem; 
}

#partners .carousel-btn.prev {
    left: 4rem;  /* Stick to left */
}

#partners .carousel-btn.next {
    right: 4rem; /* Stick to right */
}

.partners-grid {
  display: flex; /* Changed from grid to flex for carousel track usage logic in HTML update coming next */
  width: 100%;
  justify-content: center;
  align-items: center;
}

.partner-card {
    min-width: 250px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin: 0 1rem;
}

.partner-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.partner-card:hover .partner-logo {
  color: var(--primary-color);
  text-shadow: none;
}

/* Blog Section */
#blog {
  padding: 8rem 0;
  background-color: var(--bg-color);
}

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

.blog-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-image {
  height: 200px;
  background: linear-gradient(45deg, #1a1a2e, #16213e);
  position: relative;
}

.blog-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.blog-content p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more:hover {
  color: #fff;
}

/* Page Headers */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), var(--bg-color));
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Content Blocks */
.content-block {
  margin-bottom: 4rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-block h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.content-block p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-item {
  margin-top: 2rem;
}

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

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-main);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.join-partners {
  text-align: center;
  margin-top: 6rem;
  padding: 4rem;

  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.join-partners h3 {
  margin-bottom: 1rem;
}

.join-partners p {
  margin-bottom: 2rem;
  opacity: 0.8;
}



/* Community Section */
#community {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  z-index: 10;
  margin-bottom: -50px;
}

#community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

#community .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

.community-card {
  background-color: #fff;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  margin: 0 auto;
  min-height: 450px;
}

.community-image {
  flex: 1;
  position: relative;
  min-height: 100%;
  background: #000;
  clip-path: ellipse(100% 100% at 0% 50%);
  border-top-right-radius: 200px;
  border-bottom-right-radius: 0;
  margin-right: -50px;
  z-index: 1;
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.community-content {
  flex: 1.2;
  padding: 4rem;
  padding-left: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  z-index: 0;
}

.community-content .highlight {
  color: #7000ff;
}

.community-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.community-content p {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.community-avatars {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -15px;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.community-avatars span {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 600;
}

.community-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-community {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Center content */
  flex: 1; /* Equal width */
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 6px; /* Squarer */
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.btn-community:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background-color: #128C7E;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-discord {
  background-color: #5865F2;
  color: #fff;
}
.btn-discord:hover {
  background-color: #4752C4;
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

/* Footer alignment */
footer {
  position: relative;
  z-index: 1;
  background-color: #050508;
  padding: 8rem 0 3rem;
  border-top: none;
  color: #fff; /* Ensure text visible */
}

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

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #a0a0a0;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

.reveal-text, .reveal-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

.reveal-text.active, .reveal-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustment for Hero Text on mobile */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Show hamburger on mobile */
    z-index: 1001;
  }

  /* Transform Hamburger to X when active */
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: -100%; /* Hide off-screen */
    width: 100%;
    background-color: #0a0a0f; /* Match header bg */
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    left: 0; /* Slide in */
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }
  
  .nav-menu ul li {
    text-align: center;
  }
  
  .nav-menu ul li a {
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }
}