/**
* 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: #401314;
}

.clr-grey {
  color: #444444;
}

hr {
  border: none;
  height: 3px;
  /* Line thickness */
  background-color: red;
  /* Line color */
  margin: 10px 0;
  /* Space around the line */
}

/* Global Colors */
:root {
  --background-color: #000000;
  /* Deep dark blue-grey */
  --default-color: #ffffff;
  /* Light grey text */
  --heading-color: #ea5e60f2;
  /* Cyan neon for headings */
  --accent-color: #b33636;
  /* Muted cyan for accents */
  --surface-color: #1f2833;
  /* Dark blue-grey surface */
  --contrast-color: #ffffff;
  --nav-color: #c5c6c7;
  --nav-hover-color: #e32428;
  --nav-mobile-background-color: #1f2833;
  --nav-dropdown-background-color: #1f2833;
  --nav-dropdown-color: #c5c6c7;
  --nav-dropdown-hover-color: #e32428;
}

/* Fonts */
:root {
  --default-font: "Kumbh Sans", system-ui, -apple-system, sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Montserrat", sans-serif;
}

/* 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
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: #030305;
  font-family: var(--default-font);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Global Fluid Obsidian Atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(227, 36, 40, 0.08) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(48, 24, 227, 0.05) 0, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4) 0, #030305 100%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 80px 80px, 80px 80px, 150px 150px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--heading-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--contrast-color);
  text-decoration: none;
  opacity: 0.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* 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;
}

/* ========================================
   CLEAN CUSTOM CURSOR
======================================== */


.cursor-dot {
  width: 12px;
  height: 12px;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e32428;
  transition: all 0.2s ease;
}

/* Subtle outer ring */
.cursor-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 1px solid rgba(227, 36, 40, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}



/* Hover state */
.cursor-hover {
  width: 40px;
  height: 40px;
  background: rgba(227, 36, 40, 0.2);
  border: 2px solid #e32428;
}

.cursor-hover::before {
  width: 48px;
  height: 48px;
  border-color: rgba(227, 36, 40, 0.5);
}



/* Mobile - hide custom cursor */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor-dot {
    display: none;
  }
}

@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;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* Local section atmosphere blend */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(227, 36, 40, 0.03) 0, transparent 70%);
  z-index: 1;
}

/* Dotted Grid & Noise overlay */
/* .about::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgb(246, 246, 246) 1px, transparent 2px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 30px 30px, auto;
  opacity: 0.1;
  pointer-events: none;
  z-index: 2;
} */

/* Atmosphere blobs - optimized for global context */
.about-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.2;
}

.about-bg-elements .blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  mix-blend-mode: plus-lighter;
  animation: aurora-breathe 15s infinite alternate ease-in-out;
}

.blob-1 {
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, #e32428 0%, transparent 70%);
  top: -10%;
  left: -5%;
}

.blob-2 {
  width: 70vw;
  height: 70vh;
  background: radial-gradient(circle, #822829 0%, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation-delay: -7s;
}

.blob-3 {
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, #e32428 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -3s;
}

@keyframes aurora-breathe {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.15;
  }

  100% {
    transform: translate(50px, 30px) scale(1.1) rotate(15deg);
    opacity: 0.25;
  }
}

.about .container {
  position: relative;
  z-index: 10;
  animation: atmosphere-pulse 12s infinite alternate ease-in-out;
}

@keyframes atmosphere-pulse {
  0% {
    filter: contrast(1) brightness(0.95) drop-shadow(0 0 5px rgba(227, 36, 40, 0.05));
  }

  100% {
    filter: contrast(1.08) brightness(1.08) drop-shadow(0 0 20px rgba(227, 36, 40, 0.15));
  }
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

/* Dotted decoration */
.image-wrapper::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 480px;
  bottom: -50px;
  left: -40px;
  background-image: radial-gradient(rgb(255, 255, 255) 1px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.3;
  z-index: 0;
}

.image-wrapper2 {
  position: relative;
  display: inline-block;

}

/* Dotted decoration */
.image-wrapper2::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 460px;
  bottom: -50px;
  right: -40px;

  background-image: radial-gradient(rgb(255, 255, 255) 1px, transparent 2px);
  background-size: 12px 12px;

  opacity: 0.3;
  z-index: 0;
}


