/* Base Styles */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f97316;
  --secondary-dark: #ea580c;
  --dark: #1e293b;
  --dark-gray: #64748b;
  --medium-gray: #94a3b8;
  --light-gray: #e2e8f0;
  --lighter-gray: #f1f5f9;
  --white: #ffffff;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Open Sans", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 1.5rem);
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--dark-gray);
  /*max-width: 600px;*/
  margin: 0 auto;
  text-align: justify !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.primary-btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
}

.secondary-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #00000070;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 36px;
  transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
  height: 32px;
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
}

.nav-links > li > a {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 500;
  color: #ffffff;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #6ee9ff;
  transition: width 0.3s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #6ee9ff;
}

.dropdown {
  position: relative;
}

.dropdown-icon {
  font-size: 0.5rem;
  margin-left: 0.25rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0.5rem);
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
  transition: background-color 0.2s ease;
}

.dropdown-menu li:hover {
  background-color: var(--lighter-gray);
}

.dropdown-menu a {
  display: block;
  color: var(--dark);
  font-weight: 400;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.dropdown-menu li:hover a {
  color: var(--primary);
}

.nested {
  position: relative;
}

.nested > ul {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nested:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateX(0.5rem);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-btn {
    color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  /*padding: 0.5rem;*/
width: 2.5rem;
height: 2.5rem;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background-color: var(--dark-gray);
  /*backdrop-filter: blur(20px);*/
}

.search-btn img {
  width: 18px;
  height: 18px;
}

.cta-btn {
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--lighter-gray);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.search-bar input {
  border: none;
  background: none;
  width: 100%;
  padding: 0.5rem 0;
  outline: none;
  font-size: 0.875rem;
}

.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
}

.search-bar button img {
  width: 16px;
  height: 16px;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger img {
  width: 20px;
  height: 20px;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--dark-gray);
  transition: color 0.2s ease;
}

.close-sidebar:hover {
  color: var(--dark);
}

.sidebar-links {
  padding: 0.75rem 0;
}

.sidebar-links > li > a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.sidebar-links > li > a:hover {
  background-color: var(--lighter-gray);
  color: var(--primary);
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.accordion-btn:hover {
  background-color: var(--lighter-gray);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content ul {
  padding-left: 1rem;
}

.accordion-content li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--dark-gray);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.accordion-content li a:hover {
  color: var(--primary);
  background-color: var(--lighter-gray);
}

.nested-accordion .nested-btn {
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  font-weight: 400;
  color: var(--dark-gray);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.nested-accordion .nested-btn:hover {
  color: var(--primary);
}

.nested-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 0.75rem;
}

.nested-content ul li a {
  padding-left: 0.75rem;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-modal.open {
  opacity: 1;
  visibility: visible;
}

.search-container {
  background-color: var(--white);
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-modal.open .search-container {
  transform: translateY(0);
}

.search-container input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-container input:focus {
  border-color: var(--primary);
}

.close-search {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--dark-gray);
  transition: color 0.2s ease;
}

.close-search:hover {
  color: var(--dark);
}

.search-results {
  margin-top: 0.75rem;
  max-height: 250px;
  overflow-y: auto;
}

.search-results a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--dark);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
}

.search-results a:hover {
  background-color: var(--lighter-gray);
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
  background: #00000000;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/ai-education.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
}
@media(max-width: 768px){

    .parallax-bg{
        background-image: url("../images/ai-education2.png");
    }
}
.hero-content {
 max-width: 550px;
    color: var(--white);
    padding: 1rem;
    margin: 200px 0px auto;
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 3px 4px 4px rgb(0 0 0 / 41%);
    color: #d0e9ff;
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  margin-bottom: 2rem;
  text-shadow: 3px 0px 2px rgb(0 0 0 / 49%);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* About Section */
.about-section {
      padding: 4rem 0px 1rem 0;
  background-color: var(--white);
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--dark);
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.about-features {
  margin-top: 1.5rem;
}

.about-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.about-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Carousel Styles */
#cCarousel {
  position: relative;
  max-width: 100%;
  margin: auto;
  padding: 1.5rem 0;
}

#cCarousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: clamp(35px, 8vw, 40px);
  height: clamp(35px, 8vw, 40px);
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 1;
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: white;
  background: #00000072;
  cursor: pointer;
}

#cCarousel #prev {
  left: 0;
}

#cCarousel #next {
  right: 0;
}

#carousel-vp {
  width: min(100%, 960px);
  height: clamp(300px, 50vw, 340px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: auto;
}

