/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #111;
}
/* ================= NAVBAR ================= */
.navbar {
    height: 72px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo img {
    width: 260px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Desktop nav */
nav {
    margin-left: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
}

/* 🔥 Remove underline completely */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a:active {
    text-decoration: none;
    color: #2aa845;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .logo img {
        width: 120px;
    }

    nav {
        display: none;
        perspective: 1000px; /* 🔥 enables 3D */
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1100;
    }

    /* 🔥 HALF SCREEN 3D MENU */
    nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60vh;
        background: #fff;
        z-index: 1000;

        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;

        transform-origin: top;
        animation: drop3D 0.5s ease forwards;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 22px;
    }

    .nav-links a {
        display: block;
        font-size: 18px;
        padding: 10px 0;

        /* 🔥 subtle hover/tap 3D */
        transition: transform 0.3s ease, letter-spacing 0.3s ease;
    }

    .nav-links a:active {
        transform: scale(0.95) translateZ(-10px);
    }

    /* 🔥 3D DROP ANIMATION */
    @keyframes drop3D {
        0% {
            transform: rotateX(-90deg) translateY(-50px);
            opacity: 0;
        }
        60% {
            transform: rotateX(20deg);
            opacity: 1;
        }
        100% {
            transform: rotateX(0);
        }
    }
}

/* ================= HERO ================= */
.services-hero{
    background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("images/Add_Somewhere.jpeg");

    background-size:cover;
    background-position:center;

    padding:120px 20px;
    text-align:center;
    color:white;
}

.services-hero h1{
    font-size:38px;
    margin-bottom:15px;
}

.services-hero span{
    color:#2aa845;
}

.services-hero p{
    max-width:900px;
    margin:auto;
    font-size:18px;
}

.services-hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.services-hero span {
    color: #2aa845;
}

.services-hero p {
    max-width: 900px;
    margin: auto;
    color: #fff;
    font-size: 18px;
}

/* ================= SERVICES SECTION ================= */

.services-content{
    padding:120px 20px;
    background:linear-gradient(to bottom,#f9fafb,#eef2f7);
}

.container{
    max-width:1200px;
    margin:auto;
}


/* SERVICE BLOCK */

.service-block{
    display:grid;
    grid-template-columns: 1fr 140px;
    align-items:center;
    gap:60px;
    padding:45px 50px;
    margin-bottom:40px;

    background:#ffffff;
    border-radius:16px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    0 2px 6px rgba(0,0,0,0.04);

    transition:all 0.35s ease;
    position:relative;
    overflow:hidden;
}


/* subtle premium line */

.service-block::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:6px;
    height:100%;
    background:linear-gradient(180deg,#22c55e,#16a34a);
}


/* hover effect */

.service-block:hover{
    transform:translateY(-6px);
    box-shadow:
    0 18px 40px rgba(0,0,0,0.12),
    0 4px 10px rgba(0,0,0,0.05);
}


/* reverse layout */

.service-block.reverse{
    grid-template-columns:140px 1fr;
}


/* TEXT */

.service-text h2{
    font-size:30px;
    margin-bottom:16px;
    color:#111827;
}

.service-text p{
    color:#555;
    line-height:1.7;
    margin-bottom:14px;
    font-size:16px;
}


/* LIST */

.service-list{
    padding-left:18px;
}

.service-list li{
    margin-bottom:7px;
    color:#444;
}


/* NOTE */

.note{
    margin-top:12px;
    font-style:italic;
    color:#6b7280;
}


/* ICON CONTAINER */



/* Parent layout */
.service-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

/* Reverse layout (icon right, text left) */
.service-block.reverse {
    flex-direction: row-reverse;
}

/* Text side */
.service-text {
    flex: 1;
}

/* Icon side */
.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;

    background: linear-gradient(135deg, #22c55e, #16a34a);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 38px;
    color: white;

    box-shadow: 0 8px 18px rgba(34,197,94,0.35);

    transition: all 0.3s ease;

    flex-shrink: 0; /* prevents shrinking */
}

@media (max-width: 768px) {
    .service-block,
    .service-block.reverse {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin-bottom: 20px;
    }
}


/* icon hover */

.service-block:hover .service-icon{
    transform:scale(1.08) rotate(5deg);
}



/* ================= MOBILE VIEW ================= */

@media (max-width:768px){

.services-content{
padding:80px 18px;
}

.service-block{
grid-template-columns:1fr;
gap:25px;
padding:30px;
}

.service-block.reverse{
grid-template-columns:1fr;
}

.service-icon{
width:80px;
height:80px;
font-size:30px;
}

.service-text h2{
font-size:22px;
}

.service-text p{
font-size:15px;
}

}

/* ================= FOOTER ================= */

.footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:20px;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-list li {
        text-align: left;
    }
}

