/* ==========================================================================
   EOCoreINT — main stylesheet
   Recreates the design language of the provided template (tf__ component
   vocabulary, rounded uppercase buttons, circular category icons) using the
   exact palette and fonts extracted from it:
     primary  #ff7f46 (orange)   accent blue #4582ff
     headings Montserrat         body Rubik
   ========================================================================== */

:root {
  --colorPrimary: #ff7f46;   /* orange — main accent / buttons */
  --colorBlue:    #4582ff;   /* secondary blue accent */
  --colorTeal:    #1ab69d;   /* EO teal — success / progress */
  --colorNavy:    #002f6c;   /* deep navy — dark sections */
  --colorWhite:   #ffffff;
  --paraColor:    #636363;
  --headingColor: #0f2239;
  --bodyBg:       #ffffff;
  --softBg:       #f3f7fb;
  --paraFont:     "Rubik", system-ui, -apple-system, sans-serif;
  --headingFont:  "Montserrat", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--paraFont);
  color: var(--paraColor);
  background: var(--bodyBg);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--headingFont);
  color: var(--headingColor);
  font-weight: 700;
  line-height: 1.25;
}

a { text-decoration: none; transition: all .3s linear; }
img { max-width: 100%; }

.mt_100 { margin-top: 100px; }
.mt_75  { margin-top: 75px; }
.pt_110 { padding-top: 110px; }
.pb_110 { padding-bottom: 110px; }
.section_soft { background: var(--softBg); }

/* ----------------------------------------------------------------- buttons */
.common_btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--colorPrimary);
  color: var(--colorWhite);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  font-family: var(--paraFont);
  border: 1px solid var(--colorPrimary);
  transition: all .3s linear;
  cursor: pointer;
}
.common_btn:hover {
  background: transparent;
  color: var(--colorPrimary);
}
.common_btn.btn_blue { background: var(--colorBlue); border-color: var(--colorBlue); }
.common_btn.btn_blue:hover { background: transparent; color: var(--colorBlue); }
.common_btn.btn_navy { background: var(--colorNavy); border-color: var(--colorNavy); }
.common_btn.btn_navy:hover { background: transparent; color: var(--colorNavy); }
.common_btn.btn_outline { background: transparent; color: var(--colorPrimary); }
.common_btn.btn_outline:hover { background: var(--colorPrimary); color: #fff; }

.read_btn {
  font-size: 15px;
  font-weight: 600;
  color: var(--headingColor);
}
.read_btn i { margin-left: 5px; color: var(--colorPrimary); }
.read_btn:hover { color: var(--colorPrimary); }

/* ----------------------------------------------------------------- heading */
.tf__heading_area { text-align: center; margin-bottom: 30px; }
.tf__heading_area.text_left { text-align: left; }
.tf__heading_area h5 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--colorBlue);
  font-family: var(--paraFont);
  position: relative;
  display: inline-block;
  letter-spacing: .5px;
}
.tf__heading_area h5::before,
.tf__heading_area h5::after {
  position: absolute; content: ""; width: 8px; height: 8px;
  background: var(--colorBlue); top: 50%; border-radius: 50%;
  transform: translateY(-50%);
}
.tf__heading_area h5::before { left: -20px; }
.tf__heading_area h5::after  { right: -20px; }
.tf__heading_area.text_left h5::after { display: none; }
.tf__heading_area h2 { font-size: 40px; margin-top: 12px; }
.tf__heading_area p { margin-top: 14px; }

@media (max-width: 768px) { .tf__heading_area h2 { font-size: 28px; } }

/* ------------------------------------------------------------------ navbar */
.tf__nav {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 1020;
}
.tf__nav .navbar-brand img { height: 42px; }
.tf__nav .nav-link {
  font-family: var(--paraFont);
  font-weight: 500;
  color: var(--headingColor) !important;
  padding: 26px 14px !important;
  position: relative;
}
.tf__nav .nav-link:hover,
.tf__nav .nav-link.active { color: var(--colorPrimary) !important; }
.tf__nav .nav-actions .common_btn { padding: 10px 24px; }
.tf__nav .nav-actions a.login_link {
  font-weight: 600; color: var(--headingColor); margin-right: 18px;
}
.tf__nav .nav-actions a.login_link:hover { color: var(--colorPrimary); }