#cCarousel #cCarousel-inner {
  display: flex;
  position: absolute;
  transition: 0.3s ease-in-out;
  gap: 8px;
  left: 0;
}

.cCarousel-item {
  width: clamp(180px, 45vw, 220px);
  height: clamp(280px, 50vw, 320px);
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
}

.cCarousel-item img {
  width: 100%;
  height: clamp(140px, 25vw, 160px);
  object-fit: cover;
}

.cCarousel-item .infos {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

.cCarousel-item .infos h3 {
  font-size: clamp(0.9375rem, 2.5vw, 1rem);
  margin-bottom: 0.5rem;
  color: #333;
}

.cCarousel-item .infos p {
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  font-size: clamp(0.75rem, 2vw, 0.8125rem);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.cCarousel-item .infos button {
  background: #558eae;
  padding: 8px 20px;
  border-radius: 12px;
  color: white;
  font-size: clamp(0.8125rem, 2vw, 0.875rem);
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.cCarousel-item .infos button:hover {
  background: rgb(39, 97, 138);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  #carousel-vp {
    width: min(100%, 480px);
  }
}

@media (max-width: 480px) {
  #carousel-vp {
    width: calc(2 * clamp(180px, 45vw, 200px) + 8px); /* Two cards + gap */
  }

  .cCarousel-item {
    width: clamp(160px, 45vw, 180px);
    height: clamp(260px, 50vw, 280px);
  }

  .cCarousel-item img {
    height: clamp(120px, 25vw, 140px);
  }

  #cCarousel {
    padding: 1rem 0;
  }

  #cCarousel .arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  #carousel-vp {
    width: calc(2 * 160px + 8px); /* Ensure two cards fit */
  }

  .cCarousel-item {
    width: 160px;
    height: 260px;
  }

  .cCarousel-item img {
    height: 120px;
  }
}
/* Courses Section */
.courses-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: .5rem ;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--light-gray);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.course-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.course-icon img {
  width: 24px;
  height: 24px;
}

.course-card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.course-card p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-weight: 500;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  transition: all 0.2s ease;
}

.course-link:hover {
  gap: 0.5rem;
}

/* Process Section */
.process-section {
  padding: 2rem 0;
  background-color: var(--white);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  height: 100%;
  width: 2px;
  background-color: var(--medium-gray);
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 1rem;
  position: relative;
}

.step-number {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  position: relative;
  z-index: 1;
}

.step-content {
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  flex: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.step-content p {
  color: var(--dark-gray);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.testimonials-carousel {
  position: relative;
  padding: 0 1.5rem;
}

.testimonial-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: clamp(300px, 90vw, 100%);
  scroll-snap-align: start;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
}

.student-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.student-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.student-info h4 {
  color: var(--dark);
  margin-bottom: 0.25rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.student-info p {
  color: var(--medium-gray);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.testimonial-text p {
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  font-style: italic;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.rating {
  color: var(--warning);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--light-gray);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots button.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
  padding: 2rem 0;
  background-color: var(--white);
}

.faq-accordion {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-weight: 500;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  transition: all 0.2s ease;
}

.faq-question:hover {
  background-color: var(--lighter-gray);
}

.faq-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 1rem 1rem;
  color: var(--dark-gray);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

/* Contact Section */
.contact-section {
     padding: 2rem 1rem;
  background-color: var(--white);
}

.contact-content {
  display: flex;
  gap: 2rem;
}

.contact-form {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.contact-column {
  flex: 1 1 260px;
  max-width: 360px;
}

.contact-column h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: 1rem;
  color: #222;
  border-bottom: 2px solid #0077cc;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-item img {
  width: 24px;
  height: 24px;
  margin-top: 3px;
}

.info-item h4 {
  margin: 0;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  color: #111;
}

.info-item p, .info-item a {
  margin: 0;
  color: #444;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  text-decoration: none;
}

.info-item a:hover {
  color: #0077cc;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  color: #333;
  background-color: #f1f1f1;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.social-links a:hover {
  background-color: #a3ccea;
  color: white;
}

.social-links img {
  width: 18px;
  height: 18px;
}

.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-modal-content {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  max-width: 360px;
  width: 90%;
}

.success-modal-content h2 {
  color: #28a745;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.success-modal-content p {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: #333;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  cursor: pointer;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.cta-button img {
  width: 18px;
  height: 18px;
}

/* Footer */
.main-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-about {
  color: var(--medium-gray);
  margin-bottom: 1rem;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social span {
  color: var(--medium-gray);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--medium-gray);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-col img {
  border-radius: 50%;
}

address p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--medium-gray);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-style: normal;
}

address img {
  width: 14px;
  height: 14px;
  margin-top: 0.25rem;
}

.newsletter {
  margin-top: 1.5rem;
}

.newsletter h5 {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  margin-bottom: 0.75rem;
  color: var(--white);
}

.newsletter input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.newsletter input::placeholder {
  color: var(--medium-gray);
}

.newsletter button {
  width: 100%;
  padding: 0.625rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--medium-gray);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.legal-links {
  display: flex;
  gap: 0.75rem;
}

.legal-links a {
  color: var(--medium-gray);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--white);
}

/* Form Styles */
.form-container {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  width: 100%;
  margin: 4rem 0;
  animation: fadeIn 0.6s ease-out;
}

.form-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  position: absolute;
  top: 0.625rem;
  left: 0.875rem;
  color: #666;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.875rem;
  border: 1px solid #dfdfdf;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  background: white;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not(:placeholder-shown) + label {
  top: -0.625rem;
  left: 0.5rem;
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  color: #007bff;
  background: white;
  padding: 0 0.25rem;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group select:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #dc3545;
  background: #fff5f5;
}

