/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    color: #1f2d5a;
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

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

.hero {
min-height: 100vh;
    height: auto;
    padding: 120px 20px 70px; 
    width: 100%;
    background: #00035b;
    position: relative;
    display: flex ;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 60, .65);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 90%);
}

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #27b241;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-theme {
    font-size: 24px;
    max-width: 700px;
    margin: auto;
    opacity: .95;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 35px 0;
    flex-wrap: wrap;
    font-size: 18px;
}

.hero-details i {
    color: #27b241;
    margin-right: 8px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {

    padding: 15px 34px;

    border-radius: 50px;

    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition: .3s;

    font-size: 16px;
}

.primary-btn {

    background: #27b241;

    color: white;

}

.primary-btn:hover {

    transform: translateY(-3px);

    background: #b68f2b;

}

.secondary-btn {

    border: 2px solid white;

    background: transparent;

    color: white;

}

.secondary-btn:hover {

    background: white;

    color: #1F2D5A;

}

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

h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 45px;
    color: #1F2D5A;
}

/* =========================
   GLANCE
========================= */

.glance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


.glance-card {

    background: white;

    border-radius: 18px;

    padding: 40px;

    text-align: center;

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

    transition: .3s;
}

.glance-card:hover {

    transform: translateY(-8px);

}

.glance-card i {

    font-size: 38px;

    color: #27b241;



}

.glance-card h3 {

    margin-bottom: 15px;

}

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

.about-conference {
    background: #f8f9fb;
}

.about-conference p {

    max-width: 850px;

    margin: auto;

    text-align: center;

    color: #555;

    font-size: 18px;

}

/* ==========================
   Registration Fees
========================== */

.fees-image-card {

    max-width: 1100px;

    margin: 20px auto 0;

    background: #fff;

    padding: 2px;

    border-radius: 18px;

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

    overflow: hidden;

}

.fees-image-card img {

    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;

    border-radius: 12px;

}

/* ==========================
   Registration QR
========================== */

.registration-qr {

    padding: 80px 20px;

    background: #f8fafc;

    text-align: center;

}

.registration-qr h2 {

    margin-bottom: 15px;

}

.registration-qr p {

    color: #666;

    margin-bottom: 35px;

}

.qr-wrapper {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 25px;

}

.qr-wrapper img {

    width: 220px;

    max-width: 90%;

    border-radius: 15px;

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

    background: white;

    padding: 12px;

}

@media(max-width:768px) {

    .registration-qr {

        padding: 60px 20px;

    }

    .qr-wrapper img {

        width: 180px;

    }

                .container {
                    width: 100%;
                    max-width: 100%;
                    padding: 0 20px;
                    margin: 0 auto;
                }
        
                section {
                    width: 100%;
                    overflow: hidden;
                }

}


.register-btn {

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 16px 34px;

    background: linear-gradient(135deg, #C8A54B, #E7C46A);

    color: #1F2D5A;

    text-decoration: none;

    font-weight: 700;

    font-size: 17px;

    border-radius: 50px;

    box-shadow: 0 12px 25px rgba(200, 165, 75, .35);

    transition: .35s;

}

.register-btn i {

    transition: .35s;

}

.register-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 18px 35px rgba(200, 165, 75, .45);

    color: #1F2D5A;

}

.register-btn:hover i {

    transform: translateX(6px);

}

/* =========================
   WORKSHOPS
========================= */

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

.workshop-card {

    background: white;

    padding: 35px;

    text-align: center;

    border-radius: 18px;

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

    transition: .3s;

    display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        min-height: 240px;

}

.workshop-card:hover {

    transform: translateY(-8px);

}

.workshop-card i {

    font-size: 45px;

    color: #27b241;

    margin-bottom: 20px;

}

/* =========================
   TIMELINE
========================= */

.timeline {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

}

.timeline-item {

    flex: 1;

    min-width: 170px;

    background: white;

    border-radius: 18px;

    text-align: center;

    padding: 25px;

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

}

.timeline-item span {

    font-size: 28px;

    font-weight: 700;

    color: #27b241;

}

/* ======================
BROCHURE
====================== */

.brochure {

    background: #F7F8FA;

}

.brochure-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 40px;

    align-items: center;

    justify-items: center;

}
.brochure-image {

    display: flex;

    justify-content: center;

    align-items: center;

}

.brochure-image img {

    width: 100%;

    max-width: 300px;
    /* Change this value to make it larger or smaller */

    height: auto;

    display: block;

    border-radius: 18px;

    box-shadow: 0 25px 45px rgba(0, 0, 0, .15);

}





.brochure-content h2 {

    text-align: center;

    margin-bottom: 20px;

}

.brochure-content p {

    font-size: 18px;

    color: #666;
    text-align: center;

    margin-bottom: 35px;

    line-height: 1.8;

}

.brochure-buttons {

    display: flex;

    flex-direction: row;

    justify-content: center;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

    width: 100%;

}

.secondary-btn-dark {

    background: #1F2D5A;

    color: white;

    text-decoration: none;

    padding: 15px 30px;

    border-radius: 50px;

    transition: .3s;

}

.secondary-btn-dark:hover {

    background: #162042;

}

/* ==========================
POPUP
========================== */

.modal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .75);

    z-index: 9999;

    justify-content: center;

    align-items: center;
    
        /* Add breathing room */
        padding: 40px 20px;
    
        box-sizing: border-box;

}

.modal.show {

    display: flex;

}

.modal-box {
    background: #fff;
    width: min(900px, 95%);
    max-height: 85vh;

    border-radius: 20px;
    position: relative;

    padding: 25px;
    /* Space between border and content */
    box-sizing: border-box;

    overflow-y: auto;
}
.modal-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    /* Space between image and content */
    align-items: center;
}

.modal-image {

    background: #f5f5f5;

}

.modal-image img {

    width: 100%;

    height: 380px;
        object-fit: contain;

    display: block;

}

.modal-content {

    padding: 40px;

    overflow-y: auto;

}

.close-modal {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

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

    color: #1F2D5A;

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

    font-size: 30px;
    font-weight: bold;

    cursor: pointer;

    z-index: 99999;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}

@media(max-width:768px) {

    .modal-box {

        width: 95%;

        max-height: 90vh;

        overflow-y: auto;

    }

    .modal-grid {

        grid-template-columns: 1fr;

    }

         .modal-image {
             text-align: center;
         }

        .modal-image img {
    
            width: 100%;
    
            height: auto;
    
            max-height: 420px;
    
            object-fit: contain;
    
            border-radius: 15px;
    
            display: block;
    
            margin: auto;
    
        }

    .modal-content {

        padding: 25px;

        text-align: center;

    }

}


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

@media(max-width:900px) {

    .hero h1 {

        font-size: 52px;

    }

    .hero-theme {

        font-size: 20px;

    }

   .brochure-grid {

       grid-template-columns: 1fr;

       text-align: center;

   }

   .brochure-content h2 {

       text-align: center;

   }

   .brochure-buttons {

       justify-content: center;

   }

}

@media(max-width:768px) {

    .hero {

        min-height: 550px;

        padding: 30px 0;

    }

    .hero h1 {

        font-size: 42px;

    }

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

    .hero-theme {

        font-size: 18px;

    }

    .hero-details {

        flex-direction: column;

        gap: 15px;

    }

    section {

        padding: 60px 0;

    }

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

    h2 {

        font-size: 30px;

    }

}