/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background-color: #2c5530;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left span {
  margin-right: 20px;
}

.top-bar-left i {
  margin-right: 5px;
}

.top-bar-right {
  display: flex;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #dc3545;
  color: white;
}

.btn-primary:hover {
  background-color: #c82333;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-outline {
  background-color: transparent;
  color: #2c5530;
  border: 2px solid #2c5530;
}

.btn-outline:hover {
  background-color: #2c5530;
  color: white;
}

.btn-hero {
  background-color: #28a745;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
}

.btn-hero:hover {
  background-color: #218838;
}

/* Header */
.header {
  background-color: white;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #2c5530;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-info h1 {
  color: #2c5530;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

.school-info h2 {
  color: #666;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
}

.school-info p {
  color: #888;
  font-size: 14px;
}

/* Navigation */
.navigation {
  background-color: #2c5530;
  padding: 0;
  position: relative;
}

.navigation .container {
  position: relative;
}

/* Hide mobile menu button on desktop */
.mobile-menu-btn {
  display: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  transition: background-color 0.3s ease;
}

.nav-menu a:hover {
  background-color: #1e3a21;
}

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

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu a {
  color: #333;
  padding: 12px 20px;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #2c5530;
}

/* Ensure desktop dropdowns work properly */
@media (min-width: 769px) {
  .dropdown-menu {
    position: absolute !important;
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    display: none !important;
  }

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

  .dropdown-menu a {
    color: #333 !important;
    padding: 12px 20px !important;
  }

  .dropdown-menu a:hover {
    background-color: #f8f9fa !important;
    color: #2c5530 !important;
  }

  /* Override any mobile active states on desktop */
  .dropdown.active .dropdown-menu {
    display: none !important;
  }

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

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.slider-controls button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #2c5530;
  transition: all 0.3s ease;
}

.slider-controls button:hover {
  background-color: white;
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: white;
}

/* Notice Bar */
.notice-bar {
  background-color: #2c5530;
  color: white;
  padding: 10px 0;
}

.notice-bar .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.notice-label {
  font-weight: 600;
  white-space: nowrap;
}

.notice-scroll {
  flex: 1;
  position: relative;
  height: 30px;
  overflow: hidden;
}

.notice-scroll p {
  margin: 0;
  position: absolute;
  width: 100%;
  opacity: 0;
  animation: noticeFadeInOut 4s ease-in-out infinite;
}

.notice-scroll p:nth-child(1) {
  animation-delay: 0s;
}

.notice-scroll p:nth-child(2) {
  animation-delay: 4s;
}

.notice-scroll p:nth-child(3) {
  animation-delay: 8s;
}

.notice-scroll p:nth-child(4) {
  animation-delay: 12s;
}

.notice-scroll p:nth-child(5) {
  animation-delay: 16s;
}

@keyframes noticeFadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Main Content */
.main-content {
  padding: 40px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Section Headers */
section h3 {
  color: #2c5530;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2c5530;
  display: flex;
  align-items: center;
  gap: 10px;
}

section h3 i {
  color: #28a745;
}

/* Notice Section */
.notice-section {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.notice-list {
  margin-bottom: 20px;
}

.notice-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  background-color: #2c5530;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  height: fit-content;
}

.notice-content h4 {
  color: #2c5530;
  margin-bottom: 5px;
  font-size: 16px;
}

.notice-content p {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.read-more {
  color: #28a745;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

/* About Section */
.about-section {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.about-content {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.6;
}

.about-image {
  width: 200px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Section */
.gallery-section {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.gallery-item {
  position: relative;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 24px;
}

/* Right Column Sections */
.right-column section {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* Profile Section */
.profile-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #2c5530;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h4 {
  color: #2c5530;
  margin-bottom: 5px;
}

.profile-info p {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Quick Links */
.links-list {
  list-style: none;
}

.links-list li {
  margin-bottom: 10px;
}

.links-list a {
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.links-list a:hover {
  color: #2c5530;
}

.links-list i {
  color: #28a745;
}

/* Visitor Counter */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.counter-item {
  text-align: center;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.counter-item i {
  font-size: 24px;
  color: #2c5530;
  margin-bottom: 10px;
}

.counter-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #2c5530;
}

.counter-label {
  font-size: 12px;
  color: #666;
}

/* Search Section */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #2c5530;
  font-weight: 500;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2c5530;
}

/* Footer */
.footer {
  background-color: #2c5530;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: #28a745;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #218838;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #ccc;
}

/* Responsive Design */
/* Mobile First Approach */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .content-grid {
    gap: 30px;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .top-bar-left {
    display: none;
  }

  /* Navigation height for mobile */
  .navigation {
    min-height: 50px;
  }

  .navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
  }

  .top-bar-right {
    gap: 5px;
  }

  .top-bar-right .btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .logo-section {
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  .school-info h1 {
    font-size: 24px;
  }

  .school-info h2 {
    font-size: 16px;
  }

  .school-info p {
    font-size: 13px;
  }

  /* Navigation */
  .nav-menu {
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2c5530;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden on mobile */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a {
    padding: 12px 15px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Chevron rotation animation */
  .nav-menu a i.fa-chevron-down {
    transition: transform 0.3s ease;
  }

  .dropdown-menu {
    position: static !important;
    display: none;
    box-shadow: none;
    background-color: #1e3a21;
    width: 100%;
    margin-left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .dropdown-menu a {
    padding: 12px 25px;
    font-size: 13px;
    color: white;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
  }

  .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Show dropdown when clicked on mobile */
  .dropdown.active .dropdown-menu {
    display: block !important;
  }

  /* Desktop hover behavior */
  .dropdown:hover .dropdown-menu {
    display: block !important;
  }

  /* Ensure dropdown items are visible */
  .dropdown.active .dropdown-menu li {
    display: block;
  }

  .dropdown.active .dropdown-menu a {
    display: block;
    visibility: visible;
  }

  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: block !important;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-btn:hover {
    color: #28a745;
  }

  /* Show menu when active */
  .nav-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Hero Section */
  .hero {
    height: 400px;
  }

  .hero-content {
    padding: 20px;
    width: 90%;
  }

  .hero-content h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .btn-hero {
    padding: 10px 20px;
    font-size: 14px;
  }

  .slider-controls button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Notice Bar */
  .notice-bar .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .notice-label {
    font-size: 14px;
  }

  .notice-scroll p {
    font-size: 13px;
  }

  /* Main Content */
  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Sections */
  section {
    margin-bottom: 20px;
  }

  section h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  /* Notice Section */
  .notice-section {
    padding: 20px;
  }

  .notice-item {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .notice-date {
    width: fit-content;
    font-size: 11px;
  }

  .notice-content h4 {
    font-size: 15px;
  }

  .notice-content p {
    font-size: 13px;
  }

  /* About Section */
  .about-section {
    padding: 20px;
  }

  .about-content {
    flex-direction: column;
    gap: 15px;
  }

  .about-image {
    width: 100%;
    height: 200px;
  }

  .about-text p {
    font-size: 14px;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item {
    height: 200px;
  }

  /* Right Column Sections */
  .right-column section {
    padding: 20px;
  }

  /* Profile Section */
  .profile-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .profile-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .profile-info h4 {
    font-size: 16px;
  }

  .profile-info p {
    font-size: 13px;
  }

  /* Quick Links */
  .links-list a {
    font-size: 14px;
    padding: 8px 0;
  }

  /* Visitor Counter */
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .counter-item {
    padding: 12px;
  }

  .counter-item i {
    font-size: 20px;
  }

  .counter-number {
    font-size: 18px;
  }

  .counter-label {
    font-size: 11px;
  }

  /* Search Section */
  .search-form {
    gap: 12px;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input,
  .form-group select {
    padding: 8px;
    font-size: 13px;
  }

  /* Footer */
  .footer {
    padding: 30px 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .social-links {
    justify-content: center;
    gap: 12px;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .top-bar {
    padding: 6px 0;
    font-size: 12px;
  }

  .top-bar-right .btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .header {
    padding: 15px 0;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .school-info h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  .school-info h2 {
    font-size: 14px;
  }

  .school-info p {
    font-size: 12px;
  }

  /* Navigation */
  .nav-menu a {
    padding: 10px 12px;
    font-size: 13px;
  }

  .dropdown-menu a {
    padding: 8px 20px;
    font-size: 12px;
  }

  /* Hero Section */
  .hero {
    height: 300px;
  }

  .hero-content {
    padding: 15px;
    width: 95%;
  }

  .hero-content h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .btn-hero {
    padding: 8px 16px;
    font-size: 13px;
  }

  .slider-controls {
    padding: 0 10px;
  }

  .slider-controls button {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .slider-dots {
    bottom: 15px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  /* Notice Bar */
  .notice-bar {
    padding: 8px 0;
  }

  .notice-label {
    font-size: 13px;
  }

  .notice-scroll p {
    font-size: 12px;
  }

  /* Main Content */
  .main-content {
    padding: 20px 0;
  }

  .content-grid {
    gap: 15px;
  }

  /* Sections */
  section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* Notice Section */
  .notice-section {
    padding: 15px;
  }

  .notice-item {
    padding: 10px 0;
  }

  .notice-date {
    font-size: 10px;
    padding: 4px 8px;
  }

  .notice-content h4 {
    font-size: 14px;
  }

  .notice-content p {
    font-size: 12px;
  }

  .read-more {
    font-size: 12px;
  }

  /* About Section */
  .about-section {
    padding: 15px;
  }

  .about-image {
    height: 150px;
  }

  .about-text p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 15px;
  }

  .gallery-item {
    height: 150px;
  }

  /* Right Column Sections */
  .right-column section {
    padding: 15px;
  }

  /* Profile Section */
  .profile-image {
    width: 70px;
    height: 70px;
  }

  .profile-info h4 {
    font-size: 15px;
  }

  .profile-info p {
    font-size: 12px;
  }

  .btn-primary {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Quick Links */
  .links-list a {
    font-size: 13px;
    padding: 6px 0;
  }

  /* Visitor Counter */
  .counter-grid {
    gap: 8px;
  }

  .counter-item {
    padding: 10px;
  }

  .counter-item i {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .counter-number {
    font-size: 16px;
  }

  .counter-label {
    font-size: 10px;
  }

  /* Search Section */
  .search-form {
    gap: 10px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group select {
    padding: 6px;
    font-size: 12px;
  }

  /* Footer */
  .footer {
    padding: 25px 0 12px;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-section h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .contact-info p {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .social-links a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .footer-bottom p {
    font-size: 11px;
    line-height: 1.4;
  }
}

/* Extra Small Devices */
@media (max-width: 320px) {
  .container {
    padding: 0 8px;
  }

  .school-info h1 {
    font-size: 18px;
  }

  .school-info h2 {
    font-size: 13px;
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .btn-hero {
    padding: 6px 12px;
    font-size: 12px;
  }

  section h3 {
    font-size: 15px;
  }

  .notice-section,
  .about-section,
  .gallery-section,
  .right-column section {
    padding: 12px;
  }

  .counter-item {
    padding: 8px;
  }

  .counter-number {
    font-size: 14px;
  }

  .footer {
    padding: 20px 0 10px;
  }
}
