
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fonts */
:root {
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --body-font-size: 16px; /* Default font size for body text */
  --heading-font-size: 32px; /* Default font size for headings */
  --subheading-font-size: 28px; /* Default font size for subheadings */
}

/* Global Colors */
:root { 
  --background-color: #ffffff; /* Background color for the entire website */
  --default-color: #333333; /* Default color for the text content */
  --heading-color: #000000; /* Color for headings */
  --accent-color: #b90606; /* Accent color for buttons, links, and other elements */
  --surface-color: #ffffff; /* Surface color for boxes or card elements */
  --contrast-color: #ffffff; /* Contrast color for readability */
}

/* Nav Menu Colors */
:root {
  --nav-color: #272828;  
  --nav-hover-color: #9e0909; 
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #272828; 
  --nav-dropdown-hover-color: #5fcf80; 
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* General Styling & Shared Classes */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin: 0;
  padding: 0;
}

/* Add box-sizing for consistent sizing calculations */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Images and videos scaling */
img, video {
  max-width: 100%;
  height: auto;
}

/* Responsive Typography */
html {
  font-size: 100%;
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 85%;
  }
}

/* Responsive containers */
.container {
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

/* Ensure navigation and layout adjust properly */
nav, header, footer {
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

/* Responsive media queries for smaller screens */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }

  body {
    padding: 0 10px;
  }
}

/* Global Navbar Styling */
/* Global Navbar Styling */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* Navigation Menu */
.navmenu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navmenu ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navmenu li {
  margin: 0 15px;
  position: relative;
}

.navmenu a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: #333;
  padding: 10px;
  transition: color 0.3s, background-color 0.3s;
}

.navmenu a:hover {
  color: #007bff; /* Change to your preferred hover color */
}

/* Dropdown Menu */
.navmenu li .dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  list-style: none;
  min-width: 200px;
  z-index: 999;
}

.navmenu li:hover .dropdown-menu {
  display: block; /* Show dropdown on hover for larger screens */
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  color: #333;
  padding: 10px 15px;
  display: block;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa; /* Light gray background on hover */
}

/* Mobile Navigation Menu */
.navmenu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 1000;
  flex-direction: column;
}

.navmenu.mobile-nav-active {
  left: 0; /* Slide the menu in */
}

.navmenu ul {
  flex-direction: column;
  align-items: flex-start;
}

.navmenu li {
  margin: 10px 0;
}

.navmenu a {
  padding: 10px 20px;
  width: 100%; /* Full-width links */
}

.mobile-nav-toggle {
  position: fixed;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  z-index: 1100;
  cursor: pointer;
  display: block;
}

body.overflow-hidden {
  overflow: hidden; /* Prevent scrolling when mobile nav is open */
}

/* Responsive Adjustments */
@media (min-width: 992px) {
  .navmenu {
    position: static; /* Remove fixed positioning */
    left: auto; /* Ensure it’s visible */
    width: auto; /* Reset width */
    height: auto; /* Reset height */
    flex-direction: row; /* Align items horizontally */
    box-shadow: none; /* Remove mobile-specific box shadow */
  }

  .navmenu ul {
    flex-direction: row;
  }

  .navmenu li {
    margin: 0 15px;
  }

  .navmenu a {
    padding: 10px 15px;
  }

  .mobile-nav-toggle {
    display: none; /* Hide toggle button on larger screens */
  }

  .dropdown-menu {
    display: none; /* Keep dropdown hidden initially */
  }

  .navmenu li:hover .dropdown-menu {
    display: block; /* Show dropdown on hover for larger screens */
  }
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.5); 
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1, .hero h2 {
  color: #fff; 
}

.hero p {
  color: #fff; 
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global navbar
--------------------------------------------------------------*/
/* Global Navbar Styling */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 20px; /* Extra padding for better spacing */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo img {
  width: 150px; /* Larger size for normal screens */
  height: auto; /* Maintain aspect ratio */
}

/* Navigation Menu */
.navmenu ul {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Align vertically */
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.navmenu li {
  margin: 0 15px;
  position: relative;
}

.navmenu a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: #333;
  padding: 10px;
  transition: color 0.3s, background-color 0.3s;
}

/* Hover and Active States */
.navmenu a:hover,
.navmenu .nav-link.active {
  color: #920c0c;
  font-weight: 600;
}

/* Dropdown Menu */
.navmenu .dropdown {
  position: relative;
}

.navmenu .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
  min-width: 220px;
  padding: 10px 0;
  animation: fadeIn 0.3s ease-in-out;
}

