/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.font-satoshi {
    font-family: 'Satoshi', sans-serif;
}

.section-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 6rem;
    color: #000;
}

/* Colors */
.text-primary-blue {
    color: #404f8f;
}

.bg-primary-blue {
    background-color: #404f8f;
}

.bg-light-blue {
    background-color: #ebeeff;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header-transparent {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: black;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-solid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: black;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.header-transparent .nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #404f8f;
    transition: width 0.3s ease;
}

.header-transparent .nav-link:hover::after {
    width: 100%;
}

.header-solid .nav-link:hover {
    color: #404f8f;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: currentColor;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-mobile {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-mobile.active {
    transform: translateY(0);
}

.nav-mobile .nav-link {
    display: block;
    padding: 1rem 0;
    color: #333;
    border-bottom: 1px solid #eee;
}

/* Slider Styles */
.slider-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Text Overlay */
.hero-text-overlay {
    position: absolute;
    top: 600px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn svg {
    width: 24px;
    height: 24px;
}

.slider-nav-btn.prev {
    left: 20px;
}

.slider-nav-btn.next {
    right: 20px;
}

.slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Clients Section */
.clients-section {
    padding: 10rem 0;
    background: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.clients-section .container {
    max-width: none;
    padding: 0;
}

.client-carousel {
    overflow: hidden;
    white-space: nowrap;
    padding: 1rem 0;
    user-select: none;
    cursor: grab;
    position: relative;
}

.client-carousel:active {
    cursor: grabbing;
}

.client-track {
    display: inline-flex;
    gap: 2rem;
    animation: infiniteScroll 30s linear infinite;
}

.client-track.paused {
    animation-play-state: paused;
}

.client-card {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    margin-bottom: 1rem;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.client-card p {
    font-weight: 600;
    text-align: center;
    color: #333;
    font-size: 0.9rem;
    user-select: none;
    -webkit-user-select: none;
}

/* Image Grid */
.image-grid-section {
    padding: 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.image-grid-item {
    width: 100%;
    max-width: 480px;
    height: 805px;
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
}

.image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-grid-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.image-overlay h3 {
    font-size: clamp(3rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    padding: 0 1rem;
}

/* Scroll Section */
.company-info {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 150px auto;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.company-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.company-logo img {
  width: 250px;
  height: auto;
}

.company-text p {
  font-family: "Poppins", sans-serif;
  color: #333;
  font-size: 20px;
  line-height: 1.6;
  text-align: justify;
  max-width: 800px;
}

@media (max-width: 800px) {
  .company-info {
    flex-direction: column;
    text-align: center;
  }
  .company-logo img {
    width: 120px;
  }
  .company-text p {
    text-align: center;
  }
}

/* Footer */
.footer-container {
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 48px;
    margin: 80px auto 0 auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    border-bottom: none;
    position: relative;
    z-index: 10;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-left {
    max-width: 320px;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    color: #4b5563;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.social-icons a {
    color: #4b5563;
    transition: color 0.2s ease-in-out;
}

.social-icons a:hover {
    color: #404f8f;
}

.footer-right {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 80px;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.location-item p {
    margin: 8px 0 0 0;
    line-height: 1.6;
    font-size: 16px;
    color: #4b5563;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    text-decoration: none;
    color: #4b5563;
    font-size: 16px;
    font-weight: 450;
    transition: color 0.2s ease-in-out;
}

.footer-links-column a:hover {
    color: #36499F;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: #e5e7eb;
    margin: 0 0 32px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    margin: 0;
    color: #6b7280;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-text-overlay {
        top: 500px;
    }

    .client-card {
        width: 220px;
        height: 220px;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .image-grid-item {
        width: 100%;
        max-width: 400px;
        height: 670px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-text-overlay {
        top: 400px;
    }

    .slider-nav-btn {
        width: 40px;
        height: 40px;
    }

    .slider-nav-btn.prev {
        left: 10px;
    }

    .slider-nav-btn.next {
        right: 10px;
    }

    .client-card {
        width: 180px;
        height: 180px;
        padding: 1.5rem;
    }

    .client-track {
        gap: 1.5rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid-item {
        width: 100%;
        max-width: 320px;
        height: 536px;
        margin: 0 auto;
    }

    .footer-container {
        padding: 32px 24px;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-right {
        margin-top: 32px;
        justify-content: flex-start;
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 16px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-text-overlay {
        top: 300px;
    }

    .client-card {
        width: 150px;
        height: 150px;
        padding: 1rem;
    }

    .client-track {
        gap: 1rem;
    }

    .slider-nav-btn {
        width: 35px;
        height: 35px;
    }

    .slider-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}