/* General Styles (from styles.css) */
:root {
    --primary-color: #ffd700;
    --text-color: #000000;
    --bg-color: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 72px 0 0 0; /* Adjusted to account for fixed nav */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    text-align: center;
}

/* Navigation Styles */
nav {
    background-color: var(--text-color);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 72px; /* Explicitly set height */
}

nav .logo {
    margin-right: auto;
    padding-left: 20px;
}

nav .logo img {
    height: 40px;
    width: auto;
    display: block;
    margin: 0 auto;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    width: 100%;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--bg-color);
}

/* Footer Styles */
footer {
    background: var(--text-color);
    color: var(--primary-color);
    padding: 20px;
    text-align: center;
}

footer .social-media a {
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 20px;
    transition: color 0.3s;
}

footer .social-media a:hover {
    color: var(--bg-color);
}

/* Services Page Specific Styles */
#services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

#services h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

#services p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.service-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-description {
    font-size: 16px;
    color: #666;
}

/* Existing styles remain unchanged */

/* New styles for the hero section */
#services-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 60%, rgba(255, 215, 0, 0.08) 100%);
    color: var(--bg-color);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path-to-your-hero-image.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
}

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

#services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#services-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#services-hero .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#services-hero .cta-button:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Styles for Why Choose Us section */
#why-choose-us {
    padding: 80px 20px;
    background-color: var(--bg-color);
}

#why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.reason-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reason-item h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.reason-item p {
    font-size: 1rem;
    color: #666;
}

/* Styles for Call to Action section */
#services-cta {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 80px 20px;
    text-align: center;
}

#services-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

#services-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

#services-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#services-cta .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--text-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#services-cta .cta-button:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #services-hero h1 {
        font-size: 2.5rem;
    }

    #services-hero p {
        font-size: 1rem;
    }

    #why-choose-us h2 {
        font-size: 2rem;
    }

    .reason-item {
        padding: 20px;
    }

    #services-cta h2 {
        font-size: 2.2rem;
    }

    #services-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #services-hero h1 {
        font-size: 2rem;
    }

    #why-choose-us h2 {
        font-size: 1.8rem;
    }

    #services-cta h2 {
        font-size: 1.8rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 0;
        height: 60px;
    }

    body {
        padding-top: 60px;
    }

    nav .logo img {
        height: 30px;
    }

    nav ul {
        gap: 10px;
    }

    #services h1 {
        font-size: 2rem;
    }

    #services p {
        font-size: 1rem;
    }

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

    .service-item {
        padding: 15px;
    }

    .service-icon {
        font-size: 36px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.3rem 0;
        height: 50px;
    }

    body {
        padding-top: 50px;
    }

    nav .logo img {
        height: 25px;
    }

    #services {
        padding: 30px 15px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}