.rounded-image-card {
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  border-top-right-radius: 50px;
  overflow: hidden;
  position: relative;
  z-index: 2;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(227, 36, 40, 0.1);

  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}


.rounded-image-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: auto;
  left: auto;
  bottom: -30px;
  right: -30px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.881) 1px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.3;
  z-index: -1;
}

.rounded-image-card2 {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-left-radius: 50px;
  overflow: hidden;
  display: inline-block;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(227, 36, 40, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;

}

.rounded-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.rounded-image-card2 img {
  display: block;
  width: 100%;
  height: auto;
}

.about p {
  color: var(--default-color);
  margin-bottom: 20px;
  font-size: 1rem;
}

.about img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about .list-unstyled li {
  padding-bottom: 1px;
  display: flex;
  align-items: flex-start;
}

.about .list-unstyled li::before {
  content: "\f26b";
  /* Bootstrap Check Circle Fill */
  font-family: "bootstrap-icons";
  font-size: 1.5rem;
  color: #e6e1e1;
  font-weight: 500;
  margin-right: 10px;
  line-height: inherit;
  flex-shrink: 0;
}

.about .list-unstyled li:last-child {
  border-bottom: none;
}

.about .list-unstyled span {
  font-weight: 700;
}

.about .list-unstyled i {
  color: white;
  font-size: 1.2rem;
  margin-right: 10px;
}

.about .btn-danger {
  background-color: #822829;
  border-color: #822829;
  padding: 10px 25px;
  transition: 0.3s;
}

.about .btn-danger:hover {
  background-color: transparent;
  color: #db3538;
}

.about-3 {
  margin-top: 100px;
  padding-bottom: 80px;
  position: relative;
}

.about-3 .gradient-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.about-3 .description {
  font-size: 1.15rem;
  width: 70%;
  margin: 0 auto;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.about-3 .description span {
  display: block;
  margin-bottom: 15px;
}

.about-3 .description .p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  /* margin-top: 10px; */
  color: #ffffff;
  position: relative;
  display: inline-block;
  padding: 30px 35px;
  /* background: rgba(227, 36, 40, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(227, 36, 40, 0.1); */
  backdrop-filter: blur(10px);
}

/* Opening quote */
.about-3 .description .p::before {
  content: "“";
  font-size: 60px;
  color: #ff4d4d;
  position: absolute;
  left: 0;
  top: -20px;
  opacity: 0.6;
}

/* Closing quote */
.about-3 .description .p::after {
  content: "”";
  font-size: 60px;
  color: #ff4d4d;
  position: absolute;
  right: 0;
  bottom: -30px;
  opacity: 0.6;
}

.gradient-heading {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
  background: linear-gradient(70deg, #ffffff 10%, #dd1616d1 70%, #801919 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.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: #37090a;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/* ==============================
   MOBILE RESPONSIVE FIX
   ============================== */

@media (max-width: 768px) {
  .hero-main {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-small {
    font-size: 13px;
  }

  .hero-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-pro {
    padding: 100px 20px 60px;
    text-align: left;
  }

  /* Reduce big heading size */
  .gradient-heading {
    font-size: 22px !important;
    line-height: 1.3;
  }

  /* Stack columns properly */
  #about .row>div {
    width: 100%;
  }

  /* Reduce padding */
  #about {
    padding: 50px 15px;
  }

  /* Reduce paragraph font size */
  #about p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Make list cleaner */
  #about ul {
    font-size: 6px;
  }

  #about ul li {
    margin-bottom: 10px;
  }

  #about ul li span {
    font-weight: 500;
    display: block;
  }

  /* Images full width */
  .rounded-image-card img,
  .rounded-image-card2 img {
    width: 100%;
    height: auto;
  }

}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}


.course-card {
  position: relative;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: #030305;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.course-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(227, 36, 40, 0.4);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(227, 36, 40, 0.15);
}

.course-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 3, 5, 0.8) 0%, rgba(3, 3, 5, 0.2) 60%, transparent 100%);
  transition: all 0.5s ease;
  backdrop-filter: blur(1px);
}

.course-card:hover .course-overlay {
  background: linear-gradient(to top, rgba(3, 3, 5, 0.9) 10%, rgba(3, 3, 5, 0.1) 100%);
  backdrop-filter: blur(4px);
}

.course-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 5;
  transition: all 0.5s ease;
}

.course-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: -0.01em;
}

