/* Theme Colors - Easily Changeable */
:root {
    --primary-color: #004080;
    --secondary-color: #f5b301;
    --text-color: #333;
    --bg-color: #fff;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
  }
  
  /* Header and Nav */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo span {
    color: var(--secondary-color);
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }
  
  nav a:hover,
  nav a.active {
    color: var(--secondary-color);
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid var(--secondary-color);
  }
  
  .dropdown-content li {
    margin: 0.5rem 0;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Mobile Menu */
  .menu-toggle {
    display: none;
    cursor: pointer;
  }
  
  /* Hero */
  .hero {
    position: relative;
    text-align: center;
    color: white;
  }
  
  .hero img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    filter: brightness(0.7);
  }
  
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .btn {
    background: var(--secondary-color);
    color: #fff;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    display: inline-block;
  }
  
  /* Sections */
  section {
    padding: 3rem 2rem;
  }
  
  .container {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .container img {
    width: 50%;
    border-radius: 8px;
  }
  
  /* Academic Cards */
  .academic-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .academic-card {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 30%;
  }
  
  .academic-card img {
    width: 100%;
    border-radius: 8px;
  }
  
  /* Gallery */
  .gallery-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .gallery-grid img {
    width: 32%;
    border-radius: 8px;
  }
  
  /* Blog */
  .blog-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .blog-container article {
    flex: 1 1 45%;
    background: #fafafa;
    padding: 1rem;
    border-radius: 8px;
  }
  
  /* Footer */
  footer {
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    margin-top: 2rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    nav ul {
      display: none;
      flex-direction: column;
      background: var(--primary-color);
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      text-align: center;
    }
  
    nav ul.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
      color: white;
      font-size: 1.5rem;
    }
  
    .container {
      flex-direction: column;
    }
  
    .academic-grid {
      flex-direction: column;
    }
  
    .gallery-grid img {
      width: 100%;
    }
  
    .blog-container article {
      flex: 1 1 100%;
    }

     .hero-text h2 {
    font-size: 1rem;
    color:whitesmoke;
  }


  .hero {
    position: relative;
    width: 100%;
    height: 50vh; /* or 70vh for smaller section */
    overflow: hidden;
  }
  
  .hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 78%;
    object-fit: cover; /* makes image fill without distortion */
    z-index: -1;
  }


    }
  