/*--------------------------------------------------------------
# Modern Design Variables - UPDATED TO ORANGE SCHEME
--------------------------------------------------------------*/
:root {
  /* Brand Colors */
  --primary-color: #FA7743;       /* Main Brand Color */
  --primary-dark: #F9652A;        /* Action/Hover Color */
  --secondary-color: #15283D;     /* Deep Navy Blue/Grey */
  --accent-color: #FB9B75;        /* Soft Orange */
  
  /* Text & Backgrounds */
  --text-main: #3B3A3C;           /* Dark Grey Body Text */
  --text-light: #7B797D;          /* Light Grey Text */
  --bg-light: #FFF5F1;            /* Light Orange Tint */
  --bg-peach: #FEE8D8;            /* Peach Background */
  --white: #ffffff;
  
  /* Fonts - Matching the HTML links */
  --font-heading: "Jost", sans-serif;
  --font-body: "Open Sans", sans-serif;

  /* UI Elements */
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
  --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
  /* Updated shadow color to match new orange */
  --shadow-hover: 0 15px 35px rgba(250, 119, 67, 0.2); 
  --radius-md: 12px;
  --radius-lg: 20px;
}

/*--------------------------------------------------------------
# General Reset
--------------------------------------------------------------*/
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-weight: 700;
}

/* Section Spacing */
section {
  padding: 80px 0;
  overflow: hidden;
}

.light-background {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  background-color: var(--white);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.05);
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navmenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light); /* Updated to text-light */
  white-space: nowrap;
  transition: 0.3s;
}

.navmenu a:hover, .navmenu .active {
  color: var(--primary-color);
}

/* Enquire Button in Header */
.btn-getstarted {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.5s;
  margin-left: 30px;
  color: var(--white);
  background: var(--primary-color);
}

.btn-getstarted:hover {
  background: var(--secondary-color);
  color: var(--white);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  color: var(--secondary-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navmenu ul {
    display: none;
  }
}
/*--------------------------------------------------------------
# Hero Section (Updated with Banner)
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh; /* Full viewport height */
  position: relative;
  /* Updated Background: Lighter Peach/Orange Gradient Overlay to match scheme */
  background: linear-gradient(112deg, rgba(254, 232, 216, 0.95), rgba(250, 119, 67, 0.85)), url('../img/banner-image-phd.webp') center center;
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
  padding: 140px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  /* Updated fade to light background */
  background: linear-gradient(to top, var(--bg-light), transparent);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--secondary-color); /* Dark text on light bg */
  text-shadow: none;
}

.hero h1 span {
  color: var(--primary-color);
  background: transparent;
  padding: 0 10px;
  border-radius: 5px;
  border-bottom: 3px solid var(--primary-color); /* Underline style */
}

.hero p {
  color: var(--text-main);
  margin-bottom: 30px;
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 600px;
  text-shadow: none;
}

/* Glassmorphism Form Container */
.form-glass-container {
  background: var(--white); /* White for better contrast on peach */
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
  border: 1px solid var(--bg-light);
  backdrop-filter: none;
}

.form-glass-container h3 {
    color: var(--secondary-color);
    text-shadow: none;
}

/* Responsive Adjustments for Banner */
@media (max-width: 768px) {
  .hero {
    background-position: center left; /* Adjust focus for mobile */
    padding-top: 120px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .form-glass-container {
    background: var(--white); /* Solid background on mobile for better form usability */
  }
  .form-glass-container h3 {
    color: var(--secondary-color);
    text-shadow: none;
  }
}

/*--------------------------------------------------------------
# Stats Banner
--------------------------------------------------------------*/
.stats-banner {
  background: var(--bg-peach);
  /* Gentle gradient based on scheme */
  background: linear-gradient(112deg, #FEE8D8 4.94%, #FCB092 128.72%);
  color: var(--secondary-color);
  padding: 40px 0;
  border-radius: var(--radius-md);
  margin-top: -60px; /* Overlap Hero */
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-card);
}

.stats-banner .number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  color: var(--primary-color);
}

