/*==================================
* Updated & Modernized Style Sheet
* Project: Eastern Light Training Institute
* Theme: Tech Academy & Modern EdTech (Deep Slate, Ice & Electric Blue)
==================================== */

/*=========== TABLE OF CONTENTS ===========
1.  General css (Reset code)
2.  Header-top
3.  Top-area (Navigation)
4.  Welcome-hero (Video Section)
5.  List-topics
6.  Works  
7.  Explore (Services)
8.  Reviews
9.  Counter
10. Blog (Cyber Services)
11. Subscribe
12. Footer
==========================================*/

/*-------------------------------------
		1. General css (Reset code)
--------------------------------------*/
*{
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

body{
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	color: #64748b; /* Slate Gray for modern readability */
    background-color: #ffffff;
    text-transform: initial;
    max-width: 1920px;
    margin: 0 auto;
	overflow-x: hidden;
}

a, a:hover, a:active, a:focus {
	display: inline-block;
	text-decoration: none;
	color: #0f172a; /* Deep charcoal/black */
	font-size: 16px;
	padding: 0;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.25s ease-in-out;
}

h1, h2, h3, h4, h5, h6 { 
	margin: 0;
	color: #0f172a;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: -0.02em;
}

h2 { font-size: 28px; }

p {
	margin: 0;
	color: #64748b;
	font-size: 15px;
    line-height: 1.7;
    text-transform: initial;
}

img { border: none; max-width: 100%; height: auto; }

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

ul li { list-style: none; }

select, input, textarea, button { box-shadow: none; outline: 0 !important; }

button { background: transparent; border: 0; font-size: 14px; cursor: pointer; }

html, body { height: 100%; scroll-behavior: smooth; }

[placeholder]:focus::-webkit-input-placeholder {
  transition: opacity 0.3s ease; 
  opacity: 0;
}

/* section-header */
.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #0f172a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.section-header p {
    font-size: 16px;
    color: #64748b;
    font-weight: 400;
}

.fix { position: relative; clear: both; }


.navbar-brand {
  padding: 0;
}

.navbar-logo {
  max-height: 50px;
  height: auto;
}


.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0 10px;
  max-width: 300px;      /* adjust to suit your navbar height */
}

.navbar-logo {
  max-height: 50px;      /* same as navbar height, or a bit smaller */
  height: auto;
  width: auto;
  margin-right: 10px;
}

.navbar-brand .brand-text {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* Optional: hide logo on small screens */
@media (max-width: 767.98px) {
  .navbar-logo {
    max-height: 40px;
  }
  .brand-text {
    font-size: 14px;
  }
}

/*-------------------------------------
        2. Header-top
--------------------------------------*/
.header-top {
    background-color: #0f172a; /* Premium Dark Background */
    border-bottom: 1px solid #1e293b;
    padding: 6px 0;
}

.header-top ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
}

.header-top ul li { display: inline-block; }

.header-top-left ul, .header-top-right ul {
    display: flex;
    align-items: center;
    padding: 0;
}

.select-opt, .header-top-contact {
    padding: 6px 16px;
    color: #94a3b8;
    font-size: 13px;
}

