/* =========================
   GENERAL
========================= */

.ganesh-hero,
.ganesh-event-details,
.ganesh-about,
.ganesh-registration,
.ganesh-bottom {
    font-family: inherit;
}

.ganesh-hero {
    padding: 110px 20px;
    background:
        linear-gradient(
            135deg,
            #fff4df 0%,
            #fffaf3 50%,
            #ffe5b8 100%
        );
    text-align: center;
}

.ganesh-hero-content {
    max-width: 850px;
    margin: auto;
}

.event-badge {
    display: inline-block;
    padding: 9px 18px;
    margin-bottom: 20px;
    border-radius: 50px;
    background: #fff;
    color: #d66a00;
    font-size: 14px;
    font-weight: 600;
}

.ganesh-hero h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1.15;
    color: #39200d;
}

.ganesh-hero h1 span {
    color: #d65f00;
}

.ganesh-hero p {
    max-width: 650px;
    margin: 25px auto;
    font-size: 18px;
    line-height: 1.7;
    color: #654c3a;
}

.ganesh-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: #d65f00;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.ganesh-btn:hover {
    background: #b94f00;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading span,
.section-small-title {
    color: #d65f00;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2 {
    margin: 10px 0;
    font-size: 38px;
    color: #302015;
}

.section-heading p {
    color: #6c625b;
    line-height: 1.7;
}


/* =========================
   EVENT DETAILS
========================= */

.ganesh-event-details {
    padding: 90px 20px;
    background: #fff;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-info-card {
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #eee5dc;
    border-radius: 15px;
    background: #fffaf5;
}

.event-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.event-info-card h3 {
    margin: 0 0 8px;
    color: #33251c;
}

.event-info-card p {
    margin: 0;
    color: #75675d;
}


/* =========================
   ABOUT
========================= */

.ganesh-about {
    padding: 90px 20px;
    background: #fff8ef;
}

.ganesh-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ganesh-about-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.ganesh-about-content h2 {
    margin: 12px 0 20px;
    font-size: 40px;
    line-height: 1.2;
    color: #33251c;
}

.ganesh-about-content h2 span {
    color: #d65f00;
}

.ganesh-about-content p {
    color: #6d6259;
    line-height: 1.8;
}

.ganesh-list {
    padding: 0;
    margin-top: 25px;
    list-style: none;
}

.ganesh-list li {
    margin-bottom: 12px;
    color: #4e4035;
    font-weight: 500;
}


/* =========================
   REGISTRATION
========================= */

.ganesh-registration {
    padding: 90px 20px;
    background: #fff;
}

.registration-wrapper {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    padding: 55px;
    border-radius: 22px;
    background: #fff8ef;
}

.registration-content h2 {
    margin: 12px 0 15px;
    font-size: 40px;
    color: #33251c;
}

.registration-content p {
    color: #6d6259;
    line-height: 1.7;
}

.registration-note {
    margin-top: 30px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
}

.registration-note strong {
    display: block;
    margin-bottom: 5px;
    color: #d65f00;
}

.registration-note span {
    color: #71655b;
    font-size: 14px;
}


/* =========================
   FORM
========================= */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3c3027;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid #e1d7cd;
    border-radius: 8px;
    outline: none;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d65f00;
}

.form-group textarea {
    resize: vertical;
}

.registration-form button {
    width: 100%;
    padding: 15px 20px;
    border: 0;
    border-radius: 8px;
    background: #d65f00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.registration-form button:hover {
    background: #b94f00;
}

.verify-group {
    display: flex;
    flex-direction: column;
}

.verify-btn {
    height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 8px;
    background: #d65f00;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.verify-btn:hover {
    background: #b94f00;
}

.register-btn {
    width: 100%;
    opacity: .5;
    cursor: not-allowed !important;
}

.register-btn:disabled {
    opacity: .5;
    cursor: not-allowed !important;
}

.register-btn.is-verified {
    opacity: 1;
    cursor: pointer !important;
}


.verification-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.verification-modal.active {
    display: flex;
}

.verification-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
}

.verification-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    padding: 0;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    animation: modalFadeIn .25s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

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

.verification-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: 0;
    background: transparent;
    font-size: 28px;
    color: #777;
    cursor: pointer;
}

.verification-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff4e8;
    font-size: 32px;
}

.verification-modal-box h3 {
    margin: 0 0 10px;
    font-size: 25px;
    color: #33251c;
}

.verification-modal-box p {
    margin: 0 0 25px;
    color: #6d6259;
    line-height: 1.6;
}

.verification-ok {
    width: 100%;
    padding: 13px 20px;
    border: 0;
    border-radius: 8px;
    background: #d65f00;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}


/* =========================
   BOTTOM
========================= */

.ganesh-bottom {
    padding: 60px 20px;
    text-align: center;
    background: #39200d;
    color: #fff;
}

.ganesh-bottom h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.ganesh-bottom p {
    margin: 0;
    opacity: .8;
}


.field-error {
    display: block;
    margin-top: 6px;
    color: #dc3545;
    font-size: 13px;
    line-height: 1.4;
}

.input-error {
    border-color: #dc3545 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .ganesh-hero {
        padding: 80px 20px;
    }

    .ganesh-hero h1 {
        font-size: 38px;
    }

    .event-info-grid,
    .ganesh-about-grid,
    .registration-wrapper {
        grid-template-columns: 1fr;
    }

    .ganesh-event-details,
    .ganesh-about,
    .ganesh-registration {
        padding: 60px 20px;
    }

    .registration-wrapper {
        padding: 30px 20px;
        gap: 35px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ganesh-about-content h2,
    .registration-content h2 {
        font-size: 32px;
    }
}


.verification-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.verification-modal.active {
    display: flex;
}

.verification-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(4px);
}

.verification-modal-box {
    position: relative;
    z-index: 2;

    width: 95%;
    max-width: 900px;
    height: 90vh;

    background: #fff;
    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.verification-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;

    z-index: 10;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: #fff;

    color: #333;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.verification-iframe-wrapper {
    width: 100%;
    height: 100%;
}

.verification-iframe-wrapper iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