.stats-banner p {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stats-banner {
    margin-top: 20px;
    border-radius: 0;
  }
  .stats-banner .col-6, .stats-banner .col-12 {
    margin-bottom: 20px;
    border: none !important;
  }
}

/*--------------------------------------------------------------
# Feature Grid (Why Us)
--------------------------------------------------------------*/
.feature-box {
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--bg-light);
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.feature-box:hover {
  transform: translateY(-10px);
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-hover);
}

.feature-box i {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-block;
}

.feature-box:hover i {
  color: var(--white);
}

.feature-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.feature-box:hover h4 {
  color: var(--white);
}

/*--------------------------------------------------------------
# Course Cards (Pricing Style)
--------------------------------------------------------------*/
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.course-header {
  background: var(--bg-light); /* Changed to Light Orange */
  padding: 25px;
  text-align: center;
  color: var(--secondary-color);
  transition: 0.3s;
}

.course-card:hover .course-header {
    background: var(--primary-color);
    color: var(--white);
}

.course-header h3 {
  color: var(--secondary-color);
  font-size: 22px;
  margin: 0;
  transition: 0.3s;
}

.course-card:hover .course-header h3 {
    color: var(--white);
}

.course-header .badge {
  background: rgba(250, 119, 67, 0.1);
  color: var(--primary-color);
  font-weight: 500;
  padding: 5px 10px;
  margin-top: 10px;
}

.course-card:hover .course-header .badge {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.course-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex: 1;
}

.spec-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.spec-list li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 18px;
}

.fee-tag {
  background: var(--bg-peach);
  color: var(--secondary-color);
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Admission Timeline
--------------------------------------------------------------*/
.timeline-step {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  font-family: var(--font-heading);
  z-index: 2;
}

.timeline-step::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  width: 2px;
  height: calc(100% + 10px);
  background: var(--accent-color);
  opacity: 0.5;
  z-index: 1;
}

.timeline-step:last-child::after {
  display: none;
}

.timeline-step h5 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Faculty & Team
--------------------------------------------------------------*/
.team-member {
  background: var(--bg-peach); /* Use Peach background */
  box-shadow: none;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  transition: 0.3s;
  height: 100%;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background: var(--primary-color);
  color: var(--white);
  border-bottom: 3px solid var(--secondary-color);
}

.team-member:hover h4, 
.team-member:hover span {
    color: var(--white);
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid var(--white);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: #3B3A3C; /* Dark Grey specifically */
  color: var(--white);
  font-size: 14px;
  padding: 60px 0 0 0;
}

.footer .footer-about p {
  color: rgba(255,255,255,0.7);
}

.footer h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 12px;
}

.footer ul li {
  padding: 10px 0;
  list-style: none;
}

.footer ul a {
  color: rgba(255,255,255,0.7);
  transition: 0.3s;
}

.footer ul a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Sticky Mobile CTA
--------------------------------------------------------------*/
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.sticky-cta .call-btn, 
.sticky-cta .enquire-btn {
  flex: 1;
  text-align: center;
  padding: 15px;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-cta .call-btn {
  background: #3B3A3C;
}

.sticky-cta .enquire-btn {
  background: var(--primary-color);
}

@media (min-width: 992px) {
  .sticky-cta {
    display: none;
  }
}

/*--------------------------------------------------------------
# Owl Carousel Customizations
--------------------------------------------------------------*/
.custom-carousel .icon-box {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-light);
  transition: 0.3s;
  margin: 10px;
}

.custom-carousel .icon-box:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.custom-carousel .icon-box i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.custom-carousel .icon-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}
/*--------------------------------------------------------------
# FAQ Section Redesign
--------------------------------------------------------------*/
.faq-2 .faq-container .faq-item {
  background-color: var(--bg-light); /* Changed to Light Orange */
  position: relative;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 5px solid transparent; /* Hidden accent border */
  transition: all 0.3s ease;
}

