/* =========================
   AIM Institute Styles
   Modern + Animated Version
========================= */

/* ---------- VARIABLES ---------- */
:root {
  --blue: #0b63d6;
  --blue-dark: #094fa7;
  --white: #ffffff;
  --muted: #6b7280;
  --glass: rgba(255, 255, 255, 0.95);
  --radius: 12px;
  --max-width: 1100px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* ---------- GLOBAL RESET ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #222;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1rem;
}

.container h5 {
  text-align: justify;
  line-height: 1.3;
}

/* ---------- HEADER ---------- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

.logo strong {
  color: #de4600;
}

.logo:hover {
  transform: scale(1.05);
}

/* Base link style */
.site-header .nav a {
  text-decoration: none;
  color: #000000;
  /* change as per header background */
  padding: 6px 12px;
  border-radius: 8px 8px 0 0;
  /* makes hover effect smooth */
  transition: all 0.3s ease;
}

/* Remove default box/outline */
.site-header .nav a:focus,
.site-header .nav a:active {
  outline: none;
  box-shadow: none;
}

/* Hover effect */
.site-header .nav a:hover {
  background: rgba(0, 166, 255, 0.509);
  /* subtle box highlight */
  color: #000000;
  /* example hover text color */
  font-style: none;
}

/* Loader overlay */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  color: #007BFF;
  font-weight: bold;
  font-size: 16px;
}

/* Spinner ring */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 123, 255, 0.2);
  border-top: 4px solid #007BFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Text below spinner */
.loading-text {
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}
/* --- HERO RESPONSIVE FIX --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.6rem;   /* smaller for tablets */
    line-height: 1.3;
  }
  .hero p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;   /* even smaller for phones */
    line-height: 1.4;
  }
  .hero p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* ========== MOBILE VIEW FIX ========== */

/* Hide nav links on mobile until toggle */
.nav {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #004aad;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 200px;
    padding: 15px;
    border-radius: 8px;
  }

  .nav a {
    color: #fff;
    padding: 8px 0;
    display: block;
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  /* Footer mobile stack */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 20px;
  }
}

/* ---------- NAVIGATION ---------- */
.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-toggle.active {
  transform: rotate(90deg);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue), #d4e8ff);
  color: var(--white);
  padding: 4rem 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.hero p {
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon-box {
  position: relative;
  display: inline-block;
  text-align: center;
}

/* More dramatic popup text animation */
.popup-text {
  position: absolute;
  bottom: 100%;
  /* above the icon */
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #ff6b6b, #ffcc00);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: floatFadePulse 2.5s ease-in-out infinite;
}

/* Icon with a soft pulse glow */
.animated-icon {
  font-size: 90px;
  text-align: center;
  animation: bounceGlow 2.5s infinite;
}

/* Text: float + fade + pulse */
@keyframes floatFadePulse {
  0% {
    transform: translateX(-50%) translateY(0) scale(0.9);
    opacity: 0.5;
  }

  30% {
    transform: translateX(-50%) translateY(-8px) scale(1.05);
    opacity: 1;
  }

  70% {
    transform: translateX(-50%) translateY(-6px) scale(1);
    opacity: 0.85;
  }

  100% {
    transform: translateX(-50%) translateY(0) scale(0.9);
    opacity: 0.5;
  }
}

/* Icon: bounce + glowing outline */
@keyframes bounceGlow {

  0%,
  100% {
    transform: translateY(0);
    text-shadow: 0 0 5px #00f0ff, 0 0 10px #00f0ff, 0 0 20px #00f0ff;
  }

  50% {
    transform: translateY(-6px);
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff, 0 0 40px #00f0ff;
  }
}

.device-mock {
  width: 250px;
  height: 400px;
  background: var(--blue);
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 3rem 0;
}

h1 {
  font-size: 8vw;
  /* scales with screen width */
  font-weight: bold;
}

.section.alt {
  background: #f1f5f9;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  animation: fadeInUp 0.6s ease;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* Testimonials Grid */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns desktop */
  gap: 25px;
  padding: 2rem;
}

/* ===== Student Reviews Section ===== */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.testimonial-item {
  background: white;
  color: #333;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-6px);
}

.testimonial-item img {
  width: 90px;
  height: 99px;
  border-radius: 12%;
  margin-bottom: 12px;
  border: 1px solid #0b63d6;
  object-fit: cover;
}

/* Reviewer text */
.testimonial-item p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.testimonial-item footer {
  font-weight: bold;
  color: #0b63d6;
}

/* ===== Mobile View (Horizontal Scroll) ===== */
@media (max-width: 768px) {
  .testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
  }

  .testimonial-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  /* Hide scrollbar (optional) */
  .testimonial-slider::-webkit-scrollbar {
    display: none;
  }
}



