/* ===== HERO HEADER FOR ALL PAGES ===== */

.features-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 20px 80px;
  text-align: center;
  background: linear-gradient(to right, #041930, #212628);
  background-size: 200% 400%;
  font-family: 'Poppins', sans-serif;
  animation: gradientShift 12s ease infinite;
  z-index: 1;
}

/* Overlay image */
.features-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero1.webp') no-repeat center center / cover;
  opacity: 0.026; /* Adjust overlay transparency */
  z-index: 0;    /* Behind content */
  pointer-events: none;
}


.features-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s ease-out forwards;
}

.featurespage-title {
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  background: linear-gradient(to right, #84aede, #c8d7f4);
  line-height: 1.2;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}



.featurespage-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto 30px;
  font-family: 'Jost', sans-serif;
  letter-spacing: -0.3px;
  color: rgba(152, 165, 195, 0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: all 0.5s ease;
  margin-top: -18px;
}

@media (max-width: 768px) {
  .featurespage-description {
    margin-top: -15px;
    font-size: 0.94rem !important;
  
  }

  .featurespage-title {
    font-size: 1.6rem;
  }

  .features-hero {
     padding: 90px 20px 40px;
  }
}


/*FEATURES PAGE START HERE*/

/* ===== FEATURES SECTION ON PORTALS PAGE CTA ===== */
.features-section {
  background: linear-gradient(135deg, #0d0d0d 0%, #121a2b 100%);
  padding: 4rem 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate; /* Prevent interference with other sections */
}

/* Subtle animated background (performance-friendly) */
.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(18, 200, 255, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(18, 200, 255, 0.05) 0%, transparent 25%);
  animation: subtlePulse 20s infinite alternate;
  z-index: -1; /* Changed to -1 to stay behind content */
}

/* Main container with soft glow effect */
.features-container {
  background: rgba(22, 27, 48, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s ease-out forwards;
  overflow: hidden; /* Prevent content overflow */
}

/* Subtle border glow */
.features-container::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 21px;
  background: linear-gradient(45deg, 
    rgba(18, 200, 255, 0.3),
    rgba(0, 102, 255, 0.3),
    transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: borderGlow 8s infinite alternate;
}

/* Content layout */
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.features-col {
  flex: 1 1 45%;
  min-width: 300px;
}

/* Image with subtle 3D effect (disabled on mobile) */
.feature-img-wrapper {
  perspective: 1000px;
  width: 100%; /* Ensure proper containment */
}

.feature-img {
  width: 70%;
  max-width: 550px;
  border-radius: 10px;
  transform: rotateY(-5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  opacity: 0;
  animation: fadeInRight 0.8s 0.5s ease-out forwards;
}

/* Text content with stylish elements */
.features-subheader {
  font-size: 0.95rem;
  color: #12c8ff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
  padding-left: 24px;
  opacity: 0;
  animation: fadeInLeft 0.6s 0.7s ease-out forwards;
}

.features-subheader::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #12c8ff, #0066ff);
  transition: width 0.3s ease;
}

.features-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  color: #c4e6ff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  margin-top: -20px;
  animation: fadeInLeft 0.6s 0.9s ease-out forwards;
}

.features-description {
  font-size: 0.89rem;
  line-height: 1.45;
  color: #8b94b6;
  margin-bottom: 2rem;
  font-weight: 400;
  position: relative;
  opacity: 0;
  margin-top: -10px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
  animation: fadeInLeft 0.6s 1.1s ease-out forwards;
}

@media (max-width: 768px) {
  .features-description {
    font-size: 0.85rem; 
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes subtlePulse {
  0% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0.8; transform: scale(1); }
}

@keyframes borderGlow {
  0% { opacity: 0.3; }
  50% { opacity: 0.6; }
  100% { opacity: 0.3; }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  /* Features Section - Mobile adjustments */
  .features-section {
    padding: 2rem 0.5rem;
    overflow: visible;
  }
  
  .features-section::before {
    animation: none;
    opacity: 0.5;
  }
  
  .features-container {
    animation: none;
    opacity: 1;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1.5rem;
    margin: 0 auto;
    width: calc(100% - 2rem); /* Ensure proper spacing */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .features-container::after {
    display: none;
  }
  
  .feature-img-wrapper {
    perspective: none;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  
  .feature-img {
    animation: none;
    opacity: 1;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .features-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .features-col {
    flex: 1 1 100%;
    min-width: auto;
    width: 100%;
  }
  
  .features-subheader,
  .features-heading,
  .features-description {
    animation: none;
    opacity: 1;
    transform: none;
    margin-top: 0;
  }
  
  .features-heading {
    font-size: 1.8rem;
  }
  
  .features-description {
    font-size: 0.87rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .features-container {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .features-heading {
    font-size: 1.6rem;
    margin-top: -12PX;
  }
  
  .features-description {
    font-size: 0.86rem;
    line-height: 1.5;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .features-container,
  .feature-img,
  .features-subheader,
  .features-heading,
  .features-description {
    opacity: 1 !important;
    transform: none !important;
  }
}


/*FEATURES FULL MODULES*/

.features-full-modules {
  background-color: #0b0f1a;
  color: #f0f0f0;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.features-full-modules .container {
  max-width: 1270px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #c1e0f3;
}

.section-description {
  font-size: 1.2rem;
  color: #88a9bb;
  margin-bottom: 40px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-top: -10px;

}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.module-card {
  background-color: #151b2b;
  padding: 25px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
  text-align: left;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: #3a8fff;
}


.module-card h3 {
  font-size: 1.2rem;
  color: #7dc7e4;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.module-card p {
  font-size: 0.86rem;
  color: #929cb6;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .section-description {
    font-size: 1rem;
    line-height: 1.2;
  }
  .module-card {
    padding: 20px 15px;
  }

  .module-card p {
    font-size: 0.84rem;
  }
}



/*unknown*/

.features-page-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    max-width: 1350px;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 120px;
   
}

.card {
    background: linear-gradient(145deg, #121a2e 0%, #0d1223 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(94, 234, 255, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(94, 234, 255, 0.1) 0%, 
        rgba(110, 69, 226, 0.2) 50%, 
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #4e679a 0%,
        #6e45e2 50%,
        #29476f 100%
    );
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(5px);
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(94, 234, 255, 0.2);
    border-color: rgba(94, 234, 255, 0.3);
}

.card:hover::before,
.card:hover::after {
    opacity: 1;
}


/*card popup reveal*/
.card {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.5s ease, opacity 0.6s ease;
  /* Keep existing transition for hover */
}

.card.in-view {
  opacity: 1;
  transform: translateY(0);
}


.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: sepia(30%) hue-rotate(190deg) contrast(90%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

.card:hover img {
    filter: sepia(0%) hue-rotate(0deg) contrast(110%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1.03);
}

.card:hover .feature-background3 {
    transform: perspective(500px) rotateX(0deg);
    background: linear-gradient(90deg, rgba(21, 36, 74, 0.9) 0%, rgba(9, 17, 40, 1) 100%);
    border-left: 3px solid #6e45e2;
}

.card h3 {
    color: #d6d8fd;
    font-size: 1.5rem;
    margin: 1.8rem 1.8rem 0.8rem;
    position: relative;
    display: inline-block;
    font-family: 'Jost', sans-serif;
    letter-spacing: -0.3px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(94, 234, 255, 0.3);
    margin-top: -6px;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #151325, #6e45e2);
    transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.card:hover h3::after {
    width: 100%;
}

.card p {
    color: #8fa1b8;
    font-size: 0.85rem;
    line-height: 1.47;
    margin: 0 1.8rem 2rem;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    margin-top: -6px;
}

.card:hover p {
    color: #e0f7ff;
    text-shadow: 0 0 5px rgba(160, 220, 255, 0.2);
}

/* Neon pulse animation */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(94, 234, 255, 0.3),
                    0 0 20px rgba(94, 234, 255, 0.2),
                    0 0 30px rgba(94, 234, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 15px rgba(94, 234, 255, 0.4),
                    0 0 30px rgba(94, 234, 255, 0.3),
                    0 0 45px rgba(94, 234, 255, 0.2);
    }
}

.card:hover {
    animation: neonPulse 3s infinite ease-in-out;
}

/* Corner accents */
.card::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0;
    right: 0;
    border-top: 2px solid #5eeaff;
    border-right: 2px solid #5eeaff;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.card:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
  .card p {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .card h3 {
    margin-top: -6px;
  }
}


/*Website Stats Section - Dark Mode*/

.websites-stats {
  background: linear-gradient(135deg, #161c29, #0f141e);
  padding: 60px 20px;
  color: #e0ecff;
  font-family: 'Inter', sans-serif;
}

.websites-stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  max-width: 1300px;
  margin: 0 auto;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  background: rgb(13, 23, 35);
  border: 2px solid rgba(189, 209, 240, 0.15);
  border-radius: 12px;
  padding: 30px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(88, 166, 255, 0.1);
}

.stat-icon {
  font-size: 2.2rem;
  color: #78a9e1;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #a9c2dc;
  margin-bottom: 6px;
}

.stat-info {
  font-size: 0.9rem;
  color: #a0b4d4;
  line-height: 1.4;
}

/* Responsive: 2 Columns on Small Screens */
@media (max-width: 768px) {
  .websites-stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-title {
    font-size: 1.5rem;
  }

  .stat-info {
    font-size: 0.84rem;
  }
}


/*DASHBOARDS SECTION REVEAL ON HOVER*/ 

:root {
  --deep-bg: #1e222b;
  --card-bg: #1d2335;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --text: #f3f4f6;
  --text-light: #9ca3af;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f04400;
  --glow: rgba(99, 102, 241, 0.2);
}

body {
  margin: 0;
  padding: 0;
  background: var(--deep-bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* Enhanced Background */
.dashboard-section {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d8e1f1 0%, #d5e6ff 100%);
}

.dashboard-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/Dot-PNG-Clipart-Background.png') center center / cover no-repeat;
  opacity: 0.25; /* Adjust transparency */
  pointer-events: none;
  z-index: 1;
  animation: waveMove 5s ease-in-out infinite;
}

.dashboard-section > * {
  position: relative;
  z-index: 2;
}

@keyframes waveMove {
  0% {
    transform: translateX(0) translateY(0); /* Start position */
  }
  50% {
    transform: translateX(-10px) translateY(10px); /* Mid movement */
  }
  100% {
    transform: translateX(0) translateY(0); /* Return to start */
  }
}


.section-title2 {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  color: #142235;
  text-align: center;
  margin: 0px 0 20px;
  letter-spacing: -1.3px;
  position: relative;
}

@media (max-width: 768px) {
  .section-title2 {
    font-size: 1.6rem;
    letter-spacing: -1.1px;
  }
}

.section-title2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #fd6900; /* Change to your theme color */
  margin: 10px auto 0;
  border-radius: 2px;
}


/* Grid Layout */
.dashboard-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Refined Cards */
.dashboard-box {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transition: all 0.4s ease;
}

.dashboard-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  border-color: rgba(99, 102, 241, 0.3);
}

.dashboard-box:hover::after {
  height: 6px;
  background: var(--accent-hover);
}

/* Perfectly Centered Icons */
.dashboard-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dashboard-icon {
  font-size: 2.2rem;
  color: rgb(6, 207, 243);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.dashboard-icon-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  transform: scale(0.9);
  transition: all 0.4s ease;
  z-index: 1;
}

.dashboard-box:hover .dashboard-icon {
  transform: scale(1.1);
}

.dashboard-box:hover .dashboard-icon-wrapper::before {
  transform: scale(1.1);
  background: rgba(99, 102, 241, 0.2);
}

/* Icon Color Variants */
.dashboard-box:nth-child(1) .dashboard-icon-wrapper::before {
  background: rgba(99, 102, 241, 0.1);
}
.dashboard-box:nth-child(1)::after {
  background: #6366f1;
}

.dashboard-box:nth-child(2) .dashboard-icon-wrapper::before {
  background: rgba(251, 191, 36, 0.1);
}
.dashboard-box:nth-child(2)::after {
  background: #fbbf24;
}

.dashboard-box:nth-child(3) .dashboard-icon-wrapper::before {
  background: rgba(52, 211, 153, 0.1);
}
.dashboard-box:nth-child(3)::after {
  background: #34d399;
}

.dashboard-box:nth-child(4) .dashboard-icon-wrapper::before {
  background: rgba(248, 113, 113, 0.1);
}
.dashboard-box:nth-child(4)::after {
  background: #ff9602;
}

/* Typography */
.dashboard-box h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(203, 242, 255);
  position: relative;
}

.dashboard-box p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* Enhanced Buttons */
.open-panel {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(to right, #02c9f1, #016ba0);
  color: rgb(245, 250, 254);
  border: none;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--glow);
  z-index: 1;
}

.open-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 0.15) 0%,
    rgba(66, 60, 102, 0) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.open-panel:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--glow);
}

.open-panel:hover::before {
  transform: translateX(100%);
}

/* Panel Overlay - Balanced Dark */
.panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(56, 56, 92, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.panel-overlay.active {
  opacity: 1;
}

.panel-content {
  background: var(--card-bg);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.98) translateY(10px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.panel-overlay.active .panel-content {
  transform: scale(1) translateY(0);
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d5f9ff; /* Standard orange */
  border: none;
  border-radius: 50%;
  color: #ff7700;
  font-size: 2.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}

/* Panel Content */
.info-text {
  margin-top: 1rem;
  color: #c7e3ec;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.3;
}


.info-flex {
  display: flex;
  gap: 2.0rem;
  margin-top: 1.5rem;
}

.info-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.info-image-wrapper:hover {
  transform: scale(1.02);
}

.info-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.info-image-wrapper:hover .info-image {
  transform: scale(1.05);
}

.info-text-wrapper {
  flex: 1;
}

/* Clean List with Single Icons */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  color: #9db1bd;
}

.custom-list li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 2rem;
}

.custom-list li i {
  position: absolute;
  left: 0;
  color: #ff7300;
  font-size: 0.99rem;
}

/* Animations */
@keyframes float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -10px); }
  100% { transform: translate(10px, 10px); }
}

