@import url('https://googleapis.com');

body {
  margin: 0;
  font-family:  'Poppins', sans-serif; 
  color: #222;
  padding-top: 78px;
  text-align: justify;
}


p{
}

a {
  text-decoration: none;
}


/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar Layout */
.nav-container {
  display: flex;
margin-left:0;
  align-items: center;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 500;
}

/* Hamburger Hidden on Desktop */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
}

/* MOBILE STYLES */
@media (max-width: 992px) {

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 250px;
    padding: 20px;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);

}

.navbar img {
  height: 45px;
  margin-right: 10px;
}

.navbar nav a {
  margin-left: 18px;
  color: #333;
  font-weight: 500;
 text-decoration: none;
}

.navbar nav a:hover {
  color:  #7b1e3a;
}



.btn-nav {
  background: #f5b400;

  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
}

/* DYNAMIC NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 95%;
  z-index: 999;
  transition: transform 0.35s ease, background 0.3s ease;
}

/* Hidden state */
.navbar.nav-hidden {
  transform: translateY(-100%);
}



.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.logo-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .logo-title {
    font-size: 14px;
  }

  .logo-subtitle {
    font-size: 10px;
  }
}

/*Hero */

.hero-slider{
  position:relative;
  width:100%;
  height:520px;
  overflow:hidden;
}

.hero-track{
  display:flex;
  transition:transform .6s ease;
  height:100%;
}

.hero-slide{
  min-width:100%;
  position:relative;
}

.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* overlay */
.hero-overlay{
  position:absolute;
  bottom:80px;
  left:60px;
  color:#fff;
  max-width:520px;
}

.hero-overlay h1{
  font-size:42px;
  margin-bottom:12px;
}

.hero-overlay p{
  font-size:18px;
  opacity:.95;
}

/* arrows */
.hero-prev,
.hero-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.45);
  color:#fff;
  border:none;
  width:44px;
  height:44px;
  border-radius:50%;
  cursor:pointer;
}

.hero-prev{ left:20px; }
.hero-next{ right:20px; }

/* dots */
.hero-dots{
  position:absolute;
  bottom:20px;
  width:100%;
  text-align:center;
}

.hero-dot{
  display:inline-block;
  width:10px;
  height:10px;
  margin:0 5px;
  border-radius:50%;
  background:#ffffff88;
  cursor:pointer;
}

.hero-dot.active{
  background:#fff;
}

/* responsive */
@media(max-width:768px){
  .hero-slider{ height:420px; }
  .hero-overlay{
    left:20px;
    bottom:40px;
  }
  .hero-overlay h1{ font-size:28px; }
}

section h2 {
  margin-bottom: 16px;
}

img {
  max-width: 100%;
  height: auto;
}


.about-preview {
  display: flex;
  padding: 80px;
  gap: 50px;
}

.about-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 90px 80px;
  gap: 60px;

  background: #ffffff;
}

.about-preview .text {
  max-width: 540px;
  text-align: justify;
}

.about-preview .text h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #111;
}

.about-preview .text p {
  font-size: 17px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 25px;
}


.btn-link {
  font-weight: 600;
  color: #7b1e3a;
  font-size: 15px;
}

.btn-link:hover {
  text-decoration: underline;
}

.stats-section {
  padding: 48px 0;           /* was probably too large */
  background: #f8fafc;
}

.stats-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 16px 12px;
}

.stat h3 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.stat p {
  font-size: 15px;
  color: #475569;
  line-height: 1.3;
  margin: 0;
}



.focus {
  background: #fafafa;
  text-align: center;
}

.focus h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #111;
}


.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.focus-card {
  background: #ffffff;
  padding: 35px 30px;

  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);

  font-size: 16px;
  font-weight: 600;
  color: #333;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 140px;
  transition: all 0.3s ease;
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.15);
}

.focus-card:hover img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(63%) saturate(2680%) hue-rotate(336deg);
}


.focus-card {
  flex-direction: column;
  gap: 15px;
}

