/* 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: 30px;
  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 ------------------------------------------------------------------------------------------------------------------------------------- */


/* Hero Section (image) ---------------------------------------------------------------------------------------------------------------------------- */
 
.hero-section {
  position: relative;
  height: 250px;
  background: url(bg-img-contact.jpg) center center no-repeat;
  background-size: cover;
  background-attachment: fixed; /* This line makes it stay fixed */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(25, 15, 97, 0.8); /* extracted color from your image */
  display: flex;
  align-items: flex-end;
  padding: 40px 60px;
  box-sizing: border-box;
}

.hero-overlay h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: white;
}

/* Responsive: Mobile Fix for Contact Us */
@media (max-width: 576px) {
  .hero-overlay {
    justify-content: flex-start;
    align-items: flex-end;
    padding: 20px 25px;
    text-align: left;
  }

  .hero-overlay h1 {
    font-size: 36px; /* Slightly larger than usual mobile size */
    text-align: left;
  }
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 20px 15px;
}

/* Heading */
.features-heading h2 {
    font-size: 2.8rem;           /* Desktop size */
    font-weight: bold;
    color: #150079;            /* Deep blue */
    margin-bottom: 8px;
}

/* Horizontal Line */
.features-heading hr {
    border: none;
    border-bottom: 1px solid #ccc;
    width: 100%;
}

/* Tablet */
@media (max-width: 1024px) {
    .features-heading h2 {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .features-heading h2 {
        font-size: 1.6rem;
        text-align: left; /* stays aligned like screenshot */
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .features-heading h2 {
        font-size: 1.4rem;
    }
}


/* Hero Section (image) ends ----------------------------------------------------------------------------------------------------------------------- */


/*-- NEET Selections Section ---------------------------------------------------------------------------------------------------------------------------*/

/* MAIN SECTION                                                               */
/* ========================================================================== */

.selections-page {
    width: 100%;
    background: white;
    padding: 55px 0 100px;
}

/* MAIN INTRODUCTION                                                          */
.selections-intro {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto 60px;
    text-align: left;
}

/* YELLOW BADGE                                                              */
.selections-badge {
    display: inline-block;
    background: #fbc02d;
    color: #003c71;
    padding: 7px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

/* MAIN HEADING                                                               */
.selections-intro h2 {
    color: #150079;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px;
}

/* MAIN DESCRIPTION                                                           */
.selections-intro p {
    color: #666666;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0;
}


/* RED DECORATIVE LINE                                                        */
.selections-intro::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    background: #ed3748;
    border-radius: 10px;
    margin-top: 16px;
}

/* COMMON RESULT SECTION                                                      */
.results-section {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto 95px;
}

/* RESULT HEADING                                                             */
.results-heading {
    margin-bottom: 32px;
    text-align: left;
}

/* RESULT HEADING TITLE                                                       */
.results-heading h3 {
    color: #150079;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 8px;
}

/* RESULT HEADING DESCRIPTION                                                 */
.results-heading p {
    color: #666666;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

/* STUDENT GRID                                                               */
.students-grid {
    display: grid;
    gap: 25px;
}

/* NEET 2026 GRID                                                             */
.selections-grid-2026 {
    grid-template-columns:
        repeat(4, 1fr);
}

/* NEET 2025 GRID                                                             */
.selections-grid-2025 {
    grid-template-columns:
        repeat(3, 1fr);
    gap: 15px;
}

/* STUDENT PHOTO CARD                                                         */
.selection-card {
    width: 90%;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid
        rgba(0, 60, 113, 0.10);

    box-shadow:
        0 8px 24px
        rgba(0, 60, 113, 0.11);

    position: relative;
    cursor: pointer;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* CARD HOVER                                                                 */
.selection-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(237, 55, 72, 0.35);

    box-shadow:
        0 18px 38px
        rgba(0, 60, 113, 0.20);

    z-index: 2;
}

/* STUDENT IMAGE                                                              */
.selection-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3.5 / 4;
    object-fit: cover;
    object-position: center;
    transition:
        transform 0.45s ease;
}

/* IMAGE HOVER                                                                */
.selection-card:hover img {
    transform:
        scale(1.035);
}

/* CLASS 12th SECTION                                                         */

/* ========================================================================== */
/*                         CLASS 12th BOARD RESULTS                           */
/* ========================================================================== */

.class12-section {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto 50px;
}


/* ========================= CLASS 12th HEADING ============================== */
/* Same left alignment as NEET UG 2025 */

.class12-section .results-heading {
    text-align: left;
    margin-bottom: 32px;
}


/* ========================= RESULT CARD ==================================== */

.class12-result-card {
    width: 85%;                  /* Reduced card width */
    max-width: 1100px;           /* Maximum card size */
    margin: 0 auto;              /* Keep card centered */

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid rgba(0, 60, 113, 0.10);

    box-shadow:
        0 8px 25px rgba(0, 60, 113, 0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* ========================= CARD HOVER ===================================== */

.class12-result-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0, 60, 113, 0.22);
}


/* ========================= RESULT IMAGE =================================== */

.class12-result-card img {
    display: block;

    width: 100%;
    height: auto;

    /*
       Image keeps its original ratio.
       It will completely fit inside the card
       without cropping.
    */
    object-fit: contain;

    object-position: center;

    transition: transform 0.45s ease;
}


/* ========================= IMAGE HOVER ==================================== */

.class12-result-card:hover img {
    transform: scale(1.02);
}


/* STUDENT VIDEOS SECTION                                                     */
.student-videos-section {
    width: 92%;
    max-width: 1400px;
    margin: -20px auto 60px;
}

/* VIDEO GRID — 3 CARDS IN ONE ROW                                            */
.student-videos-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}

/* VIDEO CARD                                                                 */
.student-video-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid
        rgba(0, 60, 113, 0.10);

    box-shadow:
        0 8px 25px
        rgba(0, 60, 113, 0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* VIDEO CARD HOVER                                                           */
.student-video-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        0 18px 38px
        rgba(0, 60, 113, 0.20);
}

/* VIDEO WRAPPER                                                              */
.student-video-wrapper {
    width: 100%;
    background: #000000;
    overflow: hidden;
}

/* VIDEO                                                                      */
.selection-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000000;
}