/* Responsive */
@media (max-width: 1200px) {
  .dashboard-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-section {
    padding: 3rem 1.5rem;
  }
  
  .dashboard-container {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .panel-content {
    padding: 2rem;
  }
  
  .info-flex {
    flex-direction: column;
  }
  
  .info-image-wrapper {
    min-width: auto;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .dashboard-box {
    padding: 1.8rem 1.2rem;
  }
  
  .panel-content {
    padding: 1.5rem;
    width: 95%;
  }
  
  .custom-list li {
    padding-left: 1.8rem;
    font-size: 0.9rem;
  }

}

/*School websites benefits section*/
.school-website-benefits {
  background: linear-gradient(135deg, #0f172a 0%, #1a2a4a 100%);
  padding: 60px 16px;
  color: #e2e8f0;
  overflow: hidden;
  position: relative;
}

/* Modern background elements */
.school-website-benefits::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: float 25s infinite linear;
  z-index: 0;
}

.school-website-benefits::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(132, 187, 232, 0.08) 0%, transparent 70%);
  animation: float2 20s infinite linear alternate;
  z-index: 0;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5%, 5%) rotate(5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5%, -5%) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.benefits-container {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 16px;
  padding: 32px;
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  transform: perspective(1000px);
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  box-sizing: border-box;
  padding-top: 70px;
}

