/* Services Header Styling */
.services-header {
    background: linear-gradient(to right, #eef3f5, #006683);
    color: white;
    padding: 4rem 5%;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 80px;
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Sections Styling */
.services-content {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: none;
}

.service-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.service-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #eef3f5);
    margin: 1rem auto;
}

/* Service Gallery Styling */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.service-gallery.two-images {
    grid-template-columns: repeat(2, 1fr);
}

.service-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-gallery img:hover {
    transform: scale(1.05);
}

/* Service Info Styling */
.service-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-info p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-detail-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(to right, var(--primary-color), #006683);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 131, 0.3);
}

/* Animation for sections */
.service-section {
    opacity: 1;
    transform: none;
}

.service-section.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-section.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-header h1 {
        font-size: 2.5rem;
    }

    .service-section {
        margin-bottom: 4rem;
        padding: 2rem;
    }

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

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

    .service-gallery img {
        height: 250px;
    }

    .services-wrapper {
        padding: 2rem 0;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 70%;
        height: 100vh;
        background: #000000;
        padding-top: 80px;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
        left: auto;
    }

    .nav-links .dropdown {
        width: 100%;
        margin: 10px 0;
    }

    .nav-links .dropdown a {
        width: 100%;
        padding: 15px;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #f9f9f9;
        width: 100%;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

html {
    scroll-behavior: smooth;
}

/* Adjust content for fixed navbar */
body {
    padding-top: 30px;
    margin: 0;
}

/* Scroll Animation */
.service-section {
    scroll-margin-top: 100px;
}

/* Add spacing for the services wrapper */
.services-wrapper {
    padding: 4rem 0;
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Navigation Bar Styling */
.navbar {
    background: #000000;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Update nav links color for better visibility */
.nav-links a {
    color: white;
}

.dropdown-content {
    background: #000000;
}

.dropdown-content a {
    color: white;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Update hamburger menu color for visibility */
.hamburger span {
    background-color: white;
}

@media (max-width: 768px) {
    .nav-links {
        background: #000000;
    }

    .nav-links .dropdown a {
        color: white;
    }

    .dropdown-content {
        background-color: #111111;
    }

    .dropdown-content a {
        color: white;
    }
}