@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bakbak+One&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*, *::after, *::before {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

p {
    padding-bottom: 0.8rem;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #FFFFFF;
    letter-spacing: -0.03rem;
    color: #333;
}

.btn {
    margin: 0;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    border-radius: 0.250rem;
}

.header {
    position: sticky;
    top: 0;
    padding: 1.5rem 0;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ededed;
    z-index: 10;
}

.header__wrapper {
    width: 1120px;
    max-width: 90%;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.container {
    width: 1120px;
    max-width: 90%;
    margin: 0 auto;
}

.section__heading {
    color: #833AB4;
    color: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(237, 166, 66, 1) 100%);
    font-size: 3rem;
}

.logo__title {
    background-image: url('../images/logo.png');
    background-size: cover;
    width: 124px;
    height: 40px;
    text-indent: -9999px;
}

.nav__toggle {
    height: 1.250rem;
    width: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .3s ease-in-out;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.nav__toggle div {
    display: block;
    width: 1.5rem;
    height: 0.250rem;
    background-color: #333;
    border-radius: 0.075rem;
}

.nav {
    position: fixed;
    top: 88px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 88px);
    background-color: #3757A0;
    text-align: center;
    padding: 1.5rem 0;
    transition: all 0.3s;
    z-index: 1;
}

.nav__list {
    list-style: none;
    margin-bottom: 2rem;
}

.menu-item {
    padding: 1rem 0;
}

.menu-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.250rem;
}

.show {
    left: 0;
}

.header__btn {
    background-color: #B72120;
    color: #FFFFFF;
    padding: 1rem 3rem;
    font-weight: 600;
    margin: 1rem 0 0 0;
    display: inline-block;
}

@media screen and (min-width:768px) {
    .nav {
        position: initial;
        width: initial;
        height: initial;
        background-color: initial;
        padding: initial;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 0;
    }

    .menu-item {
        padding: 0 1.5rem;
    }

    .menu-item a {
        color: #333;
        font-size: 1rem ;
    }

    .header__btn {
        padding: .8rem 2rem;
        font-size: 0.8rem;
        margin: 0 0 0 1rem;
    }
}

.explore {
    padding: 4rem 0;
}

.explore__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 2rem;
}

.explore__leading {
    font-size: 0.650rem;
    text-transform: uppercase;
    letter-spacing: 0.075rem;
    font-weight: 600;
    color: #999;
}

.explore__heading {
    color: #3757A0;
    font-size: 3rem;
    line-height: 1;
    padding-bottom: 1.5rem;
    
}

.explore__heading span {
    display: block;
}

.explore__subheading {
    padding: 0 0 1.5rem 0;
}

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

.primary__btn {
    background-color: #AE4B84;
    color: #FFFFFF;
    margin-right: 1rem;
    font-size: 0.850rem;
    font-weight: 600;
}

.secondary__btn {
    border: 1px solid #AE4B84;
    font-size: 0.850rem;
    font-weight: 600;
    color: #AE4B84;
}

.this__year {
    border: 1px solid #FAE1C7;
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 1rem;
}

.this__year-heading {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.125rem;
    color: #999;
}

.this__year-category {
    list-style: none;
    display: flex;
    justify-content: space-between;

    padding: 1rem 0;
}

.this__year-category li {
    background-color: #FAE1C7;
    padding: 1rem;
    border-radius: 50%;
}

.this__year-category li img {
    width: 30px;
    height: 30px;
}

.this__year-link {
    color: #333;
    font-weight: 600;
}

.this__year-link {
    padding-right: 1rem;
}

.this__year-note {
    font-size: 0.8rem;
    color: #999;
    padding-top: 1rem;
}

.hero__associates {
    list-style: none;
    margin-top: 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.hero__associates li {
    border: 1px solid #ededed;
    border-radius: 0.25rem;
    height: 1.5rem;
    padding: 0.5rem;

    display: flex;
    align-items: center;
}


.previous__imapct {
    background: #50b6de;
    background: linear-gradient(90deg,rgba(80, 182, 222, 1) 0%, rgba(55, 87, 160, 1) 100%);
    padding: 4rem 0;
    text-align: center;
}

.competition__highlight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;

    color: #d9f4ff;
    color: linear-gradient(90deg,rgba(217, 244, 255, 1) 0%, rgba(255, 248, 196, 1) 100%);
}

