/* Complete Responsive Media Queries */

/* ========== max-width: 968px ========== */
@media (max-width: 968px) {

  .container {
    padding: 0 20px;
  }

  .section-padding {
    padding: 80px 0;
  }

  /* Header */
  header {
    padding: 14px 0;
  }

  .logo {
    width: 70px;
  }

  /* Mobile Sliding Menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: #fff;
    flex-direction: column;
    padding: 100px 25px 25px;
    gap: 25px;
    box-shadow: var(--shadow-lg);

    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }


  .mobile-toggle {
    position: fixed;
    display: block;
    top: 22px;
    right: 20px;
    z-index: 1001;
    /* higher than nav-links */
    color: var(--primary);
  }


  .mobile-toggle i {
    transition: transform 0.3s ease;
  }

  .nav-links.active~.mobile-toggle i {
    transform: rotate(180deg);
  }



  /* Hero */
  .hero {
    padding-top: 100px;
    padding-bottom: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    margin: 0 auto 40px;
    max-width: 100%;
  }

  .hero-content .hero-btn {
    justify-content: center;
  }

  .hero-content .achivments {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-image-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }

  .float-card {
    transform: scale(0.9);
  }


  /* Problem/Services Grids */
  .problem-grid,
  .problem-grid-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .problem-card::before {
    opacity: 1;
  }

  .problem-grid-services .service-card h3 {
    color: #cfa355;
  }

  .problem-grid-services .service-card .icon-box {
    color: #cfa355;
    background: rgba(255, 255, 255, 0.1);
  }

  /* About */
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 60px 40px;
  }

  .about-image {
    min-height: 250px;
  }




  /* Process */
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
    position: relative;
  }

  .process-steps::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
  }

  .process-steps::before {
    content: "";
    position: absolute;
    bottom: calc(50% - 60px);
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
  }

  .step-item {
    text-align: center;
  }

  .step-num {
    margin: 0 auto 20px;
    position: static;
  }

  /* Contact */
  .contact-container {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .gradient,
  .contact-form-wrapper {
    padding: 40px;
  }

  /* Video */
  .video-container {
    margin: 30px auto;
  }

  .play-btn {
    width: 70px;
    height: 70px;
    font-size: 20px;
  }

  /* Buttons */
  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-slide {
    padding: 30px 20px;
  }
}

/* ========== max-width: 768px ========== */
@media (max-width: 768px) {

  .container {
    padding: 0 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  /* =========================================
   EXPERT TEAM - MOBILE OPTIMIZATION
   Transform individual cards into a unified "Stats Panel"
   ========================================= */

  .expert-team-grid {
    /* Switch Grid to Flex Row for the "Strip" Layout */
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    /* Container Styling to look like one wide card */
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 15px 0;
    gap: 0;
    /* Remove gap between items */
    max-width: 100%;
  }

  .expert-card {
    /* Remove individual Card Styling */
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 5px;

    /* Layout logic */
    flex: 1;
    /* Force equal width for all 3 items */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Add Vertical Dividers */
    border-right: 1px solid #f1f5f9;
  }

  .expert-card:last-child {
    border-right: none;
    /* Remove border from last item */
  }

  /* Disable Desktop Interactions */
  .expert-card:hover {
    transform: none;
    box-shadow: none;
  }

  .expert-card::after {
    display: none;
    /* Remove gold hover line */
  }

  /* Mobile Text & Icon Sizing */
  .expert-card .icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    background: transparent;
    color: var(--accent);
    border: 1px solid red;
  }

  .expert-card .wrapper1 , .expert-card .wrapper2{
    padding: 7px;
  }

  .expert-card h3 {
    font-size: 1.75rem;
    /* Readable large number */
    margin-bottom: 2px;
  }

  .expert-card p {
    font-size: 0.65rem;
    /* Small, crisp text */
    line-height: 1.2;
    letter-spacing: 0.5px;
    padding: 0 4px;
    /* Prevent text touching edges */
  }

  .video-container {
    margin: 30px auto;
  }

  .testimonial-slide {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ========== max-width: 600px ========== */
@media (max-width: 600px) {

  /* Grids single column */
  .problem-grid,
  .problem-grid-services,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::after {
    display: none;
  }

  .step-item {
    text-align: left;
    padding: 16px 16px 16px 70px;
    position: relative;
  }

  .step-item:not(:last-child) .step-num::before {
    content: "";
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e2e8f0;
    z-index: 1;
  }

  .process-steps::before {
    display: none;
  }

  .step-num {
    position: absolute;
    left: 15px;
    top: 18px;
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  footer {
    text-align: left;
  }
}

/* ========== max-width: 480px ========== */
@media (max-width: 480px) {

  .container {
    padding: 0 14px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .hero {
    padding-bottom: 50px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero .float-card {
    display: none;
  }

  .hero-content .achivments {
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-content {
    padding: 40px 24px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .gradient,
  .contact-form-wrapper {
    padding: 30px 24px;
  }

  .form-input {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 24px;
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
  }

  .problem-card,
  .service-card .dark-oly {
    padding: 30px 24px;
  }

  .problem-grid,
  .problem-grid-services {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-input {
    font-size: 0.9rem;
    padding: 12px 0;
  }

  .form-label {
    font-size: 0.85rem;
  }

  .testimonial-slide {
    padding: 20px 16px;
  }

  .video-container {
    margin: 24px auto;
    width: 350px;
  }
}

@media (max-width: 320px) {
  .problem-grid-services .service-card {
    padding: 20px;
  }
}

