/* ============================================
   SOUDA TECHNICAL - RESPONSIVE STYLESHEET
   ============================================ */

/* =========================================
   RESPONSIVE
========================================= */

/* @media (max-width: 992px) {

    .clients-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media (max-width: 768px) {

    .clients-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .client-logo {

        height: 120px;

        padding: 20px;

    }

}


@media (max-width: 480px) {

    .clients-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 12px;

    }

    .client-logo {

        height: 100px;

        padding: 15px;

    }

} */

/* =========================================
   RESPONSIVE
========================================= */

/* @media (max-width: 992px) {

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;

    }
    .capabilities-grid,
    .values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .inner-page-hero {
        min-height: 350px;
    }
    .about-image img {
        height: 400px;
    }
    .capabilities-grid,
    .values-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }
    .mission-card,
    .vision-card {
        padding: 35px 25px;
    }
    .about-cta h2 {
       font-size: 36px;
    }

} */

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  .section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2rem;
  }

  .about-grid,
  .about-page-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-main img {
    height: 400px;
  }
  .about-img-badge {
    right: 1rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .services-page-grid,
  .projects-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .capabilities-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root {
    --header-height: 100px;
  } /* Adjust header height for smaller screens before 70% */

  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-desc {
    font-size: 1rem;
  }

  /* Mobile Navigation */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-width: 380px;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-link {
    padding: 1rem 0;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
    border-radius: 0;
  }

  .nav-link::after {
    display: none;
  }
  .nav-link:hover {
    background: none;
  }

  .nav-cta {
    margin: 1.5rem 0 0 0;
    width: 100%;
  }
  .nav-cta .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
  }

  /* Mobile Dropdown */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 1rem;
    display: none;
    min-width: 100%;
    background: transparent;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-link {
    padding: 0.6rem 0;
  }
  .dropdown-link:hover {
    background: none;
    padding-left: 0.5rem;
  }

  /* Hero */
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  .slider-controls {
    bottom: 2rem;
    right: 1rem;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-stats {
    display: none;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Contact */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-grid {
    gap: 2rem;
  }

  /* Page Header */
  .page-title {
    font-size: 2rem;
  }
  .page-header {
    padding: 7rem 0 3rem;
  }

  /* Lightbox */
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  /* Projects filter */
  .projects-filter {
    gap: 0.4rem;
  }
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  /* Additonal Code Log Change */
  .logo-icon {
    width: 252px;
    height: 252px;
  }
  .logo-brand {
    font-size: 17px;
  }
  .logo-tagline {
    font-size: 8px;
    letter-spacing: 1px;
  }
  /*-----------27 July 2026 */
  .inner-page-hero {
    min-height: 350px;
  }
  .about-image img {
    height: 400px;
  }
  .capabilities-grid,
  .values-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .mission-card,
  .vision-card {
    padding: 35px 25px;
  }
  .about-cta h2 {
    font-size: 36px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logo {
    height: 120px;
    padding: 20px;
  }

  /*-----------27 July 2026 */

  /* Additonal Code Log Change END */

  /* =========================================
   HERO SECTION
========================================= */

  .hero {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    background: #1e3a5f;
  }

  /* =========================================
   HERO SLIDER
========================================= */

  .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 1s ease,
      visibility 1s ease;
  }

  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  /* Hero Images */

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 6s ease;
  }

  /* Zoom Effect */

  .hero-slide.active img {
    transform: scale(1.05);
  }

  /* =========================================
   DARK OVERLAY
========================================= */

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: linear-gradient(
      90deg,
      rgba(10, 25, 40, 0.85) 0%,
      rgba(10, 25, 40, 0.65) 45%,
      rgba(10, 25, 40, 0.35) 100%
    );
  }

  /* =========================================
   HERO CONTENT
========================================= */

  .hero-content {
    position: relative;
    z-index: 5;
    max-width: 1280px;
    width: 92%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 80px;
  }

  .hero-subtitle {
    margin-bottom: 15px;
    color: #e67e22;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .hero-title {
    max-width: 750px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 72px);

    line-height: 1.1;
    font-weight: 800;
  }

  .hero-title span {
    color: #e67e22;
  }

  .hero-desc {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
  }

  /* =========================================
   HERO BUTTONS
========================================= */

  .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .btn-primary {
    background: #e67e22;
    color: #ffffff;
    border: 2px solid #e67e22;
  }

  .btn-primary:hover {
    background: #c9630f;
    border-color: #c9630f;
    transform: translateY(-2px);
  }

  .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
  }

  .btn-outline:hover {
    background: #ffffff;
    color: #1e3a5f;
    transform: translateY(-2px);
  }

  /* =========================================
   SLIDER CONTROLS
========================================= */

  .slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .slider-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
  }

  .slider-btn:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: scale(1.1);
  }

  /* =========================================
   SLIDER DOTS
========================================= */

  .slider-dots {
    position: absolute;
    bottom: 150px;
    left: 50%;
    z-index: 10;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
  }

  .slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .slider-dot.active {
    width: 30px;
    background: #e67e22;
    border-radius: 10px;
  }

  /* =========================================
   HERO STATS
========================================= */

  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(15, 30, 45, 0.9);
    backdrop-filter: blur(5px);
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item {
    padding: 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .stat-item:last-child {
    border-right: none;
  }

  .stat-number {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
  }

  .stat-label {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 9px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .client-logo {
    height: 100px;
    padding: 15px;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }
  .section-title {
    font-size: 1.5rem;
  }

  .logo-brand {
    font-size: 1.1rem;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .service-card {
    padding: 1.75rem;
  }
  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  .testimonial-text {
    font-size: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
  .contact-info-card {
    padding: 1.5rem;
  }

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

  .project-card {
    aspect-ratio: 16/10;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 1rem;
    right: 1rem;
  }

  .map-container {
    height: 300px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero {
    height: 720px;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-buttons {
    width: 100%;

    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;

    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.625rem;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .logo-brand {
    font-size: 1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
