/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #005fa3;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --border-color: #ddd;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    text-decoration: none;
    border-bottom: 2px solid white;
    padding-bottom: 0.25rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    margin-right: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #ff5252;
    text-decoration: none;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

/* Sections */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

/* Features Grid */
.why-choose-us {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Overview */
.services-overview {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.text-center {
    text-align: center;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff5252 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2,
.about-text h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.values-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Owner Section */
.owner-info {
    background-color: var(--light-bg);
}

.owner-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.owner-card img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.owner-details h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.owner-details .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Services Detailed */
.services-detailed {
    background-color: white;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.service-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-item img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-details h2 {
    color: var(--primary-color);
    text-align: left;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.service-details li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Team Section */
.team-section {
    background-color: white;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    padding: 20px 20px 5px;
}

.team-member .role {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 5px 20px;
}

.team-member .bio {
    padding: 10px 20px 20px;
    font-size: 0.9rem;
    color: #666;
}

.qualifications {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.qualifications h2 {
    text-align: left;
    margin-bottom: 20px;
}

.qualifications ul {
    list-style: none;
    columns: 2;
}

.qualifications li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.qualifications li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.info-box {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-box p {
    margin: 0;
}

.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Forms */
.contact-form {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    padding: 0;
    margin-top: 60px;
}

.map-section h2 {
    padding: 40px 20px 20px;
    text-align: center;
}

.map-section iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffc107;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #222;
    color: #ddd;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        font-size: 0.9rem;
    }

    .contact-grid,
    .about-content,
    .owner-card {
        grid-template-columns: 1fr;
    }

    .owner-card {
        gap: 20px;
        padding: 20px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    section {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    /* =============== OVERRIDE: Fix logo size (keep existing CSS) =============== */

}

