/* ============================
📱 FULL RESPONSIVENESS – The Teaching Desk
Target: Mobile & Tablet screens (≤ 991px, ≤ 768px, ≤ 576px)
Purpose: Layout fixes, alignment, font resizing, alternate blocks, etc.
============================ */

/* ✅ GENERAL: Prevent Horizontal Scroll */
html, body {
  max-width: 100vw;
}

/* ✅ MARQUEE + NAVBAR */
@media (max-width: 768px) {
  .top-bar, .top-marquee {
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    padding: 10px, 12px;
  }

  @media (max-width: 768px) {
    /* ✅ Logo + Brand Layout */
    .brand {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: clamp(1.2rem, 4vw, 1.6rem);
      margin-left: 12px;
    }
  
    .ttd-icon {
      height: 20px;
      width: auto;
    }
  
    .ttd-brand-name {
      font-size: inherit;
      font-weight: 600;
    }
    .marquee-highlight {
      display: none;
    }
    .marquee-left, .marquee-right{
      display: block;
    }
    .marquee-left marquee {
      font-size: clamp(0.85rem, 2.8vw, 1.1rem);
    }
    /* ✅ Hide full nav on mobile */
    .nav-center {
      display: none !important;
    }
  
    /* ✅ Show hamburger on mobile */
 
  }

  /* ✅ HIDE Desktop Nav and Login Button on Mobile */
  .nav-center, /* Targets your desktop navigation */
  .login-btn {  /* Targets your desktop login button */
    display: none !important; /* Forces them to be completely hidden on mobile */
  }

  /*
    WARNING: The rule below (.nav-center.show-on-mobile) is dangerous
    if you want to use the hamburger menu exclusively.
    It has been effectively overridden by the rule above or should be removed.
  */
  /* .nav-center.show-on-mobile {
    display: flex;
  } */

  /* The following rules are for the desktop nav links IF they were to display,
     but they are now hidden by the .nav-center rule above. */
  .nav-center a {
    color: white !important;
    font-size: 1.2rem;
    padding: 0.8rem 0;
    text-decoration: none;
  }
}

/* ✅ Mega Dropdown Fix */
@media (max-width: 768px) {
  .mega-dropdown .mega-menu {
    display: none !important;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
  }

  .mega-dropdown .mega-menu.mobile-show {
    display: flex !important;
  }

  .mega-left {
    display: none;
  }

  .mega-right a {
    color: white;
    font-size: 16px;
    padding: 6px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  @media (max-width: 768px) {
    #scrollTopBtn {
      bottom: 20px;
      right: 20px;
      padding: 12px;
      font-size: 16px;
    }
  }

/* ===================================================================
   ✅ REFINED MOBILE MENU & SUBMENU STYLES (Start of refined block)
   =================================================================== */

/* Hamburger Menu Icon */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10004; /* TOPMOST Z-index for clickability */
  display: flex; /* Always display on mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: #000; /* Color when closed */
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: white; /* Color when active (X) */
}
.hamburger.active span:nth-child(2) {
  opacity: 0; /* Hide middle bar */
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: white; /* Color when active (X) */
}

/* Main Overlay Menu */
#overlay-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 75vw; /* Adjusted width for better fit, consistent with previous advice */
  max-width: 400px; /* Limit max width for tablets */
  height: 100vh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%); /* Slightly gradient dark background */
  color: white;
  display: flex; /* Use flex for vertical alignment */
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 80px 30px 30px 30px; /* Padding for content */
  z-index: 10000; /* Z-index for main menu */
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), visibility 0.4s; /* More playful transition */

  /* Initial Hidden State */
  transform: translateX(100%); /* Start off-screen to the right */
  visibility: hidden; /* Hide completely and prevent interaction */
  pointer-events: none; /* Disable clicks when hidden */
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

#overlay-menu.is-active {
  transform: translateX(0); /* Slide into view */
  visibility: visible; /* Make visible */
  pointer-events: auto; /* Enable clicks */
}