.benefits-container:hover {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
  transform: perspective(1000px) translateY(-5px);
}

.benefits-column {
  position: relative;
  transition: all 0.3s ease;
}

.benefits-column:hover {
  transform: translateY(-3px);
}

.benefits-column h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #d6d8fd;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.benefits-column h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #84bbe8);
  border-radius: 3px;
}

.benefits-list,
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li,
.features-list li {
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #a9b8d1;
  position: relative;
  padding-left: 24px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  letter-spacing: -0.2px;
  transition: all 0.2s ease;
}

.benefits-list li:hover,
.features-list li:hover {
  color: #e2e8f0;
  transform: translateX(5px);
}

.benefits-list li::before,
.features-list li::before {
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.benefits-list li::before {
  content: '•';
  color: #3b82f6;
}

.features-list li::before {
  content: '✔';
  color: #84bbe8;
}

.benefits-image {
  width: 120%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  transform: perspective(1000px) rotateY(5deg);
}

.benefits-image:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.3);
}

/* 🔧 Mobile-Specific Fixes */
@media (max-width: 600px) {
  .benefits-container {
    padding: 24px 16px;
    grid-template-columns: 1fr;
    backdrop-filter: none;
  }
  
  .benefits-column {
    text-align: left;
  }
  
  .benefits-column h2 {
    font-size: 1.2rem;
  }
  
  .benefits-list li,
  .features-list li {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  
  .school-website-benefits::before,
  .school-website-benefits::after {
    display: none;
  }
}

/*PORTALS PAGES START HERE*/

/* ====SHARED SCHOOL ADMIN & TEACHERS PAGE FOR PORTALS SECTION ======*/
.school-admin-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 5%;
  background: linear-gradient(135deg, #0a1a2f 0%, #0d2b4e 100%);
  color: #f0f0f0;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Background Decorative Elements - Optimized */
.school-admin-features::before,
.school-admin-features::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.school-admin-features::before {
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 188, 156, 0.15) 0%, transparent 70%);
}