.focus-card img {
  width: 42px;
  height: 42px;
  opacity: 0.9;
}



/* Media */

.media-slider{
  position:relative;
  width:100%;
}

.media-viewport{
  overflow:hidden;
}

.media-track{
  display:flex;
  gap:20px;
  transition:transform .6s ease;
}



.media-card{
  flex:0 0 320px;
  border-radius:12px;
  overflow:hidden;
}

.media-viewport {
  overflow: hidden;
}
 
.media-card {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .media-card {
    width: 100%;
  }
}

@media (min-width: 601px) and (max-width: 992px) {
  .media-card {
    width: 50%;
  }
}

@media (min-width: 993px) {
  .media-card {
    width: 33.33%;
  }
}




/* tablet */
@media (max-width:1024px){
  .media-card{ flex:0 0 260px; }
}

/* mobile */
@media (max-width:768px){
  .media-card{ flex:0 0 80%; }
}

/* small mobile */
@media (max-width:480px){
  .media-card{ flex:0 0 90%; }
}


.media-card img{
  width:100%;
  height:220px;
  object-fit:contain;
  display:block;
}

/* ARROWS */
.media-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border:none;
  border-radius:50%;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  cursor:pointer;
  z-index:5;
}

.media-arrow.left{left:10px}
.media-arrow.right{right:10px}

/* DOTS */
.media-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:16px;
}

.media-dots span{
  width:8px;
  height:8px;
  background:#ccc;
  border-radius:50%;
}

.media-dots span.active{
  width:20px;
  border-radius:6px;
  background:#0b6b5c;
}




.achievements {
  background: #f8f9fb;
}