/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
}

.affiliation {
  background: #f9fafb;
  padding: 50px 20px;
  text-align: center;
}

.affiliation h2 {
  font-size: 2em;
  color: #0b63d6;
  margin-bottom: 10px;
}

.affiliation .intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1rem;
}

.affiliation-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.logo-card {
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease;
  transition: 0.3s;
}

.logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 5px rgb(0, 102, 128);
}

.logo-card img {
  width: 160px;
  height: auto;
  margin-bottom: 10px;
}

.logo-card p {
  font-size: 0.95rem;
  color: #333;
}

@media(max-width: 600px) {
  .logo-card {
    width: 100%;
  }
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn.ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

/* ---------- CONTACT FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 6px rgba(11, 99, 214, 0.3);
}

.form-actions {
  display: flex;
  gap: 0.5rem;
}

.map-placeholder {
  height: 200px;
  background: #ddd;
  border-radius: var(--radius);
}

.success-message {
  background-color: #e6ffed;
  color: #0f5132;
  border: 1px solid #a3cfbb;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   CONTACT GRID - FLEX LAYOUT
   ========================================= */

.contact-grid {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  
  gap: 30px;
}


/* =========================================
   CONTACT FORM + DETAILS
   ========================================= */

.contact-form,
.contact-details {
  flex: 1 1 450px;
  
  margin: 0;
  padding: 15px;
  
  background: #ffffff;
  
  border: 1px solid #dbeafe;
  border-radius: 22px;
  
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 123, 255, 0.05);
  
  box-sizing: border-box;
  
  transition: 0.3s ease;
}
.contact-form{
  box-shadow: 0 -39px 0 rgb(4, 77, 165);
}

/* Hover */

.contact-form:hover,
.contact-details:hover {
  border-color: #93c5fd;
}
.formname{
  transform: translateY(-52px);
  color: white;
}

/* =========================================
   FORM
   ========================================= */

.contact-form {
  display: flex;
  flex-direction: column;
  
  gap: 4px;
}


/* Labels */

.contact-form label {
  display: flex;
  flex-direction: column;
  
  gap: 7px;
  
  margin: 0;
  
  font-size: 14px;
  font-weight: 600;
  color: #090c12;
}


/* Inputs */

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  box-sizing: border-box;
  
  padding: 13px 13px;
  
  border: 1px solid #dbe3ec;
  border-radius: 11px;
  
  background: #f8fafc;
  color: #030407;
  
  font-size: 15px;
  font-family: inherit;
  
  outline: none;
  
  transition: 0.25s ease;
}


/* Input focus */

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background: #ffffff;
  
  border-color: #007bff;
  
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.10);
}


/* Textarea */

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}


/* =========================================
   CONTACT DETAILS
   ========================================= */

.contact-details {
  display: flex;
  flex-direction: column;
  margin: 12px;
  gap: 15px;
}


.contact-details h3 {
  margin: 0 0 5px;
  
  font-size: 24px;
  color: #111827;
}


/* =========================================
   MAP
   ========================================= */

.map-placeholder {
  width: 100%;
  height: 260px;
  
  margin: 12px 0 0;
  
  overflow: hidden;
  
  border-radius: 16px;
  border: 1px solid #dbeafe;
  
  box-sizing: border-box;
}


.map-placeholder iframe {
  width: 100%;
  height: 100%;
  
  border: 0;
  display: block;
}


/* =========================================
   BUTTON
   ========================================= */

