/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
.clr-white{
  color: #ffffff !important;
}

.content-paragraph.clr-white * {
  color: white !important;
}

.clr-black{
  color: #050708;
}
.clr-red{
  color: #e32428;
}
.clr-grey{
  color: #444444;
}

hr {
  border: none;
  height: 3px; /* Line thickness */
  background-color: red; /* Line color */
  margin: 10px 0; /* Space around the line */
}

:root {
  --default-font: "Roboto",  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: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color:#050708;; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #e32428; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --clr-rd: #e32428;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #e5eaee;  /* The default color of the main navmenu links */
  /* --nav-hover-color: #e32428; Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #e32428; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #141414;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #00091077;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

.review-background {
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
}
/* 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);
}

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

a:hover {
  color: #ffffff;
  text-decoration: none;
}


h1,
h2,
h3,
h4,
h5,
h6{
  color: #ffffff;
  font-family: var(--heading-font);
}

/* text align */

.text{
  text-align: justify;
}

.img-fl {
  width: 100%;
  height: auto;
}
/* ============================== */

/* New Email Form Messages
------------------------------*/
.new-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.new-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.new-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.new-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: new-email-form-loading 1s linear infinite;
}

@keyframes new-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.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 Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 1px 0;  
  transition: all 0.1s;
  z-index: 997;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 150px;
  margin-left: -30px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color:#ffffff;
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid #ffffff;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: #e32428;
  border-color: #e32428;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  visibility: hidden;
}

.hide-on-large a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.hide-on-large a i {
  margin-right: 8px;
  font-size: 18px;
}

.hide-on-large a:hover {
  /* background-color: #e32428; Red hover effect */
  color: white;
}

.hide-on-large .active {
  color: white;
  border-radius: 5px;
}



/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  transform: translateY(-100%);
  visibility: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #e32428
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
.navmenu {
    position: fixed;
    top: 13px;
    right: 0;
    padding: 10px 20px;
    z-index: 9997;
}



  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: #ffffff;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: #e32428;
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 3px;
  font-size: 13px;
  line-height: 0;
  color: #e32428;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: #ffffff;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: #e32428;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: #050708;
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: #ffffff;
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: #ffffff;
  color: #050708;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: #e32428;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# 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: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #e32428;
  line-height: 0;
}

.scroll-top:hover {
  background-color: #050708;
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# 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 {
  background-image: url(../img/imatlogo-course.png);
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

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

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# 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: #ffffff;
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #e32428;
  margin: 4px 10px;
}

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

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}

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

@media (max-width: 768px) {
  .hero {
    min-height: 50vh; /* Set hero section to half the device height */
    padding: 40px 0; /* Adjust padding for smaller screens */
  }

  .hero h2 {
    font-size: 24px; /* Reduce heading font size for small devices */
  }

  .hero p {
    font-size: 16px; /* Reduce paragraph font size for small devices */
  }

  .hero .btn-get-started {
    font-size: 12px; /* Adjust button font size */
    padding: 8px 20px; /* Adjust button padding */
  }

  .hero .btn-watch-video {
    font-size: 14px; /* Adjust font size for the "watch video" button */
    margin-left: 15px; /* Reduce left margin */
  }

  .hero .btn-watch-video i {
    font-size: 24px; /* Adjust icon size */
  }
}


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

/* Optional: Add padding or margins if needed for small devices */
@media (max-width: 768px) {
  #hero img {
    object-fit: cover;
  }
  #hero .img-home {
    object-position: calc(85% - -50px) 0px;
  }
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}



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

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

#hero h2 {
  /* font-size: 4; Default size for desktops */
  font-weight: 700; /* Makes the text bold */
  line-height: 1.2; /* Adjust line spacing for better readability */
  text-align: center; /* Ensures it looks centered */
  color: #ffffff; /* Ensures visibility against dark background */
  margin: 20px 0; /* Adds space around the heading */
  text-transform: uppercase;

}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 2rem; /* Slightly smaller size for tablets and phones */
  }
}


@media (max-width: 480px) {
  #hero h2 {
    font-size: 2.1rem; /* Further reduce font size for very small screens */
  }
}

