/* ================= GLOBAL STYLES ================= */

* {
  box-sizing: border-box;
}

body {
 /* padding-left: 20px;
  padding-right: 20px; */
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



a {
  text-decoration: none;
  color: inherit;
}


/* ================= BOOK CONSULTATION ================= */

.golden-text {
  color: goldenrod;
  font-weight: bold;
}

.golden-button {
  display: inline-block;
  width: 150px;
  background-color: goldenrod;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-align: center;
  margin-right: 10px;
}

.golden-button:hover {
  background-color: darkgoldenrod;
}

.book-consultation {
  text-align: center;
  margin: 30px 0;
}

.consultation-title {
  margin-bottom: 10px;
}

.consultation-title span {
  display: inline-block;
  background-color: goldenrod;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 4px;
}

/* Default Button Style */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6200;
  color: #fff;
  border-radius: 4px;
  transition: 0.3s ease;
}

.button:hover {
  background-color: #daa520;
}


/* ================= TOPBAR ================= */

.topbar-container {
  display: flex;
  background-color: #808000;
  height: 24px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  width: 100%;
}

.topbar {
  display: flex;
  width: 100%;
  max width: 1200px; 
  flex: 1;
  justify-content: space-between;
  padding: 0 10%;
  color: #fff;
}


/* ================= SCROLLING TICKER ================= */

.ticker-container {
  width: 100%;
  background-color: #6B8E23; /* golden green */
  color: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin: 10px 0;   /* equal gap top & bottom */
}

.ticker {
  width: 1200px;              /* same width as header/topbar */
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}












/* ================= HEADER ================= 

.header-container {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  height: 70px;
  justify-content: space-between;
  padding: 0 10px;
  width: 100%;
}

.header {
  display: flex;
  width: 1200px;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.logo-container {
  font-size: 30px;
  font-weight: bold;
}

.menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
  margin-right: 10px;
}

.menu-item a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(to right, #ff6200 50%, #daa520 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: background-position 0.3s ease;
}

.menu-item a:hover {
  background-position: left bottom;
}

======End of old header css */


/* ================= New HEADER ================= */

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  height: 70px;
  width: 100%;
  border-bottom: 1px solid #ddd;
  
}

/* INNER HEADER */

.header {
  display: flex;
  max-width: 1200px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px 15px 10px;    /* top right bottom left */
}

/* LOGO */

.logo-container {
  font-size: 28px;
  font-weight: bold;
  color: #ff6200;
  padding: 15px 10px 15px 10px;    /* top right bottom left */
}

/* MENU */

.menu-container {
  display: flex;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

/* MENU ITEM */

.menu-item {
  position: relative;
  margin-right: 10px;
}

/* MENU LINKS */

.menu-item a {
  display: inline-block;
  padding: 10px 18px;
  color: #0000FF;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;

  background: linear-gradient(to right, #ff6200 50%, #daa520 50%);
  background-size: 200% 100%;
  background-position: right bottom;

  transition: background-position 0.3s ease;
}

/* HOVER EFFECT */

.menu-item a:hover {
  background-position: left bottom;
}

/* RESPONSIVE */

@media(max-width:900px){

.header{
flex-direction:column;
height:auto;
padding:10px;
}

.menu{
flex-wrap:wrap;
justify-content:center;
}

.menu-item{
margin:5px;
}

}


/* DROPDOWN MENU */

.menu-item{
position:relative;
}

.submenu{
display:none;
position:absolute;
top:40px;
left:0;
background:white;
list-style:none;
padding:0;
margin:0;
min-width:200px;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

.submenu li a{
display:block;
padding:10px;
color:#333;
background:white;
}

.submenu li a:hover{
background:#f4f4f4;
}

.menu-item:hover .submenu{
display:block;
}













/* ================= SLIDESHOW ================= */


/* Add this to your styles.css */

.slideshow-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
}

 .slideshow {
  flex: 1;
  border: 1px solid #ddd;
  margin-right: 10px;
  position: relative;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: auto;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 5px;
  background-color:rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  user-select: none;
}

.next {
  right: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.fade {
  animation: fade 1.5s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}


/* ================= MIDDLE SECTION ================= */

.title {
  font-weight: bold;
  font-size: 20px;
  color: #ff6200;
  margin: 0;
}




/* ================= PREMIUM FOOTER ================= */

.footer {
  background: #1f1f1f;
  color: #ccc;
  padding-top: 30px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 20px 40px;
}

.footer-column h4 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 16px;
  position: relative;
}

.footer-column h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #6B8E23;
  display: block;
  margin-top: 8px;
}

.footer-column p {
  margin-bottom: 8px;
  line-height: 1.6;
}


.footer-column ul {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
}




.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ccc;
  transition: 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ff6200;
  padding-left: 5px;
}

/* Bottom Bar */

.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #141414;
  color: #aaa;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column h4::after {
    margin: 8px auto 0;
  }
}










/* ================= DIRECTOR DESK ================= */

.column {
  flex-basis: 30%;
}

.director-desk {
  text-align: justify;
}

.director-desk img {
  width: 3.5cm;
  height: 3.5cm;
  float: left;
  margin-right: 10px;
}

.director-desk h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.director-desk p {
  font-size: 16px;
  line-height: 1.5;
}

.director-desk a {
  color: #007bff;
}

.director-desk a:hover {
  text-decoration: underline;
}



