/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: rgb(19, 154, 136);
  color: #333;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Header */
header {
  background: rgb(19, 154, 136);
  color: white;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  padding-left: 200px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 0;
}

.school-name {
  align-self: center;
  padding-left: 95px;
}

.tagline,
.address {
  font-size: 1rem;
  color: #ecf0f1;
}

.school-logo-name {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
  width: 100%;
}

/* Navigation */
nav {
  background-color: #486a8c;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

nav li {
  margin: 0 10px;
}

nav a {
  color: #fff;
  padding: 8px 15px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  border-radius: 5px;
}

nav a:hover {
  background-color: rgb(19, 154, 136);
  color: #fdfdfd;
}

/* Banner */
.banner {
  background-color: #f15f4e;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel {
    height: 250px;
  }
}

/* Features */
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: rgb(19, 154, 136);
  padding: 30px 10px;
  text-align: center;
}

.feature-item {
  margin: 15px;
  flex: 1 1 180px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #3498db;
}

/* Content */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 50px;
}

h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color:  #ffffff;
}

h2 {
  color: rgb(19, 154, 136);
  margin-bottom: 10px;
}

.vision-mission {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.vision,
.mission {
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 2px solid black;
}

/* Principal Section */
.principal-message {
  background: #fdfdfd;
  padding: 20px;
  border-left: 5px solid #3498db;
  border-radius: 8px;
}

.principal-signature {
  margin-top: 20px;
  font-style: italic;
}

.principal-name {
  font-weight: bold;
  color: #ffffff;
}

.principal-title {
  color: #7f8c8d;
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.facility-card {
  background:rgb(149, 212, 204);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  border: 2px solid black;
}

.facility-card:hover {
  transform: scale(1.05);
}

.facility-card i {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 250px;
  max-width: 500px;
  text-align: center;
}

.contact-info {
  border: 1px solid rgba(0, 0, 0, 0.2); /* Light black border */
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* Optional subtle shadow */
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form button {
  padding: 12px 20px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #ffffff;
}

#contact h1 {
  color: #ffffff;
  text-align: center;
}

/* About Banner */
.about-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
}

.about-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* News Ticker */
.news-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.news-section {
  overflow: hidden;
  height: 100px;
  position: relative;
}

.news-scroll {
  position: absolute;
  animation: scroll-up 10s linear infinite;
}

@keyframes scroll-up {
  0% {
    top: 100%;
  }
  100% {
    top: -100%;
  }
}

.news-item {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.news-item span.badge {
  background-color: #b40000;
  margin-left: 30px;
}

/* Chairman Box */
.chairman-box {
  background-color: #f2f2f2;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
}

/* Footer */
footer {
  width: 100%;
  margin: 0;
  padding: 30px 0; /* left-right padding हटवले */
  background: #1F2B3A; /* Updated color */
  color: #ecf0f1;
  font-size: 0.95rem;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  padding: 0 80px; /* Left-Right padding इथे दिलं */
  max-width: 100%; /* Extra safe */
}


.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3,
.left-section h3,
.right-section h3,
.footer-contact-info h4 {
  color: #f1c40f;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #ecf0f1;
  transition: 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f1c40f;
}

.social-icons a,
.footer-social-icons a {
  color: #ecf0f1;
  margin: 0 12px;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover,
.footer-social-icons a:hover {
  color: #f1c40f;
}

.footer-contact-info {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-contact-info p {
  color: #bdc3c7;
  margin-bottom: 8px;
}

.footer-contact-info h4::before {
  content: "📍 ";
  display: inline-block;
  margin-right: 5px;
}

.footer-contact-info h4:nth-of-type(2)::before {
  content: "📞 ";
}

.footer-contact-info h4:nth-of-type(3)::before {
  content: "✉️ ";
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #7f8c8d;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #ffffff;
  padding-left: 80px;
  padding-right: 80px;
}

.left-section,
.right-section {
  flex: 1;
  min-width: 200px;
}

.right-section .footer-contact-info {
  text-align: right;
}
