/* ===================================
   Pages Styles (About, Products, Contact, etc.)
   =================================== */

/* Page Header */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), #0d3e22);
    padding: 100px 0 60px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

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

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Story Section */
.about-story {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Vision Mission Values Section */
.vmv-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.vmv-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.vmv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vmv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #0d3e22);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.vmv-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.vmv-card p {
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 10px 0;
    padding-right: 30px;
    position: relative;
    color: var(--text-muted);
}

body[dir="ltr"] .values-list li {
    padding-right: 0;
    padding-left: 30px;
}

.values-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

body[dir="ltr"] .values-list li::before {
    right: auto;
    left: 0;
}

/* Brand Message Section */
.brand-message {
    background: linear-gradient(135deg, var(--primary-color), #0d3e22);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.brand-message-content {
    max-width: 800px;
    margin: 0 auto;
}

.brand-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
}

.brand-message h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.brand-slogan {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.brand-description {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 4px;
    height: 100%;
    background: var(--accent-color);
}

body[dir="ltr"] .timeline::before {
    right: auto;
    left: 50%;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

body[dir="ltr"] .timeline-item:nth-child(odd) {
    flex-direction: row;
}

body[dir="ltr"] .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 100px;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    flex: 1;
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Why Choose Section */
.why-choose {
    background: var(--light-bg);
    padding: 80px 0;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.choose-item {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.choose-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.choose-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #0d3e22);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.choose-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.choose-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(23, 106, 58, 0.95), rgba(13, 62, 34, 0.95)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0 C150,60 350,60 600,30 C850,0 1050,0 1200,30 L1200,120 L0,120 Z"></path></svg>');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.cta-buttons .btn-primary:hover {
    background: #d9a504;
    border-color: #d9a504;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    height: 220px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

body[dir="ltr"] .product-badge {
    right: auto;
    left: 15px;
}

.product-info {
    padding: 25px 20px;
}

.product-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.product-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.product-detail {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

.product-detail strong {
    color: var(--text-color);
}

/* Product Table */
.product-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-table thead {
    background: var(--primary-color);
    color: #fff;
}

.product-table th,
.product-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.product-table th {
    font-weight: 700;
    font-size: 1.05rem;
}

.product-table tbody tr {
    transition: var(--transition);
}

.product-table tbody tr:hover {
    background: var(--light-bg);
}

.product-table tbody tr:nth-child(even) {
    background: rgba(23, 106, 58, 0.02);
}

/* Certifications Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cert-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 5px solid var(--accent-color);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.cert-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #0d3e22);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
}

.cert-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.cert-details {
    text-align: right;
    margin-top: 20px;
}

body[dir="ltr"] .cert-details {
    text-align: left;
}

.cert-details p {
    margin-bottom: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.cert-details strong {
    color: var(--text-color);
    font-weight: 700;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 45px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 106, 58, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: var(--danger);
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: #134f2c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Container */
.map-container {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 35px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary-color), #0d3e22);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

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

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-box {
    background: var(--light-bg);
    padding: 25px 20px;
    border-radius: 10px;
    border-right: 4px solid var(--accent-color);
    transition: var(--transition);
}

body[dir="ltr"] .info-box {
    border-right: none;
    border-left: 4px solid var(--accent-color);
}

.info-box:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.info-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-box p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}