.navmenu .dropdown:hover .dropdown-menu {
  display: block;
}

.navmenu .dropdown-menu a {
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  display: block;
  transition: background-color 0.7s, color 0.7s;
}

.navmenu .dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #920c0c;
}

/* Get Started Button */
.btn-getstarted {
  background: #920c0c;
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-left: 20px;
}

.btn-getstarted:hover {
  color: black;
  background: #912525;
}

/* Mobile Styles */
/* Mobile Styles */
.mobile-nav-toggle {
  display: none; /* Hide by default */
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap; /* Stack items */
  }

  @media (max-width: 768px) {
    .navbar-logo img {
      width: 130px; /* Adjust size for smaller screens */
      height: auto;
    }
  }

  .navmenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(104, 104, 104, 0.527);
    backdrop-filter: blur(5px); /* Apply blur to background */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 9999;
  }

  .navmenu ul {
    flex-direction: column;
  }

  .navmenu li {
    margin: 15px 0;
  }

  .navmenu a {
    color: #000000;
    font-size: 18px;
    text-align: center;
  }

  .mobile-nav-toggle {
    display: block; /* Visible on smaller screens */
    font-size: 28px;
    cursor: pointer;
    color: #333;
  }

  .mobile-nav-active .navmenu {
    left: 0;
  }

  /* Apply blur effect to the background when the menu is active */
  .mobile-nav-active {
    position: relative;
  }

  .mobile-nav-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Apply blur */
    z-index: -1; /* Make sure it stays behind the menu */
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0; 
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  background: #333; /* Muted dark gray for elegance */
  color: #f1f1f1;
  padding: 30px 0; /* Reduced height */
  font-size: 14px;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700; /* Emphasized headings */
  margin-bottom: 15px;
  color: #ffffff;
}

.footer p {
  
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
  color: #dcdcdc;
}

.footer-about {
  margin-bottom: 20px;
}

/* Quick Links Styling */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #f1f1f1;
  text-decoration: none;
  font-size: 16px; /* Increased font size for better readability */
  font-weight: 600; /* Added emphasis */
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #f39c12; /* Accent color */
}

/* Newsletter Section */
.footer-newsletter p {
  color: #dcdcdc;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer .newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer .newsletter-form input {
  flex-grow: 1;
  padding: 10px 12px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
}

.footer .newsletter-form button {
  padding: 10px 20px;
  background: #f39c12;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer .newsletter-form button:hover {
  background: #d35400; /* Slightly darker orange */
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  color: #a5a5a5;
  border-top: 1px solid #444; /* Subtle separator */
  padding-top: 10px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
/* Page Title Section */
.page-title {
  background: linear-gradient(135deg, #808000, #808000); /* Elegant olive green gradient */
  color: #fff;
  padding: 25px 0; /* Reduced padding for a more compact look */
  position: relative;
  text-align: center;
}

.page-title .container {
  max-width: 900px; /* Limit width for better control */
}

.page-title h1 {
  font-size: 28px; /* Smaller font size for better space management */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px; /* Reduced margin */
}

.page-title p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 10px; /* Reduced bottom margin */
}

/* Breadcrumbs Section */
.page-title nav {
  display: flex;
  justify-content: center;
  padding: 5px 0;
  background: rgba(0, 0, 0, 0.2); /* Subtle overlay */
}

.page-title nav ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #fff; 
}

.page-title nav ol li {
  font-weight: 400;
}

.page-title nav ol li a {
  font-size: 15px;
  text-decoration: none;
  color: #ffd900; /* Bright gold accent */
  transition: color 0.3s ease;
}

.page-title nav ol li a:hover {
  color: #fff;
}

.page-title nav ol li+li {
  font-size: 15px;
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  font-size: 15px;
  content: "/";
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.5); /* Muted slash separator */
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    padding: 20px 0; /* Smaller padding on mobile */
  }

  .page-title h1 {
    font-size: 24px; /* Slightly smaller font on mobile */
  }

  .page-title p {
    font-size: 12px; /* Adjusted paragraph size for mobile */
  }

  .page-title nav ol {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 900px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--nav-font);
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1, .hero h2 {
  color: #fff; /* Solid white color for better contrast */
}

.hero p {
  color: #fff; /* Solid white color for better contrast */
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
  margin-top: 30px;
  border: 2px solid #fff; /* Solid white border */
  color: #fff; /* Solid white color */
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

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

  .hero p {
    font-size: 18px;
  }
}
/*--------------------------------------------------------------
# Index Section
--------------------------------------------------------------*/
/* General Styles */
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #141313;
  background-color: #f4f7fb; /* Light background for better contrast */
  margin: 0;
  padding: 0;
}

h2, h3 {
  color: #000000; /* Darker color for headings for better visibility */
  font-weight: 600;
}

/* Page Sections */
section {
  padding: 60px 0;
}

.light-background {
  background-color: #f9f9f9;
}

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

/* About Section */
.about ul {
  font-size: 100px;
  padding-left: 20px;
  list-style-type: disc;
}

.about p{
  font-size: 20px;
  color: #000000;
}

.about ul li {
  font-size: 18px; /* Increased font size for better readability */
  margin-bottom: 10px;
  color: #1b1a1a; /* Softer gray for text */
}

.about img {
  border-radius: 10px; /* Slightly larger border radius */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Enhanced shadow effect */
}

/* Vision and Mission Section */
.vision-mission h3 {
  font-size: 28px; /* Larger font size for better prominence */
  font-weight: 700;
  margin-bottom: 10px;
  color: #b90606; /* Red color for importance */
}

.vision-mission p {
  font-size: 18px; /* Increased font size for better readability */
  line-height: 1.7;
  color: #000000; /* Darker gray for readability */
}

/* Counts Section */
.counts .stats-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Darker shadow for depth */
}

.counts .purecounter {
  font-size: 48px; /* Larger font size for the counter */
  font-weight: bold;
  color: #b90606; /* Strong red to match the theme */
}

/* Why Choose Us Section */
.why-choose-us h2 {
  color: #4d4c4c;
}
.why-choose-us .box {
  padding: 35px;
  border-radius: 10px;
  background: #ecd77a;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.why-choose-us .box:hover {
  transform: translateY(-10px);
}

.why-choose-us .box h3 {
  font-size: 22px; /* Larger font size for emphasis */
  font-weight: bold;
  color: #1b1b1b;
}

.why-choose-us .box p {
  font-size: 18px; /* Larger font for better readability */
  color: #000000; /* Soft gray for supporting text */
}

/* Services Section */
.services h2{
  color: #4d4c4c;
}
.services .icon-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px; /* Slightly rounded corners */
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.services .icon-box:hover {
  transform: translateY(-10px);
}

.services .icon-box h4 {
  font-size: 22px; /* Slightly larger font for heading */
  font-weight: bold;
  color: #050505;
}

.services .icon-box p {
  font-size: 18px; /* Larger font for better legibility */
  color: #080808; /* Soft gray text */
}


/* Course Section */
.courses h2{
  color: #4d4c4c;
}
.courses .course-item {
  display: flex; /* Use flexbox to align items */
  flex-direction: column;
  margin-bottom: 35px;
  height: 100%; /* Ensure all boxes stretch to the same height */
}

.courses .course-item .course-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute space evenly */
  height: 100%;
}

.courses .course-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #020202;
  margin-bottom: 10px; /* Add margin for spacing */
}

.courses .course-item p {
  font-size: 18px;
  color: #000000;
  margin-bottom: 10px; /* Add margin for spacing */
}

