/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #3756a3;
  --primary-color-light: #6a80c7;
  --secondary-color: #e8262d;
  /* --accent-red: #e8262d; */
  --dark-blue: #1f3a8a;
  /* --light-purple: #9333ea; */
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #212121;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-blue) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color-light) 100%
  );
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  color: var(--text-dark);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* ===== PRELOADER ===== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 70px;
  height: 70px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
.preloader h2{
  color: white; 
  margin-top: 20px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== PROGRESS BAR ===== */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1001;
}

.progress-bar {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  width: 0%;
  transition: width 0.3s ease;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--gradient-primary);
  color: white;
  padding: 12px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-info {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-links-top a {
  color: white;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.social-links-top a:hover {
  transform: translateY(-2px);
}

.top-bar .login a {
  color: white;
  text-decoration: none;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.top-bar .login a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== NAVBAR ===== */
.navbar {
  background: white;
  box-shadow: var(--shadow-md);
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  /* backdrop-filter: blur(10px); */
  background: rgba(255, 255, 255, 0.98);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--primary-color);
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* ===== MEGA MENU ===== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 30px;
  min-width: 500px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1000;
  margin-top: 20px;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mega-menu-column h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.mega-menu-column ul {
  list-style: none;
}

.mega-menu-column ul li {
  margin-bottom: 10px;
}

.mega-menu-column ul li a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.3s ease;
  display: block;
  padding: 4px 0;
}

.mega-menu-column ul li a::after {
  display: none;
}

.mega-menu-column ul li a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-lg);
  padding: 100px 30px 30px;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 15px;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--primary-color);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 15px;
}

.mobile-submenu.active {
  max-height: 500px;
  margin-top: 10px;
}

.mobile-submenu h4 {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin: 10px 0 5px;
}

.mobile-submenu ul li {
  margin-bottom: 8px;
}

.mobile-submenu ul li a {
  font-size: 0.9rem;
  border: none;
  padding: 5px 0;
}

.dropdown-icon {
  float: right;
  transition: transform 0.3s ease;
}

.mobile-dropdown-trigger.active .dropdown-icon {
  transform: rotate(180deg);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-dark);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 10s linear;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    135deg,
    rgba(106, 13, 173, 0.85) 0%,
    rgba(33, 33, 33, 0.9) 100%
  ); */
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 40px;
}

.content h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 25px;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 3px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.content p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  font-weight: 300;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.2s;
}