.achievements .container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.achievements h2 {
  font-size: 2.2rem;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.ach-subtitle {
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.ach-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ach-card h3 {
  font-size: 1.15rem;
  color: #7b1e3a; /* Ambika accent */
  margin-bottom: 12px;
}

.ach-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.ach-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}


.cta {
  background: linear-gradient(135deg, #7b1e3a, #5c142c);
  padding: 70px 20px;
  color: #fff;
}

.cta-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT */
.cta-left h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-left p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
}

.cta-left .btn-primary {
 display: inline-block;
  margin-top: 20px;
  background: #f5b400;
  color: #000;
  padding: 12px 22px;
  border-radius: 4px;
}

/* RIGHT */
.cta-right p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.cta-right strong {
  font-weight: 600;
}


@media (max-width: 768px) {
  .cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-left h2 {
    font-size: 28px;
  }
}

.footer-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.footer-item svg {
  width: 22px;
  height: 22px;
  fill: #f5b400; /* accent color */
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.footer-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-item a:hover {
  text-decoration: underline;
}

.footer-social:last-child svg {
  fill: #0a66c2; /* LinkedIn blue */
}



.site-footer {
  background: #0b1d2d;
  color: #d6e1ea;
  padding: 60px 8% 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col p,
.footer-col li {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col a {
  color: #9fd3ff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-muted {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}





.footer {
  background: #0b1d2d;
  color: #ffffff;
  padding: 60px 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding-left: 40px;   
  padding-right: 20px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-item a {
  color: #9fd3ff;
  text-decoration: none;
}
.copyright-bar {
  background: #0a3d62;

  text-align: center;
  padding: 14px 20px;
  font-size: 0.85rem;
  color: #f2e9ed;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright-bar strong {
  color: #f5b400;
}




.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th, td {
  padding: 14px;
  border: 1px solid #ddd;
  vertical-align: top;
}

th {
  background: #f3f3f3;
  text-align: left;
  font-weight: 600;
}

tr:nth-child(even) {
  background: #fafafa;
}




/* HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.logo img {
  height: 60px;
}

/*


.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.btn-nav {
  background: #0a3d62;
  color: #fff ;
  padding: 6px 14px;
  border-radius: 4px;
}

/* FOOTER */
.site-footer {
  background: #0a3d62;
  color: #fff;
  padding: 40px 0 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.site-footer a {
  color: #dcdcdc;
  text-decoration: none;
}






.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #082f4d;
  margin-top: 30px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .about-preview,
  .stats,
  .focus-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    padding: 40px;
  }

  .hero {
    padding: 40px;
    text-align: center;
  }
}





/* For mobile responsiveness*/
@media (max-width: 768px) {

  /* NAVBAR MOBILE */
  .navbar {
    padding: 14px 20px;
    flex-wrap: wrap;
  }

  .logo h2 {
    font-size: 16px;
  }

  .navbar nav {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .navbar nav a {
    margin: 0 10px;
    font-size: 14px;
  }

  /* HERO MOBILE */
  .hero {
    min-height: 100vh;
    padding: 0 20px;
    background-position: center top;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 90px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn-primary {
    padding: 12px 20px;
    font-size: 15px;
  }

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  background: #f5b400;
  color: #000;
  padding: 12px 22px;
  border-radius: 4px;
}


.btn-primary {
  background: linear-gradient(135deg, #f5b400, #ffcc33);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

  .stats-section {
    padding: 50px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .stat h3 {
    font-size: 30px;
  }

  .stat p {
    font-size: 14px;
  }

  .about-preview {
    flex-direction: column;
    padding: 60px 25px;
    text-align: center;
  }

  .about-preview .text {
    max-width: 100%;
  }

  .about-preview .text h2 {
    font-size: 28px;
  }

  .about-preview .text p {
    font-size: 16px;
  }

  .about-preview .image img {
    width: 100%;
    margin-top: 30px;
  }


  .focus {
    padding: 60px 25px;
  }

  .focus h2 {
    font-size: 28px;
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .focus-card {
    font-size: 15px;
    min-height: 120px;
  }






}


/* ===============================
   WHY AMBIKA SECTION
================================ */

.why-ambika {
  padding: 80px 20px;
  background: #f8f9fb;
}

.why-ambika h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: 700;
  color: #222;
}

/* Grid Layout */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Cards */
.why-card {
  background: #ffffff;
  padding: 35px 25px;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #444;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

/* Hover Effect */
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}


/* ===============================
   WHY AMBIKA RESPONSIVE
================================ */

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-ambika {
    padding: 60px 20px;
  }

  .why-ambika h2 {
    font-size: 26px;
    margin-bottom: 35px;
  }
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: #7b1e3a;
  transition: width 0.3s ease;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.why-card:hover::before {
  width: 100%;
}

/* STRUCTURE SECTION */
.structure {
  background: #ffffff;
  padding: 90px 60px;
}



.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head h2 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #0a3d62;
}

.section-head p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}


.structure-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:28px;
  margin-top:30px;
}


.structure-card {
  background: #f9fafc;
  padding: 35px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.structure-card.primary {
  background: linear-gradient(135deg, #0a3d62, #123a5e);
  color: #ffffff;
}

.structure-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.structure-card.primary h3 {
  color: #f5b400;
}

.structure-card .name {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.structure-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.structure-card.primary p {
  color: #e0e0e0;
}



.ambika-team-grid{
  display:flex;
  justify-content:center;
  margin-top:30px;
}



.news-gallery {
  padding: 80px 5%;
  background: #ffffff;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.gallery-header h2 {
  font-size: 32px;
  color: #333;
}

.view-all {
  color: #7b1e3a; /* Matching your slider dot color */
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.view-all:hover {
  border-bottom-color: #7b1e3a;
}

/* Grid Layout */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* News Card Styling */
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .card-image img {
  transform: scale(1.1);
}

.category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #7b1e3a;
  color: white;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.card-content {
  padding: 25px;
}

.date {
  font-size: 14px;
  color: #888;
}

.card-content h3 {
  font-size: 20px;
  margin: 10px 0;
  color: #222;
  line-height: 1.4;
}

.card-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #7b1e3a;
  text-decoration: none;
  font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
}













.structure-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:28px;
  margin-top:30px;
}




.structure-card{
  background:#fff;
  border-radius:14px;
  text-align:center;
  padding:18px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  transition:.25s ease;
}

.structure-card:hover{
  transform:translateY(-4px);
}

.structure-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:12px;
}

.structure-card h4{
  margin:6px 0 4px;
  font-size:17px;
}

.structure-card p{
  font-size:14px;
  color:#555;
}



.structure-card.primary .person-desc {
  color: #e6e6e6;
}


/* FIX PROFILE IMAGES ISSUE */
.structure-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
 
  border-radius: 50%;
  margin: 0 auto 12px;
  display: block;
}

/* Prevent images from breaking layout */
.structure-card {
  position: relative;
  overflow: hidden;
}

.partners {
  padding: 70px 0 60px;
  background: #fafafa;
  text-align: center;
}

.partners h2 {
  font-size: 32px;
  margin-bottom: 35px;
}

/* slider */
.partner-slider {
  width: 100%;
  overflow: hidden;
}

.partner-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* BIGGER images */
.partner-item {
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-item img {
  height: 250px;
  max-width: 260px;
  object-fit: contain;
}

/* dots */
.partner-dots {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.partner-dots span {
  width: 10px;
  height: 10px;
  background: #cfcfcf;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.partner-dots span.active {
  background: #7b1e3a;
  transform: scale(1.3);
}

.partner-track {
  will-change: transform;
}


/* mobile */
@media (max-width: 768px) {
  .partner-item {
    min-width: 220px;
  }

  .partner-item img {
    height: 80px;
  }
}






.reach-map {
  background: #f7f9fc;
}

.reach-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.reach-text h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.reach-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.reach-text ul {
  padding-left: 18px;
  color: #444;
}

.reach-image {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reach-image img {
  width: 100%;
  max-width: 600px;   
  height: auto;
  background: none;
  box-shadow: none;
  padding: 0;
  border: none;
}



.reach-text {
  flex: 1;
}




/* REACH HIGHLIGHT POINTS */
.reach-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.reach-point {
  display: flex;
  align-items: center;
  gap: 12px;

  background: #ffffff;
  padding: 16px 18px 16px 14px;

  border-left: 4px solid #f5b400; /* Accent border */
  border-radius: 8px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.06);

  font-size: 15px;
  font-weight: 500;
  color: #333;

  transition: all 0.25s ease;
}

.reach-point:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .reach-point {
    border-left: none;
    border-top: 3px solid #f5b400;
    padding: 14px;
    justify-content: center;
    text-align: center;
  }
}




.reach-icon {
  font-size: 20px;
  background: #f5b400;
  color: #000;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .reach-points {
    align-items: center;
  }

  .reach-point {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* Mobile */
@media (max-width: 768px) {
  .reach-container {
    flex-direction: column;
    text-align: center;
  }
}



/* ABOUT PAGE – LIGHT HERO */


.hero {
  height: 90vh;
  background:
    linear-gradient(
      rgba(123, 30, 58, 0.35),  
      rgba(0, 0, 0, 0.15)
    ),
    url("images/msu4.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 80px;
  color: #fff;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  max-width: 520px;
  line-height: 1.6;
  color: #f2f2f2;
}

.hero h1,
.hero p {
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}



.hero-content {
  max-width: 600px;
}



.hero-about {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,.1)),
    url("../images/ambika3.png") center/cover no-repeat;
}

.hero-about .hero-content {
  max-width: 700px;
}





/* PRELOADER */

#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-content {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: fadePulse 1.6s ease-in-out infinite;
}

.loader-content img {
  height: 90px;
}

@keyframes fadePulse {
  0%   { opacity: 0.7; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}


@media (max-width: 600px) {
  .loader-content img {
    height: 65px;
  }
}



.about-msu {
  background: #ffffff;
  padding: 90px 0;
}

.about-flex {
  display: flex;
  gap: 60px;
}

.about-text h2 {
  font-size: 36px;
  color: #7b1e3a;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 18px;
}

.about-image img {
  width: 100%;
  height:70%;
 object-fit:cover;
  max-width: 1800px;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  margin-top : 80px;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
  }
}

.about-detailed {
  padding: 80px 0;
  background: #ffffff;
}

.about-detailed .container {
  max-width: 900px;
  margin: auto;
}

.about-detailed h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-detailed .lead {
  font-size: 18px;
  color: #444;
  margin-bottom: 25px;
  font-weight: 500;
}

.about-detailed p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
text-align:left;
}

.vm-section {
  background: #f5f7fa;
  padding: 80px 60px;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.vm-card {
  font-size: 18px;
text-align: left;
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  border-top: 4px solid #7b1e3a;
}

.vm-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.governance {
  padding: 80px 0;
  background: #fff;
}

.gov-list {
  margin-top: 20px;
  padding-left: 20px;
}

.gov-list li {
  margin-bottom: 10px;
  color: #444;
}


.cta .btn-primary {
 display: inline-block;
  margin-top: 20px;
  background: #f5b400;
  color: #000;
  padding: 12px 22px;
  border-radius: 4px;
}



/* Structure Page */

/* HIERARCHY SECTION */
.hierarchy-section {
  padding: 60px 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #0a3d62;
}

/* THE BOX THAT CONTROLS SIZE */
.hierarchy-box {
  width: 100%;
  max-width: 1000px;        
  margin: 0 auto;
  padding: 20px;

  background: #f9fafc;
  border: 1px solid #e2e6ec;
  border-radius: 12px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* IMAGE ITSELF */
.hierarchy-box img {
  width: 100%;
  height: auto;

  max-height: 500px;       
  object-fit: contain;

  display: block;
  margin: 0 auto;
}

/* MOBILE */
@media (max-width: 768px) {
  .hierarchy-box {
    max-width: 100%;
    padding: 14px;
  }

  .hierarchy-box img {
    max-height: 280px;
  }
}



.ambika-team-grid {
  display: flex; /* Use flexbox for the grid layout */
  flex-wrap: wrap; /* Allow cards to wrap to the next line */
  gap: 20px; /* Space between cards */
  justify-content: center; /* Center cards horizontally */
  padding: 20px;
}

.ambika-team-card {
  width: 300px; /* Adjust as needed */
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden; /* Crucial for the image zoom effect */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative; /* Needed for positioning elements inside if desired */
  display: flex;
  flex-direction: column;
}

.ambika-team-card:hover {
  transform: translateY(-5px); /* Lift the card slightly */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
}

.ambika-image-box {
  width: 100%;
  padding-top: 100%; /* Creates a square aspect ratio (1:1) */
  position: relative;
  overflow: hidden; /* Crucial for the image zoom effect */
  background-color: #f5f5f5; /* Placeholder background */
}



.ambika-team-card:hover .ambika-image-box img {
  transform: scale(1.1); /* Zoom in effect on hover */
}

.ambika-team-info {
  padding: 20px 15px 25px;
  text-align: center;
  flex-grow: 1; /* Allows the info section to take available space */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes social links to the bottom if needed */
}

.ambika-team-info h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.5em;
  color: #333;
}

.ambika-team-info p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9em;
}



.linkedin-icon {
  width: 24px; /* Adjust icon size */
  height: 24px;
  vertical-align: middle;
}




.social-links-overlay {
  position: absolute;
  top: 80%; /* Move the top edge to the vertical center */
  left: 50%; /* Move the left edge to the horizontal center */
  transform: translate(-50%, -50%); /* Adjust by half its own width/height to truly center it */
  z-index: 2; /* Ensure it's above the image */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* Removed: padding: 10px; */
  /* Removed: background-color: rgba(255, 255, 255, 0.7); */
  /* Removed: border-radius: 50%; */
  display: flex; /* Still good to keep for centering the icon itself if needed */
  align-items: center;
  justify-content: center;
}

/* ... (rest of your CSS remains the same) ... */

/* Show the overlay when hovering on the entire card */
.ambika-team-card:hover .social-links-overlay {
  opacity: 1;
  visibility: visible;
}

/* ... (rest of your CSS, including .social-links-overlay a and .linkedin-icon styles) ... */

/* Initial color of the LinkedIn icon (blue) */
.social-links-overlay .linkedin-icon {
  width: 28px; /* Slightly larger icon */
  height: 28px;
  fill: #0077B5; /* LinkedIn brand blue */
  transition: fill 0.3s ease; /* Smooth transition for fill color */
}

/* Yellow color on hover for the LinkedIn icon */
.social-links-overlay a:hover .linkedin-icon {
  fill: #FFD700; /* Yellow color */
}



.ambika-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease; /* Add opacity to the transition */
  opacity: 1; /* Initial opacity (fully visible) */
}

/* Zoom in and reduce opacity of the image on card hover */
.ambika-team-card:hover .ambika-image-box img {
  transform: scale(1.1); /* Zoom in effect on hover */
  opacity: 0.7; /* Reduce opacity when hovering over the card */
}




/*  Startup page  */

.startup-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:24px;
}

.startup-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 300px));
  gap:24px;
  justify-content:center;
  max-width:1200px;
  margin:40px auto;
}






