/* Service Pages Common Styles */

:root {
    --primary-color: #f6ae01;
    --primary-hover: #e29f01;
    --secondary-color: #0056b3;
    --text-dark: #333;
    --text-medium: #555;
    --text-light: #777;
    --bg-light: #f9f9f9;
    --bg-white: #fff;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    height: 350px;
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/b4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.page-header .header-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Services Detailed Section */
.services-detailed {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.services-intro h2 {
    color: var(--text-dark);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.services-intro p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Service Detailed Item */
.service-detailed-item {
    display: flex;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-detailed-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    flex: 0 0 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.service-icon i {
    font-size: 4rem;
    color: white;
}

.service-content {
    flex: 1;
    padding: 40px;
}

.service-content h3 {
    color: var(--text-dark);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-medium);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature span {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/b4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 35px;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(246, 174, 1, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246, 174, 1, 0.4);
}

/* Footer Styles */
.footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
    justify-content: space-between;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-height: 70px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    transition: color var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-newsletter {
    flex: 1;
    min-width: 250px;
}

.footer-newsletter p {
    color: #ddd;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    background-color: #333;
    color: white;
}

.newsletter-form input::placeholder {
    color: #aaa;
}

.newsletter-form button {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .service-features {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        height: 250px;
        margin-top: 80px;
        background-attachment: scroll;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .services-detailed {
        padding: 60px 0;
    }

    .services-intro {
        margin-bottom: 40px;
    }

    .services-intro h2 {
        font-size: 2rem;
    }

    .service-detailed-item {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .service-icon {
        flex: 0 0 120px;
        padding: 20px;
    }

    .service-icon i {
        font-size: 3rem;
    }

    .service-content {
        padding: 30px 20px;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-section {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-logo,
    .footer-links,
    .footer-newsletter {
        min-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 5px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .page-header {
        height: 200px;
    }

    .services-detailed {
        padding: 40px 0;
    }

    .service-content {
        padding: 25px 15px;
    }

    .cta-section {
        padding: 50px 0;
    }
}