@media (max-width: 100px) {
  #hero h2 {
    font-size: 2.1rem; /* Further reduce font size for very small screens */
  }
}


.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}
/* #050708;black*/
.hero .btn-get-started {
  background: #e32428;
  color: #ffffff;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
}

.hero .btn-get-started:hover {
  background:  #050708;
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 400;
  color: #ffffff ;
}

.hero .btn-watch-video i {
  color: #ffffff;
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: #e32428;
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

  .hero p {
    font-size: 18px;
  }
}
/* Hero Section */
.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #ffffff;
  margin: 20px 0;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem; /* Slightly smaller size for tablets and phones */
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem; /* Further reduce font size for very small screens */
  }
}

@media (max-width: 100px) {
  .hero h1 {
    font-size: 2.1rem; /* Further reduce font size for very small screens */
  }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3,h1 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
  
  
}

.about .fst-italic {
  color: #ffffff;
}

.about .content ul {
  list-style: none;
  padding: 0;
  color: #ffffff;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
  
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #e32428;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 20px;
  overflow: hidden;
  width: 100%; /* Full width of the parent */
  aspect-ratio: 1 / 1; /* Ensures the height is equal to the width */
  position: relative;
  display: block;
}

.services .img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps the image proportionate without distortion */
  
  transition: 0.6s;
}

.services .details {
  background: #ffffff;
  padding: 20px;
  margin: -100px 10px 0 10px;
  margin-top: -10%;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
  height: 180px;
}
/* ========= */
/* Responsive Heights */
@media (max-width: 1200px) {
  .services .details {
    height: 140px; /* Slightly smaller for medium screens */
  }
}

@media (max-width: 992px) {
  .services .details {
    height: 170px; /* Smaller for tablets */
  }
}

@media (max-width: 770) {
  .services .details {
    height: 200px; /* Smaller for tablets */
  }
}

@media (max-width: 768px) {
  .services .details {
    height: auto; /* Flexible height for small screens */
    /* padding: 10px; Adjust padding for better fit */
    margin: -80px 20px 0 20px; /* Adjust margins */
  }
}


.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: #e32428;
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.services .details h3 {
  font-weight: 700;
  margin: 15px 0 10px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .details p {
  color: #000000;
  line-height: 20px;
  font-size: 14px;
  margin-bottom: 0;
  text-align: justify;
}

.services .service-item:hover .details h3 {
  color: #000000;
}

.services .service-item:hover .details .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services .service-item:hover .details .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .img img {
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.hidden {
  display: none;
}
.course-item {
  display: block;
}
@media (min-width: 768px) {
  .container, .container-md, .container-sm {
    max-width: 90%;
  }
}
@media (min-width: 540px) {
  .container, .container-md, .container-sm {
    max-width: 90%;
  }
}

@media (min-width: 990px) {
  .container, .container-md, .container-sm {
    max-width: 90%;
  }
}

.features .nav-tabs {
  display: flex; /* Align items in a row */
  justify-content: space-between; /* Add equal spacing between items */
  border: 0;
}

.features .nav-item {
  flex: 1; /* Ensure all items take equal width */
  text-align: center; /* Center-align the content */
}

.features .nav-link {
  background-color: var(--background-color);
  color: var(--nav-color);
  padding: 15px 10px; /* Adjust padding for better alignment */
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.features .nav-link i {
  padding-right: 10px; /* Reduce padding for a tighter layout */
  font-size: 32px; /* Adjust icon size for alignment */
}

.features .nav-link h4 {
  font-size: 16px; /* Reduce font size for better alignment */
  font-weight: 600;
  margin: 0;
  margin-left: 1x;
}

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

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

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 991px) {
  .features .nav-link i {
    font-size: 24px; /* Smaller icons on smaller screens */
    padding: 0;
    line-height: 1;
  }}

@media (max-width: 768px) {
  .features .nav-link i {
    font-size: 24px; /* Smaller icons on smaller screens */
    padding: 0;
    line-height: 1;
  }

  .features .nav-link h4 {
    font-size: 14px; /* Adjust text size for smaller screens */
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 10px; /* Reduce padding for smaller screens */
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--nav-color);
  font-weight: 700;
  font-size: 26px;
}
.features .tab-pane h4 {
  color: var(--nav-color);
  font-weight: 700;
  font-size: 20px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/* Disable image zooming for Portfolio Section */
#portfolio .portfolio-item img {
  transform: none !important; /* Disable any transformation */
  transition: none !important; /* Disable transition for smooth zooming */
}

img.img-flu {
  width: 100%;
  height: 350px; /* Set a fixed height */
  object-fit: cover; /* Ensures the image fills the container proportionally */
  object-position: center; /* Centers the image */
}
/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
  text-align: justify;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}


/* ------------------------------------------------- */

.p-3 {
  padding: 0.0rem !important;
}

.test-img {
  width: 275px;
  height: 275px;
  margin:auto;
  position: relative;
  z-index: 2;
}
.test-item {
  box-sizing: content-box;
  height: 230px;
  width: 200px;
  text-align: center;
}
.test-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.test-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
}