/* Card */


.startup-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  cursor:pointer;
  transition:all .3s ease;
  display:flex;
  flex-direction:column;
}

.startup-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 45px rgba(0,0,0,0.1);
}

.startup-card img{
  width:100%;
  height:160px;
  object-fit:contain;
  background:#f0f0f0;
}

.card-body{padding:18px}
.card-body h3{font-size:18px;color:var(--text-dark);margin-bottom:6px}
.card-meta{font-size:14px;color:var(--text-light);margin-bottom:10px}

.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{
  background:var(--green-soft);
  color:var(--green-dark);
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:500;
}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:16px;
}

.modal-content{
  background:#fff;
  max-width:720px;
  width:100%;
  border-radius:20px;
  overflow:hidden;
  animation:fadeUp .3s ease;
}

@keyframes fadeUp{
  from{transform:translateY(20px);opacity:0}
  to{transform:translateY(0);opacity:1}
}

.modal img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.modal-body{padding:24px}
.modal-body h3{font-size:24px;color:var(--green-dark);margin-bottom:6px}
.modal-body p{color:var(--text-light);margin:10px 0}
.modal-body strong{color:var(--text-dark)}

.modal a{
  display:inline-block;
  margin-top:14px;
  padding:10px 18px;
  background:var(--green-main);
  color:#fff;
  border-radius:999px;
  text-decoration:none;
  font-weight:500;
}