.school-admin-features::after {
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(22, 160, 133, 0.1) 0%, transparent 70%);
}

/* Image Column - Performance Optimized */
.school-admin-features .image-column {
  flex: 1;
  min-width: 350px;
  max-width: 600px;
  margin-top: 140px;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.school-admin-features .image-column img {
  width: 100%;
  margin-top: -140px;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.school-admin-features .image-column:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 25px 50px -10px rgba(1, 168, 209, 0.3);
}

/* Remove all effects on mobile devices */
@media (max-width: 768px) {
  .school-admin-features {
    flex-wrap: nowrap; /* optional to reduce layout recalcs */
  }

  .school-admin-features::before,
  .school-admin-features::after {
    display: none; /* remove background decorative elements */
  }

  .school-admin-features .image-column {
    margin-top: 60px; /* reduce top margin for mobile */
    transform: none !important;
    backface-visibility: visible !important;
  }

  .school-admin-features .image-column img {
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
    transition: none !important;
    
  }

  .school-admin-features .image-column:hover img {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Content Column - Optimized */
.school-admin-features .columnadmin {
  flex: 1;
  min-width: 350px;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.school-admin-features .columnadmin h2 {
  font-size: 1.7rem;
  color: #b9d5f8;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: -0.8px;
  position: relative;
  display: inline-block;
}

.school-admin-features .columnadmin h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #1abc9c, #3498db);
  border-radius: 2px;
}

.school-admin-features .columnadmin p {
  font-size: 0.9rem;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  color: #91a3c0;
  letter-spacing: -0.1PX;
}


/* Features Grid - Forced 2 Columns on Desktop */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns on desktop */
  gap: 25px;
  margin-top: 40px;
}

/* Feature Box - Performance Optimized */
.feature-box {
  background: rgba(17, 34, 64, 0.7);
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.1) 0%, transparent 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(1, 168, 209, 0.3);
  background: rgba(17, 34, 64, 0.85);
}

.feature-box:hover::before {
  opacity: 1;
}

/* Feature Header - Icon and Title */
.feature-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-icon {
  font-size: 1.8rem;
  color: #1abc9c;
  transition: transform 0.3s ease-out;
}

.feature-box:hover .feature-icon {
  transform: scale(1.15);
  color: #2ecc71;
}

.feature-box h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #6dcfea;
  font-family: 'Poppins', sans-serif;
  line-height: 1.1;
  font-weight: 500;
  transition: color 0.3s ease-out;
}

.feature-box:hover h3 {
  color: #1abc9c;
}

.feature-box p {
  color: #8a99b2;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: -0.1px;
  margin-top: -12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  transition: color 0.3s ease-out;
}

.feature-box:hover p {
  color: #6ddccf;
}


