/*start header */
header {
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(12, 60, 40, 0.15);
  position: relative;
  z-index: 10;
}
.brand-bar {
  background: linear-gradient(120deg, #0d5f97, #49b6e6);
  padding: 24px 6vw 30px;
  color: #fff;
  position: relative;
}
.brand-bar::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -35px;
  width: 220px;
  height: 120px;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 255, 255, 0.45),
    transparent 70%
  );
  transform: skewX(-20deg);
  opacity: 0.5;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo-img {
  width: 150px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.35));
}
.brand-copy h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  font-weight: bold;
}
.brand-copy small {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}
.nav-bar {
  background: linear-gradient(120deg, #2c934b, #30c064);
  padding: 12px 6vw;
  position: relative;
  z-index: 50;
}
.nav-bar nav {
  overflow: visible;
}
.nav-bar ul {
  list-style: none;
  display: flex;
  gap: 18px 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  white-space: nowrap;
  overflow: visible;
}
.nav-bar li {
  position: relative;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  padding: 16px 0;
  display: none;
  z-index: 60;
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--forest);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.dropdown-menu a:hover {
  background: var(--mint);
  color: var(--leaf);
}
.nav-bar li:hover > .dropdown-menu,
.nav-bar li:focus-within > .dropdown-menu {
  display: block;
}
/*end header */
/* StartFooter Styles*/
/* Footer hero */
.footer-hero {
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.65)),
    url("KEC IT park.jpeg") center/cover no-repeat;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}
.footer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background:linear-gradient(120deg,rgba(15,74,48,.55),rgba(44,147,75,.35));*/
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  padding: 48px 48px 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  justify-content: center;
}
.principal-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  background: #ffffff;
}
.principal-text {
  max-width: 680px;
  background: rgba(0, 0, 0, 0.28);
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  text-align: center;
}
.principal-text h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: 0.2px;
  color: #ffffff;
}
.principal-text p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.98rem;
  color: #f3f8f5;
}
.footer-bar {
  padding: 18px 6vw 26px;
  text-align: center;
  color: #e8f6ed;
  font-size: 0.9rem;
  background: linear-gradient(120deg, #0f4a30, #2c934b);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0;
}
/* End Footer Styles*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  overflow-x: hidden;
}

/* About Content */
.about-section {
  padding: 40px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e5a8e;
  margin-bottom: 20px;
  text-align: center;
}

.section-title1 {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Vision Mission Cards - Compact */
.vm-section {
  padding: 40px 0;
  background: white;
}

.vm-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  border-top: 4px solid #28a745;
}

.vm-card:hover {
  transform: translateY(-5px);
}

.vm-card h3 {
  color: #1e5a8e;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-card h3 i {
  color: #28a745;
  font-size: 1.5rem;
}

.vm-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #495057;
  margin: 0;
}

/* Info Section (Parent Chapter) */
.info-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.info-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #28a745;
}

.info-card h3 {
  color: #1e5a8e;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 i {
  color: #28a745;
  font-size: 1.8rem;
}

.info-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
  margin: 0;
}

/* History Section */
.history-section {
  padding: 40px 0;
  background: white;
}

.history-content {
  max-width: 1000px;
  margin: 0 auto;
}

.history-list {
  list-style: none;
  padding: 0;
}

.history-list li {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
}

.history-list li i {
  position: absolute;
  left: 0;
  top: 5px;
  color: #28a745;
  font-size: 1.2rem;
}

/* Horizontal Timeline - Compact */
.timeline-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
}

.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 30px 0;
  overflow-x: auto;
  gap: 10px;
}

.timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50px;
  right: 50px;
  height: 4px;
  background: linear-gradient(to right, #1e5a8e 0%, #28a745 50%, #ffa500 100%);
  transform: translateY(-50%);
  z-index: 0;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.timeline-item-h {
  position: relative;
  text-align: center;
  z-index: 1;
  min-width: 150px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-item-h:hover {
  transform: translateY(-10px);
}

.timeline-item-h:hover .timeline-content-h {
  background: linear-gradient(135deg, #1e5a8e 0%, #28a745 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(30, 90, 142, 0.4);
}

.timeline-item-h:hover .timeline-content-h h4 {
  color: white;
}

.timeline-item-h:hover .timeline-dot-h {
  background: #28a745;
  transform: scale(1.5);
  box-shadow:
    0 0 0 4px rgba(40, 167, 69, 0.3),
    0 0 20px rgba(40, 167, 69, 0.6);
}

.timeline-item-h:hover .timeline-year-h {
  color: #28a745;
  font-weight: 700;
  transform: scale(1.1);
}

.timeline-dot-h {
  width: 16px;
  height: 16px;
  background: #1e5a8e;
  border: 3px solid white;
  border-radius: 50%;
  margin: 10px auto;
  box-shadow:
    0 0 0 3px #1e5a8e,
    0 4px 10px rgba(0, 0, 0, 0.2);
  order: 2;
  transition: all 0.3s ease;
}

.timeline-year-h {
  background: transparent;
  color: #1e5a8e;
  padding: 4px 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  order: 3;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.timeline-content-h {
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  order: 1;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  border-top: 3px solid #28a745;
}

.timeline-content-h h4 {
  color: #1e5a8e;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  transition: all 0.3s ease;
}

/* Tagline Section */
.tagline-section {
  padding: 40px 0;
  background: white;
  text-align: center;
}

.tagline-text {
  font-size: 2rem;
  font-weight: 400;
  color: #333;
  margin: 0;
}

/* World Map Section */
.map-section {
  padding: 30px 0 35px;
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  color: #333;
  text-align: center;
}

.map-container {
  max-width: 100%;
  width: 90%;
  margin: 15px auto;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-height: 400px;
}

.map-image {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.map-image:hover {
  transform: scale(1.02);
}

.map-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #1e5a8e 0%, #28a745 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.map-subtitle {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #495057;
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 70%;
  margin: 20px auto 0;
}

.stat-box {
  background: white;
  padding: 25px 15px;
  border-radius: 10px;
  border: 2px solid transparent;
  background-image:
    linear-gradient(white, white),
    linear-gradient(135deg, #1e5a8e 0%, #28a745 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #1e5a8e 0%, #28a745 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #495057;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .header-text h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 90%;
    gap: 15px;
  }

  .map-title {
    font-size: 2rem;
  }

  .map-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .timeline-horizontal {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-horizontal::before {
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    transform: none;
  }

  .timeline-item-h {
    min-width: 100%;
    text-align: left;
    padding-left: 50px;
    flex-direction: row;
    align-items: flex-start;
  }

  .timeline-dot-h {
    position: absolute;
    left: 13px;
    top: 8px;
    margin: 0;
  }

  .timeline-content-h {
    order: 1;
    margin-bottom: 0;
    margin-right: 10px;
  }

  .timeline-year-h {
    order: 2;
    margin-top: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tagline-text {
    font-size: 1.5rem;
  }
}
.page-title h2 {
  font-size: 2.2rem;
}

.page-title p {
  font-size: 1.1rem;
  padding: 0 15px;
}

.footer {
  background: #ffffff;
  padding: 60px 80px 30px;
  border-top: 1px solid #e5e5e5;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  width: 30%;
}

.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

.footer-title {
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 80px;
  
}

.footer-links h4 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
  cursor: pointer;
}

.footer-links a:hover {
  color: #f6c400;
}

.footer-right {
  text-align: right;
}

.alumni-btn {
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(120deg, #46d989);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(70, 217, 137, 0.35);
}

.social-icons {
  padding: 10px;
  padding-top: 10px;
}

.social-icons i {
  color: #999;
  margin-left: 12px;
  font-size: 16px;
  cursor: pointer;
}

.social-icons i:hover {
  color: #333;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
}
.principal-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  background: #ffffff;
}
.principal-text {
  max-width: 680px;
  background: rgba(0, 0, 0, 0.28);
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  text-align: center;
}
.principal-text h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: 0.2px;
  color: #ffffff;
}
.principal-text p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.85rem;
  color: #f3f8f5;
}
.footer-bar {
  padding: 18px 6vw 26px;
  text-align: center;
  color: #e8f6ed;
  font-size: 0.9rem;
  background: linear-gradient(120deg, #0f4a30, #2c934b);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0;
}