.faq-2 .faq-container .faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Header Styling */
.faq-2 .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 40px; /* Space for icons */
  transition: 0.3s;
  cursor: pointer;
  color: var(--text-main);
}

/* Icon (Question Mark/Category Icon) */
.faq-2 .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 20px;
  color: var(--primary-color);
}

/* Toggle Icon (Chevron) */
.faq-2 .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 16px;
  transition: 0.3s;
  cursor: pointer;
  color: var(--text-light);
}

/* Active State Design */
.faq-2 .faq-container .faq-active {
  border-left-color: var(--primary-color); /* Orange Accent appears */
  background-color: #fff;
  border: 1px solid var(--bg-light);
}

.faq-2 .faq-container .faq-active h3 {
  color: var(--primary-color);
}

.faq-2 .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--primary-color);
}

/* Content Area */
.faq-2 .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq-2 .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  color: var(--text-main);
  padding-left: 40px; /* Align with text */
  padding-top: 10px;
}

.faq-2 .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}
/*--------------------------------------------------------------
# Gen Z Slider (Fixed for Banner Images)
--------------------------------------------------------------*/

/* Slider Container Spacing */
.genz-slider {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 60px;
}

/* The Individual Slide Card */
.genz-slider .swiper-slide {
  background-color: #fff; /* White bg in case image doesn't fill */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  
  /* FIXED: Changed to Landscape Aspect Ratio to fit Banner Images */
  width: 300px; 
  height: 180px; /* Mobile: Wider than it is tall */
  
  /* Flexbox centers the image perfectly */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Desktop Sizing */
@media (min-width: 768px) {
  .genz-slider .swiper-slide {
    width: 600px;  /* Much wider for desktop */
    height: 350px; /* Adjust height to match your image ratio */
  }
}

/* Image Handling */
.genz-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  
  /* 'cover' fills the box (good for design). 
     'contain' shows full image but leaves whitespace (good for data).
     Since we fixed the card size, 'cover' should now look perfect. */
  object-fit: cover; 
  display: block;
}

/* Active Slide Highlight */
.swiper-slide-active {
  box-shadow: 0 20px 40px rgba(250, 119, 67, 0.3); /* Orange glow on active */
}

/* Pagination Dots */
.swiper-pagination-bullet {
  background: var(--secondary-color);
  opacity: 0.3;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  opacity: 1;
  width: 30px; /* Stretch effect */
  border-radius: 5px;
  transition: width 0.3s ease;
}
/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 991px) {
  /* Hide the desktop horizontal list default behavior */
  .navmenu ul {
    display: none; 
  }

  /* Styling for the mobile menu container */
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow-y: auto;
    background: rgba(26, 26, 46, 0.7); /* Dark semi-transparent background */
    transition: 0.3s;
  }

  /* The actual menu box */
  .mobile-nav-active .navmenu ul {
    display: block; /* Show the menu */
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
    border-radius: 10px;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  }

  /* List Items Styling */
  .navmenu a,
  .navmenu a:focus {
    color: var(--secondary-color);
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus,
  .navmenu li:hover > a {
    color: var(--primary-color);
  }

  /* Positioning the Toggle Button (Cross/List) */
  .mobile-nav-toggle {
    display: block;
    position: relative;
    z-index: 99999; /* Ensure it sits on top of the menu */
    color: var(--secondary-color);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    margin-right: 10px;
  }
  
  /* Change color of toggle when menu is active */
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff; 
  }
}


/*post speed Changes*/

/* Swiper Replacement for Infrastructure Section */
.infra-swiper {
  padding-bottom: 40px; /* Space for pagination dots */
}

.infra-swiper .swiper-slide {
  height: auto; /* Ensures equal height */
  display: flex; /* Flex stretch */
}

.infra-swiper .icon-box {
  width: 100%;
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-light);
  transition: 0.3s;
  /* Ensure consistent height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.infra-swiper .icon-box:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}