/* Global Styles */
body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    color: #000;
    
}

/* Header & Navigation */
header {
    padding: 2px 5px;
    margin: 2px 2px 5px 2px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(176, 5, 5, 0.511);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 500px;
}

/* Logo */
nav .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
}

/* Desktop Menu */
nav .menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav .menu li a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover underline */
nav .menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: #ffcc00;
    transition: width 0.3s ease;
}

nav .menu li a:hover {
    color: #ffcc00;
}

nav .menu li a:hover::after {
    width: 100%;
}

/* Hamburger icon */
nav .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

nav .hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Menu */
@media (max-width: 768px) {
    nav {
        border-radius: 0; /* looks better flat on mobile */
        padding: 10px 20px;
    }
    /* Menu hidden initially */
    nav .menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        background: rgba(0,0,0,0.85);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
        display: none;
    }
    /* Show menu when active */
    nav .menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    /* Hamburger visible */
    nav .hamburger {
        display: flex;
    }
}

/* Animation for dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger toggle animation (optional) */
nav .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
nav .hamburger.active span:nth-child(2) {
    opacity: 0;
}
nav .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh;
    padding: 20px;
    background: url('banner1.jpg') center/cover no-repeat;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    transition: background-image 1s ease-in-out;
}

/* Dark overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.cta-btn {
  display: inline-block;
  padding: 12px 24px;      /* Balanced padding */
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  z-index: 10;             /* Keeps button above overlays */
  transition: background 0.3s ease;
  margin: 0 auto;          /* Centers the button */
}

/* 🔹 Responsive width */
@media (max-width: 768px) {
  .cta-btn {
    width: 60%;            /* Tablet view */
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-btn {
    width: 80%;            /* Mobile view */
    font-size: 0.95rem;
    padding: 10px 18px;
  }
}

/* 🔹 Optional hover effect */
.cta-btn:hover {
  background: #ffdb4d;
}




/* Parent container to keep both in one row */
.leaders-section {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
    background: #fff;
    flex-wrap: wrap;  /* will stack on smaller screens */
}

/* Each box (Chairman / Correspondent) */
.leader-box {
    flex: 1;
    min-width: 350px; /* ensures responsiveness */
    max-width: 600px;
    text-align: center;
}

/* Title */
.leader-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Inner flex (photo + text) */
.leader-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Photo */
.leader-photo img {
    width: 300px;
    height: 350px;
    object-fit: cover;
    border: 4px solid #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.8);
}

/* Text */
.leader-text {
    flex: 1;
    text-align: left;
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Signature */
.leader-name {
    margin-top: 15px;
    font-style: italic;
    color: #333;
}

/* Responsive */
@media (max-width: 992px) {
    .leaders-section {
        flex-direction: column;
        align-items: center;
    }

    .leader-text {
        text-align: center;
    }
}

/* Principal Section */
.principal-message {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}

.principal-message h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Flexbox for desktop */
.principal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
}

/* Principal Image */
.principal-photo img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ba1919;
    box-shadow: 0 0 10px rgba(168, 28, 28, 0.8);
    transition: transform 0.3s ease;
}

.principal-photo img:hover {
    transform: scale(1.05);
}

