/* Reset / Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
/* ===== HEADER STYLING ===== */
header {
  background-color: #000; /* Black background */
  color: white;
  padding: 10px 25px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== LOGO & NAME ===== */
.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.school-logo {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  /*border: 2px solid white;*/
}

.school-name {
  font-size: 22px;
  margin: 0;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

/* ===== NAVIGATION MENU ===== */
.navbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tab {
  position: relative;
  margin-left: 20px;
}

.tab a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  display: inline-block;
  transition: all 0.3s ease;
}

.tab a:hover,
.tab a.active {
  background-color: red;; /* Slightly lighter hover */
  border-radius: 4px;
}

/* ===== DROPDOWN MENU ===== */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000;
  color: black;
  min-width: 180px;
  border-radius: 4px;
  top: 100%;
  left: 0;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
  color: #ddd;
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background-color: red;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===== MENU TOGGLE (MOBILE) ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}
/* Main / Banner */
.Main {
 /* background: url('https://source.unsplash.com/1600x600/?school,classroom') no-repeat center center/cover;
  color: white;*/
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

}

.container {
      
      align-items: center;
      gap: 10px; /* Space between logo and heading */
      font-family: Arial, sans-serif;
    }

    .container img {
      height: 40px; /* Adjust as needed */
    }

.zoom-in {
    transform: scale(0.5);
    opacity: 0;
    animation: zoomIn 1s ease-in-out forwards;
  }


  @keyframes zoomIn {
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
	 .photo-slider {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      background: #f0f0f0;
      padding: 10px 0;
    }

    .photo-slider img {
      width: 500px;
      height: auto;
      margin: 0 10px;
      display: inline-block;
      animation: scroll 15s linear infinite;
    }

    @keyframes scroll {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
    }
.Main h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.Main p {
  font-size: 18px;
}

/* Sections */
section {
  padding: 60px 0;
}
section h2 {
  text-align: center;
  margin-bottom: 20px;
}
section p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Feature Lists */
.features-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.features-list li {
  background: #e0f0ff;
  padding: 15px 25px;
  border-radius: 5px;
}

/* Forms */
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input[type="text"],
input[type="email"],
select,
textarea {
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
}
button {
  background: #004080;
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
}
button:hover {
  background: #003366;
}

/* Footer */
footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 20px 0;
 
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .Main {
    height: 200px;
  }
  .Main h2 {
    font-size: 28px;
  }
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}
.gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}
.site-footer {
  background‑color: #222;   /* dark background for contrast */
  color: #eee;             /* light text */
  padding: 40px 20px;
  font‑size: 0.9rem;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-column {
  flex: 1;
  min-width: 220px;
}
.footer-column h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}
.footer-column p {
  margin: 8px 0;
}
.tab-container {
      display: flex;
      background: #333;
      padding: 10px;
    }

   /* .tab {
      position: relative;
      color: white;
      padding: 10px 20px;
      cursor: pointer;
	  float:left;
    }
	.tab a {
      position: relative;
      color: white;
      padding: 10px 20px;
      cursor: pointer;
	  text-decoration: none;
    }*/

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      
      min-width: 200px;
      border: 1px solid #ccc;
      z-index: 1;
    }

    .dropdown-content a {
      padding: 12px 16px;
      display: block;
      text-decoration: none;
    }

   /* .dropdown-content a:hover {
      background-color: #f1f1f1;
    }*/

    .tab:hover .dropdown-content {
      display: block;
    }
/* Founder CSS */

.founder {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            background-color: #fff;
        }
        .founder img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin-right: 20px;
            object-fit: cover;
        }
        .founder-content {
            max-width: 100%;
        }
        .founder h2 {
            margin-top: 0;
            color: #2c3e50;
        }
        .founder p {
            line-height: 1.6;
        }
.founder-head,.rules-head,.facility-head,.admission-head,.carrer-head,.contact-head
{
	text-align:center;
}	

