:root {
    --emerald: #064e3b;
    --emerald-light: #065f46;
    --gold: #d4af37;
    --gold-light: #f3cf65;
    --white: #ffffff;
    --soft-gray: #f8fafc;
    --text-dark: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('WhatsApp\ Image\ 2025-12-19\ at\ 11.15.17\ AM.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.navbar {
    position: absolute;
    top: 0; width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.logo span { color: var(--white); }

.nav-btn {
    background: var(--gold);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--emerald);
    font-weight: 600;
    transition: 0.3s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--gold);
}

.btn {
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    display: inline-block;
    transition: 0.4s;
}

.btn-primary { background: var(--gold); color: var(--emerald); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }

.btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- Slider Section --- */
.slider-section { padding: 120px 0; background: var(--soft-gray); }

.section-header { text-align: center; margin-bottom: 60px; }
.badge {
    background: rgba(6, 78, 59, 0.1);
    color: var(--emerald);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.slider-container { display: flex; transition: 0.5s ease; }
.slide { min-width: 100%; height: 500px; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-nav button {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- Courses --- */
.courses { padding: 100px 0; }
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.course-img-box { height: 200px; overflow: hidden; }
.course-img-box img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: 0.5s;
}

.course-card:hover { transform: translateY(-10px); }
.course-card:hover img { transform: scale(1.1); }

.course-info { padding: 25px; }
.course-info h3 { color: var(--emerald); margin-bottom: 15px; }

/* --- Stats --- */
.stats { background: var(--emerald); color: white; padding: 80px 0; }
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}
.stat-item h2 { font-size: 3rem; color: var(--gold); }

/* --- Form --- */
.admission { padding: 100px 0; background: var(--soft-gray); }
.form-wrapper {
    background: white;
    max-width: 700px;
    margin: auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-group { display: flex; gap: 20px; }
input, select, textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    background: #f1f5f9;
}

.submit-btn {
    width: 100%; padding: 18px;
    background: var(--emerald); color: white;
    border: none; border-radius: 8px;
    font-weight: 700; cursor: pointer; transition: 0.3s;
}

.submit-btn:hover { background: var(--emerald-light); }

/* --- Footer --- */
.footer { background: #0f172a; color: white; padding: 60px 0; text-align: center; }
.social-links a { 
    color: var(--gold); font-size: 1.5rem; margin: 0 15px; 
    transition: 0.3s;
}
.social-links a:hover { color: white; }
.copy { margin-top: 30px; opacity: 0.5; font-size: 0.8rem; }

@media (max-width: 768px) {
    .form-group { flex-direction: column; gap: 0; }
    .navbar { padding: 20px; }
    .nav-links { display: none; }
}


/* Heading above video */
.video-heading {
  text-align: center;
  margin: 40px 20px 20px;
}

.video-heading h2 {
  font-size: clamp(2rem, 5vw, 4.5rem); /* responsive size */
  /* color: #0b3b5a; */
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Georgia', serif;
}

.video-heading p {
  font-size: clamp(1rem, 2.5vw, 1.3rem); /* responsive sub-heading */
  /* color: #444; */
}


/* Video Section */
.video-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.video-container {
  width: 100%;
  max-width: 900px;   /* max size desktop par */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.video-embed {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .video-heading h2 {
    font-size: 1.5rem;
  }
  .video-container {
    max-width: 100%;
  }
}

/* Heading above video */
.video-heading {
  text-align: center;
  margin: 40px 20px 20px;
}

.video-heading h2 {
  font-size: clamp(2rem, 5vw, 4.5rem); /* responsive size */
  /* color: #0b3b5a; */
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Georgia', serif;
}

.video-heading p {
  font-size: clamp(1rem, 2.5vw, 1.3rem); /* responsive sub-heading */
  /* color: #444; */
}


/* Video Section */
.video-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.video-container {
  width: 100%;
  max-width: 900px;   /* max size desktop par */
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 6px 20px rgba(0,0,0,0.2); */
}

.video-embed {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .video-heading h2 {
    font-size: 1.5rem;
  }
  .video-container {
    max-width: 100%;
  }
}
.course-card {
    max-width: 420px;
    margin: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.35s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* IMAGE FIX */
.course-card-image {
    width: 100%;
    background: #f8f9fa;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-card-image img {
    width: 100%;
    height: auto;        /* 🔥 MAIN FIX */
    max-height: 260px;   /* laptop control */
    object-fit: contain; /* 🔥 poster poora dikhe */
    border-radius: 10px;
}
.course-content {
    padding: 22px 24px 28px;
    text-align: center;
}

.course-content h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.course-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}
