


/* Color Palette */
:root {
  --navy-blue: #1a3a6c;
  --light-gray: #f5f5f5;
  --dark-gray: #666666;
  --orange: #ff7a00;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--white);
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Pencil Spinner Styles */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spinner-overlay.active {
  opacity: 1;
  visibility: visible;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: animate 2s linear infinite;
}

.pencil {
  width: 150px;
  height: 8px;
  background: #ffc334;
  border-top: 5px solid #ffd268;
  border-bottom: 5px solid #e3af38;
  overflow: hidden;
  transform-origin: top;
}

.pencil p {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 4px;
  line-height: 8px;
  text-transform: uppercase;
  font-weight: bold;
  color: #d09200;
}

.pencil:before {
  content: '';
  position: absolute;
  left: -40px;
  top: 0;
  border-style: solid;
  border-color: transparent #e29663 transparent transparent;
  border-width: 8.5px 20px 9px;
}

.pencil:after {
  content: '';
  position: absolute;
  left: -40px;
  top: 0;
  border-style: solid;
  border-color: transparent #262626 transparent transparent;
  border-width: 8.5px 20px 9px;
  transform: scale(0.3);
}

.top {
  position: absolute;
  top: 0;
  right: 0;
  height: 8px;
  width: 15px;
  background: #ccc;
  border-top: 5px solid #dedede;
  border-bottom: 5px solid #b9bfbf;
}

.top:before {
  content: '';
  position: absolute;
  top: -5px;
  right: -50%;
  width: 100%;
  height: 100%;
  background: #d76f6e;
  border-top: 5px solid #da8e8d;
  border-bottom: 5px solid #c85957;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  z-index: 2;
}

.stroke {
  position: absolute;
  top: 50%;
  left: calc(50% - 2.5px);
  transform: translate(-50%, -50%) rotate(45deg);
  border: 2.5px solid transparent;
  border-left-color: #000;
  border-top-color: #000;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  z-index: 1;
}

@keyframes animate {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  color: var(--navy-blue);
  font-size: 1.8rem;
}

.navbar ul {
  display: flex;
  list-style: none;
}

.navbar ul li {
  margin-left: 30px;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--navy-blue);
  font-weight: 600;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: var(--orange);
}

.navbar ul li a.active {
  color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--navy-blue);
  margin: 3px 0;
  transition: 0.3s;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: block;
  position: absolute;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.dropdown-content a {
  color: var(--navy-blue);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s, padding-left 0.3s;
}

.dropdown-content a:hover {
  background-color: var(--light-gray);
  color: var(--orange);
  padding-left: 20px;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .dropbtn {
  color: var(--orange);
}

.dropbtn {
  text-decoration: none;
  color: var(--navy-blue);
  font-weight: 600;
  transition: color 0.3s;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 58, 108, 0.8), rgba(26, 58, 108, 0.9)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1770&q=80');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  margin-top: 70px;
}

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

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #e06a00;
  color: var(--white);
  text-decoration: none;
}

/* Why Nobel Section */
.why-nobel {
  padding: 80px 0;
  background-color: var(--white);
}

.why-nobel h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 50px;
  font-size: 2rem;
}

.why-nobel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.why-card {
  background-color: var(--light-gray);
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.why-card:hover::before {
  left: 100%;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 3rem;
  color: var(--navy-blue);
  margin-bottom: 20px;
}

.why-card h3 {
  color: var(--navy-blue);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.why-card p {
  color: var(--dark-gray);
  font-size: 1rem;
}

/* Branches Section */
.branches {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.branches h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 50px;
  font-size: 2rem;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.branch-card {
  background-color: var(--white);
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}

.branch-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.branch-card i {
  font-size: 3rem;
  color: var(--navy-blue);
  margin-bottom: 20px;
}

.branch-card h3 {
  color: var(--navy-blue);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.branch-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.branch-link:hover {
  color: var(--navy-blue);
}

.view-all-branches {
  text-align: center;
  margin-top: 40px;
}

.branches-page {
  padding: 120px 0 80px;
  background-color: var(--light-gray);
}

.branches-page h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 30px;
  font-size: 2rem;
}

.branches-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.branches-intro p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.branch-icon {
  font-size: 3rem;
  color: var(--navy-blue);
  margin-bottom: 20px;
}

/* Branch Details Section */
.branch-details-section {
  padding: 80px 0;
  background-color: var(--white);
}

.branch-details-section h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 50px;
  font-size: 2rem;
}

.branch-details-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.branch-details-content p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--light-gray);
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  font-size: 3rem;
  color: var(--navy-blue);
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--navy-blue);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--dark-gray);
  font-size: 1rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--white);
}

.contact h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 50px;
  font-size: 2rem;
}

.contact-content {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  color: var(--navy-blue);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--navy-blue);
  margin-right: 15px;
  min-width: 30px;
}

.contact-form {
  flex: 1;
}

.contact-form h3 {
  color: var(--navy-blue);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-blue);
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.submit-button {
  background-color: var(--navy-blue);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: var(--orange);
}

