/* About Page Hero - Matching Index Style */
/* Smaller Hero Section */
.page-hero {
    height: 60vh; /* Reduced from 100vh */
    margin-top: 1rem;
    min-height: 500px; /* Reduced from 800px */
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px; /* Reduced from 100px */
    text-align: center;
    overflow: hidden;
    background-attachment: fixed;
    background: rgba(0, 0, 0, 0.6);
}


.page-hero-background {
    background: url('/static/images/backgrounds/back7.jpg') no-repeat center center / cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transform: translateZ(0); /* triggers hardware acceleration */
}

/* Keep all other hero styles the same */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/backgrounds/back7.jpg') no-repeat center center / cover;
    background-attachment: fixed;
    z-index: -1;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.page-hero-content.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 auto 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: all 0.6s ease;
    color: white;
}

.hero-title.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
    color: var(--accent-color);
}

.hero-subtitle.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.hero-buttons-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 16px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.4s;
}

.hero-buttons-container.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

/* Adjust scroll indicator position for smaller height */
.hero-scroll-indicator {
    position: absolute;
    bottom: 20px; /* Reduced from 30px */
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.6s ease 0.8s;
}

.hero-scroll-indicator.aos-animate {
    opacity: 1;
}

.hero-scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: -10px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* Responsive adjustments for smaller hero */
@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 400px;
        padding-top: 60px;
        margin-top: 4rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }
}

/* Story Section */
.our-story {
    background-color: white;
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-top: 1rem;
    
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.story-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    opacity: 0;
    transition: var(--transition);
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-image:hover .image-overlay {
    opacity: 1;
}

.story-text {
    flex: 1;
}

.animate-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.features-list {
    margin: 1.5rem 0;
    padding-left: 1.25rem;
}

.features-list li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.features-list li::before {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--card-spacing);
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    margin: 1rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}



.feature-card p {
    text-align: left;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(220, 170, 109, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.spec-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Price Tag */
.price-tag {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 5px 15px rgba(220, 170, 109, 0.3);
}

/* Warranty Card */
.warranty-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.warranty-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.warranty-years {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.warranty-unit {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
}

.warranty-text {
    flex: 1;
}

.warranty-text p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.highlight {
    font-weight: 600;
    color: var(--primary-color);
}

/* Values Section */
.our-values {
    padding: var(--section-spacing) 0;
    background-color: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--card-spacing);
}

.values-grid p {
    text-align: left;
}

.value-card {
    background-color: white;
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin: 1rem;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray), transparent);
    margin: 4rem auto;
    max-width: 80%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    :root {
        --section-spacing: 80px;
        --card-spacing: 20px;
    }

    .story-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .story-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    .page-hero {
        padding: 120px 0 80px;
    }

    .warranty-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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



/* Clients Section */
.clients {
    padding: var(--section-spacing, 4rem) 0;
    background: linear-gradient(135deg, #f9fafb, #eef2f5);
}

/* Grid Layout */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Client Logo Container */
.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    aspect-ratio: 1 / 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effects */
.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.client-logo:hover .zoom-effect {
    transform: scale(1.05);
}

/* Section Title */


.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary, #00b894);
    border-radius: 999px;
    margin: 0.5rem auto 0;
}


/* Image Wrapper with Zoom */
.zoom-effect {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

/* Image Style */
.zoom-effect img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .section-header .section-title {
        font-size: 1.75rem;
    }

    .clients-grid {
        gap: 1.25rem;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .client-logo {
        padding: 1rem;
    }

    .zoom-effect img {
        max-width: 70%;
        max-height: 70%;
    }
}

@media (max-width: 576px) {
    .section-header .section-title {
        font-size: 1.5rem;
    }

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

    .client-logo {
        padding: 0.75rem;
    }

    .zoom-effect img {
        max-width: 60%;
        max-height: 60%;
    }
}