/* Responsive Design - Mobile Optimizations */
@media (max-width: 1200px) {
  .school-admin-features {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .school-admin-features {
    flex-direction: column;
    padding: 50px 20px;
    gap: 30px;
  }
  
  .school-admin-features .image-column {
    min-width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
  
  .school-admin-features .image-column img {
    margin-bottom: 20px;
    width: 104%;
    margin-top: -100px;
    transform: perspective(1000px) rotateY(0) rotateX(0);
  }
  
  .school-admin-features .columnadmin {
    min-width: 100%;
    max-width: 100%;
  }
  
  .school-admin-features .columnadmin h2 {
    font-size: 1.3rem;
  }

  .school-admin-features .columnadmin p {
    font-size: 0.85rem;
    line-height: 1.38;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile-specific performance tweaks */
  .feature-box {
    backdrop-filter: none;
    padding: 20px;
  }
  
  .feature-box:hover {
    transform: none;
  }
  
  .feature-icon {
    font-size: 1.6rem;
  }
  
  .feature-box h3 {
    font-size: 0.99rem;
  }
  
  .feature-box p {
    font-size: 1.5px;
    font-weight: 400;
  }
  
  /* Disable heavy effects on mobile */
  .school-admin-features::before,
  .school-admin-features::after {
    display: none;
  }
}

/* Desktop Enhancements */
@media (min-width: 769px) {
  /* Restore animations for desktop */
  .school-admin-features .image-column {
    animation: slideInLeft 1s ease forwards, float 6s ease-in-out infinite;
    opacity: 0;
  }
  
  .school-admin-features .columnadmin {
    animation: slideInRight 1s ease forwards;
    opacity: 0;
  }
  
  .school-admin-features .columnadmin h2 {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
  }
  
  .school-admin-features .columnadmin h2::after {
    animation: expandWidth 1s ease forwards;
    animation-delay: 0.8s;
  }
  
  .school-admin-features .columnadmin p {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
  }
  
  .feature-box {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    backdrop-filter: blur(5px);
  }
  
  .feature-box:nth-child(1) { animation-delay: 0.7s; }
  .feature-box:nth-child(2) { animation-delay: 0.9s; }
  .feature-box:nth-child(3) { animation-delay: 1.1s; }
  .feature-box:nth-child(4) { animation-delay: 1.3s; }
}

/* Animations - Optimized */
@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 70px; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* === Admin Ease Section === */

.ease-section {
  background-color: #0f172a;   /* Dark background */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;

}

/* Container with adjustable width */

/* Section Heading */
.ease-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #c7dbf0;
  font-weight: 700;
}

/* Section Subtext */
.ease-section .subtext {
  color: #9ba6bf;
  font-size: 1.1rem;
  max-width: 100%;
  margin: 0 auto 40px;
  letter-spacing: -0.4px;
  line-height: 1.3;
  max-width: 800px;
}

/* Features Grid */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Individual Feature Card */
.feature-card {
  background-color: #1e293b;
  border-radius: 16px;
  padding: 30px 10px;
  width: 290px;
  box-sizing: border-box;
  
  /* Existing transitions */
  transition: 
    transform 0.3s ease,
    background-color 0.3s ease,
    opacity 0.6s ease;

  /* Scroll popup animation */
  opacity: 0;
  transform: translateY(40px);
}

/* When scrolled into view */
.feature-card.show {
  opacity: 1;
  transform: translateY(0);
}


/* Hover Effect */
.feature-card:hover {
  transform: translateY(-5px);
  background-color: #27374d;
}

.icon {
  width: 80px;               /* bigger container */
  height: 80px;              /* bigger container */
  line-height: 90px;         /* vertical center */
  margin: 0 auto 15px auto;  /* center horizontally + bottom margin */
  color: #38bdf8;
  border: 1.5px dotted #38bdf8;
  border-radius: 50%;
  text-align: center;        /* horizontal center */
  font-size: 35px;
  display: block;
}



/* Feature Title */
.feature-card h4 {
  font-size: 1.42rem;
  margin-bottom: 10px;
  color: #b9d4f0;
  letter-spacing: -0.3px;
}

/* Feature Description */
.feature-card p {
  font-size: 14px;
  color: #b4c2d1;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

@media (max-width: 768px) {

  .ease-section h2 {
  font-size: 1.4rem;
  
}

/* Section Subtext */
.ease-section .subtext {
  font-size: 0.95rem;
}

.feature-card {
  width: 380px;
  padding: 20px 20px;
}

.feature-card h4 {
  margin-top: -10px;
}


}
@media (min-width: 1200px) {
  .feature-card {
    width: calc(25% - 20px); /* 4 cards in a row with 20px gap */
  }
}



/* ==SHARED STUDENT & PARENT PAGE FOR PORTAL FEATURES */
.school-sudent-features {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 80px 5%;
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
  color: #f0f0f0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Image Column - Sticky with Performance */
.image-column {
  flex: 0 0 45%;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: fit-content;
  z-index: 2;
  transform: translateZ(0); /* Hardware acceleration */
}

.image-column img {
  width: 90%;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backface-visibility: hidden;
}

.image-column:hover img {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -10px rgba(58, 175, 169, 0.3);
}

/* Content Column */
.columstudent {
  flex: 1;
  min-width: 50%;
  position: relative;
  z-index: 2;
}

.columstudent h2 {
  font-size: 2.1rem;
  font-family: 'Jost', sans-serif;
  letter-spacing: -0.5px;
  color: #7fdbff;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
}

.columstudent h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #3D7EAA, #FFE47A);
  border-radius: 2px;
}

.columstudent p {
  font-size: 0.90rem;
  line-height: 1.4;
  color: #a5c8ec;
  margin-bottom: 40px;
  font-family: 'Inter', sans-serif;
}

/* Features Grid */
.features-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* Feature Box - Optimized with Hover */
.feature-box2 {
  background: rgba(25, 50, 75, 0.4);
  border-radius: 12px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-out;
  backface-visibility: hidden;
  will-change: transform;
  padding-bottom: 0px;
  margin-bottom: 1px;
}

.feature-box2:hover {
  transform: translateY(-5px);
  background: rgba(30, 70, 100, 0.5);
  box-shadow: 0 15px 30px rgba(58, 175, 169, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

/* popup reveal  */
.feature-box2 {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-box2.visible {
  opacity: 1;
  transform: translateY(0);
}


.feature-header2 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-icon2 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #3D7EAA, #FFE47A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

.feature-box2:hover .feature-icon2 {
  transform: scale(1.15);
}

.feature-box2 h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #d8edff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.feature-box2:hover h3 {
  color: #78ffe2;
}

.feature-box2 p {
  color: #9badc0;
  font-size: 0.84rem;
  line-height: 1.4;
  letter-spacing: -0.1px;
  transition: color 0.3s ease;
  margin-top: -10px;
  margin-left: 20px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 9px;
}

.feature-box2:hover p {
  color: #92d0eb;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .school-sudent-features {
    flex-wrap: wrap;
    min-height: auto;
    padding: 60px 5%;
  }
  
  .image-column {
    position: static;
    flex: 1 1 100%;
    margin-bottom: 40px;
  }
  
  .columstudent {
    flex: 1 1 100%;
  }
  
  .feature-box2:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .school-sudent-features {
    padding: 50px 20px;
    gap: 30px;
  }
  
  .features-grid2 {
    grid-template-columns: 1fr;
  }
  
  .columstudent h2 {
    font-size: 1.4rem;
    margin-top: -40px;
  }

  .columstudent p {
    font-size: 0.94rem;
    margin-top: -5px;
    line-height: 1.35;
  }

  
.feature-box2 p {
  font-size: 0.85rem;
  line-height: 1.4;
    margin-top: -15px;
    margin-bottom: 16px;
}
  
  .feature-box2 {
  padding: 0px;
  }

  .feature-box2 h3 {
    font-size: 0.95rem;
  }

  .feature-box2 i {
    margin-left: 10px;
  }
  
  /* Disable hover effects on mobile */
  .feature-box2:hover {
    background: rgba(25, 50, 75, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  .feature-box2:hover .feature-icon2 {
    transform: none;
  }
  
 
  .image-column:hover img {
    transform: none;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  }
}

/* Desktop-only Effects */
@media (min-width: 1025px) {
  .image-column {
    perspective: 1000px;
  }
  
  .image-column img {
    transform: perspective(1000px) rotateY(-8deg);
  }
  
  .image-column:hover img {
    transform: perspective(1000px) rotateY(0) scale(1.02);
  }
}


/* Parent Page User Manual with Dark Mode */
/* Dark Theme User Manual */
.login-manual {
  padding: 4rem 2rem;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* Glowing Background Elements */
.login-manual::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.login-manual::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  z-index: 0;
}


/* Title Styling */
.login-manual {
  text-align: center;
}

.login-manual h2 {
  display: inline-block;
  position: relative;
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(90deg, #818cf8, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
  margin: 0 auto 3rem auto;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
}

.login-manual h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #818cf8, #34d399);
  border-radius: 3px;
}

/* Container for boxes */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Each login box */
.login-box {
  flex: 0 1 calc(50% - 2rem); /* 2 per row with gap */
  max-width: 600px;
  display: flex;
  align-items: center;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  gap: 1rem;
}




/* Image Styling */
.login-box img {
  width: 260px;
  height: 435px;
  border-radius: 12px;
  margin-right: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-box:hover img {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Text content */
.text-content {
  flex: 1;
}

.text-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.55rem;
  font-weight: 600;
  color: #abcceb;
  position: relative;
  font-family: 'Jost', sans-serif;
}

.text-content h3 span {
  color: #818cf8;
  font-weight: 700;
}

.text-content p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }

  .login-box {
    flex: 1 1 100%;
    max-width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .login-box img {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 100%;
    height: auto;
    max-height: none;
  }

  .login-manual h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .login-box:hover img {
    transform: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
  }
}

/* Disable heavy effects for mobile but KEEP scroll animation */
@media (max-width: 768px) {
  .login-box {
    backdrop-filter: none !important;
    background: rgba(30, 41, 59, 0.9) !important;
    box-shadow: none !important;
    cursor: default;
    /* KEEP transition for visible class animation */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
  }

  .login-box img {
    transition: none !important; /* remove zoom/rotate only */
    box-shadow: none !important;
  }

  .login-box:hover,
  .login-box:hover img {
    transform: none !important;
    box-shadow: none !important;
    background: rgba(30, 41, 59, 0.9) !important;
  }

  .login-manual::before,
  .login-manual::after {
    display: none !important;
  }
}


/* popup reveal boxes*/
/* Initial hidden state */
.login-box {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When box becomes visible */
.login-box.visible {
  opacity: 1;
  transform: translateY(0);
}




/*====DEPLOYMENT PAGE STARTS HERE====*/

.deployment-intro {
  background: #171E33;
  color: #e0e0e0;
  padding: 80px 20px;
  text-align: center;
}

.deployment-intro .container {
  max-width: 1000px;
  margin: 0 auto;
}

.deployment-title {
  font-size: 2.1rem;
  color: #a5d1f7;
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.7px;
}

.deployment-subtitle {
  font-size: 1rem;
  color: #aebacf;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  font-family: 'Inter', sans-serif;
}

.deployment-highlight {
  font-size: 1rem;
  color: #8b949e;
  font-style: italic;
  margin-top: 10px;
  line-height: 1.3;
}

@media (Max-Width: 786px) {
  .deployment-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .deployment-subtitle {
    font-size: 0.88rem;
    line-height: 1.53;
  }
}


/* ==== DEVELOPMENT OVERVIEW SECTION (Dark Mode) ==== */

.development-overview {
  background: linear-gradient(135deg, #162238 0%, #090c10 100%);
  color: #e6edf3;
  padding: 4rem 1rem;
  overflow: hidden;
}

.development-overview .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.overview-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #98b8e6;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(88, 166, 255, 0.15);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.overview-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #9dadca;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* === GRID === */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* === ITEM CARD === */
.overview-item {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 16px;
  padding: 2rem 1.5rem 3rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  padding-bottom: 9px;
}

/* Hover effect for desktop */
.overview-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(88, 166, 255, 0.1);
  border-color: var(--accent, #58a6ff);
}

/* Glow layer - desktop only */
.overview-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(88, 166, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.overview-item:hover::after {
  opacity: 1;
}

/* === STAGE NUMBER === */
.stage-number {
  position: absolute;
  top: 0.8rem;
  right: 0.5rem;
  background: transparent;
  color: #c3def7;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 2.25rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 0 12px rgba(255, 255, 255, 0.1);
  animation: 
    subtle-float 6s ease-in-out infinite,
    soft-glow 3s alternate infinite;
  z-index: 100;
  font-family: 'Inter', sans-serif; /* Modern font */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.stage-number:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.2),
    inset 0 0 16px rgba(255, 255, 255, 0.15);
}

@keyframes subtle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes soft-glow {
  0% { opacity: 0.95; }
  100% { opacity: 1; }
}

/* === ICON === */
.overview-icon {
  font-size: 2.5rem;
  color: #58a6ff;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.overview-item:hover .overview-icon {
  transform: translateY(-5px);
}

/* === TEXT === */
.overview-item h3 {
  font-size: 1.25rem;
  color: #97b2e2;
  margin-bottom: 0.75rem;
}

.overview-item p {
  font-size: 0.9rem;
  color: #a9becf;
  line-height: 1.5;
  letter-spacing: -0.2px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}

.arrow-down {
  text-align: center;
  margin-top: 0px;
  font-size: 2rem;
  color: #9ac8f1;
  animation: bounceDown 2s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.arrow-down:hover {
  transform: scale(1.2);
  color: #ffffff;
}



/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {
  .overview-grid {
    gap: 1rem;
  }

  .overview-item {
    padding: 1.5rem 1rem 2.5rem;
    transform: none !important;
    box-shadow: none !important;
    border-color: #30363d !important;
  }

  .overview-item:hover::after {
    opacity: 0 !important;
  }

  .overview-icon {
    transform: none !important;
  }

  .stage-number {
    animation: none !important;
    backdrop-filter: none !important;
  }

  .overview-item::after {
    display: none !important;
  }

  .overview-item p {
    line-height: 1.4;
    margin-bottom: 5px;
    font-size: 0.87rem;
  }

  .overview-item {
  padding-bottom: 10px;
}
}

/* Support and guarantee */
.guarantee-support {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 80px 20px;
  
}

.guarantee-support__container {
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.guarantee-support h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #38bdf8;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 50px;
  margin-top: -14px;
}

.guarantee-support__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.gs-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 30px;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease, background 0.3s ease;
}

/* When in view */
.gs-card.show {
  transform: translateY(0);
  opacity: 1;
}

.gs-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}


.gs-card i {
  font-size: 2rem;
  color: #38bdf8;
  margin-bottom: 15px;
}

.gs-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #97b2e2;
}

.gs-card p {
  color: #a9becf;
  font-size: 0.9rem;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
}

@media (max-width: 768px) {

  .guarantee-support h2 { 
    font-size: 1.8rem;
  }

  .subtitle {
  font-size: 0.98rem;
  margin-top: -10px;
  }

  
.gs-card p {
  font-size: 0.87rem;
}

}



/* Deployment CTA Section */

.deployment-cta-section {
  background-color: #1d2a42;
  padding: 80px 20px;
  color: #f0f6fc;
}

/* Inner container with separate background and styling */
.deployment-cta-inner-container {
  background-color: #161b22;
  border-radius: 16px;
  padding: 60px 50px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(88, 166, 255, 0.05);
}

/* Flex layout for image and content */
.deployment-cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Image */
.deployment-cta-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 14px;
  box-shadow: 
    0 0 20px rgba(88, 166, 255, 0.2),
    0 4px 30px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-8deg) rotateZ(1deg);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), 
              box-shadow 0.4s ease;
  filter: brightness(0.98) saturate(1.1);
}

.deployment-cta-image img:hover {
  transform: perspective(1000px) rotateY(-12deg) rotateZ(2deg) translateY(-5px);
  box-shadow: 
    0 0 30px rgba(88, 166, 255, 0.4),
    0 8px 40px rgba(0, 0, 0, 0.15);
  filter: brightness(1.02) saturate(1.2);
}
/* Content */
.deployment-cta-content {
  flex: 1;
  max-width: 550px;
}

.deployment-cta-content h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  color: #98b8e6;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.deployment-cta-content p {
  font-size: 0.95rem;
  line-height: 1.53;
  margin-bottom: 30px;
  color: #8796a1;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
  font-weight: 500;
}

/* CTA Button */
.deployment-cta-button {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(145deg, #1f6feb, #58a6ff);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

.deployment-cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 16px rgba(88, 166, 255, 0.5);
}

.deployment-cta-button i {
  margin-left: 6px; /* Increase this value to push it further */
  font-size: 1rem; /* Optional: adjust icon size */
  vertical-align: middle; /* Optional: aligns better with text */
}


/* Responsive */
@media (max-width: 768px) {
  .deployment-cta-container {
    flex-direction: column;
    text-align: center;
  }

  .deployment-cta-section {
  background-color: #1d2a42;
  padding: 80px 14px;
  color: #f0f6fc;
}

  .deployment-cta-image img {
    max-width: 100%;
    width: 100%;
  }

  .deployment-cta-content h2 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .deployment-cta-content p {
    font-size: 0.86rem;
    margin-top: -10px;
    line-height: 1.45;
   
  }

  .deployment-cta-content {
  flex: 1;
  max-width: 550px;
  text-align: left; /* ✅ This ensures left alignment */
  margin-top: -25px;
}

.deployment-cta-inner-container {
  padding: 40px 20px;

}

}


/*===TERMS PAGE START HERE====*/
.terms-section {
  background-color: #111622;
  color: #e0e6f5;
  padding: 60px 20px;
  line-height: 1.8;
}

.terms-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.terms-section h2 {
  font-size: 1.5rem;
  color: #d2e1f0;
  margin-top: 40px;
  margin-bottom: 10px;
  border-left: 4px solid #9ac8f1;
  padding-left: 10px;
  font-family: 'Poppins', sans-serif;
}

.terms-section p {
  font-size: 0.94rem;
  margin-bottom: 20px;
  color: #919cb6;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
  font-weight: 400;
  line-height: 1.58;
}

.terms-section ul {
  margin-top: 10px;
  padding-left: 20px;
}

.terms-section ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #90aac2 ;
  font-family: 'Inter', sans-serif;
  line-height: 1.58;
}

.terms-section a {
  color: #9ac8f1;
  text-decoration: underline;
}

.terms-section a:hover {
  color: #ffffff;
}

@media (max-width: 768px)  {

  .terms-section p {
    font-size: 0.86rem;
    line-height: 1.59;
  }

  .terms-section h2 {
    font-size: 1.15rem;
    line-height: 1.2;
  }
}

/*POLICY SECTION*/

/* === PRIVACY SECTION (MATCH TERMS DESIGN) === */
.privacy-section {
  background-color: #111622;
  color: #e0e6f5;
  padding: 60px 20px;
  line-height: 1.8;
}

.privacy-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-section h2 {
  font-size: 1.5rem;
  color: #d2e1f0;
  margin-top: 40px;
  margin-bottom: 10px;
  border-left: 4px solid #9ac8f1;
  padding-left: 10px;
  font-family: 'Poppins', sans-serif;
}

.privacy-section h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #d2e1f0;
  border-left: 4px solid #9ac8f1;
  padding-left: 10px;
  font-family: 'Poppins', sans-serif;
}

.privacy-section p {
  font-size: 0.94rem;
  margin-bottom: 20px;
  color: #919cb6;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
  font-weight: 400;
  line-height: 1.58;
}

.privacy-section ul {
  margin-top: 10px;
  padding-left: 20px;
}

.privacy-section ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #90aac2;
  font-family: 'Inter', sans-serif;
  line-height: 1.58;
}