.course-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.course-card:hover .course-content p {
  opacity: 1;
  transform: translateY(0);
}

.course-btn {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
}

.course-btn:hover {
  background: #ffffff;
  color: #030305;
  border-color: #ffffff;
  transform: scale(1.05);
}

@media (max-width: 768px) {

  .services .row {
    row-gap: 25px;
  }

  .course-card {
    height: 360px;
    border-radius: 16px;
  }

  .course-content {
    padding: 25px;
  }

  .course-content h2 {
    font-size: 1.4rem;
  }

  .course-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

}


/* 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: #e32428;
    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: 20px 0;
    margin: 0;
    border-radius: 16px;

    /* Glass Effect */
    background: rgba(15, 15, 15, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    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: #e6e5e5;
  background-color: #000000;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  padding: 40px 0 10px 0;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(227, 36, 40, 0.05) 0, transparent 60%);
  pointer-events: none;
}

.footer .footer-top {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.footer .sitename {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
  text-transform: uppercase;
}

.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: #ffffff;
}

.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: #e32428;
}

.footer h4 {
  font-size: 18px;
  font-weight: 800;
  position: relative;
  padding-bottom: 20px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 30px;
  background: #e32428;
}

.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: 15px 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;
}

.footer .copyright a,
.footer .credits a {
  color: #e32428;
}

.footer .copyright a:hover,
.footer .credits a:hover {
  color: #ffffff;
}

/*--------------------------------------------------------------
# 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 SECTION ===== */

.hero-pro {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 10px;
  width: 90%;
}

.hero-content {
  max-width: 850px;
  color: white;
}

.hero-small {
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c7b4b4;
  font-weight: 500;
}

.hero-main {
  display: flex;
  flex-direction: column;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 2px;
  margin-top: 20px;
  font-family: 'Bebas Neue', sans-serif;
}

.hero-main .line-1 {
  font-size: 82px;
  color: #ffffff;
  letter-spacing: 3px;

}

.hero-main .line-2 {
  font-size: 89px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.76);
}

.hero-main .line-3 {
  font-size: 89px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.76);
}


.brand-red {
  font-size: 82px;
  color: #f71717;
}

.hero-small {
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: #e6e6e6;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 16px 28px;

  /* Glass effect */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff;
  font-weight: 700;
  border-radius: 10px;

  text-decoration: none;
  transition: all 0.3s ease;

  margin-left: 9px;

  /* subtle glow */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.4);

  transform: translateY(-4px);

  box-shadow: 0 10px 40px rgba(255, 0, 0, 0.25);
}

/* Outline button */
.hero-outline-btn {
  padding: 16px 38px;
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero-outline-btn:hover {
  background: white;
  color: black;
}

/* Responsive */

@media (max-width: 992px) {
  .hero-main .line-1 {
    font-size: 60px;
  }

  .hero-main .line-2 {
    font-size: 64px;
  }

  .brand-red {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .hero-main .line-1 {
    font-size: 45px;
  }

  .hero-main .line-2 {
    font-size: 48px;
  }

  .brand-red {
    font-size: 45px;
  }
}

@media (max-width: 576px) {
  .hero-main .line-1 {
    font-size: 36px;
  }

  .hero-main .line-2 {
    font-size: 40px;
  }

  .brand-red {
    font-size: 36px;
  }
}

/*--------------------------------------------------------------
# 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;
}

/* Fix for lint error in Services Section */
.course-content p {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* Standard property */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*----------------Testimonials Section-------*/
.testimonials {
  padding: 6px 0;
  position: relative;
  overflow: hidden;
}

.testimonials:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(227, 36, 40, 0.05) 0, transparent 60%);
  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;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  margin: 10px;
  transition: all 0.5s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.testimonials .testimonial-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(227, 36, 40, 0.3);
  transform: translateY(-10px);
}

.testimonials .testimonial-item .testimonial-img {
  width: 110px;
  border-radius: 50%;
  border: 4px solid rgba(227, 36, 40, 0.3);
  margin: 0 auto 20px auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.testimonials .testimonial-item h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 5px;
  color: #ffffff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 25px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 2px;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.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;
  color: var(--default-color);
}

.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 */
  }
}

/* Placement Cards Refinement */
.testimonial-item.swipe {
  background: white;
  backdrop-filter: none;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  box-shadow: none;
}

