/* =========================
   ROOT COLORS (Brand Theme)
========================= */
:root {
  --primary: #1F5A7A;
  --secondary: #2E8B57;
  --accent-blue: #3A7CA5;
  --accent-green: #6FCF97;

  --dark: #0F2F44;
  --text: #6B7280;

  --white: #FFFFFF;
  --light-bg: #F5F7FA;
  --border: #E5E7EB;
}


/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}


/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 600;
}

p {
  color: var(--text);
  font-size: 15px;
}

a {
  text-decoration: none;
  transition: 0.3s ease;
}


/* =========================
   NAVBAR
========================= */
.navbar {
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary);
}

.nav-link {
  color: var(--primary);
  margin: 0 10px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--secondary);
}


/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(
      135deg,
      rgba(31, 90, 122, 0.5),
      rgba(46, 139, 87, 0.5)
    );
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: #e0e0e0;
  margin-top: 10px;
}


/* =========================
   BUTTONS
========================= */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  background: var(--secondary);
  color: var(--light-bg);
}

.btn-secondary-custom {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  transition: 0.3s;
}

.btn-secondary-custom:hover {
  background: var(--accent-green);
}


/* =========================
   SECTION STYLING
========================= */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light-bg);
}


/* =========================
   CARDS
========================= */
.card-custom {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  transition: 0.3s;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}


/* =========================
   ICONS
========================= */
.icon {
  color: var(--secondary);
  font-size: 30px;
  margin-bottom: 10px;
}


/* =========================
   FOOTER
========================= */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
}

.footer a {
  color: #ccc;
}

.footer a:hover {
  color: var(--accent-green);
}


/* =========================
   UTILITIES
========================= */
.text-primary-custom {
  color: var(--primary);
}

.text-secondary-custom {
  color: var(--secondary);
}

.bg-primary-custom {
  background: var(--primary);
}

.bg-secondary-custom {
  background: var(--secondary);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 50px 0;
  }
}

/* ========================================================== */

/* TOP BAR */
.top-bar {
  background: var(--dark);
  padding: 6px 0;
  font-size: 13px;
}

.top-bar a {
  color: #ccc;
  margin-right: 15px;
}

.top-bar a:hover {
  color: var(--accent-green);
}

.social-links a {
  margin-left: 10px;
}


.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dropdown-item:hover {
  background: var(--light-bg);
  color: var(--secondary);
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
}

.hero-slide {
  height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

/* DARK OVERLAY */
.hero-slide .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31,90,122,0.5), rgba(46,139,87,0.5));
  top: 0;
  left: 0;
}

/* CONTENT */
.hero-content {
  position: relative;
  color: var(--white);
  max-width: 600px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero-content p {
  font-size: 16px;
  margin-top: 10px;
  color: #e0e0e0;
}

/* CONTROLS */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-slide {
    height: 60vh;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}



/* MARQUEE */
.marquee {
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-weight: 500;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeMove 25s linear infinite;
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.blink {
  animation: blinkSmooth 1.5s infinite;
}

@keyframes blinkSmooth {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}


/* ABOUT IMAGE DESIGN */
.about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: rotate(-2deg);
}

.about-img img {
  width: 100%;
  border-radius: 20px;
  transition: 0.4s;
}

/* SHADOW EFFECT */
.about-img::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: var(--accent-green);
  border-radius: 20px;
  z-index: -1;
}

/* HOVER EFFECT */
.about-img:hover img {
  transform: scale(1.05);
}


/* =========================
   PREMIUM COURSE UI
========================= */



