/* Services Page Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

main {
    margin-top: 70px;
}

.services-hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
                url('ourservice-heropage.avif');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    margin-top: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-tile {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.service-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-tile:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.service-content p {
    color: var(--light-text);
    margin: 0 0 1rem 0;
}

.learn-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more i {
    transition: var(--transition);
}

.service-tile:hover .learn-more i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .services-hero {
        padding: 4rem 1rem;
    }

    .services-hero h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo:hover{
    transform: scale(1.05);
}

.nav-logo {
    display: flex;
    align-items: center;
}
.logo-img :hover{
    transform: scale(1.05);
}
.logo-img {
    height: 40px;
    width: auto;
    height: 210px; /* Increased height */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    padding: 8px 0; /* Slightly more padding */
    margin-top: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
}

.nav-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle.active span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }
    .logo-img {
        height: 150px; /* Larger size for mobile too */
    }

}


/* Footer Styles */
.footer {
    background: linear-gradient(to right, #1a1a1a, #2d2d2d);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

/* Update the footer logo styles */
.footer-logo {
    height: 50px; /* Reduced from previous size */
    width: auto;
    object-fit: fill;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand p {
    color: #a3a3a3;
    max-width: 300px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #a3a3a3;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: white;
}

.footer-contact a {
    color: #a3a3a3;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}
.footer-contact a:hover{
    color: white;
}

.footer-contact p {
    color: #a3a3a3;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    text-align: center;
    color: #a3a3a3;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }
}