:root {

  /* ===== PRIMARY BRAND COLORS ===== */
  --primary: #ff4d2d;        /* Logo orange/red */
  --primary-dark: #e03e22;
  --primary-light: #ff7a5c;

  /* ===== SECONDARY COLORS ===== */
  --secondary: #6b3fa0;      /* Purple text */
  --secondary-light: #8e63c5;

  /* ===== ACCENT COLORS (from splash) ===== */
  --accent-blue: #2d9cdb;
  --accent-pink: #ff4fa3;
  --accent-teal: #1cc88a;
  --accent-yellow: #f6c23e;

  /* ===== BACKGROUND COLORS ===== */
  --bg-main: #f5efd6;        /* Cream background */
  --bg-light: #ffffff;
  --bg-dark: #1f2937;

  /* ===== TEXT COLORS ===== */
  --text-dark: #222222;
  --text-light: #6b7280;
  --text-white: #ffffff;

  /* ===== BORDER & SHADOW ===== */
  --border-color: #e5e7eb;
  --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
  --shadow-medium: 0 10px 30px rgba(0,0,0,0.12);

  /* ===== GRADIENTS ===== */
  --gradient-primary: linear-gradient(135deg, #ff4d2d, #ff7a5c);
  --gradient-secondary: linear-gradient(135deg, #6b3fa0, #8e63c5);
  --gradient-mix: linear-gradient(135deg, #ff4d2d, #2d9cdb, #ff4fa3);

}

body {
  font-family: 'Segoe UI', sans-serif;
  padding-top: 60px;
  background: #f8fafc;
  color: #1f2937;
  overflow-x: hidden;
}

/* NAVBAR  */
.navbar {
  background: var(--bg-light);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0 65px;
  height: 100px;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: 'Trebuchet MS', Arial, sans-serif;
}

/* NAV LINKS */
.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  color: #374151;
  margin: 0 10px;
}

/* BLUE HOVER EFFECT (underline animation) */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--gradient-secondary);
  transition: 0.3s ease;
  border-radius: 10px;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .dropdown-toggle {
  position: relative;
}

/* Apply underline explicitly */
.navbar-nav .dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--gradient-secondary);
  transition: 0.3s ease;
  border: none;
}

/* Hover effect */
.navbar-nav .dropdown-toggle:hover::after {
  width: 100%;
}

/* Optional: hover color */
.navbar-nav .dropdown-toggle:hover {
  color: var(--primary);
}

/* LOGO */
.navbar-logo {
  height: 100%;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* LOGIN BUTTON PREMIUM */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--text-white);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(59,130,246,0.3);
  transition: 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(29,78,216,0.4);
}

/* DROPDOWN */
.dropdown-menu {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* DROPDOWN ITEMS */
.dropdown-menu .dropdown-item {
  position: relative;
  padding: 10px 20px;
}

/* UNDERLINE */
.dropdown-menu .dropdown-item::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: var(--gradient-secondary);
  transition: 0.3s ease;
  border-radius: 10px;
}

/* FIXED COLOR */
.dropdown-menu .dropdown-item:hover {
  color: var(--primary); /* ✅ fixed */
  background-color: transparent;
}

.dropdown-menu .dropdown-item:hover::after {
  width: 70%;
}

/* Responsive Navbar Fix */
@media (max-width: 992px) {
  .navbar {
    padding: 10px 20px !important;
    height: auto;
  }

  .navbar-collapse {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-item {
    margin: 10px 0;
  }

  .btn-primary {
    width: 90%;
    margin-top: 10px;
  }

  .dropdown-menu {
    text-align: center;
    border: none;
    box-shadow: none;
    animation: fadeIn 0.3s ease;
  }

  .hero-content h1 {
    font-size: 36px;
  }
  
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FOOTER ===== */
.footer-section {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
  border-top: 4px solid;
  border-image: var(--gradient-mix) 1;
}

/* LOGO */
.footer-logo {
  height: 170px;
  /* margin-bottom: -30px;
  margin-top: -55px; */
  margin: 0 auto;
  display: block;
}

/* EXTRA LOGO (RIGHT SIDE) */
.footer-extra-logo {
  height: 200px;
  max-width: 100%;
  /* margin-top: -15px; */
}

/* TEXT */
.footer-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

/* HEADINGS */
.footer-box h5 {
  color: var( --text-dark);
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
}

/* small underline for heading */
.footer-box h5::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 6px;
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: 0.3s;
}

.footer-box:hover h5::after {
  width: 40px;
}


/* LINKS */
.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-box ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* SOCIAL ICONS */
.footer-social a {
  display: inline-block;
  margin-right: 20px;
  color: var(--text-light);
  font-size: 20px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* CONTACT */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact i {
  color: var(--primary);
  min-width: 20px;
}

/* LINKS INSIDE CONTACT */
.footer-contact a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent-teal);
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 14px;
  color: var(--text-light);
}

