/* 
---------------------------------------------
Future Edu Group - Blue Theme Stylesheet
Clean, Accessible, Fully Responsive & SEO Optimized
--------------------------------------------- 
*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap");

/* 
---------------------------------------------
Reset & Base
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  background-color: #fff;
  color: #334155;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none !important;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  color: #0f172a;
  font-weight: 700;
}

p {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 
---------------------------------------------
Global Styles & Blue Theme Variables
--------------------------------------------- 
*/
::selection {
  background: #2563eb;
  color: #fff;
}

::-moz-selection {
  background: #2563eb;
  color: #fff;
}

/* Primary Button Gradients */
.main-button-gradient a,
.main-gradient-button,
a.main-gradient-button {
  font-size: 14px;
  color: #ffffff !important;
  background: #1d4ed8;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0284c7 100%) !important;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.main-button-gradient a:hover,
.main-gradient-button:hover,
a.main-gradient-button:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #0369a1 100%) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  color: #ffffff !important;
  opacity: 1;
}

.white-button a {
  font-size: 14px;
  color: #1d4ed8 !important;
  background-color: #ffffff;
  padding: 12px 28px;
  display: inline-block;
  border-radius: 25px;
  font-weight: 600;
  text-transform: capitalize;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.white-button a:hover {
  background-color: #f0f7ff;
  color: #1e40af !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.text-button a {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb !important;
  text-decoration: underline !important;
  transition: all 0.3s ease;
}

.text-button a:hover {
  color: #1d4ed8 !important;
}

/* Sections & Headings */
section {
  position: relative;
  z-index: 2;
}

.section-heading {
  position: relative;
  z-index: 5;
  padding-top: 10px;
  margin-top: 0px;
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h6 {
  font-size: 13px;
  text-transform: uppercase;
  color: #2563eb;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-heading h4 {
  margin-top: 6px;
  line-height: 1.35;
  font-size: 32px;
  font-weight: 800;
  text-transform: capitalize;
  color: #0f172a;
}

.section-heading h4 em {
  font-style: normal;
  color: #2563eb;
}

.section-heading p {
  margin-top: 15px;
  font-size: 16px;
  color: #64748b;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* 
---------------------------------------------
Header & Responsive Navigation
--------------------------------------------- 
*/
.header-area {
  background: transparent;
  position: absolute;
  height: 108px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.header-area.header-sticky {
  position: fixed;
  background: #ffffff;
  height: 95px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14) !important;
}

.header-area .main-nav {
  min-height: 95px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-area .main-nav .logo {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 10001;
}

.header-area .main-nav .logo img {
  max-height: 42px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Brand logos supplied for each Future Edu division. */
.header-area .main-nav .logo img.header-brand-logo {
  width: 153px;
  height: 93px;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.header-area .main-nav .nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 10000;
}

.header-area .main-nav .nav li {
  position: relative;
  padding: 0 16px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: inline-block;
  font-weight: 500;
  font-size: 15px;
  text-transform: capitalize;
  color: #1e3a8a;
  transition: all 0.25s ease;
  height: 40px;
  line-height: 40px;
  letter-spacing: 0.3px;
  text-shadow: none;
}

.header-area .main-nav .nav li:hover > a,
.header-area .main-nav .nav li a.active {
  color: #0284c7 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Submenu / Dropdown */
.header-area .main-nav .nav li.has-sub {
  position: relative;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu {
  position: absolute;
  width: 250px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  top: 50px;
  left: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 10002;
  border: 1px solid #e2e8f0;
}

.header-area .main-nav .nav li.has-sub:hover ul.sub-menu,
.header-area .main-nav .nav li.has-sub ul.sub-menu.d-block {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li {
  padding: 0;
  width: 100%;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  height: auto;
  line-height: 1.4;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b !important;
  background: transparent;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  text-shadow: none;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li:last-child a {
  border-bottom: none;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a:hover,
.header-area .main-nav .nav li.has-sub ul.sub-menu li a.active {
  background: #f0f9ff;
  color: #0284c7 !important;
  padding-left: 24px;
  text-decoration: none;
}

/* Mobile Hamburger Menu */
.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: none;
  position: relative;
  width: 26px;
  height: 18px;
  z-index: 10001;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  user-select: none;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  background-color: #0284c7;
  display: block;
  position: absolute;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  transition: all 0.3s ease;
  font-size: 0 !important;
  line-height: 0 !important;
}

.header-area .main-nav .menu-trigger span {
  top: 8px;
}

.header-area .main-nav .menu-trigger span:before {
  content: "";
  top: -7px;
}

.header-area .main-nav .menu-trigger span:after {
  content: "";
  top: 7px;
}

.header-area .main-nav .menu-trigger.active span {
  background-color: transparent;
}

.header-area .main-nav .menu-trigger.active span:before {
  top: 0;
  transform: rotate(45deg);
}

.header-area .main-nav .menu-trigger.active span:after {
  top: 0;
  transform: rotate(-45deg);
}

/* 
---------------------------------------------
Hero Banner Area & Decorations
--------------------------------------------- 
*/
.main-banner {
  padding-top: 160px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #ffffff;
}

.main-banner .header-text {
  position: relative;
  z-index: 3;
}

.main-banner .header-text h1,
.main-banner .header-text h2 {
  font-size: clamp(30px, 4.5vw, 50px);
  color: #0f172a;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 20px;
}

.main-banner .header-text h1 em,
.main-banner .header-text h2 em {
  font-style: normal;
  color: #2563eb;
}

.main-banner .header-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 30px;
  max-width: 580px;
}

.main-banner .right-image {
  position: relative;
  z-index: 3;
  text-align: center;
}

.main-banner .right-image img {
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

/* Decorative background shapes with SAFE z-index & non-blocking events */
.main-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.main-banner .right-image::after {
  position: absolute;
  background-image: url(../images/banner-right-dec.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 320px;
  height: 320px;
  content: '';
  right: -60px;
  bottom: -60px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.main-banner .header-text::after {
  position: absolute;
  background-image: url(../images/banner-left-dec.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 180px;
  height: 320px;
  content: '';
  left: -80px;
  bottom: -100px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* 
---------------------------------------------
Services & Division Cards
--------------------------------------------- 
*/
.service-item,
.services .item {
  border-radius: 18px;
  padding: 35px 28px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.service-item:hover,
.services .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
  border-color: #bfdbfe;
}

.service-item .icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-item h3,
.service-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

/* 
---------------------------------------------
Courses & Verticals Tab Explorer
--------------------------------------------- 
*/
section.our-courses {
  position: relative;
  z-index: 2;
}

section.our-courses:before {
  position: absolute;
  content: '';
  background-image: url(../images/our-courses-left-dec.png);
  background-repeat: no-repeat;
  left: 20px;
  top: -80px;
  width: 220px;
  height: 180px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

section.our-courses:after {
  position: absolute;
  content: '';
  background-image: url(../images/our-courses-right-dec.png);
  background-repeat: no-repeat;
  right: 20px;
  top: -80px;
  width: 220px;
  height: 180px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.gradient-border {
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.gradient-border:hover,
.gradient-border.active {
  border-color: #2563eb !important;
  background: #f0f7ff !important;
}

/* 
---------------------------------------------
Testimonials Area
--------------------------------------------- 
*/
section.testimonials {
  position: relative;
  z-index: 2;
  background: #f8fafc;
}

section.testimonials:before {
  position: absolute;
  content: '';
  background-image: url(../images/testimonials-left-dec.png);
  left: 0;
  top: -80px;
  width: 320px;
  height: 200px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

section.testimonials:after {
  position: absolute;
  content: '';
  background-image: url(../images/testimonials-right-dec.png);
  right: 0;
  bottom: -80px;
  width: 320px;
  height: 200px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* 
---------------------------------------------
Contact Us Section
--------------------------------------------- 
*/
section.contact-us {
  background: linear-gradient(135deg, #091e42 0%, #1e3a8a 60%, #1d4ed8 100%);
  padding: 90px 0;
  position: relative;
  color: #fff;
  z-index: 2;
}

section.contact-us .section-heading h6 {
  color: #60a5fa;
}

section.contact-us .section-heading h4 {
  color: #ffffff;
}

section.contact-us .section-heading h4 em {
  color: #38bdf8;
}

section.contact-us .section-heading p {
  color: #cbd5e1;
}

section.contact-us:after {
  position: absolute;
  content: '';
  background-image: url(../images/footer-left-dec.png);
  left: 0px;
  top: 40px;
  width: 200px;
  height: 300px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* 
---------------------------------------------
Responsive Media Queries & Z-Index Guards
--------------------------------------------- 
*/

@media (max-width: 1199px) {
  .header-area .main-nav .nav li {
    padding: 0 10px;
  }
  .header-area .main-nav .nav li a {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .main-banner {
    padding-top: 130px;
    padding-bottom: 60px;
  }
  
  .main-banner .header-text {
    text-align: center;
    margin-bottom: 40px;
  }

  .main-banner .header-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .main-banner .header-text > div {
    justify-content: center;
  }

  /* Completely disable decorative overlaps on tablets and mobile to prevent text obscuration */
  .main-banner .right-image::after,
  .main-banner .header-text::after,
  section.our-courses:before,
  section.our-courses:after,
  section.testimonials:before,
  section.testimonials:after,
  section.contact-us:after {
    display: none !important;
  }

  /* Full row mobile header */
  .header-area {
    position: fixed !important;
    background: transparent !important;
    height: 93px !important;
    min-height: 93px !important;
    border-radius: 0 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .header-area.header-sticky {
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.12) !important;
  }

  .header-area .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-area .main-nav {
    min-height: 79px !important;
    height: 79px !important;
  }

  .header-area .main-nav .logo {
    font-size: 18px !important;
    letter-spacing: 0.3px;
  }

  .header-area .main-nav .logo img.header-brand-logo {
    width: 119px;
    height: 73px;
  }

  /* Mobile Navbar */
  .header-area .main-nav .menu-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .header-area .main-nav .nav {
    position: fixed;
    top: 79px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    padding: 16px 20px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-height: calc(100vh - 79px);
    overflow-y: auto;
    z-index: 10000;
  }

  .header-area .main-nav .nav.show-mobile {
    display: flex !important;
  }

  .header-area .main-nav .nav li {
    width: 100%;
    padding: 0;
  }

  .header-area .main-nav .nav li a {
    font-size: 14px;
    padding: 8px 0;
    height: auto;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 6px;
    margin-bottom: 8px;
    display: none;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu.d-block {
    display: block !important;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu li a {
    color: #f1f5f9 !important;
    font-size: 13px !important;
    padding: 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu li a:hover {
    background: rgba(2, 132, 199, 0.25);
    color: #bae6fd !important;
  }

  .header-area .main-nav .nav li.menu-action-item {
    margin-top: 10px;
    margin-left: 0 !important;
    width: 100%;
  }

  .header-area .main-nav .nav li.menu-action-item button {
    width: 100%;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 576px) {
  .section-heading h4 {
    font-size: 26px;
  }

  .main-banner .header-text h1,
  .main-banner .header-text h2 {
    font-size: 28px;
  }

  .service-item,
  .services .item {
    padding: 24px 18px;
  }
}