.error-message {
  color: #dc3545;
  font-size: clamp(0.75rem, 2vw, 0.8125rem);
  margin-top: 0.25rem;
  display: none;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown) ~ .error-message,
.form-group select:invalid:not(:focus):not(:placeholder-shown) ~ .error-message {
  display: block;
}

.submit-btn {
  grid-column: 1 / -1;
  padding: 0.625rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #0056b3;
}

.submit-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.success-message {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  display: none;
  text-align: center;
  padding: 0.25rem;
  background: #d4edda;
  color: #155724;
  border-radius: 5px;
  margin-top: 0.75rem;
  animation: slideIn 0.5s ease-out;
}

.success-message.show {
  display: block;
}

.error-container {
  grid-column: 1 / -1;
  background: #f8d7da;
  color: #721c24;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  display: none;
}

.error-container.show {
  display: block;
}

#custom-course-group {
  display: none;
}

#custom-course-group.show {
  display: block;
}

/* Modal Styles */
.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.success-modal.show {
  display: flex;
}

.success-modal-content {
  background: white;
  padding: 1.5rem 2.5rem;
  border-radius: 8px;
  text-align: center;
  max-width: 360px;
  width: 90%;
}

.success-modal-content h2 {
  margin: 0 0 0.75rem;
  color: #28a745;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
}

.success-modal-content p {
  margin: 0;
  color: #333;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .contact-content {
    flex-direction: column;
  }

  /*#carousel-vp {*/
  /*  max-width: 720px;*/
  /*}*/
}

@media (max-width: 768px) {
  .desktop-nav, .nav-actions {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    margin-top: 80px;
    min-height: 400px;
  }

  .hero-content {
    text-align: center;
  }
@media(max-width: 768px){
    .hero-content{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 80vh;
        min-width: 100vw;
                    margin: 0;
            align-items: center;
    }
    .hero-title{
        color: white;
    }
    .hero-subtitle{
        text-align: left;
    }
}
  .hero-actions {
    justify-content: center;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .process-steps::before {
    left: 1.75rem;
  }

  .step-number {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.125rem;
  }

  #carousel-vp {
    max-width: 480px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .section-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }

  .section-subtitle {
    font-size: clamp(0.8125rem, 3vw, 0.875rem);
  }

  .about-text h3 {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
  }

  .about-text p {
    font-size: clamp(0.8125rem, 2.5vw, 0.875rem);
  }

  .about-features {
    font-size: clamp(0.8125rem, 2.5vw, 0.875rem);
  }

  #cCarousel {
    padding: 1rem 0;
  }

  #carousel-vp {
    max-width: 300px;
  }

  .cCarousel-item {
    width: clamp(200px, 80vw, 220px);
    height: clamp(280px, 45vw, 300px);
  }

  .cCarousel-item img {
    height: clamp(140px, 25vw, 160px);
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 3vw, 1rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .primary-btn, .secondary-btn {
    width: 100%;
  }

  .process-steps::before {
    left: 1.5rem;
  }

  .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .cta-button {
    width: 45px;
    height: 45px;
    padding: 0;
    justify-content: center;
  }

  .cta-button span {
    display: none;
  }
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}