/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: #333;
  scroll-behavior: smooth;
}

/* Scroll to Top Button -----------------------------------------------------------------------------------------------------------------------------*/
	#scrollToTopBtn {
		position: fixed;
		bottom: 30px;
		right: 30px;
		z-index: 1000;
		display: none;

		width: 58px;
		height: 58px;
		background: rgba(255, 255, 255, 0.15);
		border: 2px solid #0a559c;
		border-radius: 50%;
		box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);

		display: flex;
		align-items: center;
		justify-content: center;

		backdrop-filter: blur(5px);
		transition: all 0.3s ease;
	}

	#scrollToTopBtn svg {
		width: 28px;
		height: 28px;
		stroke: #0a559c;
		stroke-width: 2.2;
		fill: none;
		transition: all 0.3s ease;
	}

	/* Hover effect */
	#scrollToTopBtn:hover {
		background-color: #0a559c;
		transform: translateY(-5px);
	}
	#scrollToTopBtn:hover svg {
		stroke: white;
		transform: translateY(0px);
	}

	/* Optional cursor upgrade */
	#scrollToTopBtn:hover {
		cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="%23ffffff" d="M12 19V6l7 6.5H5L12 6z"/></svg>') 16 16, auto;
	}

	/* Responsive */
	@media (max-width: 769px) {
		#scrollToTopBtn {
			width: 48px;
			height: 48px;
			bottom: 20px;
			right: 20px;
		}
		#scrollToTopBtn svg {
			width: 22px;
			height: 22px;
		}
	}

	@media (max-width: 480px) {
		#scrollToTopBtn {
			width: 42px;
			height: 42px;
			bottom: 15px;
			right: 15px;
		}
	}

/* Scroll to Top Button ends ------------------------------------------------------------------------------------------------------------------------*/


/* Top Bar ----------------------------------------------------------------------------------------------------------------------------------------- */

.top-bar {
  background: #003c71;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 20px;
  font-size: 10px;
  font-family: 'Segoe UI', sans-serif;
  flex-wrap: wrap;
  overflow: visible; /* allow tooltip to appear outside */
}

/* Sections */
.top-left,
.top-center,
.top-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 5px 0;
}

.top-left {
  flex: 1;
  justify-content: flex-start;
  gap: 30px;
  padding-left: 125px;
}

.top-center {
  justify-content: center;
  gap: 20px;
  flex: 1;
}


/* Download Icon */
.download-icon {
  position: relative; /* anchor for tooltip */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: visible; /* let tooltip escape */
  margin-left: -7px;
}

.download-icon:hover {
  transform: scale(1.2);
}

.download-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}


/* Base tooltip style */
.tooltip-text {
  position: absolute;
  background: #fff;          /* white background */
  color: #000;               /* black text */
  font-weight: 500;
  border-radius: 4px;        /* slightly rounded corners */
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

/* Desktop: slightly above right-bottom of the icon */
@media (min-width: 1026px) {
  .tooltip-text {
    top: 15px;             /* slightly above icon */
    left: 100%;             /* to the right of icon */
    padding: 3px 10px;         /* rectangular padding */
	transform: translateY(-100%);  /* move above */
    font-size: 10px;
    min-width: 30px;
  }
}

/* Mobile/Tablet: directly below the icon */
@media (max-width: 1025px) {
  .tooltip-text {
    top: 15px;              /* below icon */
    left: -100%;              /* center */
    transform: translateX(0px);
    font-size: 7px;        /* smaller font */
	padding: 2px 4px;       /* small padding */
    min-width: 30px;
	margin-top: 11px;
  }
}

/* Show tooltip on hover / via JS */
.download-icon:hover .tooltip-text,
.tooltip-text.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0);
}



.top-right {
  flex: 1;
  justify-content: flex-end;
  padding-right: 125px;
}

/* Email block */
.email-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  text-align: center;
  line-height: 1;
}

/* Email link */
.email-link {
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.email-link:hover {
  transform: scale(1.02);
}

/* SVG Mail Icon */
.gmail-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  position: relative;
  top: 1px; /* subtle pixel adjustment */
  flex-shrink: 0;
  fill: white;
  transition: fill 0.3s ease;
}

.email-link:hover .gmail-icon {
  fill: #ffcc00; /* optional hover color */
}

