/**
 * Hero Section Styles
 * Using custom CSS variables from :root
 */

/* ========================================
   Hero Section - Main Container
======================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 445px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Video Background
======================================== */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

/* ========================================
   Hero Content
======================================== */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: var(--space-32) var(--space-16);
}

.hero-container {
    max-width: var(--container-lg);
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   Hero Title
======================================== */
.hero-title {
    font-family: var(--font-family-base);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--white);
    margin: 0 0 var(--space-32);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Search Form
======================================== */
.hero-search-wrapper {
    max-width: 900px;
    margin: 0 auto var(--space-32);
}

.hero-search-form {
    width: 100%;
}

.hero-search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.hero-search-container:focus-within {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-search-input {
    flex: 1;
    width: 100%;
    padding: var(--space-16) var(--space-24);
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    color: var(--gray-dark);
    background: transparent;
    border: none;
    outline: none;
    border-radius: var(--radius-md);
}

.hero-search-input::placeholder {
    color: var(--gray);
}

.hero-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-20);
    margin-right: var(--space-8);
    background: transparent;
    border: none;
    color: var(--blue);
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-standard);
}

.hero-search-button:hover {
    color: var(--primary);
}

.hero-search-button svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   Hero Features
======================================== */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-32);
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-16);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    justify-content: center;
}

.hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-feature-icon svg {
    width: 40px;
    height: 40px;
}

.hero-feature-text {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--white);
    text-align: left;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}



/* ========================================
   Responsive Design
======================================== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: calc(var(--font-size-3xl) + 4px);
        margin-bottom: var(--space-24);
    }

    .hero-search-wrapper {
        margin-bottom: var(--space-24);
    }

    .hero-search-input {
        padding: var(--space-12) var(--space-20);
        font-size: var(--font-size-md);
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-20);
    }

    .hero-feature {
        flex-direction: column;
        text-align: center;
    }

    .hero-feature-text {
        text-align: center;
        font-size: var(--font-size-sm);
    }
}


/* Mobile - 480px and below */
@media (max-width: 480px) {
    .hero-section {
        height: 55vh;
        min-height: 350px;
    }

    .hero-content {
        padding: var(--space-20) var(--space-12);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--space-20);
    }

    .hero-search-wrapper {
        margin-bottom: var(--space-20);
    }

    .hero-search-input {
        padding: var(--space-10) var(--space-16);
        font-size: var(--font-size-sm);
    }

    .hero-search-button {
        padding: var(--space-10) var(--space-16);
    }

    .hero-search-button svg {
        width: 20px;
        height: 20px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: var(--space-16);
    }

    .hero-feature-icon {
        width: 40px;
        height: 40px;
    }

    .hero-feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .hero-feature-text {
        font-size: var(--font-size-xs);
    }
}

/* Large Desktop - Enhanced video quality */
@media (min-width: 1920px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-search-input {
        font-size: var(--font-size-xl);
    }

    .hero-feature-text {
        font-size: var(--font-size-lg);
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation: none;
    }

    .hero-search-container,
    .whatsapp-float {
        transition: none;
    }
}

/* Print Styles */
@media print {

    .hero-video-container,
    .whatsapp-float {
        display: none;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.1);
    }
}

/**
 * Why Choose Us Section Styles
 * File: css/why-choose-us.css or add to style.css
 */

/* ========================================
   Why Choose Us Section
======================================== */
.why-choose-section {
    position: relative;
    width: 100%;
    padding: 80px var(--space-16);
    background-color: var(--light);
}

.why-choose-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

/* ========================================
   Section Header
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 2px;
    color: var(--orange);
    text-transform: uppercase;
    margin: 0 0 var(--space-12);
}

.section-title {
    font-family: var(--font-family-base);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--blue);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Features Grid
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-32);
}

/* ========================================
   Feature Card
======================================== */
.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-32) var(--space-24);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-standard),
        box-shadow var(--duration-normal) var(--ease-standard);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08),
        0 8px 16px -4px rgba(0, 0, 0, 0.04);
}

/* ========================================
   Feature Icon
======================================== */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-24);
    color: var(--orange);
    transition: transform var(--duration-normal) var(--ease-standard);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 56px;
    height: 56px;
}

/* ========================================
   Feature Content
======================================== */
.feature-title {
    font-family: var(--font-family-base);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--dark);
    margin: 0 0 var(--space-12);
}

.feature-description {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--gray);
    margin: 0;
}

/* ========================================
   Responsive Design
======================================== */

/* Desktop Large - 4 columns */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet - 2 columns */
@media (max-width: 992px) {
    .why-choose-section {
        padding: 60px var(--space-16);
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: calc(var(--font-size-3xl) + 2px);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-24);
    }

    .feature-card {
        padding: var(--space-24) var(--space-20);
    }
}

/* Tablet Small - 2 columns */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 48px var(--space-16);
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: var(--space-20);
    }

    .feature-icon svg {
        width: 48px;
        height: 48px;
    }

    .feature-title {
        font-size: var(--font-size-lg);
    }

    .feature-description {
        font-size: var(--font-size-sm);
    }
}

/* Mobile - 1 column */
@media (max-width: 576px) {
    .why-choose-section {
        padding: 40px var(--space-12);
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-subtitle {
        font-size: var(--font-size-xs);
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-20);
    }

    .feature-card {
        padding: var(--space-24) var(--space-16);
    }

    .feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: var(--space-16);
    }

    .feature-icon svg {
        width: 44px;
        height: 44px;
    }

    .feature-title {
        font-size: var(--font-size-md);
    }

    .feature-description {
        font-size: var(--font-size-xs);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .feature-card,
    .feature-icon {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .why-choose-section {
        padding: 20px 0;
    }

    .feature-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray);
    }
}


.associated-container {
    padding: var(--space-32) var(--space-16);
    max-width: var(--container-xl);
    margin: 0 auto;
    z-index: 2;
}

.associated-header {
    text-align: center;
    margin-bottom: var(--space-32);
}

.associated-subtitle {
   font-family: var(--font-family-base);
     font-size: var(--font-size-sm);
     font-weight: var(--font-weight-semibold);
     letter-spacing: 2px;
     color: var(--orange);
     text-transform: uppercase;
     margin: 0 0 var(--space-12);
}

.associated-title {
    font-family: var(--font-family-base);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--blue);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-16);
    align-items: center;
    justify-items: center;
}

@media (min-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.logo-item {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 16 / 9;
    background-color: var(--white);
    padding: var(--space-16);
    display: flex;
    align-items: center;
    justify-content: center;
}



.logo-item img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}




/* Responsive Design */
@media (max-width: 768px) {
    .associated-title {
        font-size: var(--font-size-3xl);
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-20);
    }

    .logo-item {
        max-width: 100%;
        padding: var(--space-16);
    }
}