.privacy-section a {
  color: #9ac8f1;
  text-decoration: underline;
}

.privacy-section a:hover {
  color: #ffffff;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .privacy-section p {
    font-size: 0.86rem;
    line-height: 1.59;
  }

  .privacy-section h2,
  .privacy-section h3 {
    font-size: 1.15rem;
    line-height: 1.2;
  }
}




/*===CASE STUDIES PAGE STARTS==*/

.case-studies-coming {
  background: linear-gradient(145deg, #0e1420, #111622);
  color: #e0e6f5;
  padding: 100px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-studies-coming .container {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
}

.coming-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coming-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.coming-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  color: #b9d8ed;
  margin-bottom: 20px;
}

.coming-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  color: #90aac2;
  line-height: 1.55;
  margin-bottom: 30px;
  letter-spacing: -0.2px;
}

.coming-badge {
  display: inline-block;
  background: #1e90ff;
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
  transition: background 0.3s ease;
}

.coming-badge:hover {
  background: #4ea7ff;
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.4s;
}

.delay-2 {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .coming-card h2 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .coming-card p {
    font-size: 0.9rem;
  }

  .coming-badge {
    font-size: 0.8rem;
    padding: 8px 18px;
  }

  .coming-card {
  padding: 40px 20px;

}
}

/* FEEDBACK PAGE STARTS */
/* Feedback Section Styling */
.feedback-section {
  padding: 60px 20px;
  background: #0f172a; /* dark background */
  color: #f1f5f9;
}