/* Show full email by default (desktop) */
.desktop-email {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hide Gmail icon on desktop */
.desktop-hidden {
  display: none;
}


/* Social Icons */
.icon {
  font-size: 25px;
  transition: transform 0.3s ease;
  color: white;
}


.icon:hover {
  transform: scale(1.2);
}

.icon.instagram { color: #E4405F; }
.icon.youtube { color: #FF0000; }
.icon.facebook { color: #1877F2; }
.icon.whatsapp { color: #25d366; }   /* WhatsApp green */

/* Call Us Button */
.call-btn {
  background-color: #e53935;
  color: white;
  padding: 6px 16px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 14.7px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}

.call-btn:hover {
  background-color: #c62828;
}

/* Tablet and Below (≤1024px) */
@media (max-width: 1025px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
  }

  .top-left,
  .top-center,
  .top-right {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin: 2px 0;
    padding: 0;
  }

  .top-left {
    flex-direction: column;
    gap: 4px;
    padding-left: 0;
  }

  .top-center {
    order: 1;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 5px;
  }

  .gmail-icon {
    width: 23px;
    height: 23px;
	margin-left: -4px;
    transform: translateY(1px); /* still keep alignment fix */
  }
  
  
 .gmail-icon-link {
    width: 25px;
    height: 25px;
  }

  .email-wrap {
    order: 2;
    flex-direction: row;
    justify-content: center;
    font-size: 14px;
  }

  .top-right,
  .top-left span:first-child {
    display: none; /* Hide Call Now & 24/7 */
  }

  
  .desktop-email {
    display: none; /* Hide full email */
  }
 
 .desktop-hidden {
    display: inline-flex; /* or block/flex depending on your layout */
  }
 
 .icon {
    font-size: 21px;
  }
}

/* Mobile (≤576px) */
@media (max-width: 576px) {
  .top-bar {
    flex-direction: column;
    padding: 1px 5px;
  }

  .top-left {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .top-center {
    flex-direction: row;
    justify-content: center;
    order: 1;
    gap: 15px;
  }

  .email-wrap {
    order: 2;
    justify-content: center;
    font-size: 11px;
  }

  .top-right,
  .top-left span:first-child {
    display: none !important;
  }

  .call-btn {
    display: none;
  }
  
  .icon {
    font-size: 21px;
  }
  
}


/* Top Bar ends ------------------------------------------------------------------------------------------------------------------------------------ */


/* Header ------------------------------------------------------------------------------------------------------------------------------------------ */

/* ----- Header Container ----- */
.header-container {
  background: white;
  padding: 8px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ----- Flex Row: Logo + Nav ----- */
.logo-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

/* ----- Logo Area ----- */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 30px;
  margin-right: 15px;
  margin-left: 15px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* --- Desktop Trademark ® --- */
.logo-text .evolution-word {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fbc02d;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.logo-text .evolution-word .trademark {
  position: absolute;
  font-size: 0.85rem; /* smaller, subtle */
  color: black;
  top: 7px; /* moves up above 'n' */
  /* KEY CHANGE: Increase right value to place it consistently next to 'n' */
  right: 0px; /* Aligns more consistently to the end of the word */
  font-weight: 600;
}


.logo-text .career-word {
  font-size: 1.0rem;
  color: #003c71;
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: -1.5px;
}

/* ----- Desktop Nav Inline ----- */
.desktop-nav {
  display: flex;
  gap: 45px;
  align-items: center;
  margin-right: 150px;
  position: relative;
}

.desktop-nav a {
  color: #003c71;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 6px 0;
  transition: 0.3s ease;
}

/* Active link style */
.desktop-nav a.active,
.mobile-nav a.active {
  color: #e53935;
  font-weight: bold;
}

/* Hover style */
.desktop-nav a:hover/* ,
.mobile-nav a:hover */{
  color: #e53935;
  transform:translateY(-1.0px);
}


/* -------------------- Desktop Dropdown Menu (Courses & Admissions) -------------------- */

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropbtn {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003366;
  cursor: pointer;
  display: flex;
  align-items: center;
  user-select: none;
  transition: color 0.3s ease;
}

.dropdown:hover > .dropbtn {
  color: #e53935;
}

.arrow-down {
  font-size: 0.7rem;
  margin-left: 5px;
  color: #003366;
  transition: transform 0.3s ease, color 0.3s ease;
  transform:translateY(2px);
}

/* Arrow changes to red on hover */
.dropdown:hover .arrow-down {
  color: #e53935;
  transform: rotate(0deg);
}

/* Default ▼ arrow via pseudo-element */
.arrow-down.desktop-arrow::before {
  content: "▼";
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Rotate on hover (make it look like ►) */
.dropdown:hover .arrow-down.desktop-arrow::before {
 transform: translateY(4px) rotate(-90deg); /* right arrow */
}


/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  top: 36px;
  left: 0;
  padding: 10px 0;
  flex-direction: column;
  border-radius: 3px;
}

.dropdown-content a {
  color: #003366;
  padding: 10px 20px;
  display: block;
  font-weight: 500;
  font-size: 1.05rem;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: flex;
}


/* -------------------- Desktop Dropdown Menu ends (Courses & Admissions) -------------------- */


/* ----- Hamburger Icon (Mobile) ----- */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2.03rem;
  color: #003c71;
  cursor: pointer;
  margin-right: 8px;
  margin-top: 8.5px;
  
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

/* ----- Mobile Sidebar ----- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 325px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease-in-out;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;        /* Enable vertical scroll */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.mobile-nav-overlay.show {
  left: 0;
}

/* ----- Mobile Header Fix ----- */
.mobile-header {
  padding: 10px 15px;
  width: 100%;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 7px;
  margin-left: -1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  margin-top: 2.5px;
}

.left-logo-title {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjust for tighter layout */
}

.left-logo-title img {
  height: 55px;
  margin: 0;
  margin-top:25px;
}

.mobile-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  margin: 0;
  padding: 0;
  margin-top:25px;
}

.mobile-title .evolution-word {
  font-size: 1.9rem;
  color: #fbc02d;
  font-weight: bold;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.mobile-title .trademarkk {
  position: absolute;
  font-size: 0.8rem;
  top: 0px; /* Align slightly higher for a cleaner look */
  /* KEY CHANGE: Use 'right' property like desktop version */
  right: 0px; /* Position relative to the end of the word */
  margin-left: 0; /* Remove previous faulty margin */
  color: black;
  font-weight: bold;
}


.mobile-title .career-word {
  font-size: 0.8rem;
  color: #003c71;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.1;
  margin-top: 0; /* KEY: remove spacing */
}

/* Close button */
.close-btn {
  background: none;
  border: 1px solid #aaa;
  font-size: 1.2rem;
  padding: 4px 12px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: -5px;
  margin-left: -15px;
}

/* Centered social icons */
.center-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.center-icons a {
  font-size: 1.7rem;
  transition: transform 0.3s ease;
}

.center-icons a:hover {
  transform: scale(1.2);
}

/* Brand Colors */
.fb-icon i {
  color: #1877f2;
}

.insta-icon i {
  color: #e1306c;
}

.yt-icon i {
  color: #ff0000;
}

/* ----- Mobile Navigation Links (Buttons Design) ----- */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 35px;
}

.mobile-nav a {
  font-size: 1.2rem; /* currently 1.2rem but does not affect mobile view bcz it is overridden in media 480 etc... */
  font-weight: 600;
  text-decoration: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  background-color: #003c71;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Call Us button gap fix */
.mobile-nav .apply-btn {
  background-color: #e53935;
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 15px;
  border: 2px solid white;
  width: 60%;
  text-align: center;
  margin-top: 20px;

  display: inline-flex; /* Ensures icon and text align properly */
  align-items: center;
  justify-content: center;
  gap: 8px; /* Space between icon and text */
}

.mobile-nav .apply-btn:hover {
  background-color: #e53935;
  transform: scale(1.05);
}

/* Contact info better alignment */
.mobile-nav .contact-info {
  margin-top: 20px;
  font-size: 0.95rem;
  color: black;
  line-height: 1.6;
  border-top: 1px solid #ddd;
  padding-top: 20px;

  display: flex;
  flex-direction: column;
  align-items: justify; /* Center content horizontally */
  text-align: justify;  /* Center text for uniform look */

  margin-bottom: 0; /* no extra space at bottom */
  padding-bottom: 25px;
}


.mobile-nav .contact-info p {
  
  margin: 2px 0; /* minimal vertical spacing */
  line-height: 1.4; /* tighter line height */
}

.mobile-nav .contact-info h2 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Space above phone number row */
.mobile-nav .contact-info .phone-row {
  margin-top: 8px; /* adjust gap as needed */
  white-space: nowrap; /* keep on one line */
}

/* Keep phone links inline without box style */
.mobile-nav .contact-info .phone-link {
  all: unset !important;
  cursor: pointer !important;
  color: inherit !important;
  display: inline !important;
}

.mobile-nav .contact-info .phone-link:hover {
  text-decoration: underline !important;
}

/* Apply the big button hover effect ONLY to the direct navigation links */
.mobile-nav > a:hover {
    background-color: #e53935;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-nav a.active {
  background-color: #fbc02d;
  color: #003c71;
}

.mobile-nav .arrow {
  font-size: 0.9rem;
  margin-left: 10px;
  border: 1px solid #555;
  border-radius: 5px;
  padding: 2px 6px;
}

/* ------------------------- Mobile Dropdown Container (Courses & Admissions) ------------------------- */

.mobile-dropdown {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eee;
  margin-top: 4px;
}


/* --- Courses & Admissions Button --- */
.mobile-dropbtn {
  background-color: #003c71 !important; /* Always this blue */
  color: white;
  padding: 14px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  user-select: none;
  width: 100%;
  display: flex;
  justify-content: center; /*  center text & arrow */
  align-items: center;
  gap: 6px;
}


/* Ensure open state doesn't change background */
.mobile-dropbtn.open {
  background-color: #003c71 !important;
  color: white;
}

/* Optional: style the arrow icon */
.mobile-dropbtn .arrow-down {
  margin-left: 6px;
  color: white;
}

/* --- Submenu Container --- */
.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  background-color: transparent;
  padding-left: 0;
  border-left: none;
  margin-top: 0;
}

.mobile-dropdown-content.open {
  display: flex;
}

/* Arrow rotation inside humburger menu */

.rotate-arrow {
  transition: transform 0.3s ease;
}

.rotate-arrow.open {
  transform: rotate(90deg); /* Arrow points right */
}


/* --- Submenu Items --- */
.mobile-dropdown-content a {
  background-color: transparent;
  color: #003366;
  text-align: left;         /*  Align text to left */
  padding-left: 20px;       /*  Add some left padding */
  padding-right: 20px;
  font-size: 1rem;
  border-radius: 0;
  transition: background-color 0.3s ease;
  width: 100%;              /* Make link take full width */
  box-sizing: border-box;   /* Prevent overflow */
  display: block;           /* Ensure it's a block element */
}


/* Hover effect on submenu (already exists, but confirms simple style) */
.mobile-dropdown-content a:hover {
    background-color: #f5f5f5; /* Light grey background on hover */
    color: #003366; /* Ensure text remains dark blue */
}

/* Hover effect on submenu */
.mobile-dropdown-content a:hover {
  background-color: #f5f5f5;
  color: red;
}


/* -------------------- Mobile Dropdown Container ends (Courses & Admissions) -------------------- */

/* ----- Responsive Rules ----- */
@media (max-width: 1420px) 
{

.desktop-nav {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-right: 15px;
  margin-top: 12px;
  position: relative;
}

.desktop-nav a {
  color: #003c71;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 6px 2;
  transition: 0.3s ease;
}

  .hamburger {
    display: none;
  }

  .logo-nav-wrapper {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .logo img {
    height: 50px;
  }

   .logo-text .evolution-word {
    font-size: 1.9rem;
    }

  .logo-text .career-word {
    font-size: 0.9rem;
   }

}


/* ----- Responsive Rules ----- */
@media (max-width: 1180px) 
{
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .logo-nav-wrapper {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .logo img {
    height: 50px;
  }

   .logo-text .evolution-word {
    font-size: 1.9rem;
    }

  .logo-text .career-word {
    font-size: 0.9rem;
   }

}

@media (max-width: 768px) 
{
  .logo img {
    height: 50px;
  }

  .logo-text .evolution-word {
    font-size: 1.9rem;
  }

  .logo-text .career-word {
    font-size: 0.9rem;
  }

  .mobile-nav a {
    font-size: 1.2rem;
  }

  .mobile-nav {
    padding-top: 30px;
  }
    
}


@media (max-width: 600px) 
{
  .logo img {
    height: 45px;
  }

  .logo-text .evolution-word {
    font-size: 1.9rem;
  }

   .logo-text .evolution-word .trademark {
    top: 1.5px;
    right: 0px; /* Consistent positioning */
  }

  /* Mobile Trademark */
  .mobile-title .trademarkk {
    top: 3px; /* Adjusted to match desktop small screen */
    right: 0px; /* Consistent positioning */
  }
  
  .logo-text .career-word {
    font-size: 0.8rem;
	margin-top: -1.5px;
  }

  .mobile-nav a {
    font-size: 1.2rem;
  }

  .mobile-nav {
    padding-top: 30px;
  }
  
}

@media (max-width: 480px) 
{
  .logo img {
    height: 50px;
  }

  .logo-text .evolution-word {
    font-size: 1.9rem;
  }
  
 .logo-text .evolution-word .trademark {
    top: 3.5px;
    right: 0px; /* Consistent positioning */
  }

  /* Mobile Trademark */
  .mobile-title .trademarkk {
    top: 1px;
    right: 0px; /* Consistent positioning */
  }
  
  .logo-text .career-word {
    font-size: 0.8rem;
	margin-top: -1.5px;
  }

  .mobile-nav a {
    font-size: 1.3rem;
  }

  .mobile-nav {
    padding-top: 20px;
  }
}


/* Header ends ------------------------------------------------------------------------------------------------------------------------------------- */


/* Carousel ---------------------------------------------------------------------------------------------------------------------------------------- */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.carousel-wrapper {
  display: flex;
  width: 100%;
}

.carousel-slide {
  width: 100%;
  height: auto;          /* image height adjusts automatically */
  max-height: 100vh;     /* prevent image from being too tall */
  object-fit: contain;   /* full image always visible */
  /*object-fit: cover;    full image always visible */
  display: none;
}

.carousel-slide.active {
  display: block;
}

/* Animations */
.carousel-slide.slide-right {
  animation: slideInRight 0.4s ease-in-out;
}
.carousel-slide.slide-left {
  animation: slideInLeft 0.4s ease-in-out;
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #004a7c;
  border: none;
  color: white;
  font-size: clamp(16px, 2vw, 28px); /* auto size between 16px and 28px based on viewport */
  padding: clamp(8px, 1.5vw, 16px) clamp(12px, 2vw, 24px); /* responsive padding */
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  opacity: 0.8;
  transition: all 0.3s;
}
.arrow:hover { opacity: 1; }
.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

/* Bottom Section */
.bottom-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  background: white;
}

.dot-bar {
  display: flex;
  gap: 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: all 0.3s ease;
}
.dot.active {
  background: #00b7ff;
  width: 25px;
  border-radius: 10px;
}

/* Carousel Card */
.carousel-card {
  background: #003c71;
  padding: 12px 40px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  font-size: 1.8rem; /* larger default for desktop */
  font-weight: bold;
  color: yellow;
  width: 100%;
  text-align: center;
  transition: font-size 0.3s ease;
}

/* Responsive font sizes */
@media (max-width: 768px) {
  .carousel-card {
    font-size: 1.3rem; /* smaller for tablets & small screens */
    padding: 13px 30px;
  }
}

@media (max-width: 480px) {
  .carousel-card {
    font-size: 1.0rem; /* smaller for mobile phones */
    padding: 13px 20px;
  }

}


/* Carousel Section ends -------------------------------------------------------------------------------------------------------------------------- */


/*  Video section --------------------------------------------------------------------------------------------------------------------------------- */
/* Video background styling */
.video-section {
  position: relative;
  height: 100vh; /* Full height on desktop */
  overflow: hidden;
  margin-top: -20px;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the video always covers the container */
  z-index: -1;
}

/* Overlay with light tint for text visibility */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 50, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Content wrapper - slightly lower vertically */
.video-content {
  text-align: center;
  color: #ffffff;
  padding: 20px 30px;
  max-width: 900px;
  margin-top: 60px;
}

/* Content styles */
.video-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.video-content p {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Red button style */
.rotating-button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 40px;
  font-size: 1.4rem;
  background-color: #e63946;
  color: white;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease;
}

.rotating-button:hover {
  background-color: #d62828;
}

/* Animations */
.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-out {
  animation: fadeOutDown 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* Adjustments for Mobile Devices */
@media (max-width: 768px) {
  .video-section {
    height: 70vh; /* Reduce video height by 40% on mobile/tablets */
  }

  .video-content h2 {
    font-size: 2rem; /* Adjust heading size for smaller screens */
    margin-top: -22px; /* Add some margin on top */
  }

  .video-content p {
    font-size: 1.1rem; /* Adjust paragraph size for mobile */
  }

  .rotating-button {
    font-size: 1.2rem;
    padding: 14px 25px;
  }
}

@media (max-width: 576px) {
  .video-section {
	margin-top :-22px;
    height: 78vh; /* Even smaller video height on phones */
  }

  .video-content h2 {
    font-size: 1.8rem; /* Adjust heading size for very small screens */
  }

  .video-content p {
    font-size: 1rem; /* Adjust paragraph size */
  }

  .rotating-button {
    font-size: 1.2rem;
    padding: 14px 25px;
  }
}


/* Video Section ends ------------------------------------------------------------------------------------------------------------------------------ */


/* Contact us Section ------------------------------------------------------------------------------------------------------------------------------ */
/* Default styling (Desktop version) */
.contact-us {
  background: #003c71;
  color: yellow;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.contact-content {
  max-width: 70%;
}

.contact-us h3 {
  font-size: 2.8rem;
  margin-bottom: 8px;
  color: yellow;
  margin-top: -5px;
}

.contact-content p {
  font-size: 1rem;
  color: white;
}

.call-now {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1rem;
  background: #e53935;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.3s ease;
  margin-right: 100px; /* Adjust button positioning for larger screens */
}

.call-now:hover {
  background: #c62828;
}

/* Mobile Styles */

@media (max-width: 768px) {
  .contact-us {
    margin-top: -1px;
    flex-direction: column; /* Stack content vertically */
    text-align: center; /* Center the text */
    padding: 15px 15px; /* Add padding for better spacing */
  }

  .contact-content {
    margin-top: 15px;
    max-width: 100%; /* Full width on smaller screens */
    margin-top: 5px; /* Add space between the button and the top section */
    margin-bottom: 15px; /* Add space between the button and the bottom section */	
  }

  .call-now {
    margin-top: 15px; /* Add some space above the button */
    padding: 12px 25px; /* Adjust padding for smaller screens */
    font-size: 1.1rem; /* Slightly smaller text */
    margin-right: 0; /* Remove extra margin */
  }

  .contact-us h3 {
    font-size: 2.3rem; /* Slightly smaller heading for mobile */
    margin-top: 0; /* Remove any extra top margin */
  }

  .contact-content p {
    font-size: 1rem; /* Adjust paragraph text for better readability */
    margin: 0 auto; /* Center the text */
  }
}

/* iPhone (Extra small screens) */
@media (max-width: 576px) {
  .contact-us {
    padding: 5px; /* Reduce padding for very small screens */
  }

  .call-now {
    padding: 10px 20px; /* Smaller padding for small screens */
    font-size: 1rem; /* Slightly smaller button text */
    margin-top: 2px; /* Add space between the button and the top section */
    margin-bottom: 10px; /* Add space between the button and the bottom section */
  }

  .contact-us h3 {
    font-size: 1.8rem; /* Further decrease heading size for small screens */
  }

  .contact-content p {
    font-size: 0.9rem; /* Adjust paragraph text for extra small screens */
  }
}


/* Contact-us Section ends ------------------------------------------------------------------------------------------------------------------------- */


/* Courses Section --------------------------------------------------------------------------------------------------------------------------------- */
.courses {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  background: #fff;
  overflow-x: hidden;
}

/* Top White Section */
.courses-intro {
  background: white;
  padding: 60px 40px 200px;
  max-width: 1300px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.courses-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.6;
  /* color: #1a237e; */
  margin-bottom: 10px;
}

.evolution-highlight {
  color: #ffc107;
}

.courses-subtitle {
  font-size: 1rem;
  font-weight: bold;
  color: red;
  margin-bottom: 10px;
}

.courses-paragraph {
  text-align: justify;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 1250px;
}

/* Background Section */
.courses-bg {
  background: url('bg-img.jpg') no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
  padding-top: 275px;
  padding-bottom: 125px;
  position: relative;
  z-index: 1;
}

.courses-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 128, 0.4);
  z-index: 0;
}

/* Course Cards - Positioned at Top of Image */
.course-grid {
  position: absolute;
  top: calc(100% - 375px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  overflow: visible;
  z-index: 10;
}

.course-box {
  width: 260px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
  z-index: 20;
  transition: transform 0.3s ease;
}

.course-box:hover {
  transform: scale(1.15);
}

.course-box:active { /* for mobile tap */
  transform: scale(0.95);
}


.course-icon {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.course-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 15px 15px 10px;
  color: #0d47a1;
  text-align: left;
}

.course-box p {
  font-size: 14px;
  color: #444;
  margin: 0 15px 15px;
  line-height: 1.5;
  text-align: left;
}

.view-btn {
  display: inline-block;
  margin: 0 70px 15px;
  padding: 8px 16px;
  background: #1976d2;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.view-btn:hover {
  background: #125ea8;
}

/* Explore More Button - on background image, centered below cards */
.more-link-wrapper {
  position: absolute;
  top: calc(100% - 100px); /* Adjust to control vertical distance from cards */
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.read-more-center-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #e53935;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.read-more-center-btn:hover {
  background-color: #c62828;
}

/* Responsive */
/* Tablet & iPad Pro (768px to 1024px) - 2 cards per row, no background image */
@media (min-width: 770px) and (max-width: 1225px) {
  .courses {
    background: white;
  }

  .courses-bg {
    display: none;
  }

  .courses-intro {
    padding: 40px 20px 60px;
  }

  .course-grid {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
    z-index: 2;
  }

  .course-box {
    width: calc(50% - 20px);
    max-width: 400px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .course-box:hover {
    transform: scale(1.05);
  }

  .course-icon {
    height: 220px; /* Increased image height */
    object-fit: cover;
    object-position: center;
  }

  .course-box h3,
  .course-box p {
    text-align: center;
    padding: 0 12px;
  }

  .view-btn {
    display: block;
    margin: 0 auto 20px; /* Center button horizontally */
  }

  .view-btn:hover {
    background: #125ea8;
   }

  .more-link-wrapper {
    position: relative;
    margin: 50px auto 3px;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
  }
}

/* Mobile Devices (max-width: 767px) - 1 card per row, no background */
@media (max-width: 770px) {
  .courses {
    background: white;
  }

  .courses-bg {
    display: none;
  }

  .courses-intro {
    padding: 40px 20px 30px;
  }

  .course-grid {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 15px;
    z-index: 2;
  }

  .course-box {
    width: 100%;
    max-width: 430px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .course-box:hover {
    transform: scale(1.05);
  }

  .course-icon {
    height: 220px;
    object-fit: cover;
    object-position: center;
  }

  .course-box h3,
  .course-box p {
    text-align: center;
    padding: 0 12px;
  }

  .view-btn {
    display: block;
    margin: 0 auto 20px; /* Center button horizontally */
  }

  .view-btn:hover {
    background: #125ea8;
   }

  .more-link-wrapper {
    position: relative;
    margin: 50px auto 3px;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
  }
}



/* Mobile Devices (max-width: 576px) - 1 card per row, no background */
@media (max-width: 576px) {
  .courses {
    background: white;
  }

  .courses-bg {
    display: none;
  }

  .courses-intro {
    padding: 40px 20px 30px;
  }

  .course-grid {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 15px;
    z-index: 2;
  }

  .course-box {
    width: 100%;
    max-width: 360px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .course-box:hover {
    transform: scale(1.05);
  }

  .course-icon {
    height: 220px;
    object-fit: cover;
    object-position: center;
  }

  .course-box h3,
  .course-box p {
    text-align: center;
    padding: 0 12px;
  }

  .view-btn {
    display: block;
    margin: 0 auto 20px; /* Center button horizontally */
  }
  
  .view-btn:hover {
    background: #125ea8;
   }

  .more-link-wrapper {
    position: relative;
    margin: 50px auto 3px;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
  }
}


/* Courses Section ends ---------------------------------------------------------------------------------------------------------------------------- */


/* About us ---------------------------------------------------------------------------------------------------------------------------------------- */
.about-section {
  padding: 75px 20px;
}

/* Gray background for mobile/tablet */
.about-mobile-bg {
  display: none; /* hidden on desktop */
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1400px;
  margin: auto;
  flex-wrap: wrap;
  position: relative;
}

/* Left Side (Image + Rectangle) */
.about-image-box {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-rectangle {
  position: absolute;
  top: 20px;
  left: 90px; /* shift for desktop */
  width: 100%;
  max-width: 375px;
  height: 350px;
  background: rgba(25, 15, 97, 0.8);
  border-radius: 40px;
  z-index: 1;
  animation: floatAnim 5s ease-in-out infinite;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}


.about-image {
  position: relative;
  width: 90%;
  max-width: 370px;
  border-radius: 30px;
  z-index: 2;
  margin-top: 55px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: floatAnim 2.5s ease-in-out infinite;
}

/* Right Content */
.about-content {
  margin-right: 80px;
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 3;
  left: 0px; /* shift left only for desktop */
}

.about-content h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #e63946;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 15px;
  transition: 0.3s;
  text-decoration: none; /* remove underline */
}

.btn:hover {
  background: #d62828;
}

/* ================= Responsive Breakpoints ================= */

/*  Tablet (1024px and below) */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: #f5f5f5;   /*  gray background applied */
    border-radius: 20px;
  }

  .about-rectangle {
    top: 10px;
    left: -25px;           /*  shift left */
    width: 92%;            /*  larger */
    max-width: 380px;
    height: 330px;         /*  larger */
  }

  .about-image {
    width: 90%;            /*  larger */
    max-width: 360px;
    margin: 50px auto 0;   /*  balanced */
  }

  .about-content {
    max-width: 95%;
    margin: 10px auto 0;   /*  shifted up */
    text-align: center;
    padding: 15px;
  }
  
    .about-content p {
    text-align: justify;	
    }
  
  .btn {
	  }

}

/*  Mobile Landscape (768px and below) */
@media (max-width: 768px) {
  .about-rectangle {
    width: 94%;            /*  larger */
    height: 310px;         /*  larger */
    left: -20px;           /*  shift left */
  }

  .about-image {
    width: 92%;            /*  larger */
    max-width: 340px;
    margin-top: 40px;      /*  balanced */
  }

  .about-content {
    margin-top: 5px;       /*  shifted up */
  }

  .about-content h2 {
    font-size: 1.8rem;
  }
  
  .about-content p {
    text-align: justify;
  }
  
  .btn {
  }

}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
  .about-rectangle {
    width: 98%;            /*  larger */
    height: 300px;         /*  larger */
    left: -10px;           /*  shift left */
  }

  .about-image {
    width: 96%;            /* larger */
    max-width: 340px;
    margin-top: 45px;      /*  balanced */
    right: -15px;
  }

  .about-content {
    padding: 18px 16px;
    margin-top: 5px;       /*  shifted up */
    text-align: center;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;	
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}




/* Features Section -------------------------------------------------------------------------------------------------------------------------------- */
.features-section {
  padding: 35px 20px;
  background-color: white;
  font-family: 'Segoe UI', sans-serif;
  transform: translateY(-15px);  /*  Shift card upward */
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.features-left {
  flex: 1;
  min-width: 280px;
  max-width: 330px;
}

.features-left h2 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  }

.heading-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0 20px;
  width: 100%;
}

.features-left p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.black-text {
  color: #000;
}

.theme-text {
  color: #0d47a1;
}

.features-top-row,
.features-bottom-row {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
  margin-top: 25px;
}

.feature-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  flex: 1;
  min-width: 230px;
  max-width: 400px;
  height: 280px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transform: translateY(0px); /*  Shift card upward */
}

.feature-card i {
  font-size: 48px;
  color: #0d47a1;
  margin-bottom: 18px;
  transition: color 0.3s ease;
}

.feature-card h3 {
  font-size: 21px;
  color: #1a237e;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  padding: 0 5px;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  border: 1px solid #0d47a1;
}

.feature-card:hover i {
  color: #fbc02d;
}

.read-more-btn {
  margin-top: 45px;
  text-align: center;
}

.read-more-btn button {
  padding: 14px 36px;
  font-size: 1.2rem;
  font-weight:600;
  background-color: #e53935;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.read-more-btn button:hover {
  background-color: #c62828;
}

@media (min-width: 920px) and (max-width: 1180px) {
  .features-layout {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: flex-start;
  }

  .features-left {
    flex: 0 0 48%;
    max-width: 48%;
  }

  .features-top-row {
    flex: 0 0 48%;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  /* Hide all cards initially */
  .features-top-row .feature-card {
    display: none !important;
  }

  /* Show only Test Series at top */
  .features-top-row .feature-card:nth-child(1) {
    display: block !important;
    width: 100%;
    height: 280px;
    margin-bottom: 30px;
  }

  /* Visually move Smart Classes and Study Package beside Mentorship */
  .features-top-row .feature-card:nth-child(2),
  .features-top-row .feature-card:nth-child(3) {
    display: block !important;
    position: absolute;
    width: calc(33.33% - 20px);
    height: 280px;
    top: 630px; /* enough to push below previous row */
  }

  .features-top-row .feature-card:nth-child(2) {
    left: calc(33.33% + -315px); /* Start after Mentorship card */
    height: 280px;
    width: 300px;
    transform: translateY(-20px);
  }

  .features-top-row .feature-card:nth-child(3) {
    left: calc(66.66% + -135px); /* Start beside Smart Classes */
	height: 280px;
    width: 300px;
    transform: translateY(-20px);
  }

  .features-bottom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
    margin-top: 30px;
	
  }

  .features-bottom-row .feature-card {
    display: block !important;
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    height: 280px;
  }
}

/* Tablets: Stack everything in one column (577px - 768.99px) */
@media  (max-width: 920px) {
  .features-layout {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .features-left {
    width: 100%;
    max-width: 90%;
    text-align: center;
  }

  .features-top-row,
  .features-bottom-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  /* All feature cards */
  .feature-card {
    width: 90%;
    max-width: 600px;
    height: 320px;
    padding: 40px 30px;
  }

  .feature-card i {
    font-size: 56px;
    margin-bottom: 20px;
  }

  .feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .feature-card p {
    font-size: 17px;
    line-height: 1.7;
  }
}


/*
@media (max-width: 576px) {
  .features-top-row,
  .features-bottom-row {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 420px;
    height: auto;
  }

  .features-layout {
    flex-direction: column;
  }

  .features-left,
  .features-top-row {
    width: 100%;
  }
}
*/

/* Features Section ends --------------------------------------------------------------------------------------------------------------------------- */

 
/* Callback Section -------------------------------------------------------------------------------------------------------------------------------- */

/* ----- Section 1: Enquiry Form ----- */
.form-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 1400px;
  background-color: #fff;
  gap: 40px;
}

.form-box {
  background-color: #ffffff;
  color: #000000;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.form-box h2 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

/*  Labels aligned to left (not centered) */
.form-box label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  text-align: left; /* ensures left alignment */
}

.form-box input[type="text"],
.form-box input[type="tel"],
.form-box input[type="email"] {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 2px solid #000;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}

.course-options {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-btn {
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-btn.selected {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.submit-btn {
  display: block;
  width: 200px;
  margin: 25px auto 0;
  padding: 12px 20px;
  background-color: #e53935;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #c62828;
}

/* ===== Image Box ===== */
.image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
}

.image-box img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  transition: all 0.4s ease;
}

/* ===== Section 2: Scholarship Form ===== */
.scholarship-container {
  background-color: #003c71;
  display: flex;
  flex-wrap: wrap;
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 1400px;
  margin: 50px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  gap: 40px;
}

.left-section {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.left-section h1 {
  font-size: 36px;
  color: white;
  font-weight: bold;
}

.left-section h1 span {
  color: #ffcc00;
}

.left-section p {
  margin-top: 20px;
  font-size: 16px;
  color: white;
  text-align: justify;
}

.right-section {
  flex: 1;
  min-width: 300px;
  background-color: #e6f0ff;
  padding: 30px;
  border-radius: 24px;
}

.right-section form label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
  color: black;
  text-align: left; /*  Keep labels left-aligned */
}

.right-section form input {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 2px solid #000;
  border-radius: 10px;
  font-size: 16px;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.option {
  padding: 10px 16px;
  border: 2px solid #000;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  background-color: white;
  color: #0056b3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option:hover,
.option.selected {
  background-color: #0056b3;
  color: white;
}

/* ===== Messages ===== */
.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 4px;
}

.success-message {
  color: green;
  font-size: 0.9em;
  margin-top: 8px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large tablets / small desktops (≤1200px) */
@media screen and (max-width: 1200px) {
  .form-container, .scholarship-container {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .left-section h1 {
    font-size: 30px;
  }
}

/* Tablets (≤992px) */
@media screen and (max-width: 992px) {
  .form-container, .scholarship-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .form-box, .right-section {
    width: 100%;
    max-width: 600px;
  }

  /*  Make image larger on tablet view */
  .image-box img {
    width: 90%;
    max-width: 700px;
    max-height: 500px;
  }
}

/* Mobile (≤768px) */
@media screen and (max-width: 768px) {
  .form-container, .scholarship-container {
    padding: 30px 15px;
  }

  .left-section h1 {
    font-size: 26px;
  }

  .left-section p {
    font-size: 15px;
  }

  .submit-btn {
    width: 100%;
    border-radius: 25px;
  }

  /*  Larger image for mobile view */
  .image-box img {
    width: 95%;
    max-width: 600px;
    max-height: 450px;
  }
}

/* Small Mobile (≤480px) */
@media screen and (max-width: 480px) {
  .form-box, .right-section {
    padding: 20px 15px;
  }

  .form-box h2, .left-section h1 {
    font-size: 20px;
  }

  .left-section p {
    font-size: 14px;
    text-align: justify;
  }

  .course-btn, .option {
    flex: 0 0 calc(50% - 10px);
    font-size: 13px;
    padding: 8px;
  }

  /*  Maximize image size automatically on very small devices */
  .image-box img {
    width: 100%;
    max-width: 700px;
    max-height: 500px;
  }
}



/* Callback Section ends -------------------------------------------------------------------------------------------------------------------------- */


/* Admission Process Section ---------------------------------------------------------------------------------------------------------------------- */

/* ===== Admission Section ===== */
.admission-container {
  max-width: 1400px;
  margin: 60px auto;
  background-color: #003c71;
  border-radius: 30px;
  padding: 60px 80px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.admission-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 40px;
  line-height: 1.5;
}

.highlight {
  color: yellow;
  font-weight: 700;
}

.highlight-black {
  color: white;
  font-weight: 700;
}

.sub-and-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
}

.subtext {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  transition: font-size 0.3s ease;
}

.btn-admission {
  background: #e53935;
  color: white;
  padding: 14px 35px;
  font-size: 1.1rem;
  border-radius: 40px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-admission:hover {
  background: #c62828;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktops (≤1400px) */
@media (max-width: 1400px) {
  .admission-container {
    padding: 50px 60px;
  }

  .sub-and-button {
    gap: 80px;
  }

  .admission-container h2 {
    font-size: 1.9rem;
  }
}

/* Laptops (≤1200px) */
@media (max-width: 1200px) {
  .admission-container {
    padding: 50px 40px;
  }

  .sub-and-button {
    gap: 60px;
  }

  .subtext {
    max-width: 600px;
    font-size: 1rem;
  }

  .btn-admission {
    font-size: 1rem;
    padding: 12px 28px;
  }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .admission-container {
    padding: 40px 30px;
  }

  .sub-and-button {
    flex-direction: column;
    gap: 30px;
  }

  .admission-container h2 {
    font-size: 1.6rem;
  }

  .subtext {
    font-size: 1rem;
    max-width: 90%;
  }

  .btn-admission {
    padding: 12px 26px;
    font-size: 1rem;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .admission-container {
    padding: 30px 20px;
    border-radius: 20px;
    margin: 30px 15px;
  }

  .admission-container h2 {
    font-size: 1.4rem;
  }

  .subtext {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .btn-admission {
    width: 80%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .admission-container {
    padding: 25px 15px;
    margin: 20px 10px;
    border-radius: 18px;
  }

  .admission-container h2 {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }

  .subtext {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .btn-admission {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 30px;
  }

  .sub-and-button {
    gap: 20px;
  }
}

/* Extra Small (≤360px) */
@media (max-width: 360px) {
  .admission-container h2 {
    font-size: 1rem;
  }

  .subtext {
    font-size: 0.85rem;
  }

  .btn-admission {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
}

  
/* Admission Process Section ends------------------------------------------------------------------------------------------------------------------ */


/* Reviews Section --------------------------------------------------------------------------------------------------------------------------------- */

/* Reviews Section --------------------------------------------------------------------------------------------------------------------------------- */

.testimonial-section {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
  overflow: hidden;
}

.testimonial-section .heading {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #1e3c72;
  font-weight: 700;
}

.testimonial-section .subheading {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 90s linear infinite;
}

.testimonial-card {
  background: #fefefe;
  border-radius: 12px;
  padding: 25px;
  min-width: 300px;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  overflow-y: auto;
  max-height: 230px;
  transition: transform 0.4s;
  margin-top: 20px;
  margin-bottom: 20px;
}

.testimonial-card:hover {
  transform: scale(1.05);
  background: #003c71;
  color: white;
}

.stars {
  color: #ffc107;
  margin: 10px 0;
  font-size: 1.2em;
}

.review-button {
  padding: 15px 28px;
  background-color: #4285f4;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s;
  display: inline-block;
  margin-top: 35px;
}

.review-button:hover {
  background-color: #2a6ed3;
}

@keyframes scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); } /* move half track (because of duplicate set) */
}

/* ----------- RESPONSIVE STYLES ----------- */

/* 1. Tablets: 601px to 1024px */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .carousel-track {
    animation: scroll 80s linear infinite !important;
  }
  .testimonial-card {
    min-width: 250px;
    max-width: 250px;
  }
}

/* 2. Small phones: 401px to 600px */
@media screen and (max-width: 600px) {
  .carousel-track {
    animation: scroll 110s linear infinite !important;
  }
  .testimonial-card {
    min-width: 250px;
    max-width: 250px;
    padding: 20px;
    font-size: 0.9rem;
    min-height: 225px;   /*  increased height for mobile */
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .testimonial-section .heading { font-size: 2rem; }
}

/* 3. Mobile: Max 400px */
@media screen and (max-width: 400px) {
  .carousel-track {
    animation: scroll 110s linear infinite !important;
  }
  .testimonial-card {
    min-width: 275px;
    max-width: 275px;
    padding: 12px;
    font-size: 0.9rem;
    min-height: 210px;   /*  slightly taller for very small screens */
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .testimonial-section .heading { font-size: 1.8rem; }
  .testimonial-section .subheading { font-size: 1rem; }
  .review-button { margin-top: 25px; }
}


/* Reviews Section ends ---------------------------------------------------------------------------------------------------------------------------- */


/* Footer Section ---------------------------------------------------------------------------------------------------------------------------------- */
.footer {
  background: #111;
  color: #eee;
  padding: 40px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1250px;
  margin: auto;
}

/* Logo + Name side by side */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  max-height: 60px;
}

/* Branding text container */
.footer-left h2 {
  position: relative; /* make h2 the positioning reference */
  margin: 0;
  line-height: 1.2;
}

/* Main brand text */
.footer-left h2 .brand-main {
  position: relative;       /* allow precise placement of ™ */
  font-size: 35px;
  font-weight: bold;
  color: #f39c12;
  display: inline-block;    /* inline-block keeps layout consistent */
}


/* Trademark auto-aligned with 'n' of Evolution */
.footer-trademark {
  position: absolute;
  top: 0px;                /* slightly above the word */
  right: -12px;             /* just after the letter 'n' */
  font-size: 0.8rem;
  color: white;
  font-weight: 600;
}

.footer-left h2 .brand-sub {
  font-size: 15px;   /* Smaller font for "Career Institute Pvt. Ltd." */
  color: #eee;
  display: block;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
  margin-top: 10px;
  text-align: justify;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px dotted #444;
}


.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #f39c12;
}

.footer-right p {
  font-size: 14px;
  margin: 10px 0;   /* added more gap */
  line-height: 1.5; /* better readability */
}


.footer-right i {
  margin-right: 6px;
  color: #f39c12;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  color: #bbb;
  margin-right: 12px;
  font-size: 23px;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: #f39c12;
}

.footer-bottom {
  text-align: center;   /* center both lines */
  padding: 15px 0 0;
  margin-top: 30px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #888;
}

.footer-bottom .designed-by {
  margin-top: 6px;
  font-size: 13px;
  color: #aaa; /* lighter text */
}

/* Link styling inside footer */
.footer-bottom .designed-by a {
  color: #f39c12;            /* make link white */
  text-decoration: none;   /* remove underline */
  font-weight: 600;        /* optional: make name bolder */
  transition: color 0.3s ease;
}

/* Optional hover effect for elegance */
.footer-bottom .designed-by a:hover {
  color: white;
}


/* Desktop only: shift Admissions + Courses + Useful Links right */
@media (min-width: 1080px) {
  .footer-container .footer-col:nth-child(2)
  {
	margin-left: 50px; /* adjust as needed */  
  }
  
  .footer-container .footer-col:nth-child(3) {
	margin-left: 25px; /* adjust as needed */
	margin-right: 25px; /* adjust as needed */
    }
}


/* Tablet */
@media (max-width: 1080px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-left p,
  .footer-col ul li a,
  .footer-right p {
    text-align: justify;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-left h2 .brand-main {
    font-size: 32px;
  }

  .footer-trademark {
    top: 2px;
    right: -10px;
    font-size: 0.7rem;
  }
  .footer-left p,
  .footer-col ul li a,
  .footer-right p {
    text-align: justify;
  }

  .footer-socials {
    justify-content: justify;
    display: flex;
  }
  
}


/* Footer Section ends ----------------------------------------------------------------------------------------------------------------------------- */


/* Animation Section ----------------------------------------------------------------------------------------------------------------------------- */


/* Ensure animated elements start hidden for better effect */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

/* Fade-In Effects */
[data-aos="fade-in"],
[data-aos="fade-up"],
[data-aos="fade-down"] {
  transform: translateY(20px);
}
[data-aos="zoom-in"] {
  transform: scale(0.9);
}
[data-aos="flip-up"] {
  transform: perspective(400px) rotateX(15deg);
}

/* AOS “after” state */
[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotateX(0);
}


/* Animation Section ends ------------------------------------------------------------------------------------------------------------------------- */
