/* About Page Specific Styles */

/* About Hero Section */
.about-hero {
    height: 60vh;
    margin-top: -10px;
    padding-top: 10px;
    background: linear-gradient(135deg, rgba(39, 39, 94, 0.9), rgba(184, 156, 106, 0.3)),
                url('../img/logo.jpeg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 50%, var(--accent-color) 100%);
    opacity: 0.1;
}

.about-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.about-hero p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Core Values Section */
.values {
    padding: 6rem 2rem;
    background-color: #f9f9f9;
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 20px 40px rgba(39,39,94,0.18);
    transform: translateY(-8px) scale(1.02);
}

.value-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.value-card:hover i {
    color: #fff;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.value-card:hover h3 {
    color: #fff;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    transition: color 0.3s;
}

.value-card:hover p {
    color: #fff;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 2rem;
    background: white;
}

.choose-container {
    max-width: 1400px;
    margin: 0 auto;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.choose-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}

.choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(184, 156, 106, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.choose-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(39, 39, 94, 0.9) 100%);
    color: white;
    box-shadow: 0 12px 32px rgba(39,39,94,0.15);
    transform: translateY(-6px);
}

.choose-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}

.choose-item:hover h3 {
    color: var(--accent-color);
}

.choose-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}

.choose-item:hover p {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        margin-top: 7.5vh;
        height: 40vh;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .values,
    .why-choose-us {
        padding: 4rem 1.5rem;
    }

    .values-grid,
    .choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .value-card,
    .choose-item {
        padding: 2rem;
    }

    .value-card i {
        font-size: 2.5rem;
    }
}

@media (max-width: 701px) {
    .about-hero {
        margin-top: 6vh;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 50vh;
        margin-top: 5vh;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero p {
        font-size: 0.9rem;
    }

    .values,
    .why-choose-us {
        padding: 3rem 1rem;
    }

    .values-grid,
    .choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card,
    .choose-item {
        padding: 1.5rem;
    }

    .value-card h3,
    .choose-item h3 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    height: 60vh;
    margin-top: 8vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, rgba(39, 39, 94, 0.9), rgba(184, 156, 106, 0.3)),
                url('../img/consultation.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 50%, var(--accent-color) 100%);
    opacity: 0.1;
}

.contact-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.contact-hero p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Contact Details Styling */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(184, 156, 106, 0.08);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.detail-item:hover {
    background: rgba(184, 156, 106, 0.15);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(184, 156, 106, 0.15);
}

.contact-link:hover {
    color: var(--primary-color);
}

.detail-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.detail-item div h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detail-item div p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contact-hero {
        margin-top: 9vh;
        height: 40vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .detail-item {
        gap: 1rem;
        padding: 1.2rem;
    }

    .detail-item i {
        font-size: 1.5rem;
        width: 35px;
    }

    .detail-item div h3 {
        font-size: 1.1rem;
    }

    .detail-item div p {
        font-size: 0.9rem;
    }
}

@media (max-width: 701px) {
    .contact-hero {
        margin-top: 6vh;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 45vh;
        margin-top: 5vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        background-attachment: scroll;
    }

    .contact-hero h1 {
        font-size: 1.5rem;
    }

    .contact-hero p {
        font-size: 0.85rem;
    }

    .detail-item {
        gap: 0.75rem;
        padding: 1rem;
    }

    .detail-item i {
        font-size: 1.3rem;
        width: 30px;
    }

    .detail-item div h3 {
        font-size: 0.95rem;
    }

    .detail-item div p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
}

/* Hero Image Optimization - Tablet */
@media (max-width: 1024px) {
    .contact-hero {
        background-attachment: scroll !important;
    }
}
