@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

/* ── LIGHT (Day) MODE ── */
:root {
  --bg: #ffffff;
  --bg2: #faf8f3;
  --surface: #ffffff;
  --surface2: #f4f0e6;
  --border: #e5dbc8;
  --accent: #d69d2c;
  --accent-dark: #b8841e;
  --accent-light: #f0c96a;
  --text: #1a1208;
  --text2: #3d2e10;
  --muted: #8a7855;
  --shadow: 0 4px 32px rgba(214,157,44,0.14);
  --font-head: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-bg: rgba(255,255,255,0.94);
  --hero-grid-color: rgba(214,157,44,0.12);
  --card-bg: #ffffff;
}

/* ── DARK (Night) MODE ── */
[data-theme="dark"] {
  --bg: #080808;
  --bg2: #0f0f0f;
  --surface: #131313;
  --surface2: #1a1a1a;
  --border: #272727;
  --accent: #d69d2c;
  --accent-dark: #b8841e;
  --accent-light: #f0c96a;
  --text: #f0f0f0;
  --text2: #cccccc;
  --muted: #888888;
  --shadow: 0 4px 32px rgba(0,0,0,0.5);
  --nav-bg: rgba(8,8,8,0.94);
  --hero-grid-color: rgba(214,157,44,0.07);
  --card-bg: #131313;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

/* Main logo style */
.logo-img {
  height: 40px;
  width: auto;   /* keeps aspect ratio */
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 3rem;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, border-color 0.4s;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px; background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .logo-main { font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; color: var(--text); letter-spacing: -0.3px; }
.nav-logo-text .logo-sub  { font-size: 0.62rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }

.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: 0.83rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,157,44,0.1) 0%, transparent 65%);
  top: 50%; left: 45%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid rgba(214,157,44,0.35);
  background: rgba(214,157,44,0.07);
  padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem; width: fit-content;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 900; max-width: 820px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  margin-top: 1.5rem; max-width: 540px;
  color: var(--muted); font-size: 0.98rem;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s; border: none; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(214,157,44,0.3); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(214,157,44,0.4); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── SECTIONS ── */
.section { padding: 6rem 3rem; max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-label::before { content: ''; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 0.9rem; max-width: 540px; margin-bottom: 3rem; }

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  margin-bottom: 1.2rem; background: rgba(214,157,44,0.1);
}
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--accent); padding: 3rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem; text-align: center;
}
.stat-num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; color: #fff; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

/* ── PHOTO SLIDER ── */
.slider-section {
  padding: 5rem 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.slider-inner { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.slider-header { margin-bottom: 2rem; }
.slider-viewport {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.16);
  position: relative;
}
.slider-slides { display: flex; transition: transform 0.75s cubic-bezier(0.77,0,0.18,1); }
.slide {
  min-width: 100%; height: 500px;
  position: relative; flex-shrink: 0;
  display: flex; align-items: flex-end; overflow: hidden;
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1.05); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}
.slide-caption { position: relative; z-index: 2; padding: clamp(1.5rem, 5vw, 2.5rem); color: #fff; }
.slide-caption .slide-tag {
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: 100px;
  background: var(--accent); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.slide-caption h3 { font-size: clamp(1.2rem, 4vw, 1.6rem); font-weight: 900; margin-bottom: 0.3rem; }
.slide-caption p  { font-size: clamp(0.8rem, 3vw, 0.88rem); opacity: 0.82; }
.slider-controls {
  display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem;
}
.slider-dots { display: flex; gap: 0.5rem; align-items: center; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 100px;
  background: var(--border); cursor: pointer; transition: all 0.35s;
  border: none;
}
.slider-dot.active { width: 30px; background: var(--accent); }
.slider-arrows { display: flex; gap: 0.6rem; }
.slider-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; color: var(--text);
  transition: all 0.2s;
}
.slider-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 8rem 3rem 3.5rem;
  background: linear-gradient(160deg, rgba(214,157,44,0.06) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 50px 50px; opacity: 0.6;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; position: relative; }
.page-hero p  { color: var(--muted); margin-top: 0.6rem; font-size: 0.95rem; position: relative; }

/* ── BADGE ── */
.badge {
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: 100px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-gold   { background: rgba(214,157,44,0.15); color: var(--accent); }
.badge-green  { background: rgba(34,197,94,0.12); color: #15803d; }
.badge-cyan   { background: rgba(6,182,212,0.12); color: #0e7490; }
.badge-purple { background: rgba(139,92,246,0.12); color: #6d28d9; }
.badge-pink   { background: rgba(244,63,94,0.12); color: #be123c; }

[data-theme="dark"] .badge-green  { color: #4ade80; background: rgba(34,197,94,0.15); }
[data-theme="dark"] .badge-cyan   { color: #22d3ee; background: rgba(6,182,212,0.15); }
[data-theme="dark"] .badge-purple { color: #a78bfa; background: rgba(139,92,246,0.15); }
[data-theme="dark"] .badge-pink   { color: #fb7185; background: rgba(244,63,94,0.15); }

.divider { border: none; border-top: 1px solid var(--border); }

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 3rem 2rem; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}
.footer-brand p { color: var(--muted); font-size: 0.84rem; margin-top: 0.75rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: var(--text2); font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.78rem; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 0.8rem 1rem;
  color: var(--text); font-family: var(--font-body); font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th { text-align: left; padding: 0.8rem 1rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
td { padding: 1rem; border-bottom: 1px solid var(--border); color: var(--text2); }
tr:hover td { background: var(--surface2); }

/* Course card */
.course-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.course-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.course-thumb { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.course-body { padding: 1.5rem; }
.course-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.course-body h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.5rem; }
.course-body p { font-size: 0.83rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.65; }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.rating { color: #d69d2c; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulseGold { 0%,100% { box-shadow:0 0 0 0 rgba(214,157,44,0.4); } 50% { box-shadow:0 0 0 16px rgba(214,157,44,0); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero, .section, .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .slide { height: 360px; }
  .slider-inner { padding: 0 1.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .slide { height: 280px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 0.9rem; }
}


/* inside project.html all, nlp , vission btn style */
/* ── FILTER BUTTONS ── */

.filter-btns{
  display:flex;
  flex-wrap:wrap;
  gap:0.6rem;
  margin-bottom:2rem;
}

.filter-btn{
  padding:0.45rem 1.1rem;
  border-radius:40px;
  border:1.5px solid var(--border);
  background:var(--surface);
  color:var(--muted);
  font-size:0.78rem;
  font-weight:600;
  cursor:pointer;
  transition:all 0.25s ease;
}

/* hover */
.filter-btn:hover{
  border-color:var(--accent);
  color:var(--accent);
  transform:translateY(-1px);
}

/* active state */
.filter-btn.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  box-shadow:0 4px 14px rgba(214,157,44,0.25);
}