* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'kumbh Sans', sans-serif;
    overflow-x: hidden;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background: #494747;
    z-index: 1000;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    position: fixed;
}

#navbar__logo {
    color: #f3dfc1;
    cursor: pointer;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar__menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    text-align: center;
}

.navbar__links  {
    color: #f3dfc1;
    text-decoration: none;
    height: 100%;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.navbar__links:hover {
    color: #ece9e2;
    transition: all 0.3s ease;
}

/* optional: slight background to make it pop on hover (same tone as button hover) */
.navbar__links:hover,
.navbar__links.active {
    background: #c7c7c7;   /* same as .button:hover background */
    border-radius: 4px;
}
.navbar__btn {
    display: flex;
    align-items: center;
}

.navbar__btn.mobile {
    display: none;
}

.navbar__btn.desktop {
    display: flex;
}

.button {
    background: #30302f;
    padding: 10px 20px;
    border: none;   
    border-radius: 4px;
    color: #f3dfc1;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background: #5c5959;
    color: #ece9e2;       /* same as navbar hover text */
    transform: translateY(-1px);
    cursor: pointer;
}

.navbar__toggle {
    display: none;
}

@media screen and (max-width: 968px) {
    .navbar__toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #f3dfc1;
        z-index: 10;
        font-size: 1.5rem;
        border: none;
        background: none;
        cursor: pointer;
        padding: 0;
    }


    .navbar__menu {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100% - 80px);
        opacity: 0;
        transition: all 0.5s ease;
        background-color: #8a8585;
        z-index: 10;
        margin: 0;
    }

    .navbar__menu.active {
        left: 0;
        opacity: 1;
    }

    .navbar__item   {
        width: 100%;
        display: flex;
        justify-content: center;
    }

.navbar__btn.desktop{
        display: none;
    }

    .navbar__btn.mobile{
        display: flex;
        justify-content:   center;
        padding-bottom: 2rem;
        width: 100%;
    }

    .button{
        display: flex;
        align-items: center;
        width: 80%;
        height: 60px;
        justify-content: center;
        padding: 1rem 4rem;
        font-size: 1.5rem;
    }
    .navbar__links{
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar__links:hover {
        background-color: #afada7;
        color: #494747;
        transition: all 0.3s ease;
    }

}

/* Hero CSS */

.hero {
    background: #f3dfc1
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 0 auto;
    height: 90vh;
    width: 100%;
    padding: 0 50px;
    max-width: 1300px;
}

.hero__content {
    color: #fff;
}
.hero__content h1 {
    font-size: clamp(2rem, 6vw, 6rem);
    color: #333330;
}

.hero__content p {
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
    color: #333330;
}

.hero__btn {
    font-size: 1rem;
    background: #494747;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #f3dfc1;
    margin-top: 2rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__btn:hover {
    background: #5c5959;
    color: #ece9e2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.hero__img {
    text-align: center;
}

#hero-img {
    width: 80%;
    height: 80%;
}

/* Hero mobile responsive CSS */
@media screen and (max-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr;
        padding: 120px 0px;
        text-align: center;
        height: auto;
    }

    .hero__content {
        text-align: center;
        margin-top: 4rem;
        padding: 0 32px;
    }

    .hero__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;

    }

    .hero__content p {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero__container {
        padding: 120px 0px;
        width: 100vw;
    }

    .hero__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .hero__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
}


/* Rotating Logos */

.rotating-logos {
    overflow: hidden;
    padding: 40px 0;
    background: #f8f8f8;
    white-space: nowrap;
}

.rotating-logos:hover .rotating-logos__track {
    animation-play-state: paused;
}

.rotating-logos__track {
    display: inline-block;
    animation: rotate 12s linear infinite;
}

.logo-text {
    font-size: 40px;
    font-weight: bold;
    color: #30302f;
    margin: 0 40px;
}

@keyframes rotate {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Cards Section */
.cards {
    margin: 0 auto;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 15px; /* rounds the whole card */
    overflow: hidden; /* ensures image respects border-radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card--feature {
    width: 100%;
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(250px, 380px) 1fr;
    align-items: stretch;
    background: linear-gradient(135deg, #fffdf9 0%, #f8f1e3 100%);
    border: 1px solid rgba(73, 71, 71, 0.12);
    box-shadow: 0 12px 28px rgba(48, 48, 47, 0.12);
}

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

.card__visual {
    position: relative;
    background: #ece3d3;
}

.card__image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover; /* ensures image fills neatly */
    display: block;
}

.card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(48, 48, 47, 0.9);
    color: #f3dfc1;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.card__content {
    padding: 1.5rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card__eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6a625f;
    font-weight: 700;
}

.card__title {
    font-size: 2.1rem;
    color: #333330;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.card__description {
    font-size: 1.1rem;
    color: #3b3a36;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.card__detail {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.card__actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.card__meta {
    font-size: 0.8rem;
    color: #5f5b59;
    font-style: italic;
}

.signup-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.signup-modal.is-open {
    display: flex;
}

.signup-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.6);
}

.signup-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 480px);
    background: #fffdf9;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    padding: 2rem 1.5rem 1.5rem;
    border: 1px solid rgba(73, 71, 71, 0.14);
}

.signup-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 2rem;
    color: #494747;
    cursor: pointer;
    line-height: 1;
}

.signup-modal__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6a625f;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.signup-modal h2 {
    font-size: clamp(1.8rem, 2vw, 2.3rem);
    color: #333330;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.signup-modal__text {
    color: #4a4746;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.signup-modal__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signup-modal__label {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4a4746;
    font-weight: 700;
}

.signup-modal__form input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(73, 71, 71, 0.25);
    font-size: 1rem;
}

.signup-modal__submit {
    background: #2d2d2b;
    color: #f3dfc1;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-modal__submit:hover {
    background: #5c5959;
    transform: translateY(-1px);
}

.signup-modal__success {
    min-height: 1.5rem;
    margin-top: 0.9rem;
    color: #1f5c3e;
    font-weight: 600;
}

.card__link {
    display: inline-block;
    background: #494747;
    color: #f3dfc1;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.card__link--primary {
    background: #2d2d2b;
    box-shadow: 0 8px 16px rgba(45, 45, 43, 0.18);
}

.card__link:hover {
    background: #5c5959;
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .card--feature {
        grid-template-columns: 1fr;
    }

    .card__title {
        font-size: 1.7rem;
    }

    .card__actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

.articles__heading {
    text-align: center;          /* centers the text horizontally */
    font-size: 3rem;             /* makes it big */
    font-weight: bold;           /* emphasizes it */
    color: #333330;  
    margin-top: 2rem;            /* dark neutral tone — matches your site’s palette */
    margin-bottom: 2rem;         /* adds space below the heading */
    font-family: 'Kumbh Sans', sans-serif; /* optional: matches your site’s font */
}

@media screen and (max-width: 768px) {
    .articles__heading {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 480px) {
    .articles__heading {
        font-size: 1.8rem;
    }
}
