/* ========== GLOBAL & THEME ========== */
:root {
  --bg: #121212;
  --text: #e5e5e5;
  --card-bg: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --accent: #6bc8ff;
}

body {
  margin:0;
  font-family:"Inter", system-ui, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

body.light {
  --bg:#f4f4f6;
  --text:#222;
  --card-bg:#ffffff;
  --border:#d5d5d8;
}

/* ========== NAVBAR ========== */
header {
  position:fixed;
  top:0; left:0; right:0;
  background:rgba(0,0,0,0.75);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  z-index:100;
}

body.light header {
  background:rgba(255,255,255,0.9);
}

.navbar {
  max-width:1200px;
  margin:auto;
  padding:0.9rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.logo {
  font-size:1.4rem;
  font-weight:700;
  background:linear-gradient(90deg,#50a9ff,#ffffff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.nav-links {
  display:flex;
  gap:1.2rem;
  align-items:center;
}

.nav-links a {
  text-decoration:none;
  font-size:0.95rem;
  color:var(--text);
  opacity:0.8;
  border-bottom:2px solid transparent;
  padding-bottom:3px;
  transition:0.2s;
}

.nav-links a:hover {
  opacity:1;
  border-color:rgba(107,200,255,0.4);
}

.nav-links a.active {
  opacity:1;
  border-color:var(--accent);
}

.nav-controls {
  display:flex;
  gap:0.5rem;
  align-items:center;
}

.theme-toggle,
.lang-btn {
  padding:6px 10px;
  border-radius:999px;
  font-size:0.8rem;
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
  cursor:pointer;
}

/* ========== LAYOUT ========== */
main {
  padding-top:80px;
}

section {
  max-width:1200px;
  margin:4.5rem auto;
  padding:0 1.5rem;
}

/* ========== HERO ========== */
.hero-grid {
  display:grid;
  gap:2rem;
}

@media(min-width:900px) {
  .hero-grid {
    grid-template-columns:1.3fr 1fr;
    align-items:center;
  }
}

h1 {
  font-size:2.4rem;
  margin-bottom:0.8rem;
}

h2 {
  font-size:2rem;
  margin-bottom:0.6rem;
}

.section-lead {
  color:rgba(255,255,255,0.75);
  max-width:650px;
  margin-bottom:1.5rem;
}

body.light .section-lead {
  color:#555;
}

.hero-img {
  width:100%;
  height:320px;
  border-radius:1.2rem;
  border:1px solid var(--border);
  background:#222;
  background-size:cover;
  background-position:center;
}

/* ========== BUTTONS ========== */
.btn {
  display:inline-block;
  padding:0.85rem 1.6rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  border:none;
  cursor:pointer;
  margin-right:0.6rem;
}

.btn-primary {
  background:linear-gradient(90deg,#50a9ff,#6bd1ff);
  color:#111;
}

.btn-outline {
  background:transparent;
  color:var(--accent);
  border:1px solid var(--accent);
}

/* ========== CARDS & GRIDS ========== */
.cards {
  display:grid;
  gap:1.7rem;
}

.cards-3 {
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}

.card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:1.2rem;
  padding:1.6rem;
  box-shadow:0 16px 32px rgba(0,0,0,0.25);
  transition:0.3s;
}

.card:hover {
  transform:translateY(-4px);
  box-shadow:0 24px 45px rgba(0,0,0,0.35);
}

.photo-box {
  width:100%;
  height:200px;
  border-radius:1rem;
  border:1px solid var(--border);
  background:#222;
  background-size:cover;
  background-position:center;
  margin-bottom:0.9rem;
}

/* ========== SLIDER ========== */
.slider {
  width:100%;
  height:260px;
  border-radius:1rem;
  overflow:hidden;
  border:1px solid var(--border);
}

.slides {
  display:flex;
  width:300%;
  animation:slide 14s infinite;
}

.slides img {
  width:100%;
  object-fit:cover;
}

@keyframes slide {
  0%   { transform:translateX(0); }
  30%  { transform:translateX(0); }
  35%  { transform:translateX(-100%); }
  65%  { transform:translateX(-100%); }
  70%  { transform:translateX(-200%); }
  100% { transform:translateX(-200%); }
}

/* ========== ZOOM OVERLAY ========== */
.zoom-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:999;
}

.zoom-overlay img {
  max-width:80%;
  max-height:80vh;
  border-radius:1rem;
  border:1px solid #444;
}

/* ========== STATS / COUNTERS ========== */
.stats-box {
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}

.stat {
  text-align:center;
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:1.2rem;
  padding:1.6rem;
}

.counter {
  font-size:2.2rem;
  font-weight:700;
  color:var(--accent);
}

/* ========== PARTNERS ========== */
.partners {
  display:grid;
  gap:1.3rem;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.partner-box {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:0.8rem;
  padding:1rem;
  text-align:center;
  font-size:0.95rem;
}

/* ========== FORM ========== */
form {
  max-width:450px;
  display:flex;
  flex-direction:column;
  gap:0.8rem;
}

input, textarea {
  padding:0.8rem 0.9rem;
  border-radius:0.8rem;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.03);
  color:var(--text);
  font-size:0.95rem;
}

textarea {
  min-height:120px;
  resize:vertical;
}

/* FOOTER PREMIUM */

.main-footer {
  background:#0e0e0f;
  padding: 60px 2rem 30px;
  margin-top:80px;
  border-top:1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width:1200px;
  margin:auto;
  display:grid;
  gap:2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.footer-col h3 {
  font-size:1.4rem;
  font-weight:700;
  color:#fff;
  margin-bottom:1rem;
  background:linear-gradient(90deg,#50a9ff,#6bd1ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.footer-col h4 {
  color:#fff;
  margin-bottom:0.8rem;
  font-size:1.1rem;
  font-weight:600;
}

.footer-col p,
.footer-col a {
  color:#b5b5b5;
  font-size:0.95rem;
  text-decoration:none;
  display:block;
  margin-bottom:0.5rem;
}

.footer-col a:hover {
  color:#6bc8ff;
}

.footer-bottom {
  text-align:center;
  margin-top:2rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,0.1);
  font-size:0.9rem;
  color:#7d7d7d;
}


/* ========== SCROLL ANIMATIONS ========== */
.fade {
  opacity:0;
  transform:translateY(30px);
  transition:0.8s ease;
}

.fade.show {
  opacity:1;
  transform:translateY(0);
}

/* ========== RESPONSIVE ========== */
@media(max-width:768px){
  .navbar {
    flex-wrap:wrap;
    justify-content:space-between;
  }
  .nav-links {
    flex-wrap:wrap;
    justify-content:flex-end;
  }
  h1 { font-size:2rem; }
}