.test-img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.swiper-slide:hover .test-img {
  transform: scale(1.05);
}

.testimonial-item.swipe:hover {
  background: white;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}


/*--------------------------------------------------------------
# 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
======================================================= */
/* Intercom & Contact Panel */
.intercom {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #e32428;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(227, 36, 40, 0.3);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.intercom:hover {
  transform: scale(1.1) rotate(15deg);
  background: #ffffff;
}

.intercom:hover svg path {
  fill: #e32428;
}

.navPanel {
  position: fixed;
  bottom: -400px;
  right: -400px;
  width: 400px;
  height: 400px;
  background: rgba(3, 3, 5, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 999;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.navPanel.active {
  bottom: -150px;
  right: -150px;
}

.navPanel .link {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.navPanel .link:hover {
  transform: scale(1.1);
}

.navPanel .link figure {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.navPanel .link span {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navPanel .link1 {
  left: 160px;
  top: 40px;
}

.navPanel .link2 {
  left: 60px;
  top: 80px;
}

.navPanel .link3 {
  left: 30px;
  top: 180px;
}

.intercomCloseBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #ffffff;
  color: #e32428;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.intercomCloseBtn.active {
  opacity: 1;
  pointer-events: auto;
}

.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;
  }
}


/*   ============================================ */


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;
}


/*--------------------------------------------------------------
# Blog Section Styling (Removed - Moved to blog.css)
--------------------------------------------------------------*/

/* ===================================
   REFINEMENTS
   =================================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
.read-more:focus,
.testimonial-content.blog-content a:focus {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Image loading state */
.testimonial-image.blog-image img:not([src]),
article figure img:not([src]) {
  background: var(--gray-800);
}

/* Selection styling */
::selection {
  background: var(--red);
  color: var(--white);
}

@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;
  }
}


/* 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;
  }
}


/* ============================================================
   REVIEWS SPLIT SECTION
   ============================================================ */
.reviews-split-section {
  padding: 50px 80px;
  position: relative;
  overflow: hidden;
  background: #030305;
}

.reviews-split-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(227, 36, 40, 0.12) 0, transparent 55%),
    radial-gradient(ellipse at 90% 50%, rgba(130, 40, 41, 0.15) 0, transparent 55%);
  pointer-events: none;
}

.reviews-split-inner {
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: auto; */
  display: flex;
  align-items: center;
  gap: 60px;
}

.reviews-left-panel {
  flex: 0 0 320px;
  min-width: 0;
}

.reviews-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e32428;
  background: rgba(227, 36, 40, 0.1);
  border: 1px solid rgba(227, 36, 40, 0.25);
  border-radius: 30px;
  padding: 5px 16px;
  margin-bottom: 18px;
}

.reviews-main-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.reviews-accent {
  background: linear-gradient(90deg, #e32428, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reviews-sub {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 36px;
}

.reviews-stats {
  display: flex;
  gap: 28px;
}

.reviews-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reviews-right-panel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.reviews-swiper {
  width: 100%;
  padding-bottom: 44px !important;
}

/* ---- REVIEW CARD ---- */
.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 44px 42px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 120%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 36, 40, 0.3);
  box-shadow: 0 8px 32px rgba(227, 36, 40, 0.12);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(227, 36, 40, 0.4);
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.review-course {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 3px;
}

.review-stars i {
  color: #f5a623;
  font-size: 0.75rem;
}

.review-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.review-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 12px;
  margin-top: auto;
}

.review-google-badge i {
  color: #4285F4;
  font-size: 0.85rem;
}

/* Swiper pagination dots */
.reviews-swiper-pagination {
  bottom: 0 !important;
}

.reviews-swiper-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  width: 7px;
  height: 7px;
  transition: all 0.3s;
}

.reviews-swiper-pagination .swiper-pagination-bullet-active {
  background: #e32428;
  width: 22px;
  border-radius: 4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .reviews-split-inner {
    flex-direction: column;
    gap: 40px;
  }

  .reviews-left-panel {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .reviews-stats {
    justify-content: center;
  }

  .reviews-right-panel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .reviews-split-section {
    padding: 60px 0 60px;
  }

  .reviews-main-heading {
    font-size: 2rem;
  }
}

/* Button hover effect */
/* .existing-student-btn .btn:hover {
  background: #f0f0f0;
  transform: scale(1.05);
} */