#overlay-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#overlay-menu li {
  margin-bottom: 25px; /* Spacing between main menu items */
  overflow: hidden; /* Ensures padding/hover effects don't spill */
}

#overlay-menu a {
  color: white; /* White text for contrast */
  text-decoration: none;
  font-size: 1.8em; /* Large font size for readability */
  display: block;
  padding: 5px 0;
  position: relative; /* For pseudo-element underline */
  transition: color 0.3s ease; /* Smooth color change */
}

#overlay-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #007bff; /* Highlight color for underline */
  transition: width 0.3s ease-out; /* Slide in effect for underline */
}

#overlay-menu a:hover,
#overlay-menu a:focus {
  color: #007bff; /* Highlight color on hover/focus */
}

#overlay-menu a:hover::after,
#overlay-menu a:focus::after {
  width: 100%; /* Expand underline on hover/focus */
}

/* Added a slight animation for list items on menu activation */
#overlay-menu.is-active li {
  animation: fadeInRight 0.5s forwards;
  opacity: 0;
}

#overlay-menu.is-active li:nth-child(1) { animation-delay: 0.1s; }
#overlay-menu.is-active li:nth-child(2) { animation-delay: 0.2s; }
#overlay-menu.is-active li:nth-child(3) { animation-delay: 0.3s; }
#overlay-menu.is-active li:nth-child(4) { animation-delay: 0.4s; }
/* Add more for additional list items if needed */


.login-btn-overlay {
  background-color: #007bff; /* Vibrant blue for the login button */
  color: #ffffff; /* White text on blue background */
  padding: 12px 25px; /* Slightly more padding */
  margin-top: 2rem; /* More space from menu items */
  border-radius: 30px; /* More rounded corners */
  font-weight: bold;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  width: auto;
  min-width: 150px; /* Ensure button has a decent width */
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4); /* Soft shadow */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.login-btn-overlay:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-2px); /* Slight lift on hover */
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6); /* Enhanced shadow on hover */
}


/* Submenu Panel (Services) */
#servicePanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 75vw; /* Match main menu width for consistency */
  max-width: 400px; /* Match main menu max-width */
  height: 100vh;
  background: #c0e5f6; /* Different dark background for distinction */
  color: rgb(0, 0, 0); /* Consistent text color */
  display: flex;
  flex-direction: column;
  /* gap: 20px; Removed, using margin-bottom on li */
  align-items: flex-start; /* Aligned to start */
  padding: 80px 30px 30px 30px;
  z-index: 10003; /* Higher than main menu, lower than hamburger/close button */
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), visibility 0.4s; /* More playful transition */

  /* Initial Hidden State */
  transform: translateX(100%); /* Start off-screen to the right */
  visibility: hidden; /* Hide completely and prevent interaction */
  pointer-events: none; /* Disable clicks when hidden */
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

#servicePanel.is-active {
  transform: translateX(0); /* Slide into view */
  visibility: visible; /* Make visible */
  pointer-events: auto; /* Enable clicks */
}

#servicePanel .back-btn {
  display: inline-block;
  color: #000000; /* Use highlight color for back button */
  font-size: 1.8em; /* Slightly larger back button */
  cursor: pointer;
  position: absolute; /* Position relative to the panel */
  top: 20px;
  left: 30px; /* Align with panel content */
  z-index: 10004; /* Ensure back button is clickable (same as hamburger or higher) */
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover */
}

#servicePanel .back-btn:hover {
  color: #0056b3; /* Darker blue on hover */
  transform: translateX(-5px); /* Slight slide on hover */
}

#servicePanel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#servicePanel ul li {
  margin: 20px 0; /* Adjusted spacing for submenu items */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
  padding-bottom: 10px; /* Padding for separator */
  overflow: hidden; /* Ensures padding/hover effects don't spill */
}

#servicePanel ul li:last-child {
  border-bottom: none; /* No border for the last item */
  padding-bottom: 0;
}

