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

@font-face {
    font-family: 'gilroy';
    src: url("../gilroy") format("truetype");
    font-display: swap;
}

body {
    font-family: gilroy, Arial;
}

/* ----------------------------------------- NAVBAR SECTION ----------------------------------------- */
.logo img {
    height: 2.5rem;
    margin-right: 0.5rem;
}

.navbar {
    background-color: #fbfbfb;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-size: 0.8;
    font-weight: 600;
    transition: color .25s;
}

.nav-link:is(:hover, :focus) {
    color: #ffcc00;
}


/* Base dropdown styles for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        margin-top: 0;
        background-color: #f8f9fa;
        border: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Ensure dropdown shows normally on mobile when toggled by Bootstrap */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background-color: #f8f9fa;
        position: static;
        box-shadow: none;
        border: none;
    }
}

/* Optional: Dropdown item styling */
.navbar .dropdown-menu .dropdown-item {
    padding: 5px 20px;
    font-size: 12px;
    transition: background 0.3s ease;
    font-family: 'Poppins', 'Arial';
}

.navbar .dropdown-menu .dropdown-item:hover {
    /* background-color: #e9ecef; */
    color: #FFA42D;
    font-weight:700;
}


.login-btn img {
    height: 1rem;
}

.login-btn button {
    font-family: gilroy, Arial, sans-serif;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background: var(--clr-bg);
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s;
}

.login-btn button:is(:hover, :focus-visible) {
    background: #f1f1f1;
}


/* ----------------------------------------- HERO SECTION ----------------------------------------- */
  .hero {
    max-width: 1200px !important;
    margin: 20px auto !important;
    text-align: center !important;
}


.hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
}

.hero h1 .highlight-yellow {
    color: #FFA62F;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    max-width: 300px;
    /* max-height: 600px; */
}

.card h3 {
    /* margin-bottom: 10px; */
    font-size: 20px;
    font-weight: bold; 
    transition: all 0.4s ease;
    letter-spacing: normal;
    /* font-weight:bold; */
}

.card h3:hover {
    color: #FFA62F;
    letter-spacing: 1px;
}

.card p {
    font-size: 12px;
    font-weight: 600;
    /* line-height: 1.6; */
    margin-bottom: 30px;
}

.card img {
    height: 250px;
    width: 100%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    object-fit: cover;
}

.zoom-image-wrapper {
    overflow: hidden;
    display: inline-block;
    z-index: 1;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}



.zoom-on-hover {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

.zoom-on-hover:hover {
    transform: scale(1.1);
}

      .click-button {
    margin: 15px auto 20px auto;
    padding: 10px 25px;
    background-color: #FFA62F;
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.click-button:hover {
    background-color: rgb(221, 221, 221);
    color: #000000;
}
