/*=========================================================*
  NIC Kerala Onam Celebration 2026
  guidelines.css
  PART 1
=========================================================*/

/*=========================================================*
  HERO
=========================================================*/

.guidelinesHero {
    min-height: 50vh;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            rgba(255, 213, 79, .92),
            rgba(255, 152, 0, .88)),
        url("../images/onam-bg.jpg");

    background-size: cover;
    background-position: center;
}

.heroOverlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle,
            transparent,
            rgba(0, 0, 0, .28));
}

.heroContent {
    position: relative;
    z-index: 2;

    width: min(1000px, 92%);

    text-align: center;

    color: #fff;

    padding: 40px 20px;
}

.heroContent .tag {
    display: inline-block;

    padding: 8px 22px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .22);

    backdrop-filter: blur(10px);

    font-size: 15px;
    font-weight: 600;

    margin-bottom: 18px;
}

.heroContent h1 {
    font-family: "Cinzel", serif;

    font-size: 44px;
    font-weight: 900;

    margin: 10px 0;

    line-height: 1.2;
}

.heroContent h2 {
    font-size: 22px;
    font-weight: 600;

    margin-bottom: 15px;
}

.heroContent p {
    max-width: 650px;

    margin: auto;

    font-size: 15px;

    line-height: 1.8;
}

.heroInfo {
    margin-top: 28px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;
}

.heroInfo div {
    padding: 10px 18px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .18);

    backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, .25);

    font-size: 14px;
    font-weight: 500;
}

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

.guidelinesSection {
    padding: 65px 8%;

    background: #f8f9fb;
}

.sectionTitle {
    text-align: center;

    max-width: 760px;

    margin: auto auto 35px;
}

.sectionTitle h2 {
    font-family: "Cinzel", serif;

    font-size: 32px;

    color: #8B4513;

    margin-bottom: 10px;
}

.sectionTitle p {
    color: #64748b;

    font-size: 15px;

    line-height: 1.7;
}

/*=========================================================*
  GRID
=========================================================*/

.guidelinesContainer {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
            minmax(330px, 1fr));

    gap: 20px;
}

/*=========================================================*
  INTRO CARD
=========================================================*/

.introCard {
    grid-column: 1/-1;

    position: relative;

    background: #fff;

    border-radius: 20px;

    padding: 24px 28px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .06);
}

.introCard::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(90deg,
            #FFD54F,
            #FF9800);
}

.introIcon {
    width: 54px;
    height: 54px;

    margin-bottom: 15px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg,
            #FFD54F,
            #FF9800);

    color: white;

    font-size: 22px;
}

.introCard h2 {
    font-family: "Cinzel", serif;

    color: #8B4513;

    font-size: 26px;

    margin-bottom: 12px;
}

.introCard p {
    color: #475569;

    font-size: 15px;

    line-height: 1.8;
}

.loadingEvents,
.loadingGuidelines {
    grid-column: 1/-1;

    text-align: center;

    padding: 45px;

    color: #ea580c;

    font-size: 20px;

    font-weight: 600;
}

/*=========================================================*
  GUIDELINE CARDS
=========================================================*/

.guidelineCard {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #f5e6bf;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    transition: .3s ease;
    overflow: hidden;
}

.guidelineCard:hover {
    transform: translateY(-6px);
    border-color: #ffd54f;
    box-shadow: 0 16px 35px rgba(255, 152, 0, .18);
}

.guidelineCard::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            #FFD54F,
            #FF9800);
}

/*=========================================================*
  HEADER
=========================================================*/

