/* ===========================
   General Styles
=========================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ===========================
   Header
=========================== */
/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #333, #4caf50);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.school-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f0a500;
}

/* Responsive Header */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: #879ac0;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 200px;
  }

  .nav-links.show {
    display: flex;
  }
}

/* ===========================
   Dropdown Menu
=========================== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  color: #333;
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  list-style: none;
  margin: 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.dropdown-menu a:hover {
  color: #4CAF50;
}


/* ===========================
   Hero Section
=========================== */
/* Hero Section */
.hero {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: url('/ags/cover-image.jpg') no-repeat center/cover;
  position: relative;
  color: rgb(255, 255, 255);
  margin: 0; /* Seamless integration with header */
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* Semi-transparent overlay */
  z-index: 1;
}

/* Content */
.hero-content {
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 2rem; /* Adjust font size for smaller screens */
  }

  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
  }

  .hero-content h1 {
    font-size: 1.8rem; /* Further adjust for very small screens */
  }

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


/* ===========================
   Footer
=========================== */
.info-section {
  background-color: #fff;
  padding: 4rem 2rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.info-row.reverse {
  flex-direction: row-reverse;
}

.info-text {
  flex: 1;
  text-align: left;
}

.info-text h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.info-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.info-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-services {
  text-align: center;
  margin-bottom: 4rem;
}

.info-services h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.service-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service {
  text-align: center;
}

.service img {
  width: 240px;
  height: 200px;
  margin-bottom: 0.5rem;
}

.service p {
  font-size: 1rem;
  color: #555;
}

/* Call-to-Action */
.info-cta {
  background: linear-gradient(to right, #333, #4caf50);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 8px;
}

.info-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Shared Button Styling */
.shared-button {
  background-color: #ff9800;; /* orange*/
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
}

.shared-button:hover {
  background-color: #e67e22;
  transform: scale(1.05); /* Slight zoom on hover */
}

.shared-button:active {
  background-color: #0f4680; /* Even darker blue when active */
}


/* Responsive Design */
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
  }

  .info-image {
    max-width: 100%;
  }

  .info-text h2 {
    font-size: 1.8rem;
  }

  .info-text p {
    font-size: 1rem;
  }

  .service-icons {
    gap: 1rem;
  }

  .service img {
    width: 120px;
    height: 120px;
  }

  .shared-button {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .info-text h2 {
    font-size: 1.5rem;
  }

  .info-text p {
    font-size: 0.9rem;
  }

  .service img {
    width: 100px;
    height: 100px;
  }

  .shared-button {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
}


/* ===========================
   Footer
=========================== */
.footer {
  background-color: #333;
  background: linear-gradient(to right, #1e1e1e, #37803a);
  color: white;
  padding: 3rem 2rem;
  font-family: Arial, sans-serif;
}

.footer .social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .social-links a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.footer .social-links a:hover img {
  transform: scale(1.1);
}

.footer .quick-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .quick-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer .quick-links a:hover {
  color: #ff9800;
}

.footer .newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer .newsletter-form input {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.footer .newsletter-form button {
  padding: 0.8rem 1.5rem;
  border: none;
  background-color: #ff9800;
  color: white;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer .newsletter-form button:hover {
  background-color: #e67e22;
}

.footer .contact-info {
  text-align: center;
  margin-bottom: 2rem;
}

.footer .contact-info p {
  font-size: 1rem;
  color: white;
  margin: 0.5rem 0;
}

.footer .copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer .quick-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer .quick-links a {
    font-size: 1.1rem;
  }

  .footer .newsletter-form {
    flex-direction: column;
  }

  .footer .newsletter-form input,
  .footer .newsletter-form button {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .footer .social-links {
    gap: 1rem;
  }

  .footer .social-links a img {
    width: 25px;
    height: 25px;
  }

  .footer .contact-info p {
    font-size: 0.9rem;
  }

  .footer .copyright {
    font-size: 0.8rem;
  }
}


/* About Page Styling */
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* Increased spacing between text and image */
  padding: 4rem 2rem; /* More padding for a larger section */
  align-items: center;
  background-color: white;
  margin: 0 auto;
  max-width: 1400px; /* Slightly wider container */
  min-height: 70vh; /* Ensures the section takes up a significant portion of the viewport */
}

/* Text Section */
.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 650px; /* Slightly larger text section */
  text-align: left;
  font-size: 1.1rem; /* Slightly larger font size */
  line-height: 1.8; /* Better readability */
}

.about-content h2 {
  font-size: 2.5rem; /* Larger heading */
  margin-bottom: 1rem;
}

/* Image Section */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.responsive-image {
  width: 100%;
  max-width: 800px; /* Increased max-width for a larger image */
  border-radius: 10px;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.responsive-image:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    margin-top: 1rem;
  }

  .about-content {
    text-align: center;
    font-size: 1rem; /* Slightly smaller font for mobile */
  }

  .about-content h2 {
    font-size: 2rem; /* Scaled-down heading */
  }
}

/* Gallery Styling */
.gallery-container {
  text-align: center;
  margin: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Increase minimum size for larger images */
  gap: 20px;
  margin: 0 auto;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  object-fit: cover; /* Ensures images fill their containers without stretching */
}

/* Hover effect to make images slightly zoom */
.gallery-image:hover {
  transform: scale(1.1); /* Increase the zoom effect */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Slightly smaller for mobile */
    gap: 15px;
  }

  .gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
}

/* Optional: Add a max width for better view */
.gallery-container {
  max-width: 1300px; /* Increase max width for larger screens */
  margin: 0 auto;
}
