/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    margin-left: 15px;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary-color);
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    margin-top: 30px;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--secondary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Testimonials Banner */
.testimonials-banner {
    background: linear-gradient(rgba(52, 152, 219, 0.9), rgba(52, 152, 219, 0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 20px;
}

.testimonial p {
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact h2, .contact .section-subtitle {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

/* Map Section */
.map {
    height: 450px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.8rem;
}

.footer-logo h3 span {
    color: var(--secondary-color);
}

.footer-logo p {
    color: var(--light-color);
    font-size: 0.9rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links ul li a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-newsletter h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-newsletter p {
    color: var(--light-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.footer-newsletter button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter button:hover {
    background: #2980b9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-color);
}

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    color: var(--light-color);
    margin: 0 10px;
    font-size: 0.8rem;
}

.legal-links a:hover {
    color: var(--secondary-color);
}

/* Page Hero (for services and about pages) */
.page-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Services Detailed Page */
.services-detailed {
    padding: 80px 0;
}

.service-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-category.reverse {
    direction: rtl;
}

.service-category.reverse > * {
    direction: ltr;
}

.service-category-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-category-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-category-text ul li {
    margin-bottom: 10px;
}

.service-category-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.value-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.team-section {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    color: var(--primary-color);
}

.team-member p:first-of-type {
    font-weight: 600;
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-category {
        grid-template-columns: 1fr;
    }
    
    .service-category.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .testimonial blockquote {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .footer-newsletter button {
        border-radius: 5px;
        padding: 10px;
    }
    
    .page-hero {
        height: 250px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
}