section,
.slideshow-container,
.book-consultation,
.footer-container {
  max-width: 1200px;
  margin: auto;
  
  text-align: justify;
  
}




/* ================= STUDENT CORNER ================= */

.student-corner {
  padding: 25px 0 20px 0;   /* top right bottom left */
  max-width: 1200px;
  margin: auto;
  margin-top: 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  color: #ff6200;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.student-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.student-card {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-top: 4px solid #6B8E23;
  transition: 0.3s;
}

.student-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.student-card h3 {
  margin-bottom: 15px;
  color: #6B8E23;
}

.student-card ul {
  list-style: none;
  padding: 0;
}

.student-card ul li {
  margin-bottom: 8px;
}

.student-card ul li a {
  color: #333;
  font-size: 14px;
}

.student-card ul li a:hover {
  color: #ff6200;
}




/* ================= CONSULTATION STRIP ================= */

.consultation-strip {
  width: 100%;
  background: linear-gradient(90deg, #ff6200, #6B8E23);
  padding: 15px 0;
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.consultation-content {
  width: 100%;
  max-width: 1200px;   /* same as header */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-wrap: wrap;
}

.consult-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.consult-text strong {
  font-size: 20px;
}

.consult-buttons {
  display: flex;
  gap: 15px;
}

.consult-btn {
  padding: 8px 18px;
  background-color: #ffffff;
  color: #333;
  border-radius: 5px;
  font-weight: 500;
  transition: 0.3s ease;
}

.consult-btn:hover {
  background-color: #000;
  color: #fff;
}




/* ================= PREMIUM DONATE ================= */

.premium-donate {
  background: linear-gradient(135deg, #ff6200, #6B8E23);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 10px 20px 20px 10px;   /* top right bottom left */
}

/* Layout */
.donate-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Content */
.donate-content {
  flex: 1;
  min-width: 260px;
}

.premium-donate h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #fff;
}

.premium-donate p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Buttons */
.initiative-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.initiative-btn:hover {
  transform: translateY(-3px);
}

.donate-btn {
  background: #000;
  color: #fff;
}

.donate-btn:hover {
  background: #fff;
  color: #000;
}

/* UPI Info */
.upi-info {
  margin-top: 15px;
  font-size: 13px;
  background: rgba(255,255,255,0.15);
  padding: 8px 12px;
  display: inline-block;
  border-radius: 4px;
}

/* QR CARD */
.donate-qr-card {
  position: relative;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.donate-qr-card:hover {
  transform: scale(1.05);
}

/* Glow effect */
.qr-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,98,0,0.4) 0%, rgba(0,0,0,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.donate-qr-card img {
  width: 130px;
  height: 130px;
  position: relative;
  z-index: 1;
}

.scan-text {
  margin-top: 10px;
  font-size: 13px;
  color: #333;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .donate-wrapper {
    flex-direction: column;
    text-align: center;
  }
}






/* ================= REFINED ABOUT SECTION ================= */

.about-strip {
  width: 100%;
  padding: 25px 0 40px 0;              /* smaller gap */
  background: #f4f7f6;          /* light soft background */
  display: flex;
  justify-content: center;
}

.about-strip-container {
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
}

/* Heading */

.about-strip h2 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
  position: relative;
}

/* Subtle underline */

.about-strip h2::after {
  content: "";
  width: 50px;
  height: 2px;
  background: #6B8E23;
  display: block;
  margin: 10px auto 0;
}

/* Text Lines */

.about-line {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  display: inline-block;
}

/* Highlight Effect */

.highlight-line {
  background: #e6efe9;          /* very soft green highlight */
  font-weight: 500;
}

/* Responsive */

@media (max-width: 768px) {
  .about-strip {
    padding: 30px 0;
  }

  .about-strip h2 {
    font-size: 20px;
  }

  .about-line {
    font-size: 14px;
  }
}







/* ================= THREE COLUMN ABOUT ================= */

.about-three-section {
  width: 100%;
  padding: 60px 0;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
}

.about-three-container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
}

/* Card Design */

.about-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
}

/* Headings */

.about-card h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ff6200;
}

/* Text */

.about-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* Highlight Third Card */

.highlight-card {
  background: linear-gradient(135deg, #ff6200, #6B8E23);
  color: #fff;
}

.highlight-card h2,
.highlight-card p {
  color: #fff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .about-three-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-three-container {
    grid-template-columns: 1fr;
  }
}


/* ================= OBJECTIVES SECTION ================= */

.objectives-section {
  width: 100%;
  padding: 60px 0;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
}

.objectives-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
}

.objectives-container h2 {
  font-size: 26px;
  color: #ff6200;
  margin-bottom: 40px;
}

/* Grid Layout */

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Individual Objective Card */

.objective-item {
  background: #ffffff;
  padding: 20px 25px;
  border-left: 5px solid #6B8E23;
  border-radius: 6px;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.objective-item:hover {
  transform: translateY(-5px);
  border-left: 5px solid #ff6200;
}

/* Responsive */

@media (max-width: 768px) {
  .objectives-grid {
    grid-template-columns: 1fr;
  }
}


.institution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  justify-content: center;
}

.institution-tabs .tab-link {
  display: inline-block;
  padding: 10px 18px;
  background-color: #f2f2f2;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.institution-tabs .tab-link:hover {
  background-color: #0056b3;
  color: #fff;
}