/* Principal Text */
.principal-text {
    flex: 1;
    text-align: left;
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.principal-name {
    margin-top: 15px;
    font-style: italic;
    color: #333;
}

/* ✅ Mobile Responsive Fix */
@media (max-width: 768px) {
    .principal-container {
        flex-direction: column;
        text-align: center;
    }

    .principal-photo img {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }

    .principal-text {
        text-align: center;
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .principal-message h2 {
        font-size: 1.6rem;
    }

    .principal-photo img {
        width: 150px;
        height: 150px;
    }

    .principal-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.news-events {
  padding: 50px 20px;
  background: #f8f9fa;
  text-align: center;
}

.news-events h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.news-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.news-scroll::-webkit-scrollbar {
  height: 8px;
}

.news-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.news-scroll::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.news-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card h3 {
  font-size: 1.2rem;
  margin: 15px 10px 5px;
  color: #222;
}

.news-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 15px;
}

.news-card a {
  display: inline-block;
  margin: 15px 0;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.news-card a:hover {
  text-decoration: underline;
}

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.gallery p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1100px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
.whychoose {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.highlights {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    color: #ccc;

}

.highlights h2 {
    font-size: 2rem;
    color: #f9f9f9;
    margin-bottom: 20px;
}


.highlights ul {
    list-style: none; /* Removes default bullets */
    padding: 10px;
    text-align: left;

}

.highlights ul li {
    font-size: 1.1rem;
    padding: 10px 0;
    position: relative;
}

.highlights ul li::before {
    content: "✔️";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}
.contact {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
     color: #fbfbfb
}

.contact h2 {
    color: #c11111;                 /* White text for contrast */
    background-color: #f9faf9;   /* Your green highlight */
    border: 2px solid #9b2623;   /* Slightly darker border */
    display: inline-block;       /* So background wraps only around the text */
    padding: 8px 15px;           /* Space around the text */
    border-radius: 6px;          /* Rounded corners */
}


.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.contact-info {
    flex: 1;
}

.map-container {
    flex: 1;
    border: 2px solid #f6f2f2; /* Brand border */
    border-radius: 10px;
    overflow: hidden;
}
.site-footer {
    background-color: #ffffff;  /* White background */
    color: #9b2623;             /* Brand color text */
    text-align: center;
    padding: 15px 0;
    font-size: 0.95rem;
    border-top: 2px solid #9b2623; /* Optional: top border in brand color */
    font-weight: bold;           /* Bold text */

}
.news-events {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.news-events h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card h3 {
  font-size: 1.25rem;
  margin: 15px 10px 5px;
  color: #222;
}

.news-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 15px;
}

.news-card a {
  display: inline-block;
  margin: 15px 0;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.news-card a:hover {
  text-decoration: underline;
}

.admission-cta {
  background: url('images/admission- cta bg.JPG') center/cover no-repeat; /* Replace with your bg image */
  position: relative;
  color: #fff;
  text-align: center;
}

.cta-overlay {
  background: rgba(0, 0, 0, 0.6); /* Transparent overlay */
  padding: 60px 20px;
}

.cta-container {
  max-width: 600px;
  margin: auto;
  background: rgba(255, 255, 255, 0.1); /* Transparent form background */
  padding: 30px 80px ;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px); /* Glass effect */
}

.cta-container h2 {
  font-size: 2rem;
  color: #ffcc00;
  margin-bottom: 10px;
}

.cta-container p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #ddd;
}


.cta-form .form-group {
  margin-bottom: 15px;  
}

/* Style the dropdown same as input/textarea */
.cta-form select {
  width: 100%;
  padding: 12px 15px;
  
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.cta-form select:focus {
  border: 2px solid #ffcc00;
  background: #fff;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  outline: none;
}

.cta-form input:focus,
.cta-form textarea:focus {
  border: 2px solid #ffcc00;
  background: #fff;
}

.cta-btn {
  background: #ffcc00;
  color: #222;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #e6b800;
  transform: scale(1.05);
}


footer {
  background: #222;
  color: #fff;
  padding: 40px 20px 10px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-container h3,
.footer-container h4 {
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-container p,
.footer-container a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
}

.footer-container a:hover {
  color: #ffcc00;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-social .social-icons a img {
  width: 24px;
  margin-right: 10px;
  transition: 0.3s;
}

.footer-social .social-icons a img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
}

/* ====== Navigation ====== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;   /* ✅ Fix alignment */
  padding: 15px 50px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .logo img {
  height: 60px;
  width: 60px;
  border-radius: 50%;   /* ✅ Circle logo */
  object-fit: cover;
  border: 2px solid #ffcc00;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffcc00;
}










