/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #007bff;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

.center {
    text-align: center;
    margin: 20px 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #007bff;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Services Section */
.featured-services,
.services {
    padding: 60px 0;
    background-color: #fff;
}

.featured-services h2,
.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.service-card,
.service-item {
    background: #fff;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover,
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card i,
.service-item i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 20px;
}

.service-card h3,
.service-item h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Testimonials Section */
.testimonials-preview {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.testimonials-preview h2,
.testimonials h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.testimonial blockquote {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial cite {
    font-weight: bold;
    font-style: normal;
}

/* Testimonials Page */
.testimonials {
    padding: 60px 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    padding: 20px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content blockquote {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    padding: 0 20px;
}

.testimonial-content blockquote:before,
.testimonial-content blockquote:after {
    content: '"';
    font-size: 30px;
    color: #007bff;
    position: absolute;
}

.testimonial-content blockquote:before {
    left: 0;
    top: -5px;
}

.testimonial-content blockquote:after {
    right: 0;
    bottom: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 14px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x300');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    font-size: 36px;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.about-text h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.about-text p {
    margin-bottom: 20px;
}

/* Team Section */
.team-section {
    text-align: center;
    margin-top: 60px;
}

.team-section h2 {
    margin-bottom: 40px;
    font-size: 32px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-member h3 {
    margin: 15px 0 5px;
    font-size: 20px;
}

.team-member p {
    color: #666;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item i {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 15px;
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.contact-form-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

/* Map Section */
.map {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.map h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.map-container {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    background: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Add these styles to the end of your existing CSS file */

/* Single page sections spacing */
section {
    padding: 80px 0;
    min-height: 50vh;
}

/* Active navigation styling */
nav ul li a.active {
    color: #007bff;
    font-weight: bold;
}

/* Testimonials section */
.testimonials-section {
    background-color: #f5f5f5;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Additional spacing for team section */
.team-section {
    margin-top: 60px;
}

/* Map container spacing */
.map-container {
    margin-top: 40px;
}
