
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary: hsl(212, 70%, 16%);
      --primary-foreground: hsl(0, 0%, 100%);
      --secondary: hsl(212, 55%, 25%);
      --accent: hsl(43, 96%, 56%);
      --accent-foreground: hsl(212, 70%, 16%);
      --muted: hsl(210, 40%, 96%);
      --muted-foreground: hsl(215, 16%, 47%);
      --card: hsl(0, 0%, 100%);
      --foreground: hsl(222, 47%, 11%);
      --border: hsl(214, 32%, 91%);
      --success: hsl(142, 71%, 45%);
      --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    body {
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      color: var(--foreground);
      background: var(--muted);
      overflow-x: hidden;
    }

    h1, h2, h3, h4 {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      line-height: 1.3;
    }

    .container-narrow {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    .section-padding {
      padding: 5rem 1rem;
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      background: var(--primary);
      transition: all 0.3s ease;
      height: 70px;
    }

    header.scrolled {
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 2rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--primary-foreground);
      text-decoration: none;
      font-weight: 700;
      font-size: 1.125rem;
      margin-top: 15px;
    }

    .logo img {
      width: 3rem;
      height: 3rem;
      border-radius: 0.5rem;
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255, 255, 255, 0.9);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--primary-foreground);
      font-size: 1.75rem;
      cursor: pointer;
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      padding: 8rem 1rem 3rem;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      transition: opacity 1s ease;
      background-size: cover;
      background-position: center;
    }

    .hero-bg.active {
      opacity: 1;
    }

    .hero-bg.inactive {
      opacity: 0;
    }

    .slide-indicators {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.5rem;
      z-index: 20;
    }

    .slide-indicator {
      width: 0.75rem;
      height: 0.75rem;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      border: none;
      cursor: pointer;
      transition: all 0.3s;
    }

    .slide-indicator.active {
      width: 2rem;
      background: var(--accent);
    }

    .hero-content {
      position: relative;
      z-index: 10;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      max-width: 1400px;
      margin: 0 auto;
      width: 100%;
      /* margin-top: 100px; */
    }

    @media (min-width: 1024px) {
      .hero-content {
        grid-template-columns: 3fr 2fr;
        gap: 3rem;
      }
    }

    .hero-text {
      color: var(--primary-foreground);
    }

    .hero-text h1 {
      font-size: clamp(2rem, 5vw, 3.75rem);
      margin-bottom: 1.5rem;
      line-height: 1.2;
      /* margin-top: 120px; */
    }

    .hero-text .accent-text {
      color: var(--accent);
    }

    .hero-text p {
      font-size: clamp(1rem, 2vw, 1.25rem);
      opacity: 0.9;
      margin-bottom: 2rem;
      max-width: 40rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      background: var(--accent);
      color: var(--accent-foreground);
      text-decoration: none;
      font-weight: 700;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      font-size: 1.125rem;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    }
    .departments-panel {
      background: rgba(255, 255, 255, 0.878);
      backdrop-filter: blur(10px);
      border-top-left-radius: 4rem;
      border-bottom-right-radius: 4rem;
      padding: 1.5rem;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      margin-top: 0px;
    }

    .departments-panel h3 {
      color: var(--primary);
      font-size: 1.25rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .dept-accent {
      width: 0.25rem;
      height: 1.5rem;
      background: var(--accent);
      border-radius: 50px;
    }

    .dept-grid {
      display: grid;
      gap: 0.75rem;
    }

    .dept-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.3rem;
      background: rgba(0, 0, 0, .02);
      border-radius: 0.75rem;
      transition: all 0.3s;
      cursor: pointer;
    }

    .dept-item:hover {
      background: rgba(255, 193, 7, 0.1);
    }

    .dept-icon {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 0.5rem;
      background: rgba(11, 37, 69, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      transition: all 0.3s;
    }

    .dept-item:hover .dept-icon {
      background: var(--accent);
      color: var(--accent-foreground);
    }

    .dept-name {
      font-weight: 500;
      color: var(--foreground);
    }

    /* Stats Section */
    .stats {
      padding: 3rem 1rem;
      background: var(--primary);
      color: var(--primary-foreground);
    }

    .stats-grid {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      text-align: center;
    }

    .stat-item h3 {
      font-size: 3rem;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }

    .stat-item p {
      opacity: 0.9;
    }

    /* Principal Section */
    .principal-section {
      padding: 5rem 1rem;
      background: var(--card);
    }

    .principal-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: center;
    }

    @media (min-width: 768px) {
      .principal-content {
        grid-template-columns: 1fr 1fr;
      }
    }

    .principal-image-wrapper {
      position: relative;
    }

    .principal-bg-decoration {
      position: absolute;
      inset: -1rem;
      background: rgba(255, 193, 7, 0.2);
      border-radius: 1.5rem;
      transform: rotate(-3deg);
    }

    .principal-image {
      position: relative;
      width: 100%;
      height: 350px;
      object-fit: cover;
      border-radius: 1rem;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    @media (min-width: 768px) {
      .principal-image {
        height: 400px;
      }
    }

    .principal-message {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .principal-quote {
      font-size: 1.125rem;
      line-height: 1.8;
      color: var(--foreground);
    }

    @media (min-width: 768px) {
      .principal-quote {
        font-size: 1.25rem;
      }
    }

    .principal-signature {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .signature-line {
      width: 3rem;
      height: 0.25rem;
      background: var(--accent);
      border-radius: 50px;
    }

    .signature-text {
      font-weight: 700;
      color: var(--primary);
    }

    /* Courses Section */
    .courses-section {
      padding: 5rem 1rem;
      background: rgba(0, 0, 0, 0.02);
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-header h2 {
      font-size: clamp(2rem, 4vw, 2.5rem);
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .section-header p {
      color: var(--muted-foreground);
      max-width: 42rem;
      margin: 0 auto;
    }

    .courses-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    @media (min-width: 768px) {
      .courses-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (min-width: 1280px) {
      .courses-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .course-card {
      background: var(--card);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.3s;
    }

    .course-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .course-image-wrapper {
      height: 11rem;
      overflow: hidden;
      position: relative;
    }

    .course-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .course-card:hover .course-image {
      transform: scale(1.05);
    }

    .course-gradient {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(11, 37, 69, 0.6), transparent);
    }

    .course-content {
      padding: 1.25rem;
    }

    .course-title {
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .course-details {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .course-card.expanded .course-details {
      max-height: 500px;
    }

    .course-details ul {
      list-style: none;
      margin-bottom: 1rem;
    }

    .course-details li {
      display: flex;
      align-items: start;
      gap: 0.5rem;
      font-size: 0.875rem;
      margin-bottom: 0.5rem;
      color: var(--foreground);
    }

    .check-icon {
      color: var(--success);
      flex-shrink: 0;
      margin-top: 0.125rem;
    }

    .course-actions {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    @media (min-width: 640px) {
      .course-actions {
        flex-direction: row;
      }
    }

    .toggle-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.25rem;
      background: none;
      border: none;
      color: var(--secondary);
      font-weight: 600;
      font-size: 0.875rem;
      cursor: pointer;
      transition: color 0.3s;
    }

    .toggle-btn:hover {
      color: var(--accent);
    }

    .chevron {
      transition: transform 0.3s;
    }

    .course-card.expanded .chevron {
      transform: rotate(180deg);
    }

    .apply-btn {
      padding: 0.5rem 1rem;
      background: var(--primary);
      color: var(--primary-foreground);
      text-decoration: none;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.875rem;
      text-align: center;
      transition: background 0.3s;
    }

    .apply-btn:hover {
      background: var(--secondary);
    }

    /* About Section */
    .about-section {
      padding: 5rem 1rem;
      position: relative;
      background: linear-gradient(135deg, hsla(212, 70%, 16%, 0.92), hsla(212, 55%, 25%, 0.88)),
                  url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1920&q=80') center/cover no-repeat fixed;
      color: var(--primary-foreground);
    }

    .about-content {
      max-width: 64rem;
      margin: 0 auto;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(20px);
      border-radius: 1.5rem;
      padding: 2rem;
    }

    @media (min-width: 768px) {
      .about-content {
        padding: 3rem;
      }
    }

    .about-content h2 {
      text-align: center;
      font-size: clamp(2rem, 4vw, 2.5rem);
      margin-bottom: 2rem;
    }

    .about-box {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 1rem;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .about-box h3 {
      font-size: 1.25rem;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }

    .about-box p {
      opacity: 0.9;
      line-height: 1.7;
    }

    .values-section h3 {
      font-size: 1.25rem;
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .values-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    @media (min-width: 640px) {
      .values-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (min-width: 768px) {
      .values-grid {
        grid-template-columns: repeat(5, 1fr);
      }
    }

    .value-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 0.75rem;
      padding: 1rem;
    }

    .value-item i {
      color: var(--accent);
    }

    .value-item span {
      font-weight: 500;
      font-size: 0.875rem;
    }

    /* News Section */
    .news-section {
      padding: 5rem 1rem;
      background: var(--card);
    }

    .news-grid {
      max-width: 64rem;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    .news-card {
      background: var(--card);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.3s;
    }

    .news-card:hover {
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .news-image-wrapper {
      height: 12rem;
      overflow: hidden;
    }

    .news-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .news-card:hover .news-image {
      transform: scale(1.05);
    }

    .news-content {
      padding: 1.5rem;
    }

    .news-content h3 {
      font-size: 1.25rem;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    .news-content p {
      color: var(--muted-foreground);
    }

    /* Gallery Section */
    .gallery-section {
      padding: 5rem 1rem;
      background: rgba(0, 0, 0, 0.02);
    }

    .gallery-grid {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    @media (min-width: 768px) {
      .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .gallery-item {
      position: relative;
      aspect-ratio: 1;
      overflow: hidden;
      border-radius: 1rem;
      cursor: pointer;
    }

    .gallery-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .gallery-item:hover .gallery-image {
      transform: scale(1.1);
    }

    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: rgba(11, 37, 69, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .gallery-item:hover .gallery-overlay {
      opacity: 1;
    }

    .gallery-overlay span {
      color: var(--primary-foreground);
      font-weight: 500;
      font-size: 0.875rem;
      text-align: center;
      padding: 1rem;
    }

    /* Admission Section */
    .admission-section {
      padding: 5rem 1rem;
      background: rgba(0, 0, 0, 0.02);
    }

    .admission-card {
      max-width: 42rem;
      margin: 0 auto;
      background: var(--card);
      border-radius: 1.5rem;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    @media (min-width: 768px) {
      .admission-card {
        padding: 3rem;
      }
    }

    .admission-icon {
      width: 5rem;
      height: 5rem;
      margin: 0 auto 1.5rem;
      background: rgba(255, 193, 7, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .admission-icon i {
      font-size: 2.5rem;
      color: var(--accent);
    }

    .admission-card h3 {
      font-size: 1.25rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .admission-card p {
      color: var(--muted-foreground);
      margin-bottom: 2rem;
    }

    /* Contact Section */
    .contact-section {
      padding: 5rem 1rem;
      background: var(--card);
    }

    .contact-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    @media (min-width: 1024px) {
      .contact-container {
        grid-template-columns: 1fr 1fr;
      }
    }

    .contact-form-wrapper {
      background: var(--card);
      border-radius: 1.5rem;
      padding: 1.5rem;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    @media (min-width: 768px) {
      .contact-form-wrapper {
        padding: 2rem;
      }
    }

    .contact-form-wrapper h3 {
      font-size: 1.25rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
    }

    .form-group {
      margin-bottom: 1rem;
    }

    .form-input {
      width: 100%;
      padding: 1rem;
      border: 2px solid var(--border);
      border-radius: 0.75rem;
      font-family: inherit;
      font-size: 1rem;
      transition: border-color 0.3s;
    }

    .form-input:focus {
      outline: none;
      border-color: var(--primary);
    }

    textarea.form-input {
      resize: none;
      min-height: 120px;
    }

    .submit-btn {
      width: 100%;
      padding: 1rem 2rem;
      background: var(--primary);
      color: var(--primary-foreground);
      border: none;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s;
    }

    .submit-btn:hover {
      background: var(--secondary);
    }

    .contact-info {
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }

    .contact-info-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .contact-icon {
      width: 3rem;
      height: 3rem;
      border-radius: 0.75rem;
      background: rgba(11, 37, 69, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
    }

    .contact-info-text p:first-child {
      font-weight: 500;
    }

    .contact-info-text p:last-child {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }

    .map-wrapper {
      border-radius: 1.5rem;
      overflow: hidden;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      height: 400px;
    }

    @media (min-width: 1024px) {
      .map-wrapper {
        height: 100%;
      }
    }

    .map-wrapper iframe {
      width: 100%;
      height: 100%;
      min-height: 300px;
      border: none;
    }

    /* Footer */
    footer {
      background: var(--primary);
      color: var(--primary-foreground);
      padding: 3rem 1rem 2rem;
    }

    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      margin-bottom: 3rem;
    }

    @media (min-width: 640px) {
      .footer-content {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
      }
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .footer-logo {
      width: 3rem;
      height: 3rem;
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-logo img {
      width: 2rem;
      height: 2rem;
      object-fit: contain;
    }

    .footer-brand span {
      font-weight: 700;
      font-size: 1.25rem;
    }

    .footer-section h4 {
      font-size: 1.125rem;
      margin-bottom: 1rem;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 0.5rem;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all 0.3s;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .footer-contact {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-contact-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: rgba(255, 255, 255, 0.8);
    }

    .footer-bottom {
      max-width: 1400px;
      margin: 0 auto;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      text-align: center;
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.875rem;
    }

    /* Back to Top */
    .back-to-top {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      width: 3rem;
      height: 3rem;
      background: var(--accent);
      color: var(--accent-foreground);
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      transition: all 0.3s;
      opacity: 0;
      pointer-events: none;
      z-index: 999;
    }

    .back-to-top.visible {
      opacity: 1;
      pointer-events: all;
    }

    .back-to-top:hover {
      transform: scale(1.1);
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--primary);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right 0.3s;
        align-items: center;
        justify-content: center;
        gap: 2rem;
      }

      .nav-links.active {
        right: 0;
      }

      .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
      }

      .menu-toggle {
        display: block;
      }

      .gallery-section {
        display: none;
      }
    }

    @media (max-width: 480px) {
      .courses-grid {
        grid-template-columns: 1fr;
      }

      .news-grid {
        grid-template-columns: 1fr;
      }

      .stats-grid {
        grid-template-columns: 1fr;
      }

      .values-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