/* Custom Map Styles */
.custom-map {
  flex: 1;
  background-color: var(--light-gray);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.map-header h3 {
  color: var(--navy-blue);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.map-header p {
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.map-container {
  height: 300px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-directions {
  text-align: center;
}

/* About Page Styles */
.about-page {
  padding: 120px 0 80px;
  background-color: var(--light-gray);
}

.about-page h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 50px;
  font-size: 2rem;
}

/* Mission and Vision at the top */
.mission-vision-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.mission-card, .vision-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-card .card-icon, .vision-card .card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.mission-card .card-icon {
  color: var(--orange);
}

.vision-card .card-icon {
  color: var(--navy-blue);
}

.mission-card h3, .vision-card h3 {
  color: var(--navy-blue);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.mission-card p, .vision-card p {
  color: var(--dark-gray);
  line-height: 1.7;
}

/* Collapsible Content Styles */
.collapsible-content {
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collapsible-content.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.more-text {
  display: none;
}

.show-more-btn {
  background-color: var(--navy-blue);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.show-more-btn:hover {
  background-color: var(--orange);
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  background-color: var(--navy-blue);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
}

.footer {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--orange);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--orange);
}

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

.social-links a {
  display: inline-block;
  transition: transform 0.3s;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-col address {
  font-style: normal;
}

.footer-col address p {
  margin-bottom: 10px;
}

.map-container {
  margin-top: 15px;
}

.map-container iframe {
  width: 100%;
  height: 150px;
  border: none;
  border-radius: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .contact-content,
  .mission-vision-top,
  .branch-detail-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .branch-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .branch-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .custom-map,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar ul {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 20px 0;
  }

  .navbar ul.active {
    left: 0;
  }

  .navbar ul li {
    margin: 15px 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
  
  .why-nobel-grid,
  .branches-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .branch-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .branch-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .pencil {
    width: 100px;
    height: 5px;
  }
  
  .pencil p {
    font-size: 3px;
    line-height: 5px;
  }
  
  .pencil:before {
    left: -25px;
    border-width: 5px 12px 5px;
  }
  
  .pencil:after {
    left: -25px;
    border-width: 5px 12px 5px;
  }
  
  .top {
    height: 5px;
    width: 10px;
  }
  
  .top:before {
    top: -3px;
  }
  
  .stroke {
    left: calc(50% - 1.5px);
    border: 1.5px solid transparent;
    width: 120px;
    height: 120px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .map-container {
    height: 250px;
  }
  
  .map-container iframe {
    height: 100%;
  }
  
  /* Dropdown styles for mobile */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  
  .dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-content a {
    padding: 8px 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  header .container {
    padding: 15px 0;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .why-nobel,
  .branches,
  .contact,
  .about-page,
  .branch-detail,
  .branch-details-section,
  .footer {
    padding: 60px 0;
  }
  
  .mission-vision-top {
    grid-template-columns: 1fr;
  }
  
  .branch-detail-content h2 {
    font-size: 1.8rem;
  }
  
  .branch-detail-content h3 {
    font-size: 1.3rem;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .map-container {
    height: 200px;
  }
  
  .map-container iframe {
    height: 100%;
  }
}

/* Additional styles for new pages */
.contact-page {
  padding: 120px 0 80px;
  background-color: var(--light-gray);
}

.contact-page h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 50px;
  font-size: 2rem;
}

.contact-details {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--navy-blue);
  margin-right: 15px;
  min-width: 30px;
  margin-top: 5px;
}

.contact-item h4 {
  color: var(--navy-blue);
  margin-bottom: 5px;
}

.additional-info-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.additional-info-buttons .cta-button {
  background-color: var(--navy-blue);
  color: var(--white);
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.additional-info-buttons .cta-button:hover {
  background-color: var(--orange);
  color: var(--white);
  text-decoration: none;
}

.teacher-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.teacher-card {
  background-color: var(--white);
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.teacher-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.teacher-card h3 {
  color: var(--navy-blue);
  margin-bottom: 10px;
}

.teacher-card p {
  color: var(--dark-gray);
}

.founder-message {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-top: 50px;
}

.founder-message h3 {
  color: var(--navy-blue);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
}

.founder-message p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.founder-name {
  text-align: right;
  font-weight: bold;
  margin-top: 30px;
  font-size: 1.2rem;
  color: var(--navy-blue);
}

.guidance-content, .education-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.guidance-content h3, .education-content h3 {
  color: var(--navy-blue);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
}

.guidance-content p, .education-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Responsive adjustments for new styles */
@media (max-width: 768px) {
  .contact-details {
    padding: 20px;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .teacher-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .founder-message, .guidance-content, .education-content {
    padding: 20px;
  }
  
  .founder-name {
    text-align: center;
  }
  
  .additional-info-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .additional-info-buttons .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .teacher-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-page {
    padding: 100px 0 60px;
  }
}

/* Gallery Page Styles */
.gallery-page {
  padding: 120px 0 80px;
  background-color: var(--light-gray);
}

.gallery-page h2 {
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 30px;
  font-size: 2rem;
}

.gallery-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

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

.gallery-item:hover {
  transform: translateY(-10px);
}

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

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

.gallery-info {
  text-align: center;
  color: white;
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

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

/* Animation for gallery items */
.gallery-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .gallery-page {
    padding: 100px 0 60px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 250px;
  }
}