.close-btn{
  position:absolute;
  top:16px;
  right:16px;
  background:#fff;
  border:none;
  border-radius:50%;
  width:36px;
  height:36px;
  font-size:18px;
  cursor:pointer;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .startup-grid {
    /* 2 cards in a row for tablets */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .startup-grid {
    /* 1 card in a row for mobile */
    grid-template-columns: 1fr;
  }
}





/* Events page * /
/* Container: Force 2 columns */
#eventGrid {
  display: grid ;
  grid-template-columns: repeat(2, 1fr) ;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Card Styling */
.event-card {
  display: flex ;
  flex-direction: column ;
  width: 100% ;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Image Fix: The "contain" value prevents cropping */
.event-card img {
  width: 100% ;
  height: 320px ; /* Fixed height for consistency */
  object-fit: contain ; /* Forces image to fit within the box */
  padding: 30px; /* Space around logo so it doesn't hit the borders */
  background: #fcfcfc; /* Light background for the logo area */
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

/* Content Area Styling */
.event-card .card-body {
  padding: 20px;
  flex-grow: 1;
}

.event-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  color: #1a1a1a;
}

.event-card .card-meta {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Responsive: 1 card on mobile */
@media (max-width: 768px) {
  #eventGrid {
    grid-template-columns: 1fr ;
  }
  
  .event-card img {
    height: 200px ;
  }
}




/* Policies Page */
/* =========================
   PAGE HERO (POLICIES)
========================= */
.page-hero {
  
     background: url("../images/Foundation3.png") center/cover no-repeat;
  color: #fff;
  padding: 110px 0 70px;
  text-align: center;
  display: flex;

}


.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

/* =========================
   GENERIC SECTIONS
========================= */
.section {
  padding: 70px 0;
}

.section.light {
  background: #f7f7fb;
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1c2340; /* deep blue */
  margin-bottom: 18px;
  position: relative;
}

.section h2::after {
  content: "";
  width: 42px;
  height: 3px;
  background: #8b1e3f; /* maroon */
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}

.section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #8b1e3f;
  margin-top: 28px;
  margin-bottom: 10px;
}

.section p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #444;
  max-width: 800px;
}