.header-top-contact {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.header-top-contact a {
    color: #94a3b8;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
}

.header-top-contact a:hover {
    color: #3b82f6; /* Modern Electric Blue */
}

.select-opt select {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.select-opt option {
    background-color: #0f172a;
    color: #94a3b8;
}

.select-opt a span.lnr-magnifier:before {
    font-size: 14px;
    color: #94a3b8;
}

/*-------------------------------------
        3. Top-area (Navigation)
--------------------------------------*/
/*-------------------------------------
    3. Top-area (Navigation) - Cleaned & Deduplicated
--------------------------------------*/
nav.navbar.bootsnav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.wrap-sticky nav.navbar.bootsnav.sticked {
    background-color: #ffffff;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

/* Navbar header (brand + toggle) */
.navbar-header {
    display: flex;
    align-items: bottom;
    justify-content: space-between;
    padding: 10px 10px;
}

.navbar-header a.navbar-brand {
    display: flex;
    align-items: bottom;
    color: #0f172a;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    letter-spacing: -0.5px;
    max-width: 300px;
}

.navbar-logo {
    max-height: 50px;
    height: auto;
    width: auto;
    margin-right: 10px;
}

.navbar-header .brand-text {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.navbar-header a.navbar-brand span {
    color: #3b82f6;
}

.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand {
    padding: 0;
}

/* Navigation links */
nav.navbar.bootsnav ul.nav > li > a {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 28px 18px;
    transition: color 0.25s ease;
}

nav.navbar.bootsnav ul.nav > li > a:hover,
nav.navbar.bootsnav ul.nav > li > a:focus,
nav.navbar.bootsnav ul.nav > li.active > a {
    color: #3b82f6;
    background: transparent;
}

.menu-ui-design {
    overflow: hidden;
}

/* Mobile Hamburger Toggle button */
nav.navbar.bootsnav .navbar-toggle {
    border: 1px solid #3b82f6;
    background: #eff6ff;
    border-radius: 6px;
    margin-top: 0;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

nav.navbar.bootsnav .navbar-toggle i {
    color: #3b82f6;
    font-size: 16px;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .navbar-logo {
        max-height: 40px;
    }
    .navbar-header .brand-text {
        font-size: 14px;
    }
}

/* Hide navbar on large screens, show only on small screens */
/* Hide hamburger toggle on large screens */
@media (min-width: 768px) {
  nav.navbar.bootsnav .navbar-toggle {
    display: none !important;
  }
}

/* Show hamburger toggle on small screens */
@media (max-width: 767.98px) {
  nav.navbar.bootsnav .navbar-toggle {
    display: inline-flex !important;
  }
}
/* Remove outline/border/circle on logo click/focus */
.navbar-header a.navbar-brand,
.navbar-header a.navbar-brand:focus,
.navbar-header a.navbar-brand:active,
.navbar-logo,
.navbar-logo:focus,
.navbar-logo:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
}
/* Keep header-top always visible */
/* Stick header-top to the top and keep it visible */
#header-top,
.header-top {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Add padding to body so content isn't hidden under the fixed header */
body {
  padding-top: 36px !important; /* adjust if your header height is different */
}

/* Also ensure the main navbar (top-area) starts below the fixed header */
.top-area {
  position: relative;
  z-index: 9998;
}
/* Stick the main navbar (top-area) to the top */
nav.navbar.bootsnav {
  position: fixed !important;
  top: 36px !important; /* place it right below the fixed header-top */
  left: 0 !important;
  width: 100% !important;
  z-index: 9998 !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
}

/* Ensure top-area container also respects sticky behavior */
.top-area {
  position: relative;
  z-index: 9998;
}

/* Total padding on body = header-top height + navbar height */
/* Adjust 36px (header-top) + 70px (navbar) = 106px */
body {
  padding-top: 106px !important;
}

/* Ensure navbar-header is inside the fixed navbar and aligned properly */
.navbar-header {
  position: static !important;
}
/*-------------------------------------
        4. Welcome-hero (Video Background)
--------------------------------------*/
.main-banner {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.welcome-hero-txt {
    text-align: left;
    max-width: 800px;
    padding-left: 15px;
}

.welcome-hero-txt h2 {
    font-size: 56px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-transform: none;
}

.welcome-hero-txt p {
    font-size: 20px;
    color: #cbd5e1;
    margin-top: 20px;
    font-weight: 300;
    max-width: 600px;
}

/*-------------------------------------
        5. List-topics
--------------------------------------*/
.list-topics { background-color: #f8fafc; }

.list-topics-content {
    position: relative;
    top: -60px;
    z-index: 10;
}

.list-topics-content ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.single-list-topics-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 210px;
    height: 180px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-list-topics-content h2 > a {
    margin: 12px 0 4px;
    font-size: 16px;
    color: #0f172a;
    font-weight: 600;
}

.single-list-topics-content p { color: #64748b; font-size: 13px; }

.single-list-topics-icon [class^="flaticon-"]:before {
    font-size: 40px;
    color: #3b82f6;
    transition: color 0.3s ease;
}

/* Modern Clean Hover State */
.single-list-topics-content:hover {
    background: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.single-list-topics-content:hover .single-list-topics-icon [class^="flaticon-"]:before {
    color: #ffffff;
}

.single-list-topics-content:hover h2 > a, 
.single-list-topics-content:hover p {
    color: #ffffff !important;
}

/*-------------------------------------
        6. Works (Who We Are)
--------------------------------------*/
.works { padding: 30px 0; background-color: #ffffff; }

.works-content { margin-top: 50px; }

.single-how-works {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.single-how-works-icon {
    display: inline-block;
    color: #3b82f6;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: #eff6ff;
    border-radius: 12px;
}

.single-how-works-icon [class^="flaticon-"]:before { font-size: 30px; color: #3b82f6; }

.single-how-works h2 a {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 24px 0 14px;
}

.single-how-works p { font-size: 14px; color: #64748b; }

.welcome-hero-btn.how-work-btn {
    display: inline-block;
    margin-top: 20px;
    width: 110px;
    height: 38px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: #3b82f6;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Smooth Hover Effects */
.single-how-works:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}
.single-how-works:hover .welcome-hero-btn.how-work-btn {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/*-------------------------------------
        7. Explore / Blog (Our Services & Packages)
--------------------------------------*/
.blog, .explore {
    padding: 50px 0;
    background: #f8fafc; /* Crisp, ultra-light layout background */
}

.explore-content { margin-top: 30px; }

.single-explore-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-explore-img { position: relative; overflow: hidden; }

.single-explore-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-explore-item:hover .single-explore-img img {
    transform: scale(1.05);
}

.single-explore-txt {
    padding: 30px;
}

.single-explore-txt h2 a {
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.4;
}

.single-explore-txt p {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

.single-explore-item:hover {
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

/* Helper dynamic styling tabs built inside your template templates */
.single-explore-img-info button {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/*-------------------------------------
        8. Reviews
--------------------------------------*/

.reviews {
  padding: 90px 0;
  background: #ffffff;
  overflow: hidden;  /* hide the overflow from scrolling */
}

.reviews-content {
  overflow-x: auto;          /* enable horizontal scroll */
  white-space: nowrap;       /* keeps boxes in a single line */
  padding: 10px 0;
  scroll-behavior: smooth;   /* smooth scrolling (optional) */
}

.testimonial-carousel {
  display: inline-flex;      /* keeps boxes in a horizontal row */
  gap: 20px;                 /* space between boxes */
  white-space: normal;  
animation: scroll-left 5s linear infinite;  /* reset so inner text wraps normally */
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%); /* roughly half the combined width */
  }
}

.single-testimonial-box {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
  flex: 0 0 320px;           /* fixed width per card */
}
.reviews { padding: 90px 0; background: #ffffff; }

.single-testimonial-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}

.testimonial-person h2 { font-size: 16px; font-weight: 600; color: #0f172a; }
.testimonial-person h4 { font-size: 13px; color: #64748b; margin-top: 4px; }
.testimonial-comment p { font-style: italic; color: #475569; font-size: 14px; }

/*-------------------------------------       
        9. Counter / Statistics Banner
--------------------------------------*/
.statistics {
    position: relative;
    padding: 100px 0;
    background-color: #0f172a; /* Tech Dark Gradient Fill instead of old image paths */
    background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 100%);
    overflow: hidden;
}

.single-ststistics-box { text-align: center; }

.statistics-content {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
}

.statistics-content span { color: #3b82f6; }

.single-ststistics-box h3 {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 1px;
}

/*-------------------------------------
        10. Cyber Services Grid Layout
--------------------------------------*/
.single-blog-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.single-blog-item-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.single-blog-item-txt { padding: 24px; }

.single-blog-item-txt h2 a {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.single-blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
}
.single-blog-item:hover h2 a { color: #3b82f6; }

/*-------------------------------------
        11. Subscribe / Enrollment
--------------------------------------*/
.subscription {
    background: #f1f5f9;
    padding: 100px 0;
}

.subscribe-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.subscribe-title p {
    color: #475569;
    font-size: 16px;
    margin-top: 12px;
}

.subscription-input-group {
    max-width: 550px;
    margin: 40px auto 0;
    position: relative;
    display: flex;
}

.subscription-input-group .subscription-input-form {
    width: 100%;
    height: 56px;
    padding: 0 180px 0 24px;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    transition: all 0.3s ease;
}

.subscription-input-group .subscription-input-form:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.appsLand-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    background: #3b82f6;
    width: 150px;
    height: 48px;
    line-height: 48px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.appsLand-btn:hover {
    background: #2563eb;
}

/*-------------------------------------
        12. Footer
--------------------------------------*/
footer.footer {
  background-color: #0f172a;
  padding: 40px 0 20px;
  color: #94a3b8;
}

.hm-footer-copyright {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

.footer-copy p a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-copy p a:hover {
  color: #3b82f6;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: #1e293b;
  color: #94a3b8;
  text-align: center;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-social a:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-phone {
  width: auto !important;
  padding: 0 12px;
  gap: 8px !important;
  font-size: 14px !important;
  color: #e2e8f0 !important;
}

.footer-phone i {
  font-size: 15px;
  line-height: 1;
}

.footer-phone span {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Return to top icon styling */
#scroll-Top .return-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    line-height: 42px;
    background: #3b82f6;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
#scroll-Top .return-to-top:hover {
    background: #2563eb;
}

/* for font  icons  */
.single-list-topics-icon i {
  font-size: 34px;
}
.single-list-topics-icon i {
  font-size: 34px;
  color: #2563eb;
}




/*for icons in the mission n,visions,*/
.single-how-works-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: #eff6ff;
}

.single-how-works-icon i {
  font-size: 40px;
  line-height: 1;
  display: block;
  color: #2563eb;
}