/* RRU HIGHLIGHT */
.rru-highlight {
  color: var(--primary);
  font-weight: 400;
  text-decoration: none;
  position: relative;
  font-family: cursive;
}

/* PRELOADER FULL SCREEN */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* LOGO WRAPPER */
.logo-loader {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ROTATING GRADIENT RING */
.logo-loader::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-mix);
  animation: spin 2s linear infinite;
  filter: blur(6px);
  opacity: 0.7;
}

/* INNER WHITE CIRCLE */
.logo-loader::after {
  content: "";
  position: absolute;
  width: 95px;
  height: 95px;
  background: var(--bg-light);
  border-radius: 50%;
  z-index: 1;
}

/* LOGO IMAGE */
.logo-loader img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

/* SPIN ANIMATION */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* FLOAT EFFECT (premium feel) */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* FADE OUT */
.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar-logo {
    height: 50px;
  }
  .footer-section {
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
  }

  .footer-social {
    margin-top: 10px;
  }

  .footer-logo {
    height: 90px;
    margin: 0;
  }

  .footer-extra-logo {
    height: 80px;
    margin-top: 15px;
  }

  .footer-box {
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-box h5::after {
    margin-left: auto;
    margin-right: auto;   /* ✅ centers underline */
  }

  .footer-box h5 {
    text-align: center;
  }

  .feature-box {
    margin-bottom: 20px;
  }

  .section-top {
    padding: 100px 0 50px;
  }

  .section-top-title h1 {
    font-size: 28px;
  }
  
  .login-box {
    padding: 25px;
  }

  .login-image {
    max-height: 250px;
  }

  .login-overlay {
    text-align: center;
    padding: 15px;
  }

  .register-box {
    padding: 20px;
  }

  .register-image {
    max-height: 300px;
  }

    .contact-box {
    padding: 20px;
  }

  .map-box iframe {
    min-height: 300px;
  }

  .team-content img {
    height: 240px;
  }

  .social-links {
    right: 15px;
  }

  .social-links {
    right: 10px;          /* always visible */
    top: 10px;
    flex-direction: row;  /* horizontal layout */
    background: rgba(255,255,255,0.9);
    padding: 6px 8px;
    border-radius: 30px;
    box-shadow: var(--shadow-light);
  }

  .our-team:hover .social-links {
    right: 10px; /* disable hover movement */
  }

  .single_c_img img {
    height: 180px;
  }

  .gallery_item img {
    height: 200px;
  }

  .video_item img {
    height: 200px;
  }

  .dashboard-card {
    padding: 20px;
  }

}



/* Tablet */
@media (max-width: 991px) {
  .footer-logo {
    height: 120px;
    margin: 0;
  }

  .footer-extra-logo {
    height: 120px;
    margin-top: 20px;
  }
}

/* Tablet (iPad Pro fix) */
@media (max-width: 1024px) {
  .footer-extra-logo {
    display: block;
    margin: 20px auto 0; /* center it */
    height: 120px;
  }
}


@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 28px;
  }
}

/* HERO SECTION */
.hero-section {
  background-image: url("/static/images/hero1.jpg");
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--text-white);
  position: relative;
}

/* overlay for readability */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}


/* CONTENT */
.hero-content h1{
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    position: relative;
    cursor: pointer;
    display: inline-block;
}


.hero-content h1:hover{
    animation: rainbowMove 2s linear infinite;
    -webkit-text-fill-color: transparent;
}


