@import url('https://fonts.googleapis.com/css2?family=SN+Pro:ital,wght@0,200..900;1,200..900&display=swap');


/* Root variables and theme */
:root {
  --background: #1f1f1f;
  --card: #2d2d2d;
  --foreground: #f2f2f2;
  --muted-foreground: #a6a6a6;
  --primary: #9050eb;
  --primary-foreground: #1f1f1f;
  --secondary: #ff9500;
  --secondary-foreground: #1f1f1f;
  --border: #404040;
  --input: #383838;
  --radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}



body {
  /* Swapped Source Sans 3 for SN Pro */
  font-family: 'SN Pro', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  /* Swapped Exo 2 for SN Pro to keep the design consistent */
  font-family: 'SN Pro', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container2 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  padding: 0rem -1rem;
  position: relative;
  justify-items: center;
}

/* Button styles */
button, .btn {
  appearance: none;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-out;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  box-shadow: 0 0 30px #7e40bd;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  box-shadow: 0 0 30px rgba(255, 149, 0, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #7e40bd;
}

a {
  color: var(--foreground);
  transition: color 0.3s ease-out;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(31, 31, 31, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo-section {
  height: 55px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary));
  transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease-out;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease-out;
}

#mobile-menu a:hover {
  background-color: var(--input);
  color: var(--primary);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  #mobile-menu {
    display: none !important;
  }
}

/* Footer */
footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}

.footer-content {
  padding: 3rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.footer-content2{
  padding: 3rem 3rem;
  display: Block;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.footer-section ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--input);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-out;
}

.social-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Tech gradient background */
.tech-gradient {
  background: linear-gradient(135deg, #3427c4 0%, transparent 50%, rgba(255, 149, 0, 0.1) 100%);
}

/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 1rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.8s ease-out;
}

.hero h1 .text-primary {
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 500px;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero-image {
  position: relative;
  animation: slideInRight 0.8s ease-out;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.3;
  filter: blur(20px);
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: block;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* Stats strip */
.stats-strip {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

.stat-number {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid #7e40bd;
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(85, 215, 230, 0.2), 0 0 30px rgba(85, 215, 230, 0.15);
  border-color: var(--primary);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--foreground);
  transition: color 0.3s ease-out;
}

.card:hover h3 {
  color: var(--primary);
}

.card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), #7e40bd);
  color: var(--primary-foreground);
}

.card-arrow {
  color: var(--primary);
  font-weight: 600;
  transition: transform 0.3s ease-out;
}

.card:hover .card-arrow {
  transform: translateX(8px);
}

/* Sections */
section {
  padding: 5rem 1rem;
}

section h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 4rem;
  color: var(--foreground);
}

/*card section*/

.card-image {
  width: 100%;       /* Makes the container match the card width */
  overflow: hidden;  /* Essential: cuts off anything that tries to escape */
}

.card-image img {
  width: 100%;       /* Forces the image to be exactly as wide as the container */
  max-width: 100%;   /* Double-check to prevent overflow */
  height: var(--img-h, 500px); 
  object-fit: cover; /* Prevents squishing */
  display: block;    /* Removes the weird 4px gap at the bottom of images */
}

.card-content {
  padding: 1rem; /* This creates space on all sides of the text */
  display: flex;
  flex-direction: column;
  gap: 1rem;       /* This adds space between the title, the <p>, and the tags */
}


/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: relative;
  width: 40px;
  flex-shrink: 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  margin-top: 8px;
}

.timeline-line {
  position: absolute;
  left: 7px;
  top: 24px;
  width: 2px;
  height: 80px;
  background-color: var(--border);
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.timeline-content p {
  color: var(--muted-foreground);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease-out;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(85, 215, 230, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  height: 300px;
  transition: all 0.3s ease-out;
  border: 1px solid #7e40bd;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px #7e40bd;
  border-color: var(--primary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: white;
  font-size: 0.875rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Filter buttons */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease-out;
  font-size: 0.875rem;
  font-weight: 500;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 800px;
  width: 100%;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease-out;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.modal-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.125rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility classes */
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-muted {
  color: var(--muted-foreground);
}

.bg-card {
  background-color: var(--card);
}

.border-top {
  border-top: 1px solid var(--border);
}

.border-bottom {
  border-bottom: 1px solid var(--border);
}

/* FAQ Details */
details {
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

details:hover {
  border-color: var(--primary);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.3s ease-out;
  user-select: none;
}

details:hover summary {
  color: var(--primary);
}

summary::marker {
  display: none;
}

.summary-arrow {
  transition: transform 0.3s ease-out;
}

details[open] .summary-arrow {
  transform: rotate(180deg);
}

details p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

/* Value cards */
.value-card {
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease-out;
}

.value-card:hover {
  border-color: #7e40bd;
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1c;
  border-radius: 8px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.value-card h4 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.value-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-buttons {
    width: 100%;
  }

  .hero-buttons button, .hero-buttons a {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Team Section
========================= */

#team {
  padding: 5rem 1rem;
}

.team-photo{
  width: 120px;         
  height: 120px;
  border-radius: 50%;   
  object-fit: cover;    
  margin-bottom: 1rem;
}
.team-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.team-header h2 {
  margin-bottom: 1rem;
}

.team-header p {
  color: var(--muted-foreground);
}

/* Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Square Cards */
.team-card {
  aspect-ratio: 1 / 1;
  background: linear-gradient(
    135deg,
    rgba(85, 215, 230, 0.25),
    rgba(85, 215, 230, 0.08)
  );
  border: 1px solid rgba(85, 215, 230, 0.2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(85, 215, 230, 0.25);
  border-color: var(--primary);
}

.team-card svg {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.team-card:hover svg {
  color: var(--primary);
}

.team-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Leadership Section */
.team-leadership {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.team-leadership h3 {
  margin-bottom: 1rem;
}

.team-leadership p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.team-leadership ul {
  list-style: none;
  padding: 0;
}

.team-leadership li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
}

.team-leadership li span {
  color: var(--primary);
  font-weight: bold;
}

.social-container {
  display: flex;
  flex-direction: column;
  align-items: center;      /* centers icons horizontally */
  justify-content: left;  /* centers vertically if needed */
  gap: 1.5rem;
  margin: 2rem auto 0 auto; /* THIS centers the whole block */
}

.social-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 22px;
  height: 22px;
}
.social-icon:hover {
  color: var(--secondary);
  transform: translateY(-4px);
}
