/* Page-specific styles for subpages */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2875ba 0%, #1a5a8a 100%);
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background-color: #ffffff;
}

/* Products Grid (Page) */
.page-content .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.page-content .product-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.page-content .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-content .product-icon {
    width: 50px;
    height: 50px;
    background-color: #2875ba;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-content .product-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
}

.page-content .product-card p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.page-content .product-card ul {
    list-style: none;
    margin-bottom: 15px;
}

.page-content .product-card ul li {
    font-size: 13px;
    color: #666666;
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.page-content .product-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: #2875ba;
    border-radius: 50%;
}

.page-content .learn-more {
    color: #2875ba;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.page-content .learn-more:hover {
    text-decoration: underline;
}

/* Product Details Section */
.product-details {
    background-color: #f8f8f8;
}

.product-detail {
    padding: 40px;
    background: #ffffff;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 100px;
}

.product-detail h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2875ba;
    margin-bottom: 15px;
}

.product-detail > p {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-detail h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
    margin-top: 25px;
}

.product-detail ul {
    list-style: none;
    margin-bottom: 25px;
}

.product-detail ul li {
    font-size: 14px;
    color: #666666;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.product-detail ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #2875ba;
    border-radius: 50%;
}

.product-detail .cta-button {
    display: inline-block;
    background-color: #2875ba;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.product-detail .cta-button:hover {
    background-color: #1a5a8a;
}

/* Solution Items */
.solution-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eeeeee;
}

.solution-item.reverse {
    direction: rtl;
}

.solution-item.reverse .solution-content {
    direction: ltr;
}

.solution-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.solution-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
}

.solution-content p {
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.solution-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.solution-content ul li {
    font-size: 14px;
    color: #666666;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.solution-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #2875ba;
    border-radius: 50%;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: #2875ba;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    font-size: 13px;
    color: #666666;
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.service-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: #2875ba;
    border-radius: 50%;
}

/* About Section */
.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Values Section */
.values-section {
    margin-bottom: 60px;
}

.values-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-item {
    background: #f8f8f8;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
}

.value-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2875ba;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Why Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.why-us-item {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
}

.why-us-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}

.why-us-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
}

.contact-info > p {
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2875ba;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
}

.business-hours h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2875ba;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.business-hours p {
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
}

.download-button {
    display: inline-block;
    background-color: #2875ba;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 25px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #1a5a8a;
}

/* Contact Form */
.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2875ba;
}

.contact-form textarea {
    resize: vertical;
}

.submit-button {
    background-color: #2875ba;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #1a5a8a;
}

/* Map Section */
.map-section {
    padding: 0 0 60px;
}

.map-placeholder {
    background: #f5f5f5;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.map-placeholder p {
    color: #999999;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2875ba 0%, #1a5a8a 100%);
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #2875ba;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Active Nav Link */
.nav .active {
    color: #2875ba !important;
}

/* Responsive */
@media (max-width: 980px) {
    .page-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-content .products-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        grid-template-columns: 1fr;
    }
    
    .solution-item.reverse {
        direction: ltr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}