.hero-content h1 span,
.hero-content h1{
    background: linear-gradient(
        90deg,
        red,
        orange,
        yellow,
        green,
        cyan,
        blue,
        violet,
        red
    );
    background-size: 300%;
    background-position: -100%;
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;

    transition: 0.5s ease;
}

.hero-content p {
  margin-top: 15px;
  font-size: 16px;
  color: #e5e7eb;
}

/* IMAGE */
.hero-image {
  position: relative;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  transition: 0.5s ease;
  border-radius: 25px;
}

.hero-image:hover img{
    transform: scale(1.06);
}

.hero-image:hover .hero-badge{
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* BADGE */
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  text-align: center;
  transition: 0.4s ease;
}

.hero-badge i {
  font-size: 20px;
  color: var(--primary);
}

.hero-badge h2 {
  margin: 5px 0;
  font-weight: 700;
}

/* SECTION */
.features-section {
  padding: 80px 0;
  background-color: var(--bg-main);
  overflow: hidden;
}

/* TITLE */
.section-title h2 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.section-padding {
  padding: 80px 0;
}

.features-section .row {
  margin-left: 0;
  margin-right: 0;
}

.features-section .col-lg-3,
.features-section .col-md-6,
.features-section .col-12 {
  padding-left: 10px;
  padding-right: 10px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: auto;
}

/* FEATURE BOX */
.feature-box {
  background: var(--bg-light);
  padding: 25px 15px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-light);
  height: 100%;
  margin-top: 15px;
}

/* NUMBER */
.feature-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
  opacity: 0.2;
}

/* TITLE */
.feature-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* TEXT */
.feature-box p {
  font-size: 14px;
  color: var(--text-light);
}

/* HOVER EFFECT */
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

/* ABOUT SECTION */
.about-section {
  background: var(--bg-light);
}

/* IMAGE */
.about-image img {
  width: 100%;
  max-width: 500px;   /* ✅ control width */
  height: auto;       /* ✅ maintain ratio */
  max-height: 380px;  /* ✅ limit height */
  object-fit: cover;
  border-radius: 16px;
  transition: 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* CONTENT */
.about-content h2 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.about-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* LIST */
.about-content ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.about-content ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-dark);
}

.about-content ul li i {
  color: var(--primary);
  margin-right: 8px;
}

/* BUTTON */
.about-content .btn-primary {
  border-radius: 8px;
}

/* WHY SECTION */
.why-section {
  background: var(--bg-main);
  padding: 80px 0;
}

/* CONTENT */
.why-content h2 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.why-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* LIST */
.why-content ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.why-content ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-dark);
}

.why-content ul li i {
  color: var(--primary);
  margin-right: 8px;
}

/* IMAGE */
.why-image {
  position: relative;
}

.why-image img {
  max-width: 100%;
  border-radius: 16px;
  transition: 0.3s ease;
}

.why-image img:hover {
  transform: scale(1.03);
}

/* SECTION TOP */
.section-top {
  padding: 120px 0 60px;
  background: linear-gradient(
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.25)
    ),
    var(--gradient-mix);
  color: var(--text-white);
  text-align: center;
  position: relative;
}

/* TITLE */
.section-top-title h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

/* BREADCRUMB */
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 5px;
  font-size: 14px;
}

.breadcrumb li {
  color: #d1d5db;
}

.breadcrumb li a {
  color: var(--text-white);
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb li a:hover {
  color: var(--primary);
}

/* ACTIVE */
.breadcrumb .active {
  color: var(--primary);
  font-weight: 600;
}

/* LOGIN SECTION */
.login-section {
  background: var(--bg-main);
}

/* LOGIN BOX */
.login-box {
  background: var(--bg-light);
  box-shadow: var(--shadow-medium);
}

/* INPUT */
.login-box .form-control {
  border-radius: 8px;
  padding: 10px;
  border: 1px solid var(--border-color);
}

.login-box .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255,77,45,0.2);
}

/* BUTTON */
.login-box .btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
}

/* WRAPPER */
.login-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* IMAGE */
.login-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  transition: 0.4s ease;
}

/* HOVER ZOOM */
.login-image-wrapper:hover .login-image {
  transform: scale(1.05);
}

/* OVERLAY */
.login-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: var(--text-white);
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.login-overlay h4 {
  margin-bottom: 5px;
  font-weight: 600;
}