.contact-form button {
  width: 100%;
  
  margin-top: 5px;
  padding: 14px 20px;
  
  border: none;
  border-radius: 11px;
  
  background: linear-gradient(
    135deg,
    #007bff,
    #0056d6
  );
  
  color: white;
  
  font-size: 15px;
  font-weight: 700;
  
  cursor: pointer;
  
  transition: 0.3s ease;
}


.contact-form button:hover {
  transform: translateY(-2px);
  
  box-shadow:
    0 10px 20px rgba(0, 123, 255, 0.25);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

  .contact-grid {
    width: 90%;
    
    margin: 40px auto;
    
    gap: 25px;
  }

  .contact-form,
  .contact-details {
    flex: 1 1 100%;
    
    padding: 28px;
  }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

  .contact-grid {
    width: 92%;
    
    margin: 30px auto;
    
    gap: 20px;
  }

  .contact-form,
  .contact-details {
    padding: 22px;
    margin: 3px;
    border-radius: 18px;
  }

  .contact-details h3 {
    font-size: 21px;
  }

  .map-placeholder {
    height: 220px;
  }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 400px) {

  .contact-grid {
    width: 94%;
    
    margin: 25px auto;
    
    gap: 16px;
  }

  .contact-form,
  .contact-details {
    padding: 15px;
    margin-top: 25px;
  }

}

/* ---------- FOOTER ---------- */
/* Footer Base */
.site-footer {
  background: #0d1b2a;
  color: #ddd;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #fff;
}

.footer-col p,
.footer-col ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #1da1f2;
}

/* Social Icons */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  width: 32px;
  height: 32px;
  background: #1da1f2;
  color: #fff;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2);
  background: #fff;
  color: #1da1f2;
}

/* Bottom Row */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.visitor-counter {
  margin-bottom: 8px;
  font-size: 14px;
  color: #bbb;
}

.visitor-counter span {
  font-weight: bold;
  color: #1da1f2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social a {
    margin: 5px;
  }
}

/* ---------- VERIFICATION PAGE ---------- */
.verify-form {
  margin-top: 1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  animation: fadeInUp 0.8s ease;
}

.verify-form input {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.4rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
}

.verify-result {
  margin-top: 1.5rem;
}

.verify-result .card {
  background: #e6ffed;
  border-left: 5px solid #2ecc71;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fadeInUp 0.6s ease;
}

.verify-result .err {
  background: #ffe6e6;
  border-left: 5px solid #e74c3c;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fadeInUp 0.6s ease;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--glass);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    animation: fadeIn 0.3s ease;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* Product section styling */
.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.product-text h3 {
  color: #0b63d6;
  margin-bottom: 10px;
}

.product-image img {
  width: 300px;
  border-radius: 8px;
  max-width: 100%;
  /* responsive fix */
  height: auto;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
  .product {
    flex-direction: column;
    /* stack image and text */
    text-align: center;
  }

  .product-text {
    order: 2;
    /* show text after image */
  }

  .product-image {
    order: 1;
  }

  .product-image img {
    width: 100%;
    /* take full width on mobile */
    max-width: 400px;
    margin: 0 auto;
  }
}
.footer-logo {
    width: 240px !important;    /* controls size */
    height: auto !important;
    display: block !important;
    margin-bottom: 1px !important;
    margin-top: 1px !important;
}
/* ===== NAV SYSTEM ===== */

.nav {
  display: flex;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  height: 3px;
  background: #0b63d6;
  border-radius: 5px;
  transition: 0.4s;
}

/* X animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #f4faff;
    flex-direction: column;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .nav.open {
    max-height: 400px;
    opacity: 1;
  }

  .nav a {
    padding: 12px;
    border-top: 1px solid #ddd;
  }

  .nav-toggle {
    display: flex;
  }
}
.back-to-top {
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.25s;
}

.back-to-top:hover {
  background: #334155;
  color: #e2e8f0;
  border-color: #64748b;
}
.features-section {
    padding: 80px 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.4rem;
    color: #1e2937;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;           /* 1 column on mobile */
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.icon-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.4rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.notification-card .icon-circle { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.notes-card .icon-circle      { background: linear-gradient(135deg, #10b981, #34d399); }
.videos-card .icon-circle     { background: linear-gradient(135deg, #3b82f6, #60a5fa); }

.card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 30px;
    font-weight: 600;
}

.feature-card h3 {
    font-size: 1.55rem;
    margin: 12px 0 14px;
    color: #1e2937;
}

.feature-card p {
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 22px;
    font-size: 1rem;
}

.stats {
    margin-bottom: 28px;
}

.stats span {
    background: #f8fafc;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: #334155;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #3b82f6;
    color: white;
}

.primary-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);   /* 2 columns on tablet */
        gap: 28px;
    }
    
    .feature-card {
        padding: 38px 28px;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);   /* 3 columns on desktop */
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .card-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        padding: 13px 26px;
    }
}
/* Notification Card Specific Styles */
.notification-card {
    position: relative;
}

.card-description {
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 10px;
    font-size: 1rem;
}

.notification-list-in-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    max-height: 160px;
    overflow-y: auto;
}