.highlight__item {
    border: 1px solid #acbee9;
    padding: 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    height: 8rem;
    text-align: center;

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

.previous__impact-heading {
    font-size: 3rem;
    line-height: 3rem;
    padding-bottom: 1.5rem;
    color: #ffffff;
    
}

.highlight__quote {
    padding-top: 1.5rem;
    text-align: center;
    color: #cbdaff;

    font-size: 2rem;
    line-height: 1;
    padding-bottom: 1.5rem;
}

.highlight__quote span {
    display: block;
}

.impact__btn-primary {
    background-color: #F4AF68;
    color:#FFF;
}

.impact__btn-secondary {
    background-color: #FFA8EF;
    color:#FFF;
    margin-left: 1rem;
}

@media screen and (min-width: 768px) {
    .competition__highlight {
        grid-template-columns: repeat(4, 1fr);
    }
}

.home__about {
    padding: 4rem 0;
}

.home__about-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
}

@media screen and (min-width:768px) {
    .home__about-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}


.rang__matters {
    padding: 4rem 0;
}

.matters__list {
    list-style: none;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.matters__item {
    padding: 1rem;
    border-radius: 1rem;
    position: relative;
}



.matters__item span {
    font-weight: 600;
}

.matters__item h3 {
    font-size: 1.25rem;
    line-height: 1;
    padding-bottom: 0.8rem;
}

/* .matters__item::before {
    content: '';
    display: block;
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    width: 100%;
    height: 100%;
    border: 1px solid #cdcdcd;
    border-radius: 1rem;
    z-index: -1;
} */

.matters__item:nth-child(1) {
    border: 1px solid #F4AF68;
}

.matters__item:nth-child(2) {
    border: 1px solid #70CBF4;
}

.matters__item:nth-child(3) {
    border: 1px solid #FFA8EF;
}

.matters__item:nth-child(4) {
    border: 1px solid #70F4A5;
}

.matters__item-media {
    width: 5rem;
    height: 5rem;
    padding-bottom: 1rem;
}

@media screen and (min-width: 768px){
    .matters__list {
        grid-template-columns: repeat(4, 1fr);
    }

    .matters__item-media {
    width: 8rem;
    height: 8rem;
    padding-bottom: 1.5rem;
}
}


.footer {
    background-color: #333;
    padding: 3rem 0;
}

.footer__section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.footer__logo {
    background-image: url(../images/logo.png);
    background-size: cover;
    width: 124px;
    height: 40px;
    text-indent: -9999px;
}

.footer__tagline {
    padding-top: 1rem;
    color: #dcdcdc;
}

.footer__section h5 {
    color: #3757a0;
    font-size: 1.2rem;
}

.footer__section ul li {
    list-style-type: disc;
    color: #dcdcdc;
    margin-left: 1rem;
}

.footer__section ul li a {
    color: #dcdcdc;
}

.footer__associates a {
    display: inline-block;
    background-color: #fff;
    height: 2rem;
    padding: 0.5rem;
    border-radius: 0.25rem;

}

.footer__associates a img {
    width: 100%;
    height: 1.8rem;
}

.footer__nav a {
    color: #c0c0c0;
}

.registration__guide {
    margin-top: 1rem;
    margin-left: 1rem;
}

.registration__guide a {
    color: #dcdcdc;
}

.registration__guide li {
    font-size: 0.8rem;
}


.social__connect a {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
}

@media screen and (min-width: 768px) {
    .footer__section {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*-- Event Page --*/

.page__event {
    padding:2rem 0;
}

.page__heading {
    font-size: 3.5rem;
    color: #342D73;
    line-height: 1;
}

.event__hero-wrapper {
    display: grid;
    grid-templare-columns: 1fr;
    gap: 2rem;
}

.event__hero-heading {
    font-size: 3rem;
    line-height: 1.125;
    margin-bottom: 1rem;
}

.event__primary-btn {
    background-color: #FFCC01;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    color: #333;
}

.event__secondary-btn {
    background-color: #342D73;
    color: #FFFFFF;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
}

.event__hero-note {
    margin: 1rem 0 1rem 1rem;
    font-size: 1rem;
    color: #333;
}

.event__hero-note a {
    background-color:#FFE536;
    padding: 0 0.0125rem;
    color: #000;
    font-weight: 600;
}

@media screen and (min-width: 768px) {
    .event__hero-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.event__theme {
    background-color: #352416;
    background-image: url('../images/rang-2025-theme-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    width: 100%;
    height: 650px;
    padding-top: 10rem;
    text-align: center;
}

.event__theme-headingmr {
    font-family: 'Bakbak One', sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    color: #FEAA01;
}

.event__theme-headingen {
    font-size: 2rem;
    color: #FEAA01;
    line-height: 1.2;
}

.event__theme-heading {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #FFF;
}

.event__theme p {
   color: #FFF;
}

@media screen and (min-width:768px) {
    .event__theme {
        height: calc(100vh - 89px);
    }
    
    .event__theme p {
        width: 60%;
        margin: 0 auto;
    }
}

.event__categories {
    padding: 3rem 0;
}

.competition__type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    
    text-align: center;
    margin-top: 1.5rem;
}

.competition__item {
    padding: 1.5rem 1rem 1rem;
}

.competition__item img {
    width: 70px;
    height: 70px;
    
    margin: 0 auto 1rem auto; 
}

.event__drawing {
    border: 1px solid #E64622;
    border-radius:0.5rem;
}

.event__drawing .competition__item-heading {
    color: #E64622;
}

.event__writing {
    border: 1px solid #3757A0;
    border-radius:0.5rem;
}

.event__writing .competition__item-heading {
    color: #3757A0;
}

.event__elocution {
    border: 1px solid #FFCC01;
    border-radius:0.5rem;
}

.event__elocution .competition__item-heading {
    color: #FFCC01;
}

.event__film {
    border: 1px solid #AE4B84;
    border-radius:0.5rem;
}

.event__film .competition__item-heading {
    color: #AE4B84;
}

@media screen and (min-width: 768px) {
    .competition__type {
        grid-template-columns: repeat(4, 1fr);
    }
}

.event__participate {
    padding: 3rem 0;
    background-color: #342D73;
}

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

.event__participate-item {
    border: 1px solid #463E8F;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    padding: 1rem;
}

.event__participate-item p {
    color: #8A85BF;
}

.event__participate-item p span {
    font-weight: 600;
    display: block;
    color: #FFF;
    padding-bottom: 0.5rem;
}

.heading__color {
    color: #DAD5FE;
}

@media screen and (min-width:768px) {
    .event__participate {
        padding: 4rem 0;
    }
    .event__participate-type {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem
    }
}

.event__sponsors {
    padding: 3rem 0;
}

.sponsors__leading {
    font-size: 1.2rem;
    margin-top: 1rem;
}
.sponsors__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    
    margin-top: 2rem;
}

.sponsors__features-item {
    padding:  2rem;
    border-radius: 0.5rem;
    border: 1px solid #eaeaea;
}

.sponsors__features-heading {
    margin-bottom: 0.8rem;
}

@media screen and (min-width: 768px) {
    .sponsors__features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit__heading {
    padding: 1rem 0;
}

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

.benefits__item span {
    font-weight: 600;
}



/* Hero */

.hero {
    background-image: url("../images/hero-bg.jpg");
    background-color: #f5aba5; 
    background-size: cover;         
    background-position: bottom center;    
    background-repeat: no-repeat;

    width: 100%;
    height: 100vh;
    aspect-ratio: 16 / 9;
}

.hero__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    padding: 3rem 0;
}

.hero__content {
    margin-top: 6rem;
    color: #212427;
}

.hero__leading {
    width: 50%;
    margin: 0 auto;
    padding-bottom: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.hero__heading {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    padding-bottom: 1.5rem;
    
}

.hero__media {
    display: none;
}

.hero__text {
    font-weight: 500;
}

.registration__btn {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    margin-top: 1.5rem;
}

.registration__btn a {
    display: block;
    padding: 1rem 0;
    text-align: center;
    color: #fff;
    font-weight: 600;
    border-radius: 0.25rem;
    text-decoration: none;
}

.registration__individual {
    background-color: #FEAA01;
}

.registration__group {
    background-color: #36BEC5;
}

.registration__info,
.registration__info a {
    color: #212427;
}


.registration__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;

    margin-top: 2rem;
}

.registration__info .rules,
.registration__info .lastdate {
    border: 1px solid #212427;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.registration__info span {
    display: block;
}

.result__btn {
    display: inline-block;
    background: #FEAA01;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1rem 4rem;
    color: #fff;
    text-decoration: none;
    border-radius: 0.4rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .hero__content {
        padding-top: 15rem;

        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    .hero__text {
        width: 64%;
        margin: 0 auto;
    }

    .registration__btn {
        /*grid-template-columns: 1fr 1fr;*/
    }

    .registration__info {
        width: 60%;
        margin: 2rem auto 0 auto;
    }
}


.competition-results {
    padding: 40px 20px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.results-table th,
.results-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.results-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.results-table a {
    text-decoration: none;
    font-weight: 600;
    /*color: #1a73e8;*/
}

.results-table a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .results-table th,
    .results-table td {
        font-size: 14px;
        padding: 8px;
    }
}

.pdf-link {
    font-size: 22px;
    color: #d32f2f; /* PDF red */
    transition: transform 0.2s ease, color 0.2s ease;
}

.pdf-link:hover {
    color: #b71c1c;
    transform: scale(1.2);
}

.pdf-link i {
    pointer-events: none;
}

/* Inner Page */

.inner-page {
    padding: 3rem 0;
    line-height: 1.6;
}

.inner-page .page__heading {
    font-size: 3.5rem;
    color: #342D73;
    line-height: 1;
    padding-bottom: 1rem;
}

.inner-page h3 {
    font-weight: 600;
    font-size: 1.8rem;
}

.inner-page p {
    font-weight: 500;
}


/* Rang Backbone */
.rang__backbone {
    padding: 2rem 0;
}

.rang__backbone-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.rang__backbone-item {
    border: 1px solid #ededed;
    padding: 1rem 2rem;
    border-radius: 0.4rem;
    
    display: grid;
    align-items: center;
}

@media (min-width: 768px) {
    .rang__backbone-wrapper {
        grid-template-columns: repeat(5, 1fr);
    }
}

.team__section {
    padding: 3rem 0;
}

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

.team__photo img {
    border-radius: 0.4rem;
}

.team__subtitle {
    font-weight: 600;
}

.team__info {
    text-align: center;
    padding-top: 0.5rem;
}

.team__info span {
    color: #333;
}

@media (min-width: 768px){
    .team__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

.contact__info {
    padding: 3rem 0;
}

.contact__details a {
    color: #6174b6;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact__grid h2 {
    padding-bottom: 1rem;
}


.contact__form form {
    display: flex;
    flex-direction: column;
}

.contact__form input,
.contact__form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.contact__form button {
    padding: 12px;
    border: none;
    background: #000;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    border-radius: 6px;
}

.contact__form button:hover {
    opacity: 0.9;
}

.form__success {
  margin-top: 15px;
  padding: 12px;
  background: #e6f7ec;
  color: #1a7f37;
  border-radius: 6px;
}

.form__error {
  margin-top: 15px;
  padding: 12px;
  background: #fdecea;
  color: #b42318;
  border-radius: 6px;
}

@media (min-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.current__theme {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    overflow: hidden;
    background: #1a1510 url('../images/theme-bg.jpg') no-repeat center center;
    background-size: cover;
    /*padding: 60px 20px;*/
}

.char {
    position: absolute;
    bottom: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    
}

.char-left {
    left: 0;
}

.char-right {
    right: 0;
}

.current__theme img {
    width: auto;
}

.theme__wrapper {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    text-align: center;
    color: #FFF;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); /* Ensures readability */
    padding-top: 4rem;
}

.theme__description {
    padding-top: 1rem;
}

.theme__description p {
    width: 60%;
    margin: 0 auto;
    padding-top: 1rem;
}

.hindi__title {
    font-family: 'Bakbak One', sans-serif;
    font-size: 2.5rem;
    color: #FEAA01;
}

.english__title {
    color: #FEAA01;
}

@media (max-width: 1200px) {
    .char {
        height: 70%;
        /*display: none;*/
    }
  .theme__wrapper {
        max-width: 90%; /* Uses more space on narrow screens */
    }
}

@media (max-width: 768px) {
    .char {
        display: none;
    }
    
    .theme__description p {
        width: 100%;
    }
}


/* Container: Default is vertical (Mobile) */
        .competition__result {
            display: flex;
            flex-direction: column; 
            gap: 1rem;
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
        }

        /* Button Styling */
        .competition__btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 40px;
            color: #FFF;
            text-decoration: none;
            font-weight: 600;
            border-radius: 6px;
            transition: all 0.2s ease;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            text-align: center;
            font-size: 1rem;
        }
        
        .current__result {
            background-color: #B72120;
        }
        
        .download__certificate {
            background-color: #3a3285;
        }

        /* Desktop Layout (min-width: 768px) */
        @media (min-width: 768px) {
            .competition__result {
                flex-direction: row; /* Switch to horizontal layout */
                justify-content: center; /* Center buttons horizontally */
                width: auto;
            }

            .competition__result {
                min-width: 200px; /* Optional: gives a uniform width on desktop */
            }
        }