#servicePanel ul li a {
  color: rgb(0, 0, 0); /* White text for visibility against dark background */
  font-size: 1.6em;
  padding: 5px 0;
  display: block;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover */
}

#servicePanel ul li a::before {
  content: '›'; /* A subtle arrow or indicator */
  position: absolute;
  left: -20px; /* Position to the left */
  opacity: 0;
  transition: left 0.3s ease, opacity 0.3s ease;
  color: #84baf3; /* Highlight color for the arrow */
}

#servicePanel ul li a:hover,
#servicePanel ul li a:focus {
  color: #75afed; /* Highlight color on hover/focus */
  transform: translateX(10px); /* Slight slide on hover */
}

#servicePanel ul li a:hover::before,
#servicePanel ul li a:focus::before {
  left: 0px; /* Slide arrow into view */
  opacity: 1;
}

/* Added a slight animation for submenu list items on panel activation */
#servicePanel.is-active li {
  animation: fadeInRight 0.5s forwards;
  opacity: 0;
}

#servicePanel.is-active li:nth-child(1) { animation-delay: 0.1s; }
#servicePanel.is-active li:nth-child(2) { animation-delay: 0.15s; }
#servicePanel.is-active li:nth-child(3) { animation-delay: 0.2s; }
/* Continue for more submenu items */


/* Close Button (for Main Menu) */
.close-btn {
  position: absolute; /* Position relative to overlay-menu */
  top: 20px;
  right: 30px; /* Align with padding */
  font-size: 36px; /* Large for easy tapping */
  color: white; /* White for visibility */
  z-index: 10002; /* Ensure it's clickable */
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for hover */
}

.close-btn:hover {
  transform: rotate(90deg); /* Rotate on hover */
  color: #ff0000; /* Red on hover for a clear "close" indication */
}