/* Message CSS */



    .Messagecontainer {
      max-width: 800px;
      margin: 0 auto;
      background-color: #fff;
      padding: 30px 40px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    Messagehead {
      text-align: center;
      color: #2c3e50;
      margin-bottom: 40px;
    }

    .message {
      margin-bottom: 40px;
      padding-bottom: 20px;
      border-bottom: 1px solid #ddd;
    }

    .message:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .message h2 {
      color: #34495e;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .message p {
      line-height: 1.6;
      font-size: 1.1rem;
    }

    .signature {
      margin-top: 20px;
      font-weight: bold;
      color: #2c3e50;
      font-style: italic;
    }
/* Uniform CSS */

.UniformBody {
            font-family: "Segoe UI", Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8fafc;
            color: #333;
        }


        section {
            max-width: 1000px;
            margin: 2em auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            padding: 2em;
        }

        section h2 {
            color: #003366;
            border-bottom: 2px solid #003366;
            padding-bottom: 0.4em;
            margin-top: 1.5em;
        }

        section h2 p, section h2 ul {
            line-height: 1.6;
        }

        section h2 ul {
            list-style-type: square;
            margin-left: 2em;
        }

        .uniform-group {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 1em;
        }

        .uniform-item {
            flex: 1 1 calc(50% - 20px);
            background-color: #f1f5fa;
            border-radius: 6px;
            overflow: hidden;
            text-align: center;
            box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        }

        .uniform-item img {
            width: 100%;
            height: 280px;
            object-fit: cover;
        }

        .uniform-item p {
            padding: 0.8em;
            background: white;
        }
/* School Timing */

table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1em;
        }

        th, td {
            border: 1px solid #ccc;
            padding: 12px;
            text-align: center;
        }

        th {
            background-color: #003366;
            color: white;
        }

        tr:nth-child(even) {
            background-color: #f2f6fa;
        }

        .note {
            background-color: #f9f9f9;
            border-left: 4px solid #003366;
            padding: 1em;
            margin-top: 1.5em;
            font-size: 0.95em;
        }	
	/* Rule CSS */
	.RuleSection {
            max-width: 1000px;
            margin: 2em auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            padding: 2em;
        }

        .RuleSection h2 {
            color: #003366;
            border-bottom: 2px solid #003366;
            padding-bottom: 0.4em;
            margin-top: 1.5em;
        }

        .RuleSection ul {
            margin-left: 2em;
            line-height: 1.8;
            list-style-type: square;
        }

        .rule-section {
            margin-bottom: 2em;
        }

        .Rulenote {
            background-color: #f9f9f9;
            border-left: 4px solid #003366;
            padding: 1em;
            margin-top: 1.5em;
            font-size: 0.95em;
        }
  	
#about-intro {
  background-color: #f9fafc;
  padding: 60px 0;
  text-align: center;
}

#about-intro h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

#about-intro p {
  font-size: 1.1em;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.btn-learn-more {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-learn-more:hover {
  background-color: #0056b3;
}

/*Carrer Page */

.Carrercontainer {
        width: 80%;
        margin: 30px auto;
        background: #fff;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(0,0,0,0.1);
    }
    h2 {
        color: #004aad;
        margin-bottom: 10px;
		text-align:center;
    }
    .job-card {
        background: #eef4ff;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    label {
        font-weight: bold;
        display: block;
        margin-top: 15px;
    }
    input, textarea, select {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    input[type="file"] {
        padding: 5px;
    }
 
/* Contact CSS */
.Contacth2 {
            color: #003366;
            margin-bottom: 10px;
        }

        .contact-info, .contact-form {
            background: white;
            padding: 25px;
            margin-bottom: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .info-item {
            margin-bottom: 15px;
        }

        .info-item strong {
            color: #003366;
        }

        form input, form textarea {
            width: 100%;
            padding: 12px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 16px;
        }

        form button {
            background: #003366;
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 6px;
            font-size: 18px;
            cursor: pointer;
        }

        form button:hover {
            background: #002244;
        }

        .map {
            margin-top: 20px;
        } 

@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    text-align: center;
    width: 100%;
    background-color: #000;
    margin-top: 10px;
    border-top: 1px solid #222;
  }

  .navbar.active {
    display: flex;
  }
.nav-item:hover .dropdown-content { display: block; }

  .menu-toggle {
    display: block;
  }

  .tab {
    margin: 10px 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }
  .dropdown-content a:hover {
  background-color: red;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}
}