.mini-notification {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.mini-notification:hover {
    background: #f0f9ff;
}

.notif-icon {
    width: 32px;
    height: 32px;
    background: #e0f2fe;
    color: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: #1e2937;
    line-height: 1.4;
    margin-bottom: 3px;
}

.notif-time {
    font-size: 0.4rem;
    color: #94a3b8;
}

/* Make sure it looks good on mobile */
@media (max-width: 767px) {
    .notification-list-in-card {
        max-height: 180px;
        padding: 10px;
    }
    
    .mini-notification {
        padding: 9px 10px;
    }
}
.review-btn{
    --primary:#2563eb;
    --secondary:#06b6d4;
    --glow:rgba(37,99,235,0.65);

    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:18px 38px;
    border-radius:80px;

    background:
        linear-gradient(135deg,var(--primary),var(--secondary));

    color:#ffffff;
    font-size:18px;
    font-weight:700;
    letter-spacing:0.6px;
    text-transform:uppercase;
    text-decoration:none;

    overflow:hidden;
    isolation:isolate;

    border:1px solid rgba(255,255,255,0.18);

    backdrop-filter:blur(12px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.18),
        0 15px 45px rgba(37,99,235,0.35),
        inset 0 1px 1px rgba(255,255,255,0.35),
        inset 0 -2px 6px rgba(0,0,0,0.18);

    transition:
        transform .45s ease,
        box-shadow .45s ease,
        letter-spacing .35s ease,
        filter .35s ease;

    animation:buttonFloat 4s ease-in-out infinite;
}

/* Glass Shine Layer */
.review-btn::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255,255,255,0.45) 45%,
            transparent 70%
        );
    transform:translateX(-140%);
    transition:1s ease;
    z-index:-1;
}

/* Glow Ring */
.review-btn::after{
    content:'';
    position:absolute;
    inset:-4px;
    border-radius:inherit;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.4),
            rgba(255,255,255,0.05)
        );
    z-index:-2;
    filter:blur(12px);
    opacity:0;
    transition:0.5s ease;
}

/* Hover Effects */
.review-btn:hover{
    transform:translateY(-7px) scale(1.06);
    letter-spacing:1.2px;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.22),
        0 20px 60px rgba(37,99,235,0.55),
        0 0 25px rgba(6,182,212,0.45),
        inset 0 1px 1px rgba(255,255,255,0.4);

    filter:brightness(1.08);
}

.review-btn:hover::before{
    transform:translateX(140%);
}

.review-btn:hover::after{
    opacity:1;
}

/* Click Effect */
.review-btn:active{
    transform:scale(0.96);
}

/* Animated Border Glow */
.review-btn span{
    position:relative;
    z-index:2;
}

/* Floating Animation */
@keyframes buttonFloat{
    0%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-3px);
    }
    100%{
        transform:translateY(0px);
    }
}

/* Mobile Optimization */
@media(max-width:768px){

    .review-btn{
        width:100%;
        padding:16px 24px;
        font-size:16px;
    }

}
