@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('truetype'),
        url('/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    /* Optional: Controls font loading behavior */
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Bold.ttf') format('truetype'),
        url('/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --background: #f9f9f9;
    --primary: #003E38;
    --hoverbg: hsl(0, 0%, 15%);
    --normalhoverbg: rgb(0, 0, 0, 0.1);
    --toggle: #e0e0e0;
    --light: #666666;
    --border: hsl(0, 0%, 81%);
    --tabg: hsl(0, 0%, 100%);
    --wlsbg: #ffffff;
    --headerbg: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #FFFFFF;
}

img {
    width: 100%;
}

p {
    font-size: 16px;
    /* text-align: justify; */
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 48px;
    font-weight: 700;
}

h2 {
    color: #BF9B42;
    font-size: 28px;
    font-weight: 600;
}

h3 {
    font-size: 38px;
    font-weight: 600;
}

h4 {
    font-size: 24px;
    font-weight: 600;
}

h5 {
    font-size: 20px;
    color: #003E38;
    font-weight: 600;
}

h6 {
    font-size: 38px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #003E38;
}

a:hover {
    color: #00221D;
    cursor: pointer;
}

.topsec {
    background-color: #FAFAFA;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    gap: 1rem;
}

.navbar {
    background: rgb(250, 250, 250, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.logo-text {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu .appointment-btn {
    display: none;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.mobile-nav-buttons {
    display: none;
}

.desktop-appointment {
    margin-left: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #d4af37;
}

.nav-link.active {
    color: #d4af37;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 1px;
}

.dropdown-item.active {
    color: #d4af37;
    background-color: rgba(212, 175, 55, 0.1);
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 25px;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    /* left: 50%;
    transform: translateX(-50%); */
    background: white;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 35px;
    min-width: 700px;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 25px;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.mega-menu-title {
    font-size: 15px;
    font-weight: 600;
    color: #003E38;
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 2px solid #BF9B42;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-menu-title:hover {
    color: #BF9B42;
}

.mega-menu .dropdown-item {
    padding: 8px 0;
    border-top: none;
    font-size: 14px;
    color: #555;
}

.mega-menu .dropdown-item:hover {
    background: transparent;
    color: #BF9B42;
    padding-left: 5px;
}

.dropdown-item {
    padding: 12px 25px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
    border-top: 1px solid;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #d4af37;
    padding-left: 30px;
}

.appointment-btn {
    display: flex;
    align-items: center;
    background: #BF9B42;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 10px;
}

.appointment-btn:hover {
    color: #FFFFFF;
    background: #86691C;
    /* transform: translateY(-2px); */
    /* box-shadow: 0 5px 15px rgba(251, 255, 0, 0.3); */
}

.appointment-inside {
    max-width: 1400px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1101;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #BF9B42;
    transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s;
    border-radius: 3px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.footer {
    background-color: #01100F;
    color: #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: 1rem;
    gap: 1rem;
}

.footer a {
    color: #fafafa;
    text-decoration: none;
}

.footer a:hover {
    color: #BF9B42;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    border-bottom: 1px solid #4B5452;
    padding: 1rem;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.working-hours {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
}


.hero {
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slideInLeft 0.8s ease-out;
    width: 50%;
}

.hero-p {
    animation: slideInLeft 0.8s ease-out 0.4s both;
    width: 70%;
}

.about {
    min-height: 75vh;
    background-image: url(/assets/about.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

.inabout {
    max-width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meet {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    max-width: 1280px;
    padding: 4rem 2rem;
    margin: auto;
}

.inmeet {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: #FAFAFA;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1280px;
    margin: auto;
    padding: 1rem;
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 15px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    width: 100%;
    border-radius: 15px 15px 0px 0px;
}

.cardtxt {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
}

.testimonials {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: #fff;
}

.before-after-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.before-after-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.before-after-slider.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-content.active {
    display: flex;
    opacity: 1;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    gap: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #003E38;
}

/* FAQ Section */
.faq {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f9f9f9;
}

.faq-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: white;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #01100F;
    text-align: left;
    transition: background 0.3s ease;
    border-bottom: 1px solid #C4C4C4;

}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #666;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.visit {
    background-color: #BF9B42;
    display: flex;
    padding: 2rem 1rem;
    margin: auto;
    justify-content: space-between;
    color: #FFFFFF;
}

.gbutton {
    background-color: #003E38;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 60px;
    text-decoration: none;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gbutton:hover {
    background-color: #00221D;
    color: #FFFFFF;
    cursor: pointer;
}

.glinebutton {
    color: #003E38;
    border: 1px solid #003E38;
    border-radius: 25px;
    padding: 12px 28px;
    width: fit-content;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.glinebutton:hover {
    background-color: #1b7a70;
    color: #FFFFFF;
    cursor: pointer;
}

.ylinebutton {
    color: #BF9B42;
    border: 1px solid #BF9B42;
    border-radius: 25px;
    padding: 12px 28px;
    width: fit-content;
    text-decoration: none;
}

.ylinebutton:hover {
    background-color: #86691e;
    color: #FFFFFF;
    cursor: pointer;
}


.patientbtn {
    background-color: #E3EAE7;
    color: #4B5452;
    /* border: 1px solid #003E38; */
    border-radius: 25px;
    padding: 12px 28px;
    width: fit-content;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.patientbtn:hover {
    background-color: #1b7a70;
    color: #FFFFFF;
    cursor: pointer;
}

/* Patient Modal Styles */
.patient-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.patient-modal.active {
    opacity: 1;
    visibility: visible;
}

.patient-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.patient-modal-close:hover {
    color: #003E38;
}

.patient-modal-content {
    text-align: center;
    width: 100%;
    max-width: 700px;
    padding: 20px;
}

.patient-modal-title {
    font-size: 36px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-weight: bold;
}

.patient-search-form {
    width: 100%;
}

.patient-search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1.5px solid #1a1a1a;
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.patient-search-icon {
    color: #666;
    flex-shrink: 0;
}

.patient-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: #1a1a1a;
}

.patient-search-input::placeholder {
    color: #999;
}

.patient-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #003E38;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.patient-search-btn:hover {
    background: #005249;
}

.patient-search-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 38px;
    }

    .patient-modal-title {
        font-size: 26px;
    }

    .patient-search-container {
        flex-direction: column;
        border-radius: 16px;
        padding: 16px;
        gap: 16px;
    }

    .patient-search-input {
        width: 100%;
        text-align: center;
    }

    .patient-search-icon {
        display: none;
    }

    .patient-search-btn {
        width: 100%;
        justify-content: center;
    }

    .patient-modal-close {
        top: 20px;
        right: 20px;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.aboutlist {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .appointment-inside {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-text {
        width: 100%;
    }

    .hero-p {
        width: 100%;
    }

    .aboutlist {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .about {
        flex-direction: column;
    }

    .inabout {
        max-width: 100%;
        padding: 1rem;
    }

    .hero {
        flex-direction: column-reverse;
        padding: 1rem;
    }

    .hero img {
        width: 300px;
    }

    .meet {
        flex-direction: column;
    }

    .service-cards {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .visit {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .category-hero {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .why {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .footer {
        padding: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        background: rgb(250, 250, 250, 1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: left 0.3s ease;
        padding: 30px 0;
        gap: 0;
        transform: none;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 15px 0;
    }

    .nav-link {
        justify-content: center;
        padding: 10px;
    }

    .nav-menu .appointment-btn {
        display: inline-block;
        margin-top: 20px;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    .mobile-nav-buttons .patientbtn,
    .mobile-nav-buttons .appointment-btn {
        width: 80%;
        max-width: 200px;
        text-align: center;
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        margin-top: 10px;
        padding: 0;
        display: none;
    }

    .nav-item.dropdown-active .dropdown-menu {
        display: block;
    }

    /* Mega Menu Mobile Styles */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        margin-top: 10px;
        padding: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        min-width: unset;
        background: transparent;
    }

    .mega-dropdown.dropdown-active .mega-menu {
        display: flex;
    }

    .mega-menu-column {
        min-width: unset;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mega-menu-column:last-child {
        border-bottom: none;
    }

    .mega-menu-title {
        font-size: 14px;
        padding: 10px 0;
        margin-bottom: 5px;
        border-bottom: none;
        text-align: center;
    }

    .mega-menu .dropdown-item {
        padding: 8px 0;
        text-align: center;
        font-size: 13px;
    }

    .dropdown-item {
        padding: 10px 25px;
        font-size: 14px;
        color: #666;
    }

    .dropdown-item:hover {
        padding-left: 25px;
        background: #f8f9fa;
    }
}

/* Service Pages Styles */
.service-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.service-hero-preventative {
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
}

.service-hero-restorative {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.service-hero-dentures {
    background: linear-gradient(135deg, #744a9e 0%, #5a3a7e 100%);
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-content {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-content h3 {
    color: #1a5f4a;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-content ul li::before {
    content: "✓";
    color: #1a5f4a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a5f4a;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.related-services {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.related-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-services h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.related-card h4 {
    color: #1a5f4a;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Category Pages Styles */
.category-hero {
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    margin: auto;
    gap: 1rem;
}

.category-hero img {
    width: 50%;
    border-radius: 15px;
}

.why {
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    margin: auto;
    gap: 1rem;
}

.why ul {
    list-style: none;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.why ul li {
    padding-left: 1.5rem;
    position: relative;
}

.why ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 17px;
    height: 13px;
    background-image: url("data:image/svg+xml;utf8,<svg width='17' height='13' viewBox='0 0 17 13' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M5.7 12.025L0 6.325L1.425 4.9L5.7 9.175L14.875 0L16.3 1.425L5.7 12.025Z' fill='%23BF9B42'/></svg>");
    background-repeat: no-repeat;
}


.white38 {
    color: #FFFFFF;
    padding-block: 1rem;
}

.category-hero h1,
.category-hero h6 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header .subtitle {
    color: #1a5f4a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    font-size: 1.1rem;
    color: #1a5f4a;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #1a5f4a;
    border-radius: 20px;
    color: #1a5f4a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #1a5f4a;
    color: white;
}

.read-more-btn span {
    font-size: 1rem;
}

/* Quiz Section Styles */


.quiz-card {
    background: rgb(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    z-index: 0;
}

.quiz-card>* {
    position: relative;
    z-index: 1;
}

.quiz-subtitle {
    color: #BF9B42;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-align: left !important;
}

.quiz-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

#quiz-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quiz-step {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.3s ease;
}

.quiz-step.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.quiz-question {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-align: left !important;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(191, 155, 66, 0.5);
}

.quiz-option input[type="radio"] {
    display: none;
}

.quiz-radio {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.quiz-option input[type="radio"]:checked+.quiz-radio {
    border-color: #BF9B42;
    background: transparent;
}

.quiz-option input[type="radio"]:checked+.quiz-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #BF9B42;
    border-radius: 50%;
}

.quiz-option input[type="radio"]:checked~span:last-child {
    color: #fff;
}

/* Quiz Contact Form */
.quiz-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.quiz-form-group label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.quiz-form-group input,
.quiz-form-group select {
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.quiz-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.quiz-form-group input:focus,
.quiz-form-group select:focus {
    outline: none;
    border-color: #BF9B42;
    background: rgba(255, 255, 255, 0.12);
}

.quiz-form-group select {
    cursor: pointer;
}

.quiz-form-group select option {
    background: #2a3b38;
    color: #fff;
}

/* Quiz Navigation */
.quiz-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quiz-btn {
    flex: 1;
    padding: 0.85rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.quiz-btn-prev {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.quiz-btn-prev:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.quiz-btn-prev:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.quiz-btn-next {
    background: #BF9B42;
    color: #fff;
}

.quiz-btn-next:hover {
    background: #a8862e;
}

.quiz-btn-next:disabled {
    background: rgba(191, 155, 66, 0.5);
    cursor: not-allowed;
}

/* Quiz Success */
.quiz-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}

.quiz-success h3 {
    font-size: 1.5rem;
    color: #BF9B42;
}

.quiz-success p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center !important;
}

/* Quiz Responsive */
@media (max-width: 992px) {
    .quiz-card {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .quiz-card {
        padding: 1.5rem;
    }

    .quiz-title {
        font-size: 1.25rem;
    }

    .quiz-option {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }
}