.login-overlay p {
  font-size: 14px;
}


/* REGISTER SECTION */
.register-section {
  background: var(--bg-main);
  padding: 60px 0;
}

/* REGISTER BOX */
.register-box {
  background: var(--bg-light);
  box-shadow: var(--shadow-medium);
  border-radius: 16px;
}

/* INPUT */
.register-box .form-control {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  transition: 0.3s ease;
}

/* FOCUS */
.register-box .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,77,45,0.15);
}

/* TEXTAREA */
.register-box textarea.form-control {
  min-height: 90px;
  resize: none;
}

/* BUTTON */
.register-box .btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
}

.register-box h5 {
  font-weight: 600;
}

/* IMAGE WRAPPER */
.register-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* IMAGE */
.register-image {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
  transition: 0.5s ease;
}

/* HOVER EFFECT */
.register-image-wrapper:hover .register-image {
  transform: scale(1.08);
}

/* OVERLAY */
.register-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  color: var(--text-white);
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}



/* ADDRESS SECTION */
.address_area {
  background: var(--bg-light);
}

.single_address {
  padding: 30px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  transition: 0.3s ease;
  height: 100%;
}

.single_address:hover {
  transform: translateY(-5px);
}

/* .single_address i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 10px;
} */

/* HEADING FIX */
.single_address h4 {
  margin-bottom: 10px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.single_address h4 i {
  font-size: 18px;
  color: var(--primary);
  display: inline-block;
}

.single_address p {
  margin: 0;
  font-size: 14px;
}

/* LINKS */
.single_address a {
  color: inherit;
  text-decoration: none;
}

.single_address a:hover {
  color: var(--primary);
}

/* CONTACT BOX */
.contact-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
}

/* FORM INPUTS */
.contact-box .form-control {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border-color);
  transition: 0.3s ease;
}

.contact-box .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,77,45,0.15);
}

/* LABEL */
.contact-box label {
  font-weight: 500;
  margin-bottom: 6px;
}

/* BUTTON */
.btn-contact {
  background: var(--gradient-primary);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* MAP */
.map-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 100%;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* TEAM SECTION */
.team_area {
  background: var(--bg-main);
}

/* SECTION TITLE */
.team_area .section-title h2 {
  font-weight: 700;
  margin-bottom: 10px;
}

.team_area .section-title p {
  max-width: 700px;
  margin: 15px auto;
  color: #666;
}

/* TEAM CARD */
.our-team {
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: 0.4s ease;
  position: relative;
}

.our-team:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.team-content img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.5s ease;
}

.our-team:hover img {
  transform: scale(1.05);
}

/* SOCIAL LINKS */
.social-links {
  position: absolute;
  top: 15px;
  right: -50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.4s ease;
}

.our-team:hover .social-links {
  right: 15px;
}

.social-links li {
  list-style: none;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #fff;
  color: var(--primary);
  border-radius: 50%;
  box-shadow: var(--shadow-light);
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
}

/* TEAM INFO */
.team-prof {
  padding: 20px;
  text-align: center;
}

.team-prof h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-prof span {
  font-size: 14px;
  color: #777;
}

/* STATS SECTION */
.sth_det2 {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #555;
}

.sth_det2 u {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

/* COURSE SECTION */
.home_course {
  background: var(--bg-main);
}

.home_course .section-title {
  margin-bottom: 50px;
}

/* CARD */
.single_course {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-medium);
  transition: 0.3s ease;
  height: 100%;
  text-align: center;
}

.single_course:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.single_c_img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* TITLE */
.single_course h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* DETAILS */
.single_course p {
  font-size: 14px;
  margin-bottom: 5px;
  color: #666;
}

/* PRICE */
.price {
  margin: 10px 0;
  font-weight: 600;
  color: var(--primary);
}

/* BUTTON */
.btn-course {
  display: inline-block;
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-course:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  color: #fff;
}

/* GALLERY SECTION */
.gallery_area {
  background: var(--bg-main);
}

.gallery_area .section-title {
  margin-bottom: 50px;
}

/* ITEM */
.gallery_item {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  cursor: pointer;
}

/* IMAGE */
.gallery_item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.3s ease;
}

