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

.courses-section {
    background-color: #fff;
    padding: 60px 20px;
}

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

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Courses Grid */
.course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.course-detail {
    flex: 1 1 48%;
	min-width: 280px; /* ensures small screens stack nicely */
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* ensures gradient is clipped to rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px; /* same as previous border height */
    background: linear-gradient(90deg, #1e3a8a, #ffcc00);
}


.course-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.course-header h2 {
    font-size: 26px;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.course-badge {
    display: inline-block;
    font-size: 13px;
    background-color: #ffcc00;
    color: #1e3a8a;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.course-overview {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.course-info {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid #ffcc00;
    padding-left: 10px;
    font-size: 14px;
    color: #333;
}

.info-item i {
    color: #1e3a8a;
    font-size: 16px;
}

.course-extra {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-extra strong {
    color: #1e3a8a;
}

.enroll-btn {
    background-color: #1e3a8a;
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    transition: transform 0.3s, background-color 0.3s;
}

.enroll-btn:hover {
    background-color: #0d2a6a;
    transform: translateY(-2px);
}

/* Detailed Features */
.detailed-features {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.detailed-features h3 {
    font-size: 28px;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    background-color: #f9f9f9;
    border-radius: 10px;
}

.feature-label {
    font-size: 16px;
    color: #1e3a8a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 40%;
}

.feature-label i {
    color: #ffcc00;
}

.feature-value {
    font-size: 16px;
    color: #555;
    width: 60%;
    line-height: 1.5;
}

.feature-value.admission-detail {
    color: #1e3a8a; /* Blue for Admission */
    font-weight: 600;
}

.feature-value.scholarship-detail a {
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.feature-value.scholarship-detail a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .course-grid {
        flex-direction: column;
    }
    .course-detail {
        flex: 1 1 100%;
    }
    /* Add spacing between features for mobile */
    .detailed-features .feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }
    .feature-value {
        width: 100%;
    }
    .feature-label {
        width: 100%;
    }
}


/* ===== RESTRICTION SECTION (Fully Responsive) ===== */

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.restriction-banner {
  background-color: #002D62;
  color: white;
  border-radius: 25px;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

/* ===== Text Content ===== */
.text-content {
  flex: 1 1 400px;
  min-width: 250px;
}

.main-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); /* scales automatically */
  font-weight: bold;
  margin: 0 0 12px 0;
  line-height: 1.3;
  color: #fff;
}

.description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

/* ===== Icon Section ===== */
.icon-container {
  flex-shrink: 0;
  background-color: white;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: clamp(100px, 18vw, 150px); /* scales automatically */
  height: clamp(100px, 18vw, 150px);
  transition: all 0.3s ease;
}

.restriction-icon {
  font-size: clamp(40px, 7vw, 70px);
  color: #333;
  z-index: 1;
}

/* "No" Symbol Overlay */
.icon-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 120%;
  height: 10px;
  background-color: #FF0000;
  border-radius: 5px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.icon-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 8px solid #FF0000;
  border-radius: 50%;
  z-index: 0;
}

/* ===== RESPONSIVE BEHAVIOR ===== */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .restriction-banner {
    gap: 30px;
    padding: 40px 25px;
  }
  .text-content {
    flex: 1 1 100%;
    text-align: center;
  }
  .icon-container {
    margin: 0 auto;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .restriction-banner {
    flex-direction: column;
    text-align: center;
    padding: 35px 20px;
    gap: 25px;
  }

  .text-content {
    order: 2;
  }

  .icon-container {
    order: 1;
    width: clamp(110px, 30vw, 150px);
    height: clamp(110px, 30vw, 150px);
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .restriction-banner {
    padding: 25px 15px;
    border-radius: 20px;
    gap: 20px;
  }

  .main-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .description {
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 1.5;
  }

  .icon-container {
    width: clamp(100px, 40vw, 130px);
    height: clamp(100px, 40vw, 130px);
  }
}

/* Extra Small (≤360px) */
@media (max-width: 360px) {
  .restriction-banner {
    padding: 20px 10px;
    border-radius: 15px;
  }

  .main-title {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.85rem;
  }

  .icon-container {
    width: 90px;
    height: 90px;
  }
}


/* 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);
}

/* Optional: Disable on very small screens for performance */

/*
@media (max-width: 576px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
*/


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