.feedback-section .feedback-column {
  max-width: 700px;
  margin: auto;
}

.feedback-header {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #c9e6f2;
}

.feedback-form {
  background: #1e293b;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feedback-group {
  margin-bottom: 20px;
}

.feedback-form label,
.feedback-rating-label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  color: #f1f5f9;
}

.feedback-form select,
.feedback-form textarea,
.feedback-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #0f172a;
  color: #f1f5f9;
  border: 1px solid #334155;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
}

.feedback-form select:focus,
.feedback-form textarea:focus,
.feedback-form input[type="email"]:focus {
  border-color: #38bdf8;
  outline: none;
}

/* Rating Stars Horizontal */
.feedback-group {
  display: flex;
  flex-direction: column;  /* stack label and stars vertically */
  align-items: flex-start; /* left align */
}

.feedback-rating-label {
  margin-bottom: 5px; /* space below label */
  font-weight: 600;
  color: #f1f5f9;
}

/* your existing star styles */
.feedback-rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 5px;
  margin-top: 0; /* remove extra top margin */
}

.feedback-rating-stars input {
  display: none;
}

.feedback-rating-stars label {
  font-size: 28px;
  color: #475569;
  cursor: pointer;
  transition: color 0.2s;
}

/* stars highlight on hover/checked */
.feedback-rating-stars input:checked ~ label,
.feedback-rating-stars label:hover,
.feedback-rating-stars label:hover ~ label {
  color: #facc15;
}


.feedback-rating-stars input:checked ~ label,
.feedback-rating-stars label:hover,
.feedback-rating-stars label:hover ~ label {
  color: #facc15;
}

.feedback-error-message {
  color: #f87171;
  font-size: 13px;
  margin-top: 5px;
}

/* Submit Button */
.feedback-submit-btn {
  width: 50%;
  padding: 14px;
  background: #38bdf8;
  color: #fafcfc;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease;
}

.feedback-submit-btn:hover {
  background: #0ea5e9;
}

.feedback-response-message {
  margin-top: 15px;
  text-align: center;
  font-size: 15px;
  color: #f8fafc;
}

@media (max-width: 768px) {
  .feedback-submit-btn {
    width: 100%;
  }
}


/*SMOOTH SCROLLING*/
/* ✅ Safe Smooth Scrolling Fix Without Breaking Scroll-to-Top or WhatsApp Buttons */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}