.guidelineHeader {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.guidelineNumber {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,
            #FFD54F,
            #FF9800);

    color: #fff;
    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 6px 14px rgba(255, 152, 0, .22);
}

.guidelineTitle {
    margin: 0;

    font-family: "Cinzel", serif;

    font-size: 20px;
    font-weight: 700;

    color: #8B4513;

    line-height: 1.3;
}

/*=========================================================*
  CONTENT
=========================================================*/

.guidelineContent {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

.guidelineContent p {
    margin: 0;
}

/*=========================================================*
  LIST
=========================================================*/

.guidelinePoints {
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.guidelinePoints li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 10px 0;

    border-bottom: 1px dashed #ececec;

    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.guidelinePoints li:last-child {
    border-bottom: none;
}

.guidelinePoints li::before {
    content: "🌸";
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

/*=========================================================*
  HIGHLIGHT BOX
=========================================================*/

.highlightBox {
    margin-top: 18px;

    background: linear-gradient(135deg,
            #fff8e1,
            #fff4cf);

    border-left: 4px solid #ff9800;

    border-radius: 14px;

    padding: 16px 18px;

    box-shadow: 0 6px 16px rgba(255, 193, 7, .12);
}

.highlightBox h4 {
    margin: 0 0 8px;

    color: #8B4513;

    font-size: 16px;
    font-weight: 700;
}

.highlightBox p {
    margin: 0;

    color: #5b6470;

    font-size: 14px;

    line-height: 1.8;
}

/*=========================================================*
  SMALL DETAILS
=========================================================*/

.guidelineContent strong,
.guidelineContent b {
    color: #d97706;
    font-weight: 600;
}

.guidelineContent a {
    color: #ea580c;
    text-decoration: none;
}

.guidelineContent a:hover {
    text-decoration: underline;
}

/*=========================================================*
  NIC Kerala Onam Celebration 2026
  guidelines.css
  PART 3
=========================================================*/

/*=========================================================*
  ACCEPTANCE SECTION
=========================================================*/

.acceptanceSection {
    padding: 0 8% 70px;

    background: #f8f9fb;
}

.acceptanceCard {
    max-width: 900px;

    margin: auto;

    background: #ffffff;

    border-radius: 20px;

    padding: 30px;

    text-align: center;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .06);
}

.acceptanceCard::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(90deg,
            #FFD54F,
            #FF9800);
}

.acceptanceCard h2 {
    font-family: "Cinzel", serif;

    font-size: 28px;

    color: #8B4513;

    margin-bottom: 15px;
}

.acceptanceCard p {
    max-width: 700px;

    margin: auto;

    color: #475569;

    font-size: 15px;

    line-height: 1.8;
}

.lastUpdated {
    display: inline-block;

    margin-top: 20px;

    padding: 9px 18px;

    border-radius: 30px;

    background: #FFF7ED;

    color: #EA580C;

    font-size: 13px;

    font-weight: 600;
}

/*=========================================================*
  OPTIONAL FOOTER CARD
=========================================================*/

.guidelineFooter {
    grid-column: 1/-1;

    margin-top: 10px;

    background:
        linear-gradient(135deg,
            #8B4513,
            #A0522D);

    color: #ffffff;

    border-radius: 20px;

    padding: 28px;

    text-align: center;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .12);
}

.guidelineFooter h3 {
    font-family: "Cinzel", serif;

    color: #FFD54F;

    font-size: 26px;

    margin-bottom: 10px;
}

.guidelineFooter p {
    font-size: 14px;

    opacity: .95;
}

/*=========================================================*
  MOBILE
=========================================================*/

@media (max-width:992px) {

    .guidelinesSection {
        padding: 55px 30px;
    }

    .guidelinesContainer {
        grid-template-columns: 1fr;
    }

    .acceptanceSection {
        padding: 0 30px 55px;
    }
}

@media (max-width:768px) {

    .guidelinesHero {
        min-height: 42vh;
    }

    .heroContent {
        padding: 35px 20px;
    }

    .heroContent h1 {
        font-size: 30px;
    }

    .heroContent h2 {
        font-size: 18px;
    }

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

    .heroInfo {
        gap: 10px;
    }

    .heroInfo div {
        width: 100%;
    }

    .sectionTitle h2 {
        font-size: 26px;
    }

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

    .acceptanceCard {
        padding: 24px;
    }

    .acceptanceCard h2 {
        font-size: 24px;
    }

    .guidelineFooter {
        padding: 22px;
    }

    .guidelineFooter h3 {
        font-size: 22px;
    }
}

@media (max-width:480px) {

    .guidelinesSection {
        padding: 45px 18px;
    }

    .acceptanceSection {
        padding: 0 18px 45px;
    }

    .heroContent .tag {
        font-size: 13px;
    }

    .heroContent h1 {
        font-size: 26px;
    }

    .heroContent h2 {
        font-size: 17px;
    }

    .acceptanceCard {
        border-radius: 16px;
        padding: 20px;
    }

    .acceptanceCard h2 {
        font-size: 22px;
    }

    .guidelineFooter {
        border-radius: 16px;
    }

    .guidelineFooter h3 {
        font-size: 20px;
    }
}