/* =====================================
   Global Styles – ASO College Website
   ===================================== */
:root {
  --primary-green: #2e7d32;
  --primary-green-dark: #1b5e20;
  --accent-orange: #ff9800;
  --accent-orange-dark: #e68900;
  --light-bg: #f9f9f9;
  --text-dark: #333;
  --text-light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= NAVBAR ================= */
nav {
  background: var(--primary-green);
  color: var(--text-light);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

nav .logo img {
  height: 50px;
}

nav .nav-links a {
  color: var(--text-light);
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.2s ease;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--accent-orange);
  transform: translateY(-2px);
}

/* ================= HERO ================= */
.hero {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('images/hero.jpg') center/cover no-repeat;
  color: var(--text-light);
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.small-hero {
  height: 40vh;
}

.hero h1 {
  font-size: 3.2rem;
  font-family: 'Merriweather', serif;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0.95;
}

.hero .btn {
  margin-top: 20px;
  padding: 12px 25px;
  background: var(--accent-orange);
  color: var(--text-light);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero .btn:hover {
  background: var(--accent-orange-dark);
  transform: scale(1.05);
}

/* ================= FOUNDER ================= */
.founder {
  padding: 60px 20px;
  text-align: center;
}

.founder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.founder-content img {
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.founder-text {
  max-width: 650px;
  text-align: left;
}

@media (min-width: 768px) {
  .founder-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
  }
}

/* ================= SECTIONS ================= */
section {
  padding: 60px 50px;
  background: var(--light-bg);
}

section h1, section h2 {
  color: var(--primary-green-dark);
  margin-bottom: 20px;
  font-family: 'Merriweather', serif;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-orange);
  margin-top: 8px;
  border-radius: 2px;
}

/* Card-like sections */
article {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* ================= GALLERY ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
}

/* ================= FOOTER ================= */
footer {
  background: var(--primary-green-dark);
  color: var(--text-light);
  text-align: center;
  padding: 25px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

footer a {
  color: var(--accent-orange);
  text-decoration: none;
  margin: 0 8px;
  transition: 0.3s;
}

footer a:hover {
  text-decoration: underline;
  color: var(--accent-orange-dark);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 12px 20px;
  }

  nav .nav-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav .nav-links a {
    margin: 8px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 40px 20px;
 /* ================= FORMS ================= */
form {
  max-width: 700px;
  margin: 50px auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  border-top: 4px solid var(--primary-green);
}

form h3 {
  text-align: center;
  color: var(--primary-green-dark);
  margin-bottom: 25px;
  font-family: 'Merriweather', serif;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--primary-green-dark);
}

form input, form textarea, form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.25);
  outline: none;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  display: block;
  width: 100%;
  background: var(--primary-green);
  color: var(--text-light);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}