/* ===========================
   Page Hero
   =========================== */

.page-hero {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 14s ease infinite;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    color: var(--text-color);
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* Page Content */
.page-content {
    padding: 80px 0;
}

.content-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.content-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.content-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.14);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--light-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-box h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Advanced Features Section */
.advanced-features {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.advanced-features h2 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    background: #f9fafb;
}

.feature-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Key Features Section */
.key-features {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.key-features h2 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

/* Feature Content (inside feature-item) */
.feature-content {
    flex: 1;
    min-width: 0;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 4rem;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* CTA Box */
.cta-box {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 4rem;
}

.cta-box h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.cta-box p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-box .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
    background: var(--light-color);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: var(--text-color);
}

/* Mission Vision */
.mission-vision {
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.mv-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.mv-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.mv-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.mv-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.mv-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: #f8fafc;
}

.values-section h2 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.value-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
}

.why-choose h2 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.reason-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s ease;
}

.reason-card:hover {
    box-shadow: var(--shadow-md);
}

.reason-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.reason-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-side h2,
.contact-form-side h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.contact-info-side > p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact-detail-item h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-detail-item p {
    color: var(--text-color);
    line-height: 1.7;
}

.social-section {
    margin-top: 3rem;
}

.social-section h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.22);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
}

.map-section h2 {
    font-size: 2.3rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
}

.map-placeholder {
    background: var(--light-color);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 4rem;
    text-align: center;
    color: var(--text-color);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .reasons-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 568px) {
    .page-hero {
        padding: 60px 0 50px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .reason-card:hover {
        transform: translateX(5px);
    }
}