/* HOVER ZOOM */
.gallery_item:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.gallery_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  opacity: 0;
  transition: 0.3s ease;
}

/* SHOW OVERLAY */
.gallery_item:hover .gallery_overlay {
  opacity: 1;
}

/* TEXT */
.gallery_overlay h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* VIDEO SECTION */
.video_gallery {
  background: var(--bg-main);
}

.video_gallery .section-title {
  margin-bottom: 50px;
}

/* CARD */
.video_item {
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  text-align: center;
  background: var(--bg-light);
}

/* IMAGE */
.video_item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: 0.4s;
}

/* HOVER ZOOM */
.video_item:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.video_overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: 0.3s;
}

/* HOVER EFFECT */
.video_item:hover .video_overlay {
  background: var(--primary);
}

/* TITLE */
.video_item h5 {
  margin-top: 10px;
  font-weight: 600;
}

/* SECTION */
.course_register {
  background: var(--bg-main);
}

/* BOX */
.register-box {
  background: #fff;
  box-shadow: var(--shadow-medium);
}

/* INPUT */
.register-box .form-control {
  border-radius: 8px;
  padding: 10px;
  border: 1px solid var(--border-color);
}

/* FOCUS */
.register-box .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255,77,45,0.2);
}

/* BUTTON */
.register-box .btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
}

/* TEXT */
.register-box p {
  font-size: 14px;
  color: #666;
}

/* IMAGE WRAPPER */
.register-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* IMAGE */
.register-image {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  transition: 0.4s ease;
}

/* HOVER ZOOM */
.register-image-wrapper:hover .register-image {
  transform: scale(1.05);
}

/* OVERLAY */
.register-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.register-overlay h4 {
  margin-bottom: 5px;
  font-weight: 600;
}

.register-overlay p {
  font-size: 14px;
}

/* DASHBOARD */
.student_dashboard {
  background: var(--bg-light);
}

/* CARD */
.dashboard-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
}


/* STATS */
.dashboard-stat {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

.dashboard-stat h5 {
  font-size: 14px;
  color: #666;
}

.dashboard-stat h3 {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

/* COURSE LIST */
.course-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.course-item:last-child {
  border-bottom: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    right: 20px;
    top: 50%;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    line-height: 55px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.1);
    color: #fff;
}

/* Mobile Adjust */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
        line-height: 50px;
        right: 15px;
        bottom: 15px;
    }
}

.dashboard-stat {
  transition: all 0.3s ease;
  border: 1px solid #eee;
  cursor: pointer;
}

