/* style/about.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #0A2463;
    --accent-color-light: #fdf2d0; /* A lighter shade of secondary for backgrounds */
    --border-color: #e0e0e0;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--bg-light);
}

.page-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3E8A 100%); /* Slightly lighter primary */
    color: var(--text-color-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.page-about-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.page-about-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.page-about-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-about-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.page-about-hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.page-about-cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    z-index: 1;
}

.page-about-cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* General Section Styles */
.page-about-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.page-about-section:nth-of-type(even) {
    background-color: #fcfcfc;
}

.page-about-section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-about-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-about-content-block {
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-about-content-block h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
    line-height: 1.3;
}

.page-about-content-block p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.page-about-content-block p strong {
    color: var(--primary-color);
}

.page-about-content-image {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Values Grid */
.page-about-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-about-value-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about-value-item h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.page-about-value-item h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-about-value-item p {
    font-size: 1em;
    color: var(--text-color-dark);
}

/* Product Grid */
.page-about-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-about-product-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about-product-item h3 {
    font-size: 1.7em;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.page-about-product-item p {
    font-size: 1.05em;
    color: var(--text-color-dark);
}

/* Why Choose Us List */
.page-about-reason-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-about-reason-list li {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    font-size: 1.15em;
    color: var(--text-color-dark);
    border-left: 5px solid var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-about-reason-list li:hover {
    background-color: var(--accent-color-light);
}

.page-about-reason-list li strong {
    color: var(--primary-color);
}

.page-about-cta-button--large {
    font-size: 1.3em;
    padding: 18px 50px;
    margin-top: 60px;
}

/* FAQ Section */
.page-about-faq {
    background-color: var(--accent-color-light);
}

.faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question h3 {
    font-size: 1.25em;
    color: var(--primary-color);
    margin: 0;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #f9f9f9;
    padding: 0 25px;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.faq-answer p {
    font-size: 1.05em;
    color: var(--text-color-dark);
    margin: 0;
}

/* Contact Section */
.page-about-contact {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 80px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.page-about-contact .page-about-section-title {
    color: var(--secondary-color);
}

.page-about-contact .page-about-section-title::after {
    background-color: var(--text-color-light);
}

.page-about-contact p {
    font-size: 1.15em;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.page-about-contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-about-contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-about-contact-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-about-contact .page-about-cta-button {
    margin-top: 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-about-contact .page-about-cta-button:hover {
    background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-title {
        font-size: 2.8em;
    }
    .page-about-subtitle {
        font-size: 1.2em;
    }
    .page-about-section-title {
        font-size: 2em;
    }
    .page-about-content-block h3 {
        font-size: 1.6em;
    }
    .page-about-values-grid, .page-about-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-about-reason-list li {
        font-size: 1.05em;
    }
}

@media (max-width: 768px) {
    .page-about-hero {
        padding: 60px 15px;
    }
    .page-about-title {
        font-size: 2.2em;
    }
    .page-about-subtitle {
        font-size: 1em;
    }
    .page-about-section {
        padding: 40px 0;
    }
    .page-about-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about-content-block {
        padding: 0 15px;
    }
    .page-about-content-block h3 {
        font-size: 1.4em;
    }
    .page-about-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-about-values-grid, .page-about-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-about-value-item, .page-about-product-item {
        padding: 25px;
    }
    .page-about-reason-list li {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-about-cta-button--large {
        padding: 15px 40px;
        font-size: 1.1em;
        margin-top: 40px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-about-contact {
        padding: 60px 15px;
    }
    .page-about-contact p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-about-title {
        font-size: 1.8em;
    }
    .page-about-subtitle {
        font-size: 0.9em;
    }
    .page-about-section-title {
        font-size: 1.6em;
    }
    .page-about-content-block h3 {
        font-size: 1.2em;
    }
    .page-about-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-about-cta-button--large {
        padding: 12px 30px;
        font-size: 1em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 18px;
    }
}