@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --primary-color: #111111;
  --secondary-color: #666666;
  --accent-color: #000000;
  --bg-color: #ffffff;
  --surface-color: #f8f9fa;
  --border-color: #eaeaea;
  --text-color: #111111;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.dark-mode {
  --primary-color: #ffffff;
  --secondary-color: #aaaaaa;
  --accent-color: #ffffff;
  --bg-color: #121212;
  --surface-color: #1e1e1e;
  --border-color: #333333;
  --text-color: #f5f5f5;
}

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

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

/* Theme Toggle */
.theme-toggle {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  z-index: 100;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 50%;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--surface-color);
}

body.dark-mode .sun-icon {
  display: block !important;
}

body.dark-mode .moon-icon {
  display: none;
}

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

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  color: var(--secondary-color);
  font-size: 1.125rem;
}

a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-color);
  transition: var(--transition);
}

a:hover {
  text-decoration-color: var(--primary-color);
}

.federations-logos a {
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--surface-color) 100%);
}

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

.hero-text h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero-text .highlight {
  color: var(--secondary-color);
  display: block;
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  max-width: 500px;
}

.hero-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Federations */
.federations {
  padding: 4rem 0;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
}

.federations-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.federations-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.federations-more {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.federations-logos img {
  height: 60px;
  border-radius: 12px;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition);
}

.federations-logos img:hover {
  filter: grayscale(0%) opacity(1);
}

/* Section Shared */
section {
  padding: 8rem 0;
}

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

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



/* Stats / Bio Section */
.about {
  background-color: var(--surface-color);
}

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

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

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

.stat-card {
  background: var(--bg-color);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.stat-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stat-card p {
  font-size: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.service-card {
  padding: 3rem;
  border-radius: 24px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Gallery Section */
.gallery {
  background-color: var(--surface-color);
  padding: 4rem 0;
}

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

.gallery-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.gallery-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Success Section */
.success {
  background-color: var(--bg-color);
}

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

.ig-embed-container {
  width: 100%;
  max-width: 400px;
}

.success-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.success-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--primary-color);
  text-decoration: none;
}

/* FAQ Section */
.faq {
  background-color: var(--surface-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.faq-card {
  background: var(--bg-color);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.faq-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* FAB */
.fab-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
}

.fab-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  color: var(--bg-color);
}

.fab-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Application Form Placeholder */
.apply {
  background-color: #111111;
  color: #ffffff;
  text-align: center;
}

.apply h2, .apply h3 {
  color: #ffffff;
}

.apply p {
  color: rgba(255, 255, 255, 0.8);
}

.apply .btn {
  background-color: #ffffff;
  color: #111111;
}

.apply .btn:hover {
  background-color: #cccccc;
}

.form-placeholder {
  background: rgba(128, 128, 128, 0.1);
  border: 1px dashed rgba(128, 128, 128, 0.3);
  padding: 4rem 2rem;
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.form-placeholder p {
  margin-bottom: 2rem;
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-content span {
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-social span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin: 0 auto 2.5rem;
  }

  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-content .section-header {
    text-align: center !important;
  }

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

  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-separator {
    display: none;
  }
}

/* Micro Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