.dashboard-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.dashboard-card {
  transition: all 0.3s ease;
  border: 1px solid #eee;
  cursor: pointer;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.owner-section {
  background: #fff;
  overflow-x: hidden;
}

.owner-content h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.owner-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.owner-signature {
  margin-top: 25px;
}

.owner-signature h5 {
  margin: 0;
  font-weight: 600;
}

.owner-signature small {
  color: #888;
}

/* IMAGE STYLE */
.owner-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.owner-image img:hover {
  transform: scale(1.03);
}

/* 5 column layout */
.col-lg-2-4 {
  width: 20%;
}

@media (max-width: 992px) {
  .col-lg-2-4 {
    width: 25%; /* 4 per row */
  }
}

@media (max-width: 768px) {
  .col-lg-2-4 {
    width: 33.33%; /* 3 per row */
  }
}

@media (max-width: 576px) {
  .col-lg-2-4 {
    width: 50%; /* 2 per row */
  }
}

.gallery-preview-img {
  max-height: 80vh;   /* screen height control */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 5px;
}


/* OVERLAY CONTAINER */
.floating-icons{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* ICON STYLE */
.float-icon{
  position: absolute;
  width: 60px;
  opacity: 0.8;
  animation: floating 3s ease-in-out infinite;
}

/* DIFFERENT POSITIONS */
.icon1{
  top: 10%;
  left: 5%;
  animation-duration: 7s;
}

.icon2{
  top: 40%;
  right: 10%;
  animation-duration: 9s;
}

.icon3{
  bottom: 15%;
  left: 20%;
  animation-duration: 8s;
}

.icon4{
  top: 70%;
  right: 25%;
  animation-duration: 10s;
}

/* FLOAT ANIMATION */
@keyframes floating{
  0%{
    transform: translateY(0px) rotate(0deg);
  }
  50%{
    transform: translateY(-30px) rotate(8deg);
  }
  100%{
    transform: translateY(0px) rotate(0deg);
  }
}

.dashboard-profile-card{
    background: #fff;
    border-radius: 25px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f1f1f1;
}

.profile-top{
    text-align: center;
    margin-bottom: 25px;
}

.profile-img-wrapper{
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg,#4f46e5,#000000);
    margin-bottom: 15px;
}

.profile-img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.profile-top h4{
    font-weight: 700;
    margin-bottom: 5px;
    color: #111827;
}

.admission-no{
    color: #6b7280;
    font-size: 14px;
}

.child-details-box{
    background: linear-gradient(135deg,#f8fafc,#ffffff);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
}

.child-details-box h5,
.parent-title{
    font-size: 17px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #111827;
}

.child-detail-row{
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #d1d5db;
}

.child-detail-row:last-child{
    border-bottom: 0;
}

.child-detail-row span{
    color: #6b7280;
    font-size: 14px;
}

.child-detail-row strong{
    color: #111827;
}

.profile-info-box{
    background: #f9fafb;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-item{
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.info-item:last-child{
    margin-bottom: 0;
}

.info-item i{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(79,70,229,0.1);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.info-item span{
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 2px;
}

.info-item p{
    margin: 0;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
}

.edit-profile-btn{
    width: 100%;
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    padding: 13px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.edit-profile-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79,70,229,0.25);
}

.dashboard-course-card{
    background: #fff;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f1f1f1;
}

.course-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.course-header h4{
    font-weight: 700;
    margin-bottom: 5px;
    color: #111827;
}

.course-header p{
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.enroll-course-btn{
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.enroll-course-btn:hover{
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79,70,229,0.25);
}

.premium-course-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px;
    border-radius: 20px;
    background: #f9fafb;
    margin-bottom: 20px;
    border: 1px solid #eef2f7;
    transition: 0.3s;
}

.premium-course-item:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.course-left{
    display: flex;
    align-items: center;
    gap: 18px;
}

.course-icon{
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.course-content h5{
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.course-meta{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.course-meta span{
    font-size: 14px;
    color: #6b7280;
}

.course-right{
    text-align: right;
}

.status-badge{
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.status-badge.warning{
    background: rgba(245,158,11,0.15);
    color: #d97706;
}

.status-badge.info{
    background: rgba(59,130,246,0.15);
    color: #2563eb;
}

.status-badge.success{
    background: rgba(34,197,94,0.15);
    color: #16a34a;
}

.status-badge.danger{
    background: rgba(239,68,68,0.15);
    color: #dc2626;
}

.pay-btn,
.reapply-btn{
    border: none;
    text-decoration: none;
    background: linear-gradient(135deg,#10b981,#059669);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.reapply-btn{
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
}

.pay-btn:hover,
.reapply-btn:hover{
    color: #fff;
    transform: translateY(-2px);
}

.empty-course-box{
    text-align: center;
    padding: 50px 20px;
}

.empty-icon{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(79,70,229,0.08);
    color: #4f46e5;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 20px;
}

.empty-course-box h5{
    font-weight: 700;
    margin-bottom: 10px;
}

.empty-course-box p{
    color: #6b7280;
    margin-bottom: 25px;
}

.empty-enroll-btn{
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 600;
}

.empty-enroll-btn:hover{
    color: #fff;
}

@media(max-width:768px){

    .premium-course-item{
        align-items: flex-start;
    }

    .course-right{
        width: 100%;
        text-align: left;
    }

}

.payment-modal{
    border-radius: 28px;
    overflow: hidden;
}

.payment-summary-box{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.summary-card{
    background: #f8fafc;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    border: 1px solid #eef2f7;
}

.summary-card span{
    font-size: 13px;
    color: #6b7280;
}

.summary-card h5{
    margin-top: 8px;
    font-weight: 700;
}

.payment-input{
    height: 52px;
    border-radius: 14px;
    border: 1px solid #dbe2ea;
    padding-inline: 15px;
}

.payment-input:focus{
    box-shadow: none;
    border-color: #4f46e5;
}

.payment-method-box{
    background: #f9fafb;
    border-radius: 22px;
    padding: 25px;
    margin-top: 15px;
    border: 1px solid #eef2f7;
}

.upi-qr-img{
    width: 220px;
    max-width: 100%;
    border-radius: 20px;
    border: 8px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.bank-detail-row{
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed #d1d5db;
}

.bank-detail-row:last-child{
    border-bottom: 0;
}

.bank-detail-row span{
    color: #6b7280;
}

.dummy-card{
    background: linear-gradient(135deg,#111827,#1f2937);
    border-radius: 22px;
    padding: 28px;
    color: #fff;
    min-height: 210px;
    position: relative;
}

.card-chip{
    width: 60px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg,#fbbf24,#f59e0b);
    margin-bottom: 35px;
}

.card-number-preview{
    font-size: 26px;
    letter-spacing: 4px;
    margin-bottom: 35px;
}

.card-bottom{
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.cash-info-box{
    text-align: center;
}

.cash-info-box i{
    font-size: 45px;
    color: #10b981;
    margin-bottom: 15px;
}

.payment-submit-btn{
    width: 100%;
    border: none;
    background: linear-gradient(135deg,#10b981,#059669);
    color: #fff;
    padding: 15px;
    border-radius: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.payment-submit-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(16,185,129,0.25);
}

@media(max-width:768px){

    .payment-summary-box{
        grid-template-columns: 1fr;
    }

}



.premium-stat-card{
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: 0.35s ease;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 30px rgba(15,23,42,0.05);
    height: 100%;
}

.premium-stat-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.10);
}

.premium-stat-card::before{
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.08;
}

.total-card::before{
    background: #3b82f6;
}

.completed-card::before{
    background: #10b981;
}

.ongoing-card::before{
    background: #f59e0b;
}

.stat-icon{
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.total-card .stat-icon{
    background: rgba(59,130,246,0.12);
    color: #2563eb;
}

.completed-card .stat-icon{
    background: rgba(16,185,129,0.12);
    color: #059669;
}

.ongoing-card .stat-icon{
    background: rgba(245,158,11,0.12);
    color: #d97706;
}

.stat-content span{
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-content h2{
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
}

@media(max-width:768px){

    .premium-stat-card{
        padding: 22px 18px;
    }

    .stat-content h2{
        font-size: 28px;
    }

}

.status-badge.primary{
    background: rgba(59,130,246,0.12);
    color: #2563eb;
}

.premium-enroll-card{
    background: #fff;
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.premium-enroll-card::before{
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(13,110,253,0.06);
    border-radius: 50%;
}

.enroll-icon{
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg,#0d6efd,#4f8cff);
    color: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 25px;
    font-size: 34px;
    box-shadow: 0 10px 25px rgba(13,110,253,0.25);
}

.enroll-title{
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.enroll-subtitle{
    text-align: center;
    color: #6c757d;
    margin-bottom: 35px;
}

.course-preview-box{
    background: #f8fbff;
    border: 1px solid #e9f2ff;
    border-radius: 22px;
    padding: 25px;
    margin-bottom: 25px;
}

.preview-item span{
    color: #6c757d;
    font-size: 14px;
}

.preview-item h5{
    font-weight: 700;
    margin-top: 6px;
}

.preview-divider{
    height: 1px;
    background: #e6edf7;
    margin: 18px 0;
}

.preview-grid{
    display: flex;
    justify-content: space-between;
}

.preview-grid small{
    color: #6c757d;
}

.preview-grid h6{
    margin-top: 6px;
    font-weight: 700;
}

.student-mini-card{
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 30px;
}

.student-mini-card img{
    width: 65px;
    height: 65px;
    border-radius: 18px;
    object-fit: cover;
}

.student-mini-card h6{
    margin-bottom: 4px;
    font-weight: 700;
}

.student-mini-card p{
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.premium-enroll-btn{
    width: 100%;
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    padding: 16px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 16px;
    transition: .3s;
}

.premium-enroll-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13,110,253,0.25);
}

@media(max-width:768px){

    .premium-enroll-card{
        padding: 28px 20px;
    }

    .enroll-title{
        font-size: 26px;
    }

    .preview-grid{
        flex-direction: column;
        gap: 15px;
    }

}

.course-description-box small{
    color: #6c757d;
    display: block;
    margin-bottom: 10px;
}

.course-description-box p{
    margin: 0;
    color: #495057;
    line-height: 1.7;
    font-size: 15px;
}


.premium-event-card{
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.4s ease;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid #f2f2f2;
}

.premium-event-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.event-image-wrapper{
    position: relative;
    overflow: hidden;
}

.event-image-wrapper img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s ease;
}

/* .premium-event-card:hover img{
    transform: scale(1.08);
} */

.event-date-badge{
    position: absolute;
    top: 18px;
    left: 18px;
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(13,110,253,0.3);
}

.event-date-badge .day{
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge small{
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.event-content{
    padding: 28px;
}

.event-meta{
    margin-bottom: 14px;
}

.event-meta span{
    font-size: 14px;
    color: #666;
}

.event-content h4{
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111;
}

.event-content p{
    color: #666;
    line-height: 1.7;
    margin-bottom: 22px;
}

.empty-event-section{
    background: #fff;
    border-radius: 30px;
    padding: 80px 20px;
    border: 1px dashed #ddd;
}

.empty-event-section i{
    font-size: 70px;
    color: #d0d0d0;
}

@keyframes rainbowMove{
    0%{
        background-position: 0%;
    }
    100%{
        background-position: 300%;
    }
}

.small-text{
    font-size: 12px;
    color: #10b981;
}


/* MODAL MAIN */

#editProfileModal .modal-content{
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
}

/* HEADER */

#editProfileModal .modal-header{
    background: linear-gradient(
        135deg,
        #f8fafc,
        #eef2ff
    );
}

#editProfileModal .modal-title{
    font-size: 1.2rem;
    letter-spacing: 0.3px;
}

/* BODY */

#editProfileModal .modal-body{
    background: #ffffff;
}

/* SECTION HEADINGS */

#editProfileModal h6{
    letter-spacing: 1px;
}

/* PROFILE SECTION */

#editProfileModal .bg-light{
    background: #f8fafc !important;
}

#editProfileModal .rounded-3{
    border-radius: 18px !important;
}

/* PROFILE IMAGE */

#editProfileModal img.rounded-circle{
    object-fit: cover;
    transition: 0.3s ease;
}

#editProfileModal img.rounded-circle:hover{
    transform: scale(1.03);
}

/* INPUTS */

#editProfileModal .form-control{
    height: 48px;
    border-radius: 12px;
    border: 1px solid #dbe2ea;
    padding-left: 14px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    background: #fff;
}

#editProfileModal textarea.form-control{
    height: auto;
    resize: none;
    padding-top: 12px;
}

/* INPUT FOCUS */

#editProfileModal .form-control:focus{
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

/* READONLY FIELD */

#editProfileModal .form-control[readonly]{
    background: #f1f5f9;
    cursor: not-allowed;
}

/* LABELS */

#editProfileModal .form-label{
    font-size: 0.82rem;
    letter-spacing: 0.2px;
}

/* FORM TEXT */

#editProfileModal .form-text{
    color: #64748b;
}

/* FOOTER */

#editProfileModal .modal-footer{
    background: #f8fafc;
}

/* BUTTONS */

#editProfileModal .btn{
    border-radius: 12px;
    height: 46px;
    transition: 0.25s ease;
}

#editProfileModal .btn-primary{
    background: linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );
    border: none;
}

#editProfileModal .btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.18);
}

#editProfileModal .btn-secondary:hover{
    background: #94a3b8 !important;
    color: white !important;
}

/* CUSTOM SCROLL */

#editProfileModal .modal-body::-webkit-scrollbar{
    width: 6px;
}

#editProfileModal .modal-body::-webkit-scrollbar-thumb{
    background: #cbd5e1;
    border-radius: 10px;
}

/* MOBILE */

@media(max-width:768px){

    #editProfileModal .modal-dialog{
        margin: 12px;
    }

    #editProfileModal .modal-content{
        border-radius: 18px;
    }

    #editProfileModal .modal-body{
        padding: 20px !important;
    }

    #editProfileModal .btn{
        width: 100%;
    }

    #editProfileModal .modal-footer{
        flex-direction: column;
        gap: 10px;
    }
}