/* ------------------------------------------------ */


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/


.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

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

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

@media (max-width: 767px) {
  .testimonials .swiper-pagination {
    display: none; /* Hide the pagination */
  }
}
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
  
}

.heading-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; /* Horizontally centers the content */
  align-items: center; /* Vertically centers the content */
  z-index: 2; /* Ensures it stays above the image */
  background: rgba(0, 0, 0, 0.5); /* Optional: adds a semi-transparent background */
}

.heading-wrapper h5 {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 0;
}


.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  bottom: 50px; /* Distance from the bottom of the image */
  left: 50%; /* Horizontally centers the link */
  transform: translateX(-50%); /* Ensures exact centering */
  font-size: 16px;
  font-weight: 50;
  color: rgba(255, 255, 255, 0.8); /* White color with some transparency */
  transition: color 0.3s ease; /* Smooth color transition */
}


.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}
.portfolio-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Optional: Space content evenly */
  height: auto; /* Ensures full height */
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}


/* =================================================== */
/* course
======================================================= */
/* Styling for the .info-item */
.info-item {
  background-color: #000000; /* Black background */
  color: #ffffff; /* White text color */
  padding: 16px; /* Compact padding */
  border-radius: 8px;
  border: 1px solid #e32428; /* Red border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Consistent height */
  box-sizing: border-box; /* Include padding and borders in height calculation */
  width: 100%; /* Ensure it takes full available width */
}

/* Styling for the heading in .info-item */
.info-item h3 {
  margin-bottom: 8px; /* Reduced space below heading */
  text-align: center; /* Center the heading */
  font-size: 1.5rem; /* Default heading size */
  word-wrap: break-word; /* Handles long text */
}

/* Layout for course details (labels and content) */
.course-details {
  display: grid;
  grid-template-columns: auto auto; /* Dynamic width based on content */
  gap: 2px 6px; /* Reduced gap between rows and columns */
  font-size: 14px; /* Adjusted font size for better readability */
  align-items: center; /* Vertically center content within the grid */
  justify-items: start; /* Align items to the start (left) */
  width: 100%; /* Ensures it uses available space */
}

/* Label styling */
.course-details .label {
  font-weight: bold;
  text-align: right;
  color: #ffffff; /* Color for labels to match the border */
  margin-right: 8px; /* Adds some space between label and content */
}

/* Paragraph styling for course details */
.course-details p {
  margin: 0; /* Remove default margin */
  color: #ffffff; /* White text color */
  display: contents; /* Keeps text inline */
  word-wrap: break-word; /* Ensure long words break correctly */
}

/* Media Query for screen width between 767px and 600px */
@media (max-width: 767px) and (min-width: 600px) {
  /* Adjust the width of the .course-details grid */
  .course-details {
    width: 80%; /* Change the width to 80% when the screen size is between 600px and 767px */
    margin: 0 auto; /* Center the grid horizontally */
  }
}


/* ======== Testimonial section ====================== */

/* Form background image */
.custom-enquiry-form {
  background: url('your-image-path.jpg') no-repeat center center/cover; /* Replace with your image path */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Optional shadow for better contrast */
}

/* Input fields styling */
.custom-enquiry-form .custom-input,
.custom-enquiry-form .custom-textarea,
.custom-enquiry-form .custom-select {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  color: #fff; /* White text for better readability */
  border: 1px solid #555; /* Lighter border to match the theme */
  padding: 12px;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition */
}