.courses .course-item img {
  width: 100%; /* Make image take full width of the box */
  height: 200px; /* Set a fixed height */
  object-fit: cover; /* Maintain aspect ratio and crop if necessary */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ensure all course items are the same height */
.courses .course-item .course-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* ISO Implementation Section */
.iso-implementation {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.iso-implementation h2 {
  font-size: 32px;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
}

.iso-implementation .iso-box {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.iso-implementation .iso-box h3 {
  font-size: 26px;
  font-weight: 700;
  color: #b90606;
  margin-bottom: 15px;
}

.iso-implementation .iso-box p {
  font-size: 18px;
  color: #666;
}

/* Buttons */
.btn-learn-more {
  display: inline-block;
  background: #b90606; /* Strong red color for buttons */
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.btn-learn-more:hover {
  background: #333; /* Darker background on hover for contrast */
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Adjust font size for smaller screens */
  }

  .about, .vision-mission, .counts, .why-choose-us, .services, .courses, .iso-implementation {
    padding: 40px 20px;
  }

  .about ul li {
    font-size: 18px;
  }

  .vision-mission h3 {
    font-size: 24px;
  }

  .counts .stats-item {
    padding: 25px;
  }

  .services .icon-box {
    padding: 30px;
  }

  .courses .course-item img {
    height: 200px; /* Adjust image size for smaller screens */
  }
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us {
  padding: 80px 0; /* Increased padding for a more spacious feel */
}

.about-us .row {
  align-items: center;
}

.about-us .content {
  text-align: left;
}

.about-us h3.small-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #b90606; /* Brand color for headers */
}

.about-us p.small-paragraph {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
}

.about-us ul {
  padding-left: 0;
  list-style: none;
}

.about-us ul li {
  font-size: 18px;
  color: #050505;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-us ul li i {
  font-size: 18px;
  color: #04828b;
  margin-right: 8px;
}

.about-us .about-img {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Vision Section */
.vision {
  padding: 60px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.vision h2 {
  font-size: 32px;
  font-weight: bold;
  color: #b90606;
  margin-bottom: 20px;
}

.vision p {
  font-size: 18px;
  color: #000000;
  margin: 0 auto;
  max-width: 900px;
  line-height: 1.8;
}

/* History Section */
.history {
  padding: 60px 0;
}

.history h2 {
  font-size: 32px;
  font-weight: bold;
  color: #b90606;
  margin-bottom: 20px;
  text-align: center;
}

.history p {
  font-size: 18px;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.history-card {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  align-items: center; /* Center align content */
  background: #ecd77a;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensures all cards have the same height */
}

.history-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.history-card h4 {
  font-size: 20px; /* Slightly smaller font size for better readability */
  font-weight: bold;
  color: #222;
  margin-bottom: 15px; /* Increased space for better separation */
}

.history-card p {
  font-size: 18px; /* Consistent font size */
  color: #000000;
  line-height: 1.6;
  margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .history-card {
    margin-bottom: 20px;
    padding: 20px; /* Slightly smaller padding for smaller screens */
  }

  .history-card h4 {
    font-size: 18px; /* Smaller font size for better fit */
  }

  .history-card p {
    font-size: 14px; /* Maintain readability with adjusted font size */
  }
}

/*--------------------------------------------------------------
# training Section
--------------------------------------------------------------*/
body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
/* Courses Section */
.section-title h2 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.section-title p {
  font-size: 18px;
  text-align: center;
}

.course-category {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.course-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

.course-category h3 {
  font-size: 1.5em;
  margin-top: 15px;
}

.course-category p {
  font-size: 1em;
  flex-grow: 1;
}

.btn-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #839713;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.btn-link:hover {
  color: #000000;
  background-color: #d0f01e;
}
/*--------------------------------------------------------------
# cyberSecurity, supplyChain, HR, Project Management courses Section
--------------------------------------------------------------*/
/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #454d55, #dc3545);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-header p {
  font-size: 18px;
  margin: 0;
  color: #f8f9fa;
  opacity: 0.85;
}

/* Training Section */
.training-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.training-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  color: #212529;
  border-bottom: 4px solid #dc3545;
  display: inline-block;
  padding-bottom: 10px;
}

/* Course Cards */
.course {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 30px 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  text-align: left;
}

.course:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.course h3 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #343a40;
  transition: color 0.3s ease-in-out;
}

.course:hover h3 {
  color: #dc3545;
}

.course p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #000000;
  line-height: 1.8;
}

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

.course ul li {
  font-size: 1rem;
  color: #000000;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.course ul li strong {
  color: #212529;
  margin-right: 5px;
}

.course ul li::before {
  content: "✔";
  color: #dc3545;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .training-section {
    padding: 30px 15px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .course h3 {
    font-size: 1.5rem;
  }

  .course p {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  padding-top: 30;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  background-color: var(--background-color);
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# consultation Section
--------------------------------------------------------------*/
.consultation-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.consultation-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #dddddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  height: 100%;
}

.consultation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.consultation-icon {
  font-size: 3rem;
  color: #bd0b1a; /* Updated color for a more vibrant look */
  margin-bottom: 20px;
}

.consultation-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333333;
}

.consultation-card p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
  margin: 0;
}

.consultation-card:hover h3,
.consultation-card:hover p {
  color: #e71d1d; /* Accent color on hover */
}

/* Add padding between the rows for better spacing */
.consultation-details .row {
  row-gap: 20px;
}

/* Optional: Enhance mobile responsiveness */
@media (max-width: 768px) {
  .consultation-card {
    padding: 20px;
  }

  .consultation-icon {
    font-size: 2.5rem;
  }

  .consultation-card h3 {
    font-size: 1.4rem;
  }

  .consultation-card p {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# ISO, HRD,  Section
--------------------------------------------------------------*/
/* ISO Services Section */
.content-section {
  padding: 60px 20px;
  background: #f9fbfd;
  border-radius: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section h2 {
  text-align: center; /* Centers the title text horizontally */
  font-size: 2.5rem; /* Sets the font size */
  margin-bottom: 30px; /* Adds space below the title */
  font-weight: 700; /* Makes the title bold */
  color: #212529; /* Sets the text color */
  border-bottom: 4px solid #dc3545; /* Adds a red underline */
  display: inline-block; /* Keeps the border only under the text */
  padding-bottom: 10px; /* Adds space between the title and the border */
  width: auto; /* Ensures the width is just enough to fit the title */
  margin-left: auto; /* Centers the block */
  margin-right: auto; /* Centers the block */
}


.content-section .service {
  margin-bottom: 30px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section .service:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.content-section .service h3 {
  font-size: 1.8rem;
  color: #2e2424;
  margin-bottom: 10px;
}

.content-section .service p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.content-section ul {
  padding-left: 20px;
  margin-top: 20px;
  color: #444;
}

.content-section ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header h1 {
      font-size: 2.5rem;
  }

  .page-header p {
      font-size: 1rem;
  }

  .content-section h2 {
      font-size: 2rem;
  }

  .content-section .service h3 {
      font-size: 1.5rem;
  }
}

/*--------------------------------------------------------------
# cybersecurity Section
--------------------------------------------------------------*/
/* Cybersecurity Services Section */
#cybersecurity-services {
  padding: 60px 20px;
  background: #f9f9f9;
}

.section-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

/* Service List (Vertical Layout) */
.service-list {
  display: flex;
  flex-direction: column; /* Stacks boxes vertically */
  gap: 30px; /* Space between boxes */
}

.service-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 40px;
  color: #d11a2a;
  flex-shrink: 0;
}

.service-item h3 {
  font-size: 1.8rem;
  color: #266d18;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1.2rem;
  color: #0c0c0c;
  margin-bottom: 10px;
}

.service-item ul {
  list-style-type: none;
  padding-left: 0;
}

.service-item ul li {
  font-size: 1rem;
  color: #000000;
  margin-bottom: 8px;
}

.service-item ul li strong {
  color: #881822;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# Facilities Section
--------------------------------------------------------------*/
.facilities-section {
  padding: 40px 0;
}

.facility-category {
  margin-bottom: 50px;
}

.facility-category h2 {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 10px;
}

.facility-category p {
  font-size: 18px;
  color: #000000;
  margin-bottom: 30px;
}

/* Facility Card */
.facility-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.facility-card img {
  display: flex;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.facility-card p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .facility-card {
    margin-bottom: 20px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 14px;
  }
}


.training-logistics {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.training-logistics h2 {
  font-size: 28px;
  font-weight: bold;
  color: #030303;
  margin-bottom: 20px;
  text-align: center;
}

.training-logistics p {
  font-size: 18px;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
}

.logistics-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logistics-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.logistics-card h4 {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.logistics-card p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
}

.logistics-icon {
  font-size: 36px;
  color: #007bff;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logistics-card {
    margin-bottom: 20px;
  }

  .training-logistics h2 {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
  background-color: var(--background-color);
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.events .card-body p{
  font-size: 18px;
  color: #000000;
}
.events .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.events .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.events .card-body {
  z-index: 10;
  background: var(--surface-color);
  border-top: 4px solid var(--surface-color);
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.events .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.events .card-title a {
  color: #000000;
  transition: 0.3s;
}

.events .card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
  transform: scale(1.1);
}

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding-top: 8px;
  padding-bottom: 40px;
}

.contact .info-item + .info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: black; /* Ensure text is black */
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: black; /* Ensure text is black */
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: black; /* Input text is black */
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: black; /* Placeholder text is black */
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px 12px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.contact .loading,
.contact .error-message,
.contact .sent-message {
  font-size: 14px;
  color: black; /* Message text is black */
}

.contact .loading {
  display: none;
  font-weight: 700;
}

.contact .error-message {
  display: none;
  background: #fce4e4;
  color: #ff0000;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .sent-message {
  display: none;
  background: #e6f9e6;
  color: #28a745;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form input:valid,
.contact .php-email-form textarea:valid {
  border-color: var(--accent-color);
}



@media (max-width: 768px) {
    * {
        max-width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    * {
        max-width: 100%;
        padding: 0 5px;
    }
}