/* Keyframe Animations */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===================================================================
   ✅ REFINED MOBILE MENU & SUBMENU STYLES (End of refined block)
   =================================================================== */
} /* END of @media (max-width: 768px) */
/* ============================
📱 HERO SECTION RESPONSIVENESS
============================ */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    gap: 20px;
  }

  .hero-left {
    width: 100%;
    text-align: center;
  }

  .hero-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  .hero-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .lottie-services-wrapper {
    width: 100% !important;
    max-width: 400px;
  }
  .hero-logo {
    width: 350px;    
    height: 350px;
  }

  .lottie-services-wrapper lottie-player {
    width: 250vw !important;
    height: auto !important;
  }
}
@media (max-width: 768px) {
  .big-lottie {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .big-lottie lottie-player {
    width: 90vw !important;
    height: auto !important;
    max-width: 450px;
  }
}
/* ✅ SERVICE ROW */
@media (max-width: 768px) {
  .service-row {
    flex-direction: column !important;
    text-align: center;
  }

  .service-row .service-text {
    order: 2;
    padding: 1rem 1.5rem;
  }

  .service-row .service-image {
    order: 1;
    display: flex;
    justify-content: center;
  }

  .service-image img,
  .service-image lottie-player {
    width: 90%;
    height: auto;
    max-width: 400px;
  }

  .service-text h2 {
    font-size: 1.6rem;
  }

  .service-text p {
    font-size: 1.05rem;
    color: #444;
  }
}

/* ✅ WHY CHOOSE SECTION */
@media (max-width: 768px) {
  .why-card {
    width: 100%;
    max-width: 95%;
    margin: 1rem auto;
  }

  .why-card p {
    font-size: 1.1rem;
  }
}

/* ✅ PROCESS JOURNEY */
@media (max-width: 768px) {
  .process-journey-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .process-step,
  .arrow-step {
    width: 90%;
    margin: 0 auto;
  }

  .arrow-step i {
    transform: rotate(90deg);
    font-size: 24px;
    margin: 0.5rem auto;
  }
}
@media (max-width: 768px) {
  .floating-social-bar {
    top: 30%;
    right: 0;
    gap: 8px;
    transform: none;
    z-index: 99999;
  }

  .social-item {
    width: 170px;
    height: 44px;
    border-radius: 12px 0 0 12px;
    transform: translateX(120px);
    font-size: 14px;
  }

  .social-item i {
    width: 45px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .social-item span {
    font-size: 10px;
    white-space: nowrap;
  }

  .social-item:hover {
    transform: translateX(0) scale(1.05);
  }
  .facebook { 
    align-items: center;
    background: #3b5998; }
  .instagram { 
    align-items: center;
    background: #bc2a8d; }
  .youtube { 
    align-items: center;
    padding-left:5px;
    background: #ff0000; }
  .whatsapp {  
    align-items: center;
    background: #128C7E; }
  .email { 
    align-items: center;  
    background: #5e2e91; }
  .google {
    align-items: center;
    background: #1A73E8;}
}

/* ✅ PHOTO SLIDE */
@media (max-width: 768px) {
  .photo-slide {
    width: 80%;
    max-width: 650px;
    height: auto;
    margin-right: 20px;
  }

  .photo-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }
}

/* ✅ FOOTER + CHATBOT */
@media (max-width: 768px) {
  .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .logo-glass {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-glass img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-contact h3,
  .footer-links h3,
  .footer-social h3 {
    margin-top: 0;
  }

  .chatbot-toggle {
    bottom: 100px;
    right: 20px;
    width: 70px;
    height: 70px;
  }

  .chatbot-toggle img {
    width: 100%;
    height: 100%;
  }

  .bubble-image-text {
    right: 10px;
    bottom: 180px;
    width: 300px;
    height: 200px;
    background-size: contain;
  }

  .bubble-title {
    font-size: 16px;
  }

  .bubble-subline {
    font-size: 14px;
  }
  .chatbot-window {
    width: 75vw;
    height: 650px !important;
    max-width: 100%;
    height: 75vh; /* optional: adjust height on small screens */
    bottom: 80px; /* make sure it's above scroll button */
    right: 100px;
    border-radius: 12px;
    padding: 10px;
  }
  
  /* Chat Input Area */
  .chatbot-input {
    font-size: 0.9rem;
    padding: 10px 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    height: 45px;
  }
  
  /* Send Button */
  .chatbot-send-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    margin-left: 5px;
  }
}
/* ✅ Desktop-only rules (≥ 769px) */
@media (min-width: 769px) {
  .services-flyout {
    display: none !important;
  }

  /* CORRECTED: Ensure these are fully hidden on desktop */
  #overlay-menu,
  #servicePanel,
  .hamburger /* ADDED: Hide hamburger on desktop */ {
    display: none !important;
  }
}

/* ✅ Mobile-only rules (≤ 768px) */
/* The .close-btn rules are consolidated into the main @media (max-width: 768px) block */
@media (max-width: 768px) {
  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px; /* Adjusted to match menu padding */
    font-size: 36px;
    color: white;
    z-index: 10002;
    cursor: pointer;
  }

  .overlay-dropdown > a {
    font-size: 22px;
    font-weight: 600;
    padding: 12px 0;
  }
}

/* ✅ Mega Dropdown (Desktop Hover) */
@media (min-width: 992px) {
  .mega-dropdown:hover .mega-menu {
    display: flex;
  }
}

/* ✅ Hide Mega Menu on Tablet & Mobile (≤ 991px) */
@media (max-width: 991px) {
  .mega-menu {
    display: none !important;
  }
}
/* 📱 RESPONSIVENESS: Why Us Section */
@media (max-width: 768px) {
  .why-us-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .why-card {
    flex: 0 1 calc(50% - 20px); /* 2 cards per row */
    max-width: calc(50% - 20px);
    text-align: center;
  }

  .why-card .icon-glass {
    width: 220px;
    height: 220px;
  }

  .why-card .icon-glass img {
    width: 70px;
    height: 70px;
  }

  .why-card h4 {
    font-size: 1rem;
  }

  .why-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .why-card {
    flex: 0 1 100%; /* Stack vertically on very small screens */
    max-width: 100%;
  }

  .why-card .icon-glass {
    width: 180px;
    height: 180px;
  }

  .why-card .icon-glass img {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 768px) {
  .video-flow-container {
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video-flow-step {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }

  .video-flow-icon lottie-player {
    width: 350px !important;
    height: 350px !important;
    margin: 0 auto;
  }

  .video-flow-step h3 {
    font-size: 1.2rem;
    margin-top: 12px;
  }

  .video-flow-step p {
    font-size: 1rem;
    padding: 0 10px;
    line-height: 1.5;
  }
}
@media (max-width: 768px) {
  .video-flow-container {
    padding: 40px 15px;

  }

  .vertical-filmstrip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .strip-step {
    width: 100%;
    max-width: 90vw;
  }

  .video-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .video-flow-icon lottie-player {
    width: 100px;
    height: 100px;
  }

  .video-flow-step h3 {
    font-size: 1.2rem;
  }

  .video-flow-step p {
    font-size: 1rem;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .impact-item {
    width: 180px;
    height: 360px;
    padding: 25px 20px;
  }

  .impact-item::before {
    width: 150px;
    height: 300px;
  }

  .impact-number {
    font-size: 40px;
  }

  .impact-item p {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .impact-item {
    width: 160px;
    height: 320px;
  }

  .impact-number {
    font-size: 34px;
  }

  .impact-item p {
    font-size: 14px;
  }
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .story-container {
    flex-direction: column;
    padding: 0 15px;
  }

  .story-text {
    max-width: 85%;
    flex: 1 1 100%;
    text-align: justify; /* Optional: for neat paragraph alignment */
  }

  .story-image {
    max-width: 100%;
    flex: 1 1 100%;
    margin-top: 20px;
  }

  .story-text h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .story-text p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
  }
}
@media (max-width: 768px) {
  .social-hero-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px; /* optional spacing */
  }

  .social-hero-text {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px; /* some padding to prevent touching edges */
  }

  .social-hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
  }

  .social-hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 20px;
  }

  .social-hero-btn,
  .cta-btn-glow {
    font-size: 1rem;
    padding: 14px 28px;
    margin-top: 10px;
  }

  .social-hero-lottie {
    width: 100%;
    margin-left: -250px;
    max-width: 400px;
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .modal-content {
    max-width: 85%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 15px;
    transform: translate(-50%, -50%) scale(1); /* more stable */
  }

  .modal-header img {
    width: 180px;
    height: auto;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 12px;
  }

  .contact-form button {
    font-size: 15px;
    padding: 12px;
  }

  .close-modal {
    font-size: 22px;
    top: 10px;
    right: 15px;
  }

  .modal-subtext {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .char-count {
    font-size: 0.75rem;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  /* Common inner box for all forms */
  .form-modal-content {
    max-width: 85%;
    max-height: 75vh;
    overflow-y: auto;
    padding: 16px 12px;
    border-radius: 10px;
  }

  /* Close Button */
  .form-close-btn {
    font-size: 22px;
    top: 10px;
    right: 15px;
  }

  /* Selector Options */
  .selector-option {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 8px;
  }

  /* Headings and Paragraphs */
  .form-modal-content h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
  }

  .form-modal-content p,
  .form-modal-content label {
    font-size: 14px;
  }

  /* Input, Select, Button */
  .form-modal-content input,
  .form-modal-content select,
  .form-modal-content textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .form-modal-content button {
    font-size: 15px;
    padding: 10px;
    width: 100%;
  }

  /* Skill Section Columns */
  .skill-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .skill-column legend {
    font-size: 1rem;
  }

  .skill-items label {
    font-size: 13px;
  }

  /* Char Count */
  #charLeft,
  #seekerCharLeft {
    font-size: 0.8rem;
  }
}
/* 📱 Mobile Fix */
@media (max-width: 576px) {
  .plan-popup-inner {
    width: 95%;
    padding: 20px;
  }

  .plan-card {
    font-size: 0.9rem;
  }

  .purchase-btn {
    width: 100%;
  }
}