.btn {
  display: inline-block;
  padding: 18px 45px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.4s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.slide.active .content h1,
.slide.active .content p,
.slide.active .btn {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(10px); */
  color: white;
  width: 55px;
  height: 55px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.arrow:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 30px;
}
.next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.dot.active {
  background: white;
  width: 35px;
  border-radius: 6px;
}

/* ===== SECTION COMMON STYLES ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
}

/* ===== IDENTITY SECTION ===== */
.identity-section {
  padding: 100px 5%;
  background: var(--bg-light);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px; margin: 0 auto;
}

.identity-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.identity-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.identity-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.identity-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.identity-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.values-list {
  list-style: none;
}

.values-list li {
  color: #666;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.values-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 100px 5%;
  background: white;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}
.course-card p{
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.course-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-image {
  transform: scale(1.1);
}

.course-content {
  padding: 30px;
}

.course-category {
  display: inline-block;
  padding: 6px 15px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.course-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.course-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-pricing {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.price-tag {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.price-note {
  font-size: 0.8rem;
  color: #888;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.course-duration {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-btn {
  padding: 10px 25px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.course-btn:hover {
  background: var(--dark-blue);
  transform: translateX(5px);
}

/* ===== REQUIREMENTS SECTION ===== */
.requirements-section {
  padding: 100px 5%;
  background: var(--bg-light);
}

.req-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.req-col {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.req-col h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.req-col h3 i {
  margin-right: 10px;
}

.req-list {
  list-style: none;
}

.req-list li {
  /* display: grid;  */
  /* grid-template-columns: 1fr 1fr;  */
  gap: 10px;
  color: #666;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.req-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 100px 5%;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-container h3{
  text-align:center; 
  margin-bottom:20px; 
  color: var(--primary-color); 
  font-size: 1.5rem;
}
.computer-packages{
  text-align:center; 
  margin:40px 0 20px; 
  color: var(--primary-color); 
  font-size: 1.5rem;
}
.faq-item {
  background: var(--bg-light);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.faq-question:hover {
  background: white;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
  margin: 0;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  font-weight: 300;
  line-height: 1;
  min-width: 30px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* FAQ section headers */
.faq-container > h3 {
  text-align: center;
  margin: 40px 0 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.faq-container > h3:first-of-type {
  margin-top: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 100px 5%;
  background: var(--bg-light);
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-form-container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.1);
}

.submit-btn {
  padding: 18px 40px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 13, 173, 0.3);
}

.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #c3e6cb;
  margin-top: 15px;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-info-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.contact-map {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-map iframe {
  width: 100%;
  height: 250px;
  border: none;
}
/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 5% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section p,
.footer-section ul {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #aaa;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
  font-size: 0.85rem;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--dark-blue);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .content h1 {
    font-size: 3.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .req-container {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    display: none;
  }

  .navbar-container {
    padding: 15px 5%;
  }
}

@media (max-width: 768px) {
  /* Top Bar */
  .top-bar {
    flex-direction: column;
    text-align: center;
    padding: 15px 5%;
    gap: 10px;
  }

  .contact-info {
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
  }

  .contact-info span {
    font-size: 0.8rem;
  }

  .social-links-top {
    gap: 10px !important;
  }

  /* Navigation */
  .navbar-container {
    padding: 15px 5%;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-image {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile Menu Improvements */
  .mobile-menu {
    width: 280px;
    padding: 80px 20px 20px;
  }

  .mobile-menu ul li a {
    font-size: 0.95rem;
    padding: 12px 0;
  }

  /* Hero Slider */
  .hero-slider {
    height: 70vh;
    min-height: 500px;
  }

  .content {
    padding: 20px;
  }

  .content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
  }

  .content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .btn {
    padding: 14px 30px;
    font-size: 0.85rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Slider Controls */
  .arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .prev {
    left: 10px;
  }
  .next {
    right: 10px;
  }

  .slider-dots {
    bottom: 20px;
  }

  /* Identity Section */
  .identity-section {
    padding: 60px 5%;
  }

  .identity-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* GD Intro Section */
  .gd-intro-section {
    padding: 60px 5%;
  }

  .gd-intro-content {
    padding: 25px;
  }

  .gd-intro-content p {
    font-size: 0.95rem;
    text-align: left;
  }

  /* Why Choose Section */
  .why-choose-section {
    padding: 60px 5%;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card {
    padding: 25px 20px;
  }

  .why-icon {
    font-size: 2.5rem;
  }

  .why-card h3 {
    font-size: 1.1rem;
  }

  /* Courses Section */
  .courses-section {
    padding: 60px 5%;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .course-pricing {
    padding: 12px;
  }

  .price-tag {
    font-size: 1.1rem;
  }

  /* Curriculum Section */
  .curriculum-section {
    padding: 60px 5%;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Requirements Section */
  .requirements-section {
    padding: 60px 5%;
  }

  .req-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .req-col {
    padding: 25px;
  }

  .req-list {
    grid-template-columns: 1fr !important;
  }

  /* FAQ Section */
  .faq-section {
    padding: 60px 5%;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  /* Contact Section */
  .contact-section {
    padding: 60px 5%;
  }

  .contact-wrapper {
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 25px;
  }

  /* Footer */
  .footer {
    padding: 40px 5% 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* WhatsApp Float */
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }

  .scroll-top {
    bottom: 85px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .top-bar {
    padding: 12px 3%;
  }

  .contact-info span {
    font-size: 0.75rem;
  }

  .navbar-container {
    padding: 12px 3%;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-image {
    width: 35px;
    height: 35px;
  }

  .mobile-menu {
    width: 100%;
    right: -100%;
  }

  .content h1 {
    font-size: 1.6rem;
  }

  .content p {
    font-size: 0.85rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .identity-card,
  .curriculum-card,
  .why-card {
    padding: 20px 15px;
  }

  .gd-intro-content {
    padding: 20px;
  }

  .gd-intro-content p {
    font-size: 0.9rem;
  }

  .contact-form-container {
    padding: 20px;
  }

  .req-col {
    padding: 20px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-question h3 {
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }

  .course-content {
    padding: 20px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }

  .scroll-top {
    bottom: 75px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Ensure text doesn't overflow */
  body {
    overflow-x: hidden;
  }

  .container,
  .navbar-container,
  .gd-intro-container,
  .contact-wrapper {
    overflow-x: hidden;
  }
}

@media (max-width: 360px) {
  /* Very small screens */
  .content h1 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .logo span {
    font-size: 0.9rem;
  }

  .course-pricing {
    padding: 10px;
  }

  .price-tag {
    font-size: 1rem;
  }
}

/* ===== CURRICULUM SECTION ===== */
.curriculum-section {
  padding: 100px 5%;
  background: var(--bg-light);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.curriculum-card {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  text-align: center;
}

.curriculum-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.curriculum-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.curriculum-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-weight: 700;
}

.curriculum-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===== GRAPHIC DESIGN INTRODUCTION SECTION ===== */
.gd-intro-section {
  padding: 80px 5%;
  background: white;
  border-top: 4px solid var(--primary-color);
}

.gd-intro-container {
  max-width: 1000px;
  margin: 0 auto;
}

.gd-intro-content {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.gd-intro-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  text-align: justify;
}

/* ===== WHY CHOOSE GIBS SECTION ===== */
.why-choose-section {
  padding: 100px 5%;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.why-choose-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.why-choose-section .section-header {
  position: relative;
  z-index: 1;
}

.why-choose-section .section-title {
  color: white;
}

.why-choose-section .section-title::after {
  background: linear-gradient(90deg, white, var(--accent-yellow));
}

.why-choose-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(10px); */
  padding: 35px 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.why-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: white;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gd-intro-content {
    padding: 25px;
  }

  .gd-intro-content p {
    font-size: 1rem;
    text-align: left;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal with scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children animations */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Add delays for stagger effect */
.stagger-item:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-item:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-item:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-item:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-item:nth-child(5) {
  transition-delay: 0.5s;
}
.stagger-item:nth-child(6) {
  transition-delay: 0.6s;
}
.stagger-item:nth-child(7) {
  transition-delay: 0.7s;
}
.stagger-item:nth-child(8) {
  transition-delay: 0.8s;
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.active {
  opacity: 1;
}

/* ===== CRITICAL MOBILE FIXES ===== */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Prevent text overflow */
.logo span,
.section-title,
.content h1,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Fix mobile menu width */
@media (max-width: 768px) {
  .mobile-menu {
    width: 280px !important;
    max-width: 85vw !important;
    padding: 80px 20px 30px !important;
  }

  .mobile-menu ul li a {
    font-size: 0.9rem !important;
    padding: 10px 0 !important;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Fix navbar spacing */
  .navbar-container {
    padding: 10px 3% !important;
  }

  /* Fix logo */
  .logo {
    font-size: 0.85rem !important;
    gap: 8px !important;
  }

  .logo-image {
    width: 32px !important;
    height: 32px !important;
  }

  .logo span {
    max-width: 150px;
    line-height: 1.2;
  }

  /* Fix top bar */
  .top-bar {
    padding: 10px 3% !important;
  }

  .contact-info {
    width: 100%;
  }

  .contact-info span {
    font-size: 0.7rem !important;
    text-align: center;
  }

  /* Fix hero content */
  .content {
    padding: 15px !important;
    max-width: 100%;
  }

  .content h1 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }

  .content p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  /* Fix section headers */
  .section-header {
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.6rem !important;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.85rem !important;
  }

  /* Fix GD intro text */
  .gd-intro-content p {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  /* Fix all grid items */
  .identity-card,
  .why-card,
  .curriculum-card,
  .course-card {
    padding: 15px !important;
  }

  .why-card h3,
  .curriculum-card h3 {
    font-size: 1rem !important;
  }

  .why-card p,
  .curriculum-card p {
    font-size: 0.85rem !important;
  }

  /* Fix buttons */
  .btn {
    padding: 10px 20px !important;
    font-size: 0.75rem !important;
  }

  /* Fix FAQ */
  .faq-question h3 {
    font-size: 0.9rem !important;
    line-height: 1.3;
    padding-right: 10px;
  }

  .faq-answer p {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 360px) {
  .content h1 {
    font-size: 1.3rem !important;
  }

  .section-title {
    font-size: 1.4rem !important;
  }

  .logo {
    font-size: 0.75rem !important;
  }

  .logo-image {
    width: 28px !important;
    height: 28px !important;
  }
}
/* ===== COMPLETE MOBILE RESPONSIVE OVERHAUL ===== */

/* Base Reset for Mobile */
@media (max-width: 768px) {
  * {
    box-sizing: border-box !important;
  }

  html {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
  }

  /* Top Bar Mobile */
  .top-bar {
    padding: 8px 3% !important;
    font-size: 0.7rem !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .contact-info {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 0.7rem !important;
  }

  .contact-info span {
    font-size: 0.7rem !important;
    white-space: nowrap;
  }

  .social-links-top {
    margin: 0 !important;
  }

  .social-links-top a {
    font-size: 0.9rem !important;
  }

  .top-bar .login {
    width: 100%;
    text-align: center;
  }

  .top-bar .login a {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
  }

  /* Navbar Mobile */
  .navbar {
    position: sticky !important;
    top: 0 !important;
  }

  .navbar-container {
    padding: 10px 3% !important;
    min-height: 60px;
    align-items: center !important;
  }

  .logo {
    font-size: 0.9rem !important;
    gap: 8px !important;
    white-space: nowrap;
  }

  .logo-image {
    width: 35px !important;
    height: 35px !important;
    flex-shrink: 0;
  }

  .logo span {
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
  }

  /* Mobile Menu */
  .mobile-menu {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 70px 20px 30px !important;
    right: -100% !important;
  }

  .mobile-menu.active {
    right: 0 !important;
  }

  .mobile-menu ul li a {
    font-size: 0.95rem !important;
    padding: 12px 0 !important;
  }

  .mobile-submenu h4 {
    font-size: 0.8rem !important;
  }

  .mobile-submenu ul li a {
    font-size: 0.85rem !important;
  }

  /* Hero Slider Mobile */
  .hero-slider {
    height: 60vh !important;
    min-height: 400px !important;
  }

  .content {
    padding: 20px 15px !important;
    max-width: 100% !important;
  }

  .content h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
    margin-bottom: 15px !important;
  }

  .content p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }

  .btn {
    padding: 12px 25px !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
  }

  .arrow {
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
  }

  .prev {
    left: 8px !important;
  }
  .next {
    right: 8px !important;
  }

  .slider-dots {
    bottom: 15px !important;
    gap: 8px !important;
  }

  .dot {
    width: 8px !important;
    height: 8px !important;
  }

  .dot.active {
    width: 25px !important;
  }

  /* All Sections Mobile */
  .identity-section,
  .gd-intro-section,
  .why-choose-section,
  .courses-section,
  .curriculum-section,
  .requirements-section,
  .faq-section,
  .contact-section {
    padding: 50px 4% !important;
  }

  .section-header {
    margin-bottom: 40px !important;
    padding: 0 !important;
  }

  .section-title {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  /* Identity Cards */
  .identity-grid {
    gap: 20px !important;
  }

  .identity-card {
    padding: 25px 20px !important;
  }

  .identity-icon {
    font-size: 2.5rem !important;
  }

  .identity-card h3 {
    font-size: 1.2rem !important;
  }

  .identity-card p {
    font-size: 0.9rem !important;
  }

  /* GD Intro */
  .gd-intro-content {
    padding: 20px !important;
  }

  .gd-intro-content p {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    text-align: left !important;
  }

  /* Why Choose */
  .why-choose-grid {
    gap: 20px !important;
  }

  .why-card {
    padding: 25px 20px !important;
  }

  .why-icon {
    font-size: 2.5rem !important;
  }

  .why-card h3 {
    font-size: 1.1rem !important;
  }

  .why-card p {
    font-size: 0.85rem !important;
  }

  /* Courses */
  .courses-grid {
    gap: 25px !important;
  }

  .course-card {
    margin-bottom: 0 !important;
  }

  .course-content {
    padding: 25px 20px !important;
  }

  .course-title {
    font-size: 1.2rem !important;
  }

  .course-desc {
    font-size: 0.85rem !important;
  }

  .course-pricing {
    padding: 12px !important;
  }

  .price-tag {
    font-size: 1rem !important;
  }

  .price-note {
    font-size: 0.75rem !important;
  }

  /* Curriculum */
  .curriculum-grid {
    gap: 20px !important;
  }

  .curriculum-card {
    padding: 25px 20px !important;
  }

  .curriculum-icon {
    font-size: 2.5rem !important;
  }

  .curriculum-card h3 {
    font-size: 1.1rem !important;
  }

  .curriculum-card p {
    font-size: 0.85rem !important;
  }

  /* Requirements */
  .req-container {
    gap: 20px !important;
  }

  .req-col {
    padding: 20px !important;
  }

  .req-col h3 {
    font-size: 1.1rem !important;
  }

  .req-list {
    grid-template-columns: 1fr !important;
  }

  .req-list li {
    font-size: 0.85rem !important;
  }

  /* FAQ */
  .faq-item {
    margin-bottom: 15px !important;
  }

  .faq-question {
    padding: 15px !important;
  }

  .faq-question h3 {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    padding-right: 10px !important;
  }

  .faq-icon {
    font-size: 1.3rem !important;
    min-width: 25px !important;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 20px !important;
  }

  .faq-answer p {
    font-size: 0.85rem !important;
  }

  /* Contact */
  .contact-wrapper {
    gap: 30px !important;
  }

  .contact-form-container {
    padding: 20px !important;
  }

  .form-group label {
    font-size: 0.85rem !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.9rem !important;
    padding: 10px 12px !important;
  }

  .submit-btn {
    padding: 14px 30px !important;
    font-size: 0.9rem !important;
  }

  .contact-info-card {
    padding: 20px !important;
  }

  .contact-info-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 20px !important;
  }

  .contact-info-card h3 {
    font-size: 1rem !important;
  }

  .contact-info-card p {
    font-size: 0.85rem !important;
  }

  /* Footer */
  .footer {
    padding: 40px 4% 20px !important;
  }

  .footer-content {
    gap: 25px !important;
  }

  .footer-section h3 {
    font-size: 1.2rem !important;
  }

  .footer-section p,
  .footer-section ul li {
    font-size: 0.85rem !important;
  }

  .footer-bottom p {
    font-size: 0.75rem !important;
  }

  /* Floating Buttons */
  .whatsapp-float {
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
    bottom: 15px !important;
    right: 15px !important;
  }

  .scroll-top {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
    bottom: 75px !important;
    right: 15px !important;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .content h1 {
    font-size: 1.5rem !important;
  }

  .section-title {
    font-size: 1.6rem !important;
  }

  .logo {
    font-size: 0.8rem !important;
  }

  .logo-image {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 360px) {
  .content h1 {
    font-size: 1.3rem !important;
  }

  .section-title {
    font-size: 1.4rem !important;
  }

  .logo span {
    font-size: 0.75rem !important;
  }
}
/* ===== ENHANCED STICKY NAVBAR - CRITICAL FIX ===== */

/* Ensure navbar stays sticky */
.navbar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  left: 0 !important;
}

/* Scrolled state enhancement */
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  /* backdrop-filter: blur(10px) !important; */
}

/* Ensure progress bar doesn't interfere */
.progress-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 4px !important;
  z-index: 1001 !important;
  pointer-events: none !important;
}

/* Mobile sticky fix */
@media (max-width: 768px) {
  .navbar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .navbar-container {
    min-height: 60px !important;
  }
}

/* REGISTRATION FORM STYLING */
/* ===== REGISTRATION FORM STYLES ===== */

.enroll-header {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 5% 100px; /* Extra padding bottom for overlap effect */
  text-align: center;
}

.enroll-header h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.enroll-container {
  max-width: 900px;
  margin: -60px auto 80px; /* Negative margin pulls it up into header */
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.form-section-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 10px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.input-group label span {
  color: var(--secondary-color); /* The Red Asterisk */
}

/* Form Fields Styling */
.input-group input,
.input-group select,
.input-group textarea {
  padding: 12px 15px;
  border: 2px solid #eef0f5;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  background: #fcfcfc;
  transition: all 0.3s ease;
  width: 100%;
  color: #333;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(55, 86, 163, 0.1);
  outline: none;
}

/* Custom File Upload Box */
.file-upload-box {
  border: 2px dashed #cbd5e1;
  padding: 25px;
  text-align: center;
  border-radius: 8px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.file-upload-box:hover {
  border-color: var(--primary-color);
  background: #f0f4ff;
}

.file-upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  font-size: 2rem;
  color: var(--primary-color-light);
  margin-bottom: 10px;
}

/* Terms Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  padding: 20px;
  background: #f1f5f9;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
}

.checkbox-group input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
}

/* Submit Button */
.submit-enroll-btn {
  width: 100%;
  padding: 18px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(55, 86, 163, 0.3);
}

.submit-enroll-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(55, 86, 163, 0.4);
}

/* Responsive Form */
@media (max-width: 768px) {
  .enroll-header {
    padding: 60px 5% 80px;
  }

  .enroll-header h1 {
    font-size: 2.5rem;
  }

  .enroll-container {
    width: 92%;
    padding: 25px;
    margin-top: -50px;
  }

  .form-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .input-group[style*="span 2"] {
    grid-column: span 1 !important;
  }
}

/* Login Page Styles */
.container {
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-image:
    linear-gradient(rgba(55, 86, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 86, 163, 0.05) 1px, transparent 1px); */
  background-size: 30px 30px;
}
.login-wrapper {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.login-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

/* Logo Area */
.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #f8f9fa;
  padding: 5px;
  border: 2px solid #eee;
}

.login-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.login-header p {
  color: #666;
  font-size: 0.95rem;
}

/* Form Styles */
.login-form .form-group {
  margin-bottom: 20px;
  position: relative;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  transition: color 0.3s ease;
}

.login-form input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  /* Space for icon */
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fcfcfc;
}

.login-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(55, 86, 163, 0.1);
  background: white;
}

.login-form input:focus + i {
  color: var(--primary-color);
}

/* Password Toggle */
.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  font-size: 0.9rem;
}

.toggle-password:hover {
  color: var(--primary-color);
}

/* Actions Row */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #555;
}

.remember-me input {
  accent-color: var(--primary-color);
}

.forgot-pass {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.forgot-pass:hover {
  color: #c01b22;
  text-decoration: underline;
}

/* Login Button */
.login-btn {
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(55, 86, 163, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(55, 86, 163, 0.4);
}

/* Footer */
.login-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

.login-footer a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* Home Link */
.back-home {
  position: absolute;
  top: 20px;
  left: 20px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.back-home:hover {
  transform: translateX(-5px);
}

/* Mobile Fixes */
@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
  }

  .login-header h2 {
    font-size: 1.8rem;
  }
}