.course-box {
  display: block;
  background: linear-gradient(145deg, #ffffff, #ffffff);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.35s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* SOFT GLOW EFFECT */
.course-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(41,98,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: 0.5s;
}

.course-box:hover::before {
  opacity: 1;
}

/* HOVER */
.course-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* TOP */
.course-box .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ICON */
.course-box .icon {
  width: 55px;
  height: 55px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(41,98,255,0.3);
  transition: 0.3s;
}

.course-box:hover .icon {
  transform: rotate(-5deg) scale(1.1);
}

/* TITLE */
.course-box h5 {
  margin: 16px 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
}

/* DESCRIPTION */
.course-box p {
  font-size: 13px;
  color: var(--text);
  min-height: 42px;
  line-height: 1.5;
}

/* BOTTOM */
.course-box .bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
}

/* SEATS */
.seats {
  color: #6b7280;
}

/* STATUS */
.status.open {
  color: #00C853;
  font-weight: 600;
}

.status.limited {
  color: #FF3D57;
  font-weight: 600;
}

/* TAG */
.tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* TAG COLORS WITH GRADIENT */
.tag.popular {
  background: linear-gradient(135deg, #2962FF, #0039CB);
}

.tag.trending {
  background: linear-gradient(135deg, #00C853, #009624);
}

.tag.new {
  background: linear-gradient(135deg, #FF6D00, #E65100);
}

/* MOBILE IMPROVEMENT */
@media (max-width: 576px) {
  .course-box {
    padding: 18px;
  }

  .course-box h5 {
    font-size: 15px;
  }
}

/* MODERN FEATURE SECTION */
.feature-modern .subtitle {
  color: var(--text);
  font-size: 15px;
}

/* CARD STYLE */
.feature-modern-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff, #F5F7FA);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: 0.3s;
  position: relative;
}

/* HIGHLIGHT CARD */
.feature-modern-card.highlight {
  border-left: 4px solid var(--secondary);
  background: linear-gradient(135deg, #ffffff, #f0fdf4);
}

/* HOVER EFFECT */
.feature-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ICON BOX */
.icon-box {
  min-width: 50px;
  height: 50px;
  background: var(--light-bg);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  transition: 0.3s;
}

/* ICON HOVER */
.feature-modern-card:hover .icon-box {
  background: var(--secondary);
  color: var(--white);
}

/* TEXT */
.feature-modern-card h5 {
  margin-bottom: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
  .feature-modern-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}


/* TIMELINE BASE */
.timeline-pro {
  position: relative;
  padding: 40px 0;
}

/* CENTER LINE */
.timeline-pro::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

/* ROW */
.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  position: relative;
}

/* LEFT / RIGHT */
.timeline-row.left {
  flex-direction: row;
}
.timeline-row.right {
  flex-direction: row-reverse;
}

/* CENTER DOT */
.timeline-dot {
  width: 42px;
  height: 42px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 4px solid var(--white);
}

/* CARD */
.timeline-card {
  width: 42%;
  background: var(--white);
  padding: 20px 22px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: 0.3s;
}

/* ALTERNATE BORDER */
.timeline-row.right .timeline-card {
  border-left: none;
  border-right: 4px solid var(--secondary);
}

/* HOVER */
.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TEXT */
.timeline-card h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

/* SUBTITLE */
.subtitle {
  color: var(--text);
  font-size: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
  .timeline-pro::before {
    left: 20px;
  }

  .timeline-row {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 50px;
  }

  .timeline-dot {
    left: 20px;
    transform: none;
  }

  .timeline-card {
    width: 100%;
    border-left: 4px solid var(--primary);
    border-right: none !important;
  }
}

/* FLEX LAYOUT */
.card-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ICON (PREMIUM STYLE) */
.step-icon {
  min-width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 18px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ICON HOVER */
.timeline-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

/* TEXT */
.card-text h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

/* OPTIONAL MICRO ANIMATION */
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* TESTIMONIAL */
.testimonial-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 10px 0;
}

.stars {
  color: #fbbf24;
}


/* ===== FAQ SECTION ===== */


/* ===== ACCORDION ITEM ===== */
.accordion-item {
  border: none;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== BUTTON ===== */
.accordion-button {
  font-weight: 600;
  font-size: 16px;
  padding: 18px 20px;
  background: #fff;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

/* Remove default Bootstrap arrow */
.accordion-button::after {
  content: "+";
  font-size: 20px;
  font-weight: bold;
  margin-left: auto;
  transition: 0.3s;
  background-image: none !important;
}

/* Remove left icon */
.accordion-button::before {
  display: none;
}



/* When Open */
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg,  #1F5A7A, #ffffff);
  color: #fff;
}

/* When Open */
.accordion-button:not(.collapsed)::after {
  content: "−";
  transform: rotate(180deg);
}

.accordion-button:not(.collapsed)::before {
  content: "−";
  transform: rotate(180deg);
}

/* ===== BODY ===== */
.accordion-body {
  background: var(--light-bg);
  padding: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* ===== SMOOTH COLLAPSE ===== */
.accordion-collapse {
  transition: all 0.4s ease;
}





.accordion-body {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* FORM */
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--primary);
}


.footer h5, .footer h6 {
  color: var(--white);
}

.footer p {
  color: #ccc;
  font-size: 14px;
}

.footer ul li {
  margin-bottom: 6px;
}

/* FLOATING BUTTON BASE */
.float-btn {
  position: fixed;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  cursor: pointer;
  transition: 0.3s;
}

/* WHATSAPP */
.whatsapp {
  bottom: 100px;
  background: #25D366;
}

/* CALL */
.call {
  bottom: 50px;
  background: var(--primary);
}


.student-wrapper {
  position: fixed;
  right: 60px;
  bottom: 2px;
  display: flex;
  align-items: center;
  z-index: 999;
}

.student {
    bottom: 2px;
  background: #6c63ff; /* or your theme color */
}


.student-label {
  background: #6c63ff;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  margin-right: 12px;
  white-space: nowrap;

  opacity: 0; /* FIXED */
  transform: translateX(20px) scale(0.9);
  transition: all 0.4s ease;
}

/* Show */
.student-label.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: waveIn 0.6s ease forwards;
}




@keyframes waveIn {
  0% {
    opacity: 0;
    transform: translateX(30px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateX(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Glow pulse */
.student-label.show {
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.6);
}
/* SCROLL */
.top-btn {
  bottom: 150px;
  background: var(--secondary);
  border: none;
}

/* HOVER */
.float-btn:hover {
  transform: scale(1.1);
}



/*=======================About page==============================*/

/* =========================
   ABOUT HERO
========================= */
.about-hero {
  padding: 100px 0;
  background: linear-gradient(to right, #f8fbff, #eef6f9);
}


.about-hero h1 {
  font-size: 42px;
  font-weight: 700;
}

.about-hero .lead {
  font-size: 18px;
  color: var(--dark);
}

.about-img {
  max-width: 90%;
  transition: 0.4s;
}

@media(max-width: 768px){
  .about-hero {  }
}

.about-img:hover {
  transform: scale(1.03);
}


/* =========================
   MILESTONES
========================= */
.milestones {
  background: var(--light-bg);
}

.milestone-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.milestone-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.milestone-card h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.milestone-card p {
  margin-top: 8px;
  font-size: 14px;
}


.vision-text {
  max-width: 700px;
  margin: auto;
  font-size: 17px;
  color: var(--dark);
}


.director-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}


/* =========================
   CTA SECTION
========================= */
.cta-section {
  padding: 80px 20px;
    background: linear-gradient(
      135deg,
      rgba(31, 90, 122, 0.7),
      rgba(46, 139, 87, 0.7)
    );

  color: var(--white);
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
}

.cta-section p {
  max-width: 600px;
  margin: auto;
  color: #e6f2f1;
}

.cta-buttons a {
  margin: 5px;
}

/* Button override for contrast */
.cta-section .btn-primary-custom {
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn-primary-custom:hover {
  background: var(--light-bg);
}

.cta-section .btn-secondary-custom {
  border: 1px solid var(--white);
}



/* ========================= GALLERY GRID ========================= */
.gallery-hero{
    background: linear-gradient(
      135deg,
      rgba(31, 90, 122, 0.7),
      rgba(46, 139, 87, 0.7)
    );
}
.gallery-grid {
  column-count: 4;
  column-gap: 15px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.3s ease;
}

/* Hover Effect */
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

/* Overlay effect */
.gallery-item::after {
  content: "View";
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap:15px;
}

.gallery-item{
  overflow:hidden;
  border-radius:12px;
  background:#eee;
  position:relative;
}

.gallery-item img{
  width:100%;
  height:200px;
  object-fit:cover;
  transition:0.4s;
  opacity:0;
}

.gallery-item img.loaded{
  opacity:1;
}

.gallery-item:hover img{
  transform:scale(1.05);
}

/* Hide extra images */
.hidden-img{
  display:none;
}

/* Load more button */
.load-more-btn{
  margin-top:15px;
  padding:8px 18px;
  border:none;
  background:#0d6efd;
  color:#fff;
  border-radius:6px;
  cursor:pointer;
}

/* ========================= LIGHTBOX ========================= */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15,47,68,0.95);
  text-align: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  margin-top: 40px;
  border-radius: 10px;
}

/* Close button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

/* Controls */
.controls span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 10px;
}

.prev { left: 20px; }
.next { right: 20px; }

/* ========================= RESPONSIVE ========================= */
@media(max-width: 992px){
  .gallery-grid { column-count: 3; }
}
@media(max-width: 768px){
  .gallery-grid { column-count: 2; }
}
@media(max-width: 480px){
  .gallery-grid { column-count: 1; }
}

/* EVENT TITLE */
.event-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #2e8b57;
  color: #0f2f44;
}

/* spacing between groups */
.event-block {
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}


/* BLOG CARD */
.blog-card img {
  border-radius: 10px;
  transition: 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card h5 a {
  color: var(--dark);
}

.blog-card h5 a:hover {
  color: var(--secondary);
}

/* INPUT STYLING */
.form-control {
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 10px;
}


/* ===== COMMON FIELD STYLE ===== */
.enquiry-form .form-field {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    background: #fff;
}

/* ===== FOCUS EFFECT ===== */
.enquiry-form .form-field:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 2px rgba(255,107,0,0.1);
}

/* ===== FIX SELECT LOOK ===== */
.enquiry-form select.form-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;

    cursor: pointer;
}

/* ===== TEXTAREA ===== */
.enquiry-form textarea.form-field {
    resize: none;
}

/* MEGA MENU DESKTOP */
.mega-menu {
  width: 700px;
  border-radius: 15px;
  border: none;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* CATEGORY TITLE */
.mega-title {
  font-weight: 700;
  font-size: 14px;
  color: #3742fa;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

/* ITEMS */
.mega-menu .dropdown-item {
  padding: 6px 0;
  font-size: 14px;
  color: #333;
}

/* HOVER */
.mega-menu .dropdown-item:hover {
  color: #3742fa;
  background: transparent;
  transform: translateX(5px);
}

/* MOBILE SCROLL FIX */
@media(max-width: 991px) {
  .mega-menu {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
  }
}

.mega-menu::-webkit-scrollbar {
  width: 5px;
}
.mega-menu::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* CENTER THE MEGA MENU */
.mega-dropdown {
  position: relative;
}

.mega-dropdown .mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
}

/* CONTROL WIDTH (PREVENT OVERFLOW) */
.mega-menu {
  width: 750px;
  max-width: 95vw; /* IMPORTANT */
}

.step-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-bottom: 3px solid #ddd;
}

.step.active {
  border-color: #ff6b00;
  font-weight: bold;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.popup-overlay{
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.6);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup-content{
    background:#fff;
    padding:25px;
    border-radius:12px;
    width:90%;
    max-width:400px;
    text-align:center;
    position:relative;
    animation:scaleIn 0.3s ease;
}

.close-btn{
    position:absolute;
    top:10px;
    right:15px;
    border:none;
    background:none;
    font-size:22px;
    cursor:pointer;
}

@keyframes scaleIn{
    from{transform:scale(0.7); opacity:0;}
    to{transform:scale(1); opacity:1;}
}