/* Focus or "touch" effect */
.custom-enquiry-form .custom-input:focus,
.custom-enquiry-form .custom-textarea:focus,
.custom-enquiry-form .custom-select:focus {
  border-color: #e32428; /* Red border on focus */
  box-shadow: 0 0 5px #e32428; /* Red glow effect */
  outline: none; /* Remove default focus outline */
}

/* Placeholder text color */
.custom-enquiry-form .custom-input::placeholder,
.custom-enquiry-form .custom-textarea::placeholder {
  color: #fff; /* White placeholder text */
  opacity: 0.8; /* Slightly transparent for better readability */
}

/* Dropdown Styling */
.custom-enquiry-form .custom-select {
  background-color: #000; /* Black background for dropdown */
  color: #fff; /* White text for dropdown options */
  appearance: none; /* Consistent styling across browsers */
}

/* Button Styling */
.custom-enquiry-form .custom-button {
  background: rgba(0, 0, 0, 0.5); /* Matches form styling */
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out; /* Smooth transition */
}

/* Button hover effect */
.custom-enquiry-form .custom-button:hover {
  background-color: #e32428; /* Red color for the button on hover */
  color: #fff;
}

/* Error, loading, and sent message */
.custom-enquiry-form .loading,
.custom-enquiry-form .error-message,
.custom-enquiry-form .sent-message {
  color: #fff; /* White color for error/success messages */
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

/* Adjustments for small devices (for better form layout) */
@media (max-width: 768px) {
  .custom-enquiry-form {
      padding: 15px;
  }

  .custom-enquiry-form .custom-input,
  .custom-enquiry-form .custom-select,
  .custom-enquiry-form .custom-textarea {
      font-size: 14px;
      padding: 10px;
  }

  .custom-enquiry-form .custom-button {
      font-size: 14px;
      padding: 10px;
  }
}


/* ======================================================== */

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: #000000;
  /* box-shadow: 0px 0px 20px rgb(255, 255, 255);  */
  padding: 24px 0 30px 0;
  border-radius: 8px;  /* Small curve */
  border: 1px solid #e32428; 
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  color: #e5eaee;
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .new-email-form {
  background-color: #050708;
  /* background: linear-gradient(45deg, rgb(236, 90, 90), rgb(255, 255, 255)); */
  /* box-shadow: 0px 0px 20px rgb(255, 255, 255);    */
  height: 100%;
  padding: 30px;
  border-radius: 8px;  /* Small curve */
  border: 1px solid #e32428; 

}

@media (max-width: 575px) {
  .contact .new-email-form {
    padding: 20px;
  }
}

.contact .new-email-form input[type=email],
.contact .new-email-form input[type=text],
.contact .new-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: rgb(255, 255, 255);
  background-color: rgb(37, 35, 35);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

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

.contact .new-email-form input[type=text]::placeholder,
.contact .new-email-form input[type=email]::placeholder,
.contact .new-email-form textarea::placeholder {
  color: #ffffff;
}

.contact .new-email-form button[type=submit] {
  color: #000000;
  background: #e32428;
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .new-email-form button[type=submit]:hover {
  background: #ffffff;
}

.form {
  border-radius: 8px; /* Adjust this value to control the curve */
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
/* Portfolio Image Styling */
.portfolio-details .portfolio-details-slider img {
  width: 100%;
  height: 410px; /* Set a consistent height for the image */
  object-fit: cover; /* Ensures the image covers the space without distortion */
  object-position: center; /* Centers the image within its container */
  border-radius: 10px;
}

/* Pagination Styling */
.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* Portfolio Information Styling */
.portfolio-details .portfolio-info {
  background-color: #000000; /* Change to your desired background color */
  padding: 30px;
  box-shadow: 0px 0 10px rgb(211, 202, 202);
  border: 2px solid rgb(143, 140, 140); 
  border-radius: 8px;  /* Optional: Add rounded corners */
}

.move-left {
  text-align: left; /* Aligns text content to the left */
  margin-left: 0; /* Moves the div fully to the left */
}

.portfolio-details .portfolio-info h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #352525;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

/* Portfolio Description Styling */
.portfolio-details .portfolio-description {
  padding-top: 30px;
  text-align: center; /* Centers the title */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center; /* Center the title */
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  text-align: justify; /* Justify the description text */
}



/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
} */

/*Map Area*/

.map{
    position: relative;
}

.map-area {
  height: 550px;
  width: 100%;
}

.map-area iframe {
  height: 100%;
  width: 100%;
}

 /*--------------------------------------------------------------
  # Services Section Course
  --------------------------------------------------------------*/
  .services .service-item {
    text-align: center;
    padding: 20px;
    transition: all ease-in-out 0.3s;
    height: 100%;
  }
  
  .services .service-item .icon {
    background-color: var(--surface-color);
    color: var(--accent-color);
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
    font-size: 32px;
    transition: ease-in-out 0.3s;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
  }
  
  .services .service-item h3 {
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-size: 22px;
    transition: 0.3s;
    position: relative;
  }
  
  .services .service-item h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: calc(50% - 25px);
  }
  
  .services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .services .service-item:hover .icon {
    box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
  }
  
  .services .service-item:hover h3 {
    color: var(--accent-color);
  }
  
  /* Make the image round */
.rounded-image img {
  border-radius: 50%; /* Makes the image circular */
  width: 100px; /* Adjust size as needed */
  height: 100px; /* Maintain a square aspect ratio for a perfect circle */
  object-fit: cover; /* Ensures the image fits within the circle */
  display: block; /* Removes inline space issues */
  margin: 0 auto; /* Centers the image horizontally */
}

@media (max-width: 768px) {
  .d-f {
    display: block !important; /* Crop the image slightly to fit the container */
  }
  .f-w{
    flex-wrap : nowrap !important;
  }
}


/* Form Container Styling */
.custom-form-container {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form Label Styling */
.custom-form label {
  font-weight: bold;
  color: #495057;
}

/* Form Input and Textarea Styling */
.custom-form input[type="text"],
.custom-form input[type="file"],
.custom-form textarea {
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #ced4da;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 15px;
}

/* File Input Specific Styling */
.custom-form input[type="file"] {
  padding: 5px;
}

/* Button Styling */
.custom-form button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-form button:hover {
  background-color: #0056b3;
}

/* Header Styling */
.custom-form-container h1 {
  font-size: 24px;
  font-weight: bold;
  color: #343a40;
  text-align: center;
  margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .custom-form-container {
      padding: 20px;
  }
}


/*   ============================================ */

article {
  --img-scale: 1.001;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

article a::after {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  cursor: pointer;
  content: "";
}

/* basic article elements styling */
article h2 {
  margin: 0 0 18px 0;
  text-align: center;
  font-family: var(--heading-font);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--title-color);
  transition: color 0.3s ease-out;
}

figure {
  margin: 0;
  padding: 10px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 100%;
  height: 250px;
}

article img {
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
  border-radius: 10px;
}

.article-body {
  padding: 10px;
}

article a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #c44129;
}

article a:focus {
  outline: 1px dotted #28666e;
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #e42e2e;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}


/************************ 
Generic layout (demo looks)
**************************/

*,
*::before,
*::after {
  box-sizing: border-box;
}

.articles {
  display: grid;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

@media screen and (max-width: 960px) {
  article {
    container: card/inline-size;
  }
  .article-body p {
    /* display: none; */
    padding: 10px;
  }
}

@container card (min-width: 380px) {
  .article-wrapper {
    display: grid;
    grid-template-columns: 200px 2fr;
    gap: 66px;
  }
  .article-body {
    padding-left: 0;
  }
  figure {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  figure img {
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
}

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}
.read-more {
  display: flex; /* Flexbox for centering content */
  align-items: center; /* Vertically center the text and icon */
  justify-content: center; /* Horizontally center the link */
  text-align: center; /* Center text alignment for inline elements */
  gap: 5px; /* Space between the text and the icon */
  text-decoration: none; /* Remove underline from the link */
  color: #c44129; /* Set the text color */
  font-size: 16px; /* Adjust font size */
  font-weight: 500; /* Optional: Set font weight */
  padding: 10px 20px; /* Add padding around the link */
  /* border: 1px solid #ffffff; Optional: Add a border */
  border-radius: 5px; /* Rounded corners for the link */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.read-more:hover {
  color: rgb(177, 148, 148); /* Change text color on hover */
  background-color: #ffffff; /* Change background color on hover */
}

.read-more .icon {
  width: 16px; /* Adjust the size of the icon */
  height: 16px;
  transition: transform 0.3s ease; /* Add hover animation */
}

.read-more:hover .icon {
  transform: translateX(5px); /* Move the icon slightly to the right on hover */
}


     
/*--------------------------------------------------------------
# Blog Section Styling (for the blog carousel)
--------------------------------------------------------------*/
.testimonials.recent-blogs {
  padding: 80px 0;
  position: relative;
}

.testimonials.recent-blogs:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials.recent-blogs .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials.recent-blogs .container {
  position: relative;
  z-index: 3;
}

/* Adjusted styles for the blog carousel */
.testimonials.recent-blogs .swiper-wrapper {
  height: auto;
}

.testimonials.recent-blogs .swiper-slide {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
}

.testimonials.recent-blogs .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials.recent-blogs .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials.recent-blogs .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

/* Blog item style */
.testimonials.recent-blogs .testimonial-item.blog-item {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7); /* Adjust background for better contrast */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  height: 100%;
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-image {
  flex: 1; /* Takes up 50% of the space */
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire container */
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content {
  flex: 1; /* Takes up the other 50% of the space */
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* To align content at top and bottom */
  overflow: hidden;
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content a h4 {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: var(--default-color);
  display: inline-flex; /* Ensure the content aligns properly */
  justify-content: center; /* Centers the a tag horizontally */
  align-items: center;
  margin-top: 20px; /* Adds space between text and the link */
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content a h4 i {
  margin-left: 10px;
}

.testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content a:hover h4 {
  color: #fff;
  text-decoration: underline;
}

/* Responsive layout for small devices */
@media (max-width: 1100px) {
  .testimonials.recent-blogs .testimonial-item.blog-item {
    flex-direction: column;
    padding: 10px;
  }
  
  

  .testimonials.recent-blogs .testimonial-item.blog-item .testimonial-image {
    height: 50%; /* Adjust image height for mobile */
    width: 100%;
  }

  .testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content {
    height: 100px;
    text-align: center; /* Center the content for mobile view */
  }

  .testimonials.recent-blogs .testimonial-item.blog-item .testimonial-content a {
    text-align: center;
    display: block;
    margin-top: 20px; /* Ensures the link stays below the content */
  }
}

/* Hide button on larger screens */
.existing-student-btn {
  display: none;
}

@media (max-width: 1195px) {
  .existing-student-btn {
      display: none !important;
  }
}

@media (max-width: 1198px) { 
    /* Apply styles only for mobile view */
    .header .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .header .logo img {
        max-height: 100; /* Adjust size if needed */
        /* margin: 0 auto; */
        position: fixed;
        left: 58px;
        top: -30px;
        margin-left: -70px;
    }
}

/* Show and style the button on all screens up to 2000px */
@media (max-width: 2000px) {
    .existing-student-btn {
        display: flex;
        position: fixed;
        top: 56px; /* Default position */
        right: 51px;
        z-index: 1000;
    }
}

/* Adjust position for medium devices (768px - 1198px) */
@media (min-width: 200px) and (max-width: 1198px) {
    .existing-student-btn {
        top: 10px !important; /* Move button higher */
        right: 11px;

    }
}

/* Style the button */
.existing-student-btn .btn {
    background: white; /* White button */
    color: #333;
    padding: 5px 18px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
}

/* Adjust container width for larger devices */
@media (min-width: 1200px) {
    .container-xl {
        max-width: 1128px;
    }
}

@media (min-width: 1308px) {
  .container-xl {
      max-width: 1176px;
  }
}

@media (min-width: 1400px) {
.container-xl {
    max-width: 1171px;
}
}

@media (min-width: 1500px) {
  .container-xl {
      max-width: 1336px;
  }
  }
  @media (min-width: 1750px) {
    .container-xl {
        max-width: 1589px;
    }
    }
  
/* Button hover effect */
.existing-student-btn .btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}
