body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* HEADER */
.headings {
    width: 100%;
}

/* =========================
   FIXED TOP BAR (DESKTOP)
   ========================= */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    background-color: white;
    z-index: 1000;

    padding: 0 40px;
    box-sizing: border-box;
}

/* LOGO */
.logo img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

/* NAV (DESKTOP) */
.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;

    margin: 0;
    padding: 0;
}

.nav a {
    color: rgb(18, 17, 17);
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;

    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.nav a:hover {
    color: white;
    background: blue;
}

/* BODY */
.body {
    margin-top: 100px;
    width: 100%;
}

/* DIVIDER */
.merger {
    width: 100%;
    height: 2px;
    margin: 0;
}

/* BANNER */
.first {
    display: flex;
    justify-content: center;
    align-items: center;
   
}

.first img {
    width: 80%;
    height: auto;
    border-radius: 10px;
    display: block;
}


/* TEXT */
.first-text {
    font-size: 20px;
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.first-text ul {
    padding-left: 20px;
}

.first-text li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.about{
    margin-left: 200px;
}

.vision{
    margin-left: 200px;
}

.community{
    margin-left: 150px;
}

.projects{
    margin-left: 200px;
}

.aboutHead1{
    margin: 50px auto;
    font-size: 32px;
    font-weight: 600;
}

.aboutparas{
    text-align: justify;
    max-width: 1100px;
    margin: 30px auto;
    font-size: 20px;
    gap:20px;
    padding:0 20px;
}

.aboutpara{
    text-align: justify;
    max-width: 1100px;
    margin: 30px auto;
    font-size: 20px;
    gap:20px;
    padding:0 20px;
}

.galleryContainer {
    margin-left:240px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
   
}

.item {
  text-align: center;
   border-radius: 10px;
    border: 2px solid #ccc;
}

.item img {
  width: 100%;
    border-radius: 10px;
      object-fit: contain;

}

.item img:hover {
  transform: scale(1.03);
}

/* Modal (light zoom effect) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  transform: scale(1);
  transition: 0.3s;
}

.video-container {

  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 videos per row */
  gap: 20px;
  margin-top: 20px;

}

.video-item {
  text-align: center;
}

.video-item video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.video-item p {
  margin-top: 8px;
  font-size: 14px;
}

/* CONTACT SECTION */
.contact {
    background: #f5f7fb;
    padding: 80px 20px;
    text-align: center;
}

/* HEADING */
.contact .aboutHeads {
    margin: 0;
    font-size: 38px;
    font-weight: 700;
    color: #111;
}

/* DIVIDER */
.contact .dividers {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px;
}

.contact .dividers::before,
.contact .dividers::after {
    content: "";
    width: 120px;
    height: 4px;
    background: red;
}

.contact .diamonds {
    width: 14px;
    height: 14px;
    background: red;
    transform: rotate(45deg);
    margin: 0 12px;
}

.community-image{
    width:80%;
    height:auto;
    border-radius:10px;
    margin-left:100px;
}

/* FORM CONTAINER */
/* FORM CONTAINER */
.contain {
    width: 100%;
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-sizing: border-box;
}

/* FORM */
.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* INPUT FIELDS */
.fields {
    width: 100%;
    display: block;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;   /* changed */
    font-size: 17px;
    background: #fafafa;
    outline: none;
    box-sizing: border-box;
}

/* BUTTON */
.button {
    width: 100%;
    background: linear-gradient(135deg, #0047AB, #007bff);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}
/* MOBILE */
@media (max-width: 768px) {

    .contain {
        padding: 25px;
    }

    .contact .aboutHeads {
        font-size: 28px;
    }

    .contact .dividers::before,
    .contact .dividers::after {
        width: 70px;
    }
}
.footer {
    background: #002b66;
    color: white;
    padding: 50px 0 20px;
}

.footer .container {
    margin-left:50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: flex-start;
}

/* Footer titles */
.footer .title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

/* First column */
.newsLetterContainer img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.newsLetterContainer p {
    font-size: 30px;
    line-height: 1.8;
    color: #ddd;
}

/* Second column */
.linksContainer ul {
    list-style: none;
    padding: 0;
}

.linksContainer ul li {
    font-size: 25px;
    margin-bottom: 12px;
}

.linksContainer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.linksContainer ul li a:hover {
    color: #00aaff;
    padding-left: 5px;
}

/* Third column */
.contactme form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer .fields {
    width: 95%;
    display: block;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;   /* changed */
    font-size: 17px;
    background: #fafafa;
    outline: none;
    box-sizing: border-box;

}

.contact form {
    width: 100%;
}

.footer .button {
    background: #00aaff;
    width: 95%;
}

.button:hover {
    background: #0088cc;
}

/* Footer bottom */
.footerend {
    background: #001a40;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}


/* =========================
   HAMBURGER MENU (MOBILE)
   ========================= */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.aboutHead {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
}

.aboutHeads {
  margin-left: 240px;
  text-align: center;
  font-size: 32px;
}

/* full divider line */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* left + right line effect */
.divider::before,
.divider::after {
  content: "";
  height: 4px;
  width: 80px;
  background: red;
}

/* middle diamond */
.diamond {
  width: 12px;
  height: 12px;
  background: red;
  transform: rotate(45deg);
  margin: 0 10px;
}

.dividers {
  display: flex;
  margin-left: 240px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.dividers1 {
  display: flex;
  margin-left: 5px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.dividers1::before,
.dividers1::after {
  content: "";
  height: 4px;
  width: 150px;
  background: red;
}


/* left + right line effect */
.dividers::before,
.dividers::after {
  content: "";
  height: 4px;
  width: 150px;
  background: red;
}


/* middle diamond */
.diamonds {
  width: 12px;
  height: 12px;
  background: red;
  transform: rotate(45deg);
  margin: 0 10px;
}

/* SECTION CONTROL */
section {
  display: none;
  padding: 20px;
}

section.active-section {
  display: block;
}

/* ACTIVE NAV */
.nav a.active {
  color: white;
  background: blue;
  border-radius: 8px;
}


/* =========================
   TABLET
   ========================= */
@media (max-width: 1024px) {
    .top-bar {
        padding: 0 20px;
    }

    .nav ul {
        gap: 15px;
    }

    .first-text {
        font-size: 18px;
    }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .top-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
    }

    /* HIDE MENU INITIALLY */
    .nav {
        width: 100%;
        display: none;
        background: white;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px 0;
    }

    .nav a {
        font-size: 16px;
    }

    .logo img {
        width: 60px;
        margin-left:500px;
    }

    .body {
        margin-top: 120px;
    }

    .first img {
        width: 95%;
    }

    .first-text {
        font-size: 16px;
    }
}

/* =========================
   SMALL MOBILE
   ========================= */
@media (max-width: 480px) {

    .logo img {
        width: 50px;
    }

    .nav a {
        font-size: 14px;
    }

    .first-text {
        font-size: 14px;
    }

    .first img {
        width: 100%;
        border-radius: 6px;
    }
}
