* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    height: 100%;
}

/* Hero Section */
.hero-container {
    width: 100%;
    height: 100vh;
    background-image: url("https://images.unsplash.com/photo-1589304402908-f49bf0765ad2?ixlib=rb-4.1.0&auto=format&fit=crop&q=80&w=2069");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 80px;
}

.menu-overlay.open {
    width: 60%;

}


/* book appointment button ----------------------- */
.book-appointment {
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    background: rgba(10, 9, 9, 0.392);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);

    /* Fixed Position Add kiya */
    position: fixed;
    bottom: 30px;
    right: 35px;
    z-index: 1100;
    /* Menu button se upar dikhe */
}

.book-appointment:hover {
    background: rgba(12, 0, 0, 0.879);
    border-color: white;
    transform: scale(1.05);
}


/* Cause OS */
body.white_bg {
    background: white !important;
}

.os_container {
    padding: 0 14%;
}

.os-hero {
    padding: 180px 50px 0px;
}

.os-hero .os_head {
    margin-top: -10px;
    color: #FF991C;
    font-weight: 300;
    font-size: 40px;
    text-align: center;
    margin-bottom: 0px;
}

.os-hero .os_main {
    color: #1a2f3f;
    font-size: 90px;
    font-weight: 800;
    text-align: center;
    margin-top: 0px;
}

.os_apo {
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.os_ros {
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.os_gap {
    padding: 0px 0px;
}

.os_content h2 {
    margin-bottom: 30px;
    font-size: 1.3rem;
}

/* 🔹 Text Section */
.os_content p {
    font-weight: 200;
    font-size: 17px;
    line-height: 30px;
    text-align: start;
    margin-bottom: 30px;
    color: black;
}

.highlight {
    font-weight: 600;
    color: #FF991C;
}

/* 🔹 Image Section */
.os-img {
    width: 100%;
    max-width: 580px;
    margin: 45px auto;
    border: 1px solid #000;
    border-radius: 10px;
    overflow: hidden;
    animation: fadeUp 1.8s ease-in-out;
}

.os-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.os-img img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* 🔹 Fade Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
    .os_content p {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 20px;
    }

    .os_container {
        padding: 0 1%;
    }

    .os-hero {
        padding: 120px 0px 0px;
    }

    .os-hero .os_head {
        color: #FF991C;
        font-weight: 300;
        font-size: 20px;
    }

    .os-hero .os_main {
        font-size: 60px;
        font-weight: 700;
        margin-bottom: 0px;
    }

    .os_apo {
        padding: 40px 6%;
    }
}

.os_essential {
    margin: 0 auto;
    margin-bottom: 50px;
}

.os_cover {
    padding: 15px 10px;
    width: 68%;
    margin: 0 auto;
    border-radius: 15px;
    margin-bottom: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.os_cover h2 {
    color: #1a202c;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.os_cards_wrapper {
    border: 3px solid #000;
    border-radius: 20px;
    padding: 30px;
    background: white;
}

.os_cards {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0px;
    transition: gap 0.4s ease;
    cursor:zoom-in;
}

.os_arrow {
    flex: 0 0 30px;
    font-size: 12px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 120px;
    transition: all 0.4s ease;
    font-weight: bold;
}

.os_cards.hovering .os_arrow {
    flex: 0 0 0px;
    opacity: 0;
    font-size: 0;
}

.os_cards.hovering {
    gap: 0px;
}

.os_card {
    flex: 1;
    background: white;
    padding: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid rgba(6, 2, 2, 0.1);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    cursor:zoom-in;
}

.os_card:nth-child(2) {
    animation-delay: 0.1s;
}

.os_card:nth-child(4) {
    animation-delay: 0.2s;
}

.os_card:nth-child(6) {
    animation-delay: 0.3s;
}

.os_card:nth-child(8) {
    animation-delay: 0.4s;
}

.os_card:nth-child(10) {
    animation-delay: 0.5s;
}

.os_card:nth-child(12) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.os_card.hovered {
    flex: 1.3;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #010101;
    z-index: 10;
}

.os_card.hovered img {
    height: 280px;
    width: 100%;
    transform-origin: top;
}

.os_card.hovered {
    flex: 1.3;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #020202;
    z-index: 10;
}

.os_card.hovered p {
    font-size: 16px;
    min-height: 70px;
}

.os_card img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.os_card p {
    font-size: 8px;
    line-height: 1.6;
    background: #000;
    color: #fff;
    text-align: start;
    font-weight: 500;
    padding: 3px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .os_cards {
        gap: 1px;
    }

    .os_card {
        padding: 15px;
    }

    .os_card img {
        height: 150px;
    }

    .os_card.hovered img {
        height: 200px;
    }

    .os_card p {
        font-size: 13px;
    }

    .os_arrow {
        flex: 0 0 0;
    }

    .os_cards_wrapper {
        width: fit-content;
    }
}

@media (max-width: 992px) {
    .os_cards_wrapper {
        padding: 20px;
        width: fit-content;
    }

    .os_cards {
        flex-wrap: wrap;
        gap: 25px !important;
    }

    .os_arrow {
        display: none;
    }

    .os_card {
        flex: 1 1 calc(33.333% - 17px);
        max-width: calc(33.333% - 17px);
    }

    .os_card.hovered {
        flex: 1 1 calc(33.333% - 17px);
        max-width: calc(33.333% - 17px);
        transform: scale(1.05);
    }

    .os_card img {
        height: 170px;
    }

    .os_card.hovered img {
        height: 190px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0px 0px;
    }

    .os_cover {
        padding: 20px;
        margin-bottom: 35px;
    }

    .os_cards {
        gap: 20px !important;
    }

    .os_card {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .os_card.hovered {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .os_card img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .os_cover {
        padding: 15px;
    }

    .os_cards_wrapper {
        padding: 15px;
    }

    .os-hero .os_head {
        color: #FF991C;
        font-weight: 300;
        font-size: 20px;
    }

    .os-hero .os_main {
        font-size: 50px;
        font-weight: 700;
        margin-bottom: 0px;
    }

    .os_cards {
        gap: 15px !important;
    }

    .os_card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0px;
    }

    .os_card.hovered {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .os_card img {
        height: 200px;
    }

    .os_card p {
        font-size: 14px;
    }
}

@media (max-width: 800px) {
    .book-appointment {
        display: flex;
        font-size: 12px;
        padding: 10px 15px;
        right: 7px;
    }
}

/* row */
.os_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.os_row_content {
    flex: 1 1 50%;
    color: #050505;
    line-height: 1.7;
    font-weight: 200;
    font-size: 16px;
    animation: fadeInUp 0.8s ease both;
}

.os_row_content p {
    margin-bottom: 20px;
}

.os_row_content span {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    text-align: justify;
}

.os_row_img {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.2s ease both;
}

.os_row_img img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

/* Hover effect on image */
.os_row_img img:hover {
    transform: scale(1.05);
}

/* Fade animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Layout */
@media (max-width: 992px) {
    .os_row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .os_row_content {
        flex: 1 1 100%;
        font-size: 14px;
        padding: 0px 20px;
    }

    .os_row_img {
        flex: 1 1 100%;
    }

    .os_row_img img {
        max-width: 90%;
    }

    .menu-overlay.open {
        width: 60% !important;
        display: grid;
        opacity: 1;
        transform: translate(-40%, -55%) scale(1);
        pointer-events: auto;
        padding: 30px;
    }
}


/* CLICK TO ZOOM + UNZOOM */

#imgLightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

#imgLightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#imgLightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

#imgLightbox img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

#closeLightbox {
    display: none;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
