* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --forest: #0f4a30;
  --leaf: #2c934b;
  --mint: #e8f6ed;
  --blue-primary: #1976d2;
  --blue-light: #e3f2fd;
  --green-accent: #4caf50;
  --green-light: #f1f8e9;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
  font-family:
    "Poppins",
    Arial,
    sans serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header (unchanged) */
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;
}
.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;
}

/* Enhanced Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  overflow: hidden; /* ADD THIS */
}

/* Enhanced Page Title */
.page-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 25px;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--green-accent));
  border-radius: 2px;
}

.page-title h2 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  background: black;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-title p {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Enhanced Bearer Cards */
.bearers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  padding: 20px 0;
}

.bearer-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  backdrop-filter: blur(10px);
}

.bearer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue-primary), var(--green-accent));
  z-index: 1;
}

.bearer-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(25, 118, 210, 0.2);
}

.card-header {
  position: relative;
  padding: 30px 30px 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--blue-light) 0%,
    var(--green-light) 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.image-container {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  background: white;
  transition: transform 0.3s ease;
}

.bearer-card:hover .image-container {
  transform: scale(1.05);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bearer-card:hover .image-container img {
  transform: scale(1.1);
}

.placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  color: #ccc;
  background: linear-gradient(135deg, #e3f2fd, #f5f5f5);
}

/* Special styling for Dr. Pradeep's photo */
.bearer-card:nth-child(5) .image-container img {
  object-fit: contain;
}

/* Enhanced Card Content */
.bearer-content {
  padding: 30px;
  position: relative;
}

.bearer-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.3;
}

.bearer-title {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--blue-primary), var(--green-accent));
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  text-align: center;
  width: 100%;
}

.bearer-info {
  margin-bottom: 20px;
  padding: 20px;
  background: var(--mint);
  border-radius: 12px;
  border-left: 4px solid var(--leaf);
}

.info-label {
  font-weight: 700;
  color: var(--forest);
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-label::before {
  content: "•";
  color: var(--leaf);
  font-size: 1.5rem;
}

.info-value {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  padding-left: 16px;
  font-weight: 500;
}

/* Enhanced Contact Links */
.contact-links {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px dashed rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
  padding: 12px 16px;
  background: rgba(25, 118, 210, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(25, 118, 210, 0.1);
  transform: translateX(5px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue-primary), var(--leaf));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.2);
}

.contact-item a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 600;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--leaf);
  text-decoration: underline;
}

.contact-item span {
  color: #555;
  font-weight: 500;
}

/* Enhanced Footer hero */
.footer-hero {
  margin: 80px 0 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("clg background.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;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 60px 48px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.principal-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  background: #ffffff;
  transition: transform 0.3s ease;
}

.footer-inner:hover .principal-photo {
  transform: scale(1.05);
}

.principal-text {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.principal-text h3 {
  margin: 0 0 20px;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.principal-text p {
  margin: 0;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #f3f8f5;
  text-align: justify;
}

.footer-bar {
  padding: 25px 6vw;
  text-align: center;
  color: #e8f6ed;
  font-size: 0.95rem;
  background: linear-gradient(120deg, #0f4a30, #2c934b);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .bearers-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .image-container img {
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 250px;
  }
  .brand-bar {
    padding: 20px 4vw;
  }

  .logo-group {
    flex-direction: column;
    text-align: center;
  }

  .logo-img {
    width: 150px;
    height: 80px;
  }

  .brand-copy h1 {
    font-size: 1.4rem;
  }

  .nav-bar ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-bar li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    margin-top: 0;
  }

  .container {
    padding: 40px 20px;
    width: 100%;
    overflow-x: hidden; /* ADD THIS */
  }

  .page-title h2 {
    font-size: 2.2rem;
  }

  .page-title p {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .bearers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    overflow: hidden; /* ADD THIS */
  }

  .bearer-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .image-container {
    width: 100%;
    height: auto;
    min-height: 320px;
  }

  .bearer-content {
    padding: 25px;
  }

  .footer-inner {
    padding: 40px 20px 50px;
  }

  .principal-text {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .bearer-card {
    max-width: 100%;
  }

  .bearer-name {
    font-size: 1.4rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact-icon {
    margin-right: 0;
  }
}
body {
  font-family:
    "Poppins",
    Arial,
    sans serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* ADD THIS - MOST IMPORTANT */
  width: 100%;
  max-width: 100%;
}
.footer-hero {
  margin: 60px 0 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("images/Kec_IT park.jpeg") center/cover no-repeat;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}
.footer {
  background: #ffffff;
  padding: 60px 80px 30px;
  border-top: 1px solid #e5e5e5;
}
.btn {
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: #46d989;
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(70, 217, 137, 0.35);
}
.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 {
  background: #f6c400;
  border: none;
  padding: 14px 40px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 25px;
}

.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;
}