/* TABLET — 1100px                                                           */
@media (max-width: 1100px) {
    .selections-intro h2 {
        font-size: 2.3rem;
    }

    /* 2026 */
    .selections-grid-2026 {
        grid-template-columns:
            repeat(3, 1fr);
    }

    /* 2025 */
    .selections-grid-2025 {
        grid-template-columns:
            repeat(3, 1fr);
        gap: 22px;
    }


    /* Videos */
    .student-videos-grid {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 22px;
    }
}

/* SMALL TABLET — 850px                                                       */
/* ========================================================================== */

@media (max-width: 850px) {

    .selections-page {
        padding-top: 40px;
    }

    .selections-intro {
        margin-bottom: 50px;
    }

    .selections-intro h2 {
        font-size: 2.1rem;
    }

    .results-section {
        margin-bottom: 75px;
    }

    /* 2026 */
    .selections-grid-2026 {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;
    }

    /* 2025 */
    .selections-grid-2025 {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;
    }

    .results-heading h3 {
        font-size: 1.8rem;
    }

    /* Videos */
    .student-videos-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .class12-result-card {
        width: 95%;
    }
    .class12-section {
        margin-bottom: 75px;
    }
}

/* MOBILE — 576px                                                            */
/* ========================================================================== */
@media (max-width: 576px) {

    .selections-page {
        padding:
            35px 0 65px;
    }

    .selections-intro {
        width: 90%;
        margin-bottom: 45px;
    }

    .selections-badge {
        font-size: 0.72rem;
        padding: 6px 15px;
        margin-bottom: 10px;
    }

    .selections-intro h2 {
        font-size: 1.7rem;
        line-height: 1.35;
    }

    .selections-intro p {
        font-size: 0.90rem;
        line-height: 1.6;
    }

    .selections-intro::after {
        width: 45px;
        height: 3px;
        margin-top: 13px;
    }

    /* Common */
    .results-section,
    .student-videos-section {
        width: 90%;
    }

    .results-section {
        margin-bottom: 60px;
    }

    .results-heading {
        margin-bottom: 25px;
    }

    .results-heading h3 {
        font-size: 1.55rem;
    }

    .results-heading p {
        font-size: 0.88rem;
    }

    /* 2026 — TWO PER ROW */
    /* ---------------------------------------------------------- */
    .selections-grid-2026 {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 13px;
    }

    /* 2025 — TWO PER ROW ON MOBILE */
    /* ---------------------------------------------------------- */
    .selections-grid-2025 {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 13px;
    }

    .selection-card {
        border-radius: 11px;
    }

    /* Disable strong hover scaling on touch */
    .selection-card:hover {
        transform:
            translateY(-3px);
    }

    .selection-card:hover img {
        transform:
            scale(1.015);
    }

    /* CLASS 12th */
    /* ---------------------------------------------------------- */
      .class12-section {
        width: 90%;
        margin-bottom: 65px;
    }

    .class12-section .results-heading {
        text-align: left;
        margin-bottom: 25px;
    }

    .class12-result-card {
        width: 100%;
        border-radius: 12px;
    }

    .class12-result-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
        transform: none;
    }

    .class12-result-card:hover {
        transform: translateY(-3px);
    }

    .class12-result-card:hover img {
        transform: scale(1.01);
    }

    /* VIDEOS */
    /* ---------------------------------------------------------- */
    .student-videos-grid {
        grid-template-columns:
            1fr;
        gap: 20px;
    }

    .student-video-card {
        border-radius: 12px;
    }
}

/* VERY SMALL MOBILE — 390px                                                 */
/* ========================================================================== */

@media (max-width: 390px) {

    .selections-intro h2 {
        font-size: 1.5rem;
    }

    .selections-intro p {
        font-size: 0.85rem;
    }

    .selections-grid-2026,
    .selections-grid-2025 {
        gap: 10px;
    }

    .selection-card {
        border-radius: 9px;
    }

    .results-heading h3 {
        font-size: 1.4rem;
    }

    .student-videos-grid {
        gap: 15px;
    }
}


/*-- NEET Selections Section ---------------------------------------------------------------------------------------------------------------------------*/


/* 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 ----------------------------------------------------------------------------------------------------------------------------- */