/* =========================
   PREMIUM LIST STYLE
========================= */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
}

.list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 15.5px;
  color: #333;
  line-height: 1.6;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8a44f; /* gold */
  position: absolute;
  left: 0;
  top: 9px;
}

/* =========================
   CTA SECTION
========================= */
.cta {
  background: linear-gradient(135deg, #1c2340, #8b1e3f);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 15.5px;
  opacity: 0.92;
}

/* =========================
   CONTAINER WIDTH ALIGNMENT
========================= */
.container {
  width: 90%;
  max-width: 1150px;
  margin: 0 auto;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .page-hero {
    padding: 90px 0 55px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 55px 0;
  }

  .section h2 {
    font-size: 24px;
  }

  .section h3 {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 26px;
  }

  .page-hero p {
    font-size: 14.5px;
  }

  .section p,
  .list li {
    font-size: 14.5px;
  }
}



/* Contact Page */
.card {
  background: white;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}


.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7b1e3a;
}

.contact-form button {
  background: #7b1e3a;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #5f162d;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 90px 20px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .contact-form {
    width: 100%;
  }
}



        /* CHATBOT UI */
        .chat-widget-btn {
            position: fixed; bottom: 20px; right: 20px; background-color: #0d47a1; color: white;
            border: none; border-radius: 50%; width: 60px; height: 60px; font-size: 24px; cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000;
        }
        .chat-window {
            position: fixed; bottom: 90px; right: 20px; width: 360px; height: 520px;
            background-color: white; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            display: none; flex-direction: column; overflow: hidden; z-index: 1000; border: 1px solid #ddd;
        }
        .chat-header { background-color: #0d47a1; color: white; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
        .chat-header span { cursor: pointer; font-size: 20px; }
        
        .chat-body { flex: 1; padding: 15px; overflow-y: auto; background-color: #f9f9f9; display: flex; flex-direction: column; }
        
        .msg { margin-bottom: 12px; padding: 10px; border-radius: 8px; max-width: 85%; font-size: 14px; line-height: 1.4; word-wrap: break-word; }
        .bot-msg { background-color: #e3f2fd; color: #0d47a1; align-self: flex-start; }
        .user-msg { background-color: #0d47a1; color: white; align-self: flex-end; }
        
        .user-btn {
            display: block; width: 100%; background-color: white; color: #0d47a1; border: 1px solid #0d47a1;
            padding: 8px; margin-top: 6px; border-radius: 5px; cursor: pointer; text-align: left; font-size: 13px;
            font-weight: 500;
        }
        .user-btn:hover { background-color: #0d47a1; color: white; }

        .chat-footer { display: flex; border-top: 1px solid #ddd; padding: 10px; background: white; }
        .chat-footer input { flex: 1; padding: 8px; border: 1px solid #ccc; border-radius: 4px; outline: none; font-size: 14px; }
        .chat-footer button { background: #0d47a1; color: white; border: none; padding: 8px 15px; margin-left: 5px; border-radius: 4px; cursor: pointer; }
    