/* ------------------------------------------------------------------ banner */
.tf__banner {
  position: relative;
  background: linear-gradient(120deg, rgba(0,47,108,.88), rgba(26,182,157,.78)),
              url('../img/banner_bg.jpg');
  background-size: cover; background-position: center;
  color: #fff; padding: 110px 0 120px;
}
.tf__banner h5 {
  color: #fff; text-transform: uppercase; font-weight: 600;
  font-family: var(--paraFont); letter-spacing: 1px; opacity: .9;
}
.tf__banner h1 { color: #fff; font-size: 54px; margin: 18px 0; }
.tf__banner p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 560px; }
.tf__banner .banner_btns { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.tf__banner .banner_stats { margin-top: 46px; display: flex; gap: 40px; flex-wrap: wrap; }
.tf__banner .banner_stats h3 { color: #fff; font-size: 34px; }
.tf__banner .banner_stats span { color: rgba(255,255,255,.85); font-size: 14px; }
.tf__banner_img img { border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }

@media (max-width: 991px) { .tf__banner h1 { font-size: 38px; } }

/* page header (interior pages) */
.tf__page_header {
  background: linear-gradient(120deg, rgba(0,47,108,.92), rgba(69,130,255,.78)),
              url('../img/eo/EO-for-water.jpg');
  background-size: cover; background-position: center;
  color: #fff; padding: 70px 0; text-align: center;
}
.tf__page_header h2 { color: #fff; font-size: 40px; }
.tf__page_header .breadcrumb { justify-content: center; margin-top: 10px; }
.tf__page_header .breadcrumb a { color: rgba(255,255,255,.85); }
.tf__page_header .breadcrumb .active { color: var(--colorPrimary); }

/* ---------------------------------------------------------------- category */
.tf__single_category {
  background: #fff; border-radius: 10px; padding: 30px 22px;
  text-align: center; box-shadow: 0 6px 30px rgba(0,0,0,.06);
  margin-top: 25px; transition: all .3s linear; height: 100%;
}
.tf__single_category:hover { transform: translateY(-6px); }
.tf__single_category_icon {
  width: 84px; height: 84px; line-height: 84px; margin: 0 auto 18px;
  background: var(--colorBlue); color: #fff; font-size: 34px;
  border-radius: 50%; transition: all .3s linear;
}
.tf__single_category:hover .tf__single_category_icon { background: var(--colorPrimary); }
.tf__single_category h4 { font-size: 19px; }
.tf__single_category p { font-size: 14px; margin-top: 6px; }

/* ------------------------------------------------------------- course card */
.tf__single_course {
  background: #fff; border: 1px solid #eef0f4; border-radius: 10px;
  overflow: hidden; margin-top: 25px; transition: all .3s linear; height: 100%;
  display: flex; flex-direction: column;
}
.tf__single_course:hover {
  border-color: var(--colorPrimary);
  box-shadow: 0 14px 40px rgba(0,0,0,.1); transform: translateY(-4px);
}
.tf__single_course_img { height: 210px; overflow: hidden; position: relative; display: block; }
.tf__single_course_img img { width: 100%; height: 100%; object-fit: cover; transition: all .4s linear; }
.tf__single_course:hover .tf__single_course_img img { transform: scale(1.06); }
.tf__single_course_img .level_badge {
  position: absolute; top: 14px; left: 14px; background: var(--colorPrimary);
  color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}
.tf__single_course_img .price_badge {
  position: absolute; top: 14px; right: 14px; background: #fff;
  color: var(--colorNavy); font-weight: 700; padding: 5px 14px;
  border-radius: 20px; font-size: 14px;
}
.tf__single_course_text { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tf__single_course_text .cat {
  font-size: 13px; color: var(--colorBlue); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
.tf__single_course_text h4 { font-size: 19px; margin: 8px 0; }
.tf__single_course_text h4 a { color: var(--headingColor); }
.tf__single_course_text h4 a:hover { color: var(--colorPrimary); }
.tf__single_course_meta {
  display: flex; gap: 18px; font-size: 13px; color: var(--paraColor);
  border-top: 1px solid #eef0f4; padding-top: 14px; margin-top: auto;
}
.tf__single_course_meta i { color: var(--colorPrimary); margin-right: 5px; }

/* ----------------------------------------------------------------- about */
.tf__about_img img { border-radius: 16px; }
.tf__about_list { margin-top: 22px; list-style: none; }
.tf__about_list li { padding: 8px 0 8px 32px; position: relative; }
.tf__about_list li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900; position: absolute; left: 0; color: var(--colorTeal);
}

/* --------------------------------------------------------------- counters */
.tf__counter { background: var(--colorNavy); padding: 60px 0; }
.tf__single_counter { text-align: center; color: #fff; }
.tf__single_counter h2 { color: var(--colorPrimary); font-size: 44px; }
.tf__single_counter p { color: rgba(255,255,255,.85); margin-top: 4px; }

/* ------------------------------------------------------------ testimonial */
.tf__single_testimonial {
  background: #fff; border-radius: 10px; padding: 30px;
  box-shadow: 0 6px 30px rgba(0,0,0,.06); margin: 12px;
}
.tf__single_testimonial .icon { color: var(--colorPrimary); font-size: 30px; }
.tf__single_testimonial p { margin: 14px 0 18px; font-style: italic; }
.tf__single_testimonial .author { display: flex; align-items: center; gap: 14px; }
.tf__single_testimonial .author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.tf__single_testimonial .author h5 { font-size: 16px; margin: 0; }
.tf__single_testimonial .author span { font-size: 13px; color: var(--colorBlue); }

/* -------------------------------------------------------------------- blog */
.tf__single_blog {
  border: 1px solid #eef0f4; border-radius: 8px; overflow: hidden;
  margin-top: 25px; transition: all .3s linear; background: #fff; height: 100%;
}
.tf__single_blog:hover { border-color: var(--colorPrimary); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.tf__single_blog_img { display: block; height: 230px; overflow: hidden; }
.tf__single_blog_img img { width: 100%; height: 100%; object-fit: cover; transition: all .4s linear; }
.tf__single_blog:hover .tf__single_blog_img img { transform: scale(1.05); }
.tf__single_blog_text { padding: 24px; }
.tf__single_blog_text .category { color: var(--colorBlue); font-weight: 600; font-size: 13px; text-transform: uppercase; }
.tf__single_blog_text h4 { font-size: 20px; margin: 10px 0; }
.tf__single_blog_text h4 a { color: var(--headingColor); }
.tf__single_blog_text h4 a:hover { color: var(--colorPrimary); }

/* ---------------------------------------------------------------- footer */
.tf__footer { background: var(--colorNavy); color: rgba(255,255,255,.75); padding-top: 70px; }
.tf__footer h4 { color: #fff; font-size: 20px; margin-bottom: 22px; }
.tf__footer a { color: rgba(255,255,255,.75); }
.tf__footer a:hover { color: var(--colorPrimary); }
.tf__footer ul { list-style: none; }
.tf__footer ul li { margin-bottom: 10px; }
.tf__footer .footer_logo { height: 46px; margin-bottom: 18px; }
.tf__footer .social a {
  width: 38px; height: 38px; line-height: 38px; text-align: center;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  display: inline-block; margin-right: 8px;
}
.tf__footer .social a:hover { background: var(--colorPrimary); border-color: var(--colorPrimary); color: #fff; }
.tf__footer_bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding: 22px 0; text-align: center; font-size: 14px; }

/* --------------------------------------------------------- course player */
.player_wrap { display: flex; gap: 0; min-height: calc(100vh - 80px); }
.player_sidebar {
  width: 340px; background: #0f2239; color: #cdd6e4; flex-shrink: 0;
  overflow-y: auto; max-height: calc(100vh - 80px);
}
.player_sidebar .sidebar_head { padding: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.player_sidebar .sidebar_head h5 { color: #fff; font-size: 17px; }
.player_module_title {
  padding: 14px 22px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.04); font-size: 14px; text-transform: uppercase; letter-spacing: .5px;
}
.player_lesson {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06); color: #cdd6e4; font-size: 14px;
}
.player_lesson:hover { background: rgba(255,255,255,.05); color: #fff; }
.player_lesson.active { background: var(--colorPrimary); color: #fff; }
.player_lesson.done .state { color: var(--colorTeal); }
.player_lesson .state { font-size: 16px; }
.player_main { flex: 1; padding: 30px; background: #f3f7fb; overflow-y: auto; max-height: calc(100vh - 80px); }
.player_video {
  position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px;
  overflow: hidden; background: #000; box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.player_video iframe, .player_video video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.player_progress_bar { height: 10px; border-radius: 6px; background: #e3e9f2; overflow: hidden; }
.player_progress_bar span { display: block; height: 100%; background: var(--colorTeal); transition: width .4s ease; }

@media (max-width: 991px) {
  .player_wrap { flex-direction: column; }
  .player_sidebar { width: 100%; max-height: none; }
  .player_main { max-height: none; }
}

/* ------------------------------------------------------------ dashboard */
.dash_stat {
  background: #fff; border-radius: 10px; padding: 26px; text-align: center;
  box-shadow: 0 6px 30px rgba(0,0,0,.06);
}
.dash_stat .icon { font-size: 30px; color: var(--colorPrimary); }
.dash_stat h3 { font-size: 32px; margin: 8px 0 2px; }
.dash_stat p { font-size: 14px; margin: 0; }
.dash_card {
  background: #fff; border-radius: 10px; padding: 24px;
  box-shadow: 0 6px 30px rgba(0,0,0,.06); margin-bottom: 24px;
}
.progress-thin { height: 8px; border-radius: 6px; }
.progress-thin .progress-bar { background: var(--colorTeal); }

/* --------------------------------------------------------------- auth card */
.auth_wrap { min-height: 100vh; display: flex; align-items: center; padding: 50px 0; background: var(--softBg); }
.auth_card { background: #fff; border-radius: 14px; padding: 40px; box-shadow: 0 14px 50px rgba(0,0,0,.08); }
.auth_card h2 { font-size: 28px; margin-bottom: 6px; }

/* --------------------------------------------------------------- messages */
.toast_stack { position: fixed; top: 90px; right: 20px; z-index: 1080; max-width: 360px; }

/* --------------------------------------------------------- pricing card */
.tf__price_card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 36px 28px;
  text-align: center; box-shadow: 0 6px 30px rgba(0,0,0,.05); transition: all .3s linear; height: 100%;
}
.tf__price_card:hover { transform: translateY(-6px); border-color: var(--colorPrimary); }
.tf__price_card.featured { border-color: var(--colorPrimary); box-shadow: 0 18px 50px rgba(255,127,70,.18); }
.tf__price_card .price { font-size: 42px; color: var(--colorNavy); font-family: var(--headingFont); font-weight: 700; }
.tf__price_card .price small { font-size: 16px; color: var(--paraColor); }
.tf__price_card ul { list-style: none; margin: 22px 0; text-align: left; }
.tf__price_card ul li { padding: 7px 0 7px 28px; position: relative; }
.tf__price_card ul li::before { content: "\f058"; font-family: "Font Awesome 6 Free","FontAwesome"; font-weight: 900; position: absolute; left: 0; color: var(--colorTeal); }

/* small utilities */
.text-primary-eo { color: var(--colorPrimary) !important; }
.bg-navy-eo { background: var(--colorNavy) !important; }
.rounded-12 { border-radius: 12px; }
.object-cover { object-fit: cover; }

/* ==========================================================================
   ENHANCEMENTS — equal-height cards, scroll animations, hero slider, map
   ========================================================================== */
.eo-equal-row { display:flex; flex-wrap:wrap; }
.eo-equal-row > [class*="col-"] { display:flex; }
.eo-equal-row > [class*="col-"] > * { width:100%; }
.tf__single_course,.tf__single_blog,.tf__single_category,.tf__price_card,.eo-card{display:flex;flex-direction:column;}
.tf__single_blog_text,.tf__single_category,.eo-card{flex:1 1 auto;}
.eo-card-push{margin-top:auto;}

.eo-card{background:#fff;border:1px solid #eef0f4;border-radius:14px;padding:30px 26px;
  box-shadow:0 6px 30px rgba(0,0,0,.05);transition:transform .35s cubic-bezier(.2,.7,.3,1),box-shadow .35s,border-color .35s;height:100%;}
.eo-card:hover{transform:translateY(-6px);box-shadow:0 18px 46px rgba(0,47,108,.12);border-color:rgba(26,182,157,.4);}
.eo-card .eo-card-icon{width:64px;height:64px;border-radius:16px;display:grid;place-items:center;font-size:26px;color:#fff;margin-bottom:18px;background:linear-gradient(135deg,var(--colorTeal),var(--colorBlue));}
.eo-card.alt .eo-card-icon{background:linear-gradient(135deg,var(--colorPrimary),#ff9d6e);}
.eo-card:hover .eo-card-icon{transform:translateY(-3px) scale(1.04);transition:transform .35s;}
.eo-card h4{font-size:19px;margin-bottom:10px;}
.eo-card p{font-size:15px;margin:0;}

.eo-step{position:relative;padding:0 14px;height:100%;}
.eo-step .num{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-family:var(--headingFont);font-weight:700;font-size:20px;color:#fff;background:var(--colorNavy);margin:0 auto 16px;position:relative;z-index:2;}
.eo-step.alt .num{background:var(--colorPrimary);}
.eo-step h5{font-size:17px;margin-bottom:8px;}
.eo-step p{font-size:14px;}
.eo-steps-line{position:relative;}
@media (min-width:992px){.eo-steps-line::before{content:"";position:absolute;top:27px;left:12%;right:12%;height:2px;background:linear-gradient(90deg,var(--colorNavy),var(--colorPrimary));z-index:1;opacity:.25;}}

.eo-stat{text-align:center;padding:10px;}
.eo-stat h3{font-size:40px;font-family:var(--headingFont);color:var(--colorPrimary);margin:0;line-height:1;}
.eo-stat span{font-size:14px;color:var(--paraColor);}

.eo-split-img{border-radius:18px;overflow:hidden;position:relative;}
.eo-split-img img{width:100%;height:100%;object-fit:cover;}
.eo-badge-soft{display:inline-block;padding:6px 16px;border-radius:30px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--colorBlue);background:rgba(69,130,255,.1);}
.eo-badge-soft.teal{color:var(--colorTeal);background:rgba(26,182,157,.12);}
.eo-badge-soft.orange{color:var(--colorPrimary);background:rgba(255,127,70,.12);}

.eo-check{list-style:none;margin:18px 0 0;padding:0;}
.eo-check li{position:relative;padding:8px 0 8px 34px;}
.eo-check li::before{content:"\f00c";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;left:0;top:8px;width:22px;height:22px;border-radius:50%;background:rgba(26,182,157,.15);color:var(--colorTeal);font-size:11px;display:grid;place-items:center;}

.eo-cta-band{border-radius:20px;padding:56px 40px;text-align:center;position:relative;overflow:hidden;background:linear-gradient(120deg,var(--colorNavy),var(--colorTeal));}
.eo-cta-band::after{content:"";position:absolute;inset:0;opacity:.12;background:radial-gradient(circle at 20% 30%,#fff 0,transparent 40%),radial-gradient(circle at 80% 70%,#fff 0,transparent 35%);}
.eo-cta-band > *{position:relative;z-index:1;}

.accordion-button:not(.collapsed){background:rgba(26,182,157,.08);color:var(--colorNavy);box-shadow:none;}
.accordion-button:focus{box-shadow:none;border-color:rgba(26,182,157,.4);}

/* scroll animations */
[data-animate]{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1);will-change:opacity,transform;}
[data-animate].in-view{opacity:1;transform:none;}
[data-animate="fade"]{transform:none;}
[data-animate="left"]{transform:translateX(-30px);}
[data-animate="right"]{transform:translateX(30px);}
[data-animate="zoom"]{transform:scale(.94);}
[data-animate].in-view[data-animate="left"],[data-animate].in-view[data-animate="right"],[data-animate].in-view[data-animate="zoom"]{transform:none;}
[data-delay="1"]{transition-delay:.08s;}[data-delay="2"]{transition-delay:.16s;}[data-delay="3"]{transition-delay:.24s;}[data-delay="4"]{transition-delay:.32s;}[data-delay="5"]{transition-delay:.40s;}
@media (prefers-reduced-motion:reduce){[data-animate]{opacity:1!important;transform:none!important;transition:none!important;}}

.tf__banner {
  position: relative;
  /* background: linear-gradient(120deg, rgba(0,47,108,.88), rgba(26,182,157,.78)), */
              /* url('../img/banner_bg.jpg'); */
  background-size: cover; background-position: center;
  color: #fff;
  min-height: calc(100vh - 80px); /* fill screen below the sticky navbar */
  display: flex;
  align-items: center;            /* vertically center the content */
  padding: 60px 0;
}
/* hero slider */
.tf__banner{position:relative;overflow:hidden;}
.tf__banner .eo-slider{position:absolute;inset:0;z-index:0;}
.tf__banner .eo-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.08);transition:opacity 1.6s ease,transform 7s ease;}
.tf__banner .eo-slide.active{opacity:1;transform:scale(1);}
.tf__banner .eo-slider::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(0,47,108,.90),rgba(26,182,157,.72));}
.tf__banner .container{position:relative;z-index:2;}
.tf__banner .eo-dots{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:10px;}
.tf__banner .eo-dots button{width:11px;height:11px;border-radius:50%;border:0;cursor:pointer;background:rgba(255,255,255,.45);transition:all .3s;}
.tf__banner .eo-dots button.active{background:#fff;width:28px;border-radius:6px;}

/* contact map */
.eo-map-wrap{border-radius:18px;overflow:hidden;box-shadow:0 10px 40px rgba(0,47,108,.12);line-height:0;}
.eo-map-wrap iframe{width:100%;height:420px;border:0;display:block;}

img{background:linear-gradient(135deg,rgba(0,47,108,.06),rgba(26,182,157,.06));}
