@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url(../css/font/certificate-400.woff2);

 /*___________Scrollbar_____________*/
html{scrollbar-color: #000 #fff0;overflow: hidden;overflow-y: auto;}
html {--scrollbarBG: #fff0;--thumbBG: #000;}
body::-webkit-scrollbar {width: 5px;}
body {scrollbar-width: thin;scrollbar-color: var(--thumbBG) var(--scrollbarBG); overflow-x: hidden!important} 
body::-webkit-scrollbar-track {background: var(--scrollbarBG);}
body::-webkit-scrollbar-thumb {background-color: var(--thumbBG) ;border-radius: 6px;border: 3px solid var(--scrollbarBG);}
*{scrollbar-color:  var(--thumbBG) var(--scrollbarBG);scrollbar-width: thin;box-sizing: border-box;outline: none;}
/*___________Scrollbar END_____________*/

@font-face {
  font-family: 'CertificateFont';
  src: url('../css/font/certificate-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Site Container */
.container {max-width: 1300px; margin: auto; position: relative;}
@media screen and (max-width: 1620px) {
.container {max-width:1300px}
.about .container {width: 75%;}
}
/* Site Container */


/*___________COMMON CSS___________*/
body {background-repeat: no-repeat;margin: auto; background-position: bottom bottom;font-weight: 100; background-size: 100% 100%;}
.pr{position: relative;}
.none{display: none;}
section{padding: 80px 0;}
.inter {font-family: "Inter", sans-serif;}
.bodani {font-family: "Bodoni Moda", serif; font-optical-sizing:none; font-style: italic;font-weight: 500;}
h1, h2, h3, h4{line-height: 45px;font-size: 50px;}
p {font-family: 'inter';font-weight:600;line-height:normal;color:#5b5960; font-size: 18px;margin: 10px 0;}

/*top*/
#go_top{ position: fixed; bottom:-10%; right:1%; transition:all 0.6s;font-size:30px; cursor:pointer;}
#go_top i{border-radius:100%;color:var(--text-brand);}
#go_top.show{ bottom:7%; z-index:1;}
em {font-size:75%; line-height: 0;position: relative;vertical-align: baseline;top: -0.5em;}
/*top*/

:root {
    /* ==========================================
       BACKGROUND COLORS
       ========================================== */
    --bg-primary: #0c4da1;   
    --bg-secondary: #043557;   
    --bg-success: #0c743c;   
    --bg-danger: #ae2012;     
    --bg-warning: #bb6727;     
    --bg-dark: #000000;       
    --bg-light: #ffffff;       

    /* ==========================================
       TEXT COLORS
       ========================================== */
    --text-main: #000000;       
    --text-light: #ffffff;     
    --text-brand: #0c4da1;     
    --text-muted: #4a5568; 
    --text-success: #0c743c;
    --text-danger: #ae2012;
    --text-warning: #bb6727;
}


/* Header */
header {
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 999990;
}
.rgi-logo img {
    margin: 7px 0 0; 
    width: 200px;
}
.hdr-sec {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.drp-sec {
    position: relative; 
    display: inline-block;
}

.drp-sec .btn09 .drop-btn {
    background-color: var(--text-light);
    padding: 10px 25px;
    text-align: center; 
    cursor: pointer;
    transition: all .2s ease-out;
    font-size: 15px;
    font-weight: 600; 
    border: none; 
    color: var(--bg-primary);
    border-radius: 20px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.drp-sec .btn09 .drop-btn:hover {
    box-shadow: none;
    background-color: var(--bg-primary); 
    color: #fff;
}

/* --- Clean Pop-over Menu Positioning --- */
.drp-sec .addition-drop-txt {
    position: absolute; 
    top: 100%;     
    right: 0;      
    background-color: #fff;
    border-radius: 8px;
    width: 100%;      
    max-height: 200px; 
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); 
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 999999;
}

/* --- Hover State Target Adjustments --- */
.drp-sec:hover .addition-drop-txt {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}

/* --- Inside Dropdown Links formatting --- */
.drp-sec .addition-drop-txt a {
    display: block;
    text-align: center;
    padding: 10px 15px; 
    text-decoration: none;
    color: var(--bg-primary);
    font-weight: 400;
    font-size: 14px;
    transition: background-color .2s ease, color .2s ease;
}

.drp-sec .addition-drop-txt a:hover {
    background-color: #f5f5f5; /* Subtle soft gray background on link hover */
    color: var(--bg-primary);   /* Brand dynamic accent color interaction */
}

/* hero */
.hero_bg{
    position:relative;
    width:100%;
    min-height:100vh;
    overflow:hidden;
}

.hero-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

.video-overlay{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.15); /* optional */
    z-index:2;
}

.hero_min{
    position:relative;
    z-index:5;
    padding:120px 0;
}

.hero-content{
    max-width:420px;
}

.main-title{
    color:var(--bg-primary);
    line-height:1.25;
}

/* Rounded Form Input Boxes */
.form-group {background: var(--bg-light);border-radius: 50px;padding: 14px 24px;margin-bottom:20px;display: flex;align-items: center;box-shadow: 0 4px 10px rgba(11, 75, 155, 0.04);position:relative;}
.form-label {font-size: 16px;font-weight: 500;color: #111111;margin-right: 8px;white-space: nowrap;}
.form-input {border: none;outline: none;width: 100%;font-size: 16px;color: var(--bg-dark);background: transparent;}
.form-group .error{position:absolute;bottom:-16px;color:#ae2012;font-size:12px;}
.btn-submit {background-color: var(--bg-primary);color: var(--bg-light);font-size: 15px;font-weight: bold;letter-spacing: 0.5px;padding: 15px 32px;border: none;border-radius: 50px;cursor: pointer;transition: background-color 0.2s ease, transform 0.1s ease;font-weight: 400;text-transform: uppercase;position: relative;overflow: hidden; transition:all .4s ease;display: inline-block;}
.form-group__captcha {margin-bottom: 30px;transform: scale(0.8);}

.btn-submit::before{
    content:"";
    position:absolute;
    width:0;
    height:0;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:rgba(255,255,255,.25);
    opacity:0;
}

.btn-submit:hover::before{
    animation:waterRipple 1s ease-out;
}

@keyframes waterRipple{
    0%{
        width:0;
        height:0;
        opacity:.8;
    }
    100%{
        width:400px;
        height:400px;
        opacity:0;
    }
}
/* elements */
.d1, .d2, .d3 {position:absolute; z-index: 5; pointer-events: none;}
.d1 {right: 0; top: 23%;}
.d2{left:-6%; bottom: -3%;}
.d3{right: 0;left: 18%;display: flex;justify-content: center;top:0; bottom: 0;}
.d3{position:absolute;   animation: sailFloat 8s ease-in-out infinite;
    transform-origin:center center;}

@keyframes sailFloat{
    0%{
        transform: translateY(0px) rotate(0deg);
    }

    20%{
        transform: translateY(-8px) rotate(-2deg);
    }

    40%{
        transform: translateY(4px) rotate(1deg);
    }

    60%{
        transform: translateY(-6px) rotate(2deg);
    }

    80%{
        transform: translateY(3px) rotate(-1deg);
    }

    100%{
        transform: translateY(0px) rotate(0deg);
    }
}
.d2 img, .d1 img {width: 400px;}
/* elements */

/* hero end */

/* about */
.about-bg {background-image: url('../images/about-bg.jpg');background-position: center bottom;height: 72vh;background-position: center; background-repeat: no-repeat;background-size: cover
  ;}
.about-content {margin: auto;text-align: center;display: flex;align-content: center;justify-content: center;flex-direction: column;width: fit-content;}
.about-heading {color: var(--bg-success); margin: 0 0 20px 0; }
.about-text p, .slide-description{font-size: 20px;line-height: 1.6;color: #5a5a5a;font-weight: 400;margin-bottom: 30px;}
.btn-green {background-color:var(--bg-success);width: fit-content;margin: anchor-size;margin: auto;}
/* about end */


/* game */


#game-container {position: relative; width: 100%; height:85vh;background-image: url('../images/game.jpg'); background-size: cover;background-position: center bottom;background-repeat: no-repeat;} 
.info-btn {position: absolute;top: 0px;right: 34px;}
.info-btn img {width: 32px; height: 32px;cursor: pointer;}
.info-container {position: relative;top: -75px;right: 0px;z-index: 1000;}
.info-btn {width: 50px;height: 50px;display: flex;align-items: center;justify-content: center;cursor: pointer;transition: all 0.3s ease;}
.info-btn:hover {transform: scale(1.1);}
.info-btn img {width: 24px;height: 24px;}
.info-copy {position: absolute;top: 50px;right: 0;border-radius: 12px;padding: 20px;min-width: 280px;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);opacity: 0;visibility: hidden;transform: translateY(-10px);transition: all 0.3s ease;z-index: 1001;color: var(--bg-light);background-color: var(--bg-light);}
.info-copy.show {opacity: 1;visibility: visible;transform: translateY(0);}
.info-copy ul {list-style: none;font-size: 15px;color: var(--bg-dark);font-weight: 400;padding: 0;}
.info-copy li {margin-bottom: 10px;}
.info-copy li:last-child {margin-bottom: 0;}
.info-copy li:before {content: "•";margin-right: 8px;color: var(--bg-danger);}



/* ============ SCREENS BASE ============ */
.screen {position: absolute;inset: 0;display: none;flex-direction: column;align-items: center;justify-content: center;padding: 20px;z-index: 10;}
.screen.active {display: flex;}

/* ============ SCREEN 1: START ============ */
.title-block {text-align: center;}
#start-screen .main-title {color: var(--bg-danger);margin-bottom: 20px;}
.subtitle {color: var(--bg-secondary);margin-bottom: 40px;font-weight: 400;}
.action-btn {background-color: var(--bg-danger);}


/* ============ BOXES/BINS STRUCTURE ============ */
.boxes-row {display: flex;justify-content: center;align-items: center;gap: 40px; width: 100%;max-width: 800px;height: 240px; margin: 0 auto 40px auto;  pointer-events: none; }
.game-active .boxes-row {pointer-events: auto;position: absolute;top: 50%;left: 0;right: 0;margin: 0 auto;}
.declutter-box {background-image: url('../images/icons/box.png');background-size: contain;background-repeat: no-repeat;background-position: center;width: 100%;height: 100%;position: relative;display: flex;align-items: center;justify-content: center;padding-top: 50px;}
.box-label {color: var(--bg-danger); position: relative;text-align: center;font-size: 30px;}

/* ============ SCREEN 2: GAMEPLAY PLAYGROUND ============ */
#items-playground {position: absolute;inset: 0;z-index: 20;pointer-events: none;}
.draggable-item {position: absolute;cursor: grab;pointer-events: auto;z-index: 30;width: 200px;height: 200px;display: flex;align-items: center;justify-content: center;}

.draggable-item.dragging {cursor: grabbing;z-index: 1000;}
.draggable-item img {width: 100%; height: 100%; object-fit: contain;}

/* TOP ROW */
.pos-books{left:8%;top:20%;}
.pos-papers{left:25%;top:11%;}
.pos-clothes{left:43%;top:4%;}
.pos-vase{left:58%;top:10%;}
.pos-jacket{left:75%;top:10%;}
.pos-bulb{left:82%;top:30%;}

/* MIDDLE */
.pos-keys{left:22%;top:62%;}
.pos-helmet{left:87%;top:50%;}

/* BOTTOM */
.pos-cable{left:8%;top:72%;}
.pos-teddy{left:43%;top:66%;}
.pos-files{left:66%;top:66%;}
.pos-utensils{left:5%;top:40%;}

.game-hud {position: absolute;top: 24px;left: 24px;display: flex;gap: 20px;font-weight: 600;font-size: 16px;color:var(--bg-dark);z-index: 100;}

.hud-pill {padding: 6px 16px;border-radius: 20px;backdrop-filter: blur(5px);box-shadow: 0 2px 8px rgba(0,0,0,0.05);font-weight: 400;}
.hud-pill.timer-warning {color: var(--bg-danger);animation: textPulse 0.5s infinite alternate;}
@keyframes textPulse {from { opacity: 1; } to { opacity: 0.5; }}



 /* ============ SCREEN 3: SCORE OVERLAY CARD ============ */
.score-card {background: #ffdbca;border-radius: 28px;padding: 50px 45px 50px 45px;width: 100%;max-width: 360px;text-align: center;box-shadow: 0 25px 60px rgba(117, 60, 24, 0.12);position: relative;box-sizing: border-box;}
.card-title {font-size: 48px;color: var(--bg-danger);margin: 0 auto 20px auto;line-height: 1.1;}
.card-summary-text {color: var(--bg-secondary);margin-bottom: 25px;font-weight: 400;}

.score-popup {position: fixed; font-size: 20px; font-weight: 400;font-family: "Bodoni Moda";z-index: 9999;pointer-events: none;transform: translate(-50%, -50%); text-shadow: 0px 2px 4px rgba(0,0,0,0.2); animation: floatUpFade 0.8s ease-out forwards;}

/* Optional: Adds a smooth floating upward effect */
@keyframes floatUpFade {
  0% { 
    opacity: 1; 
    margin-top: 0px; 
  }
  100% { 
    opacity: 0; 
    margin-top: -40px; 
  }
}
/* Stars Arrangement Layer Rules */
.stars-row {display: flex;justify-content: center;gap: 16px;margin-bottom: 30px;}
.star-icon {font-size: 82px;color: #f9ca3a;line-height: 1;}
.star-icon.active {color: var(--text-brand)}

/* Metrics Box Frame stripped of container background shading to float clean */
.metrics-box {margin-bottom: 40px;display: flex;flex-direction: column;gap: 12px;}
.metric-line {font-size: 20px;color: var(--bg-dark);display: flex;justify-content: center;align-items: center;gap: 8px;}
.metric-value {font-weight: 700;font-size: 26px;color: var(--bg-dark);}

/* Button Layout positioning crossing the edge layout rules boundaries */
.btn-group {
gap: 12px;
align-items: center;
width: 100%;
z-index: 10;
}

.btn-group .action-btn{background-color: var(--bg-danger);color: #ffffff;font-size: 12px;letter-spacing: 0.8px;text-transform: uppercase;border: none;padding: 12px 36px;border-radius: 20px;cursor: pointer;box-shadow: 0 4px 12px rgba(174, 32, 18, 0.25);white-space: nowrap;}
/* Secondary CTA styling variants link updates */
.btn-group {display: flex;flex-direction: column;gap: 12px;align-items: center;}


/* ============ CERTIFICATE GRAPHIC MODAL LAYER ============ */
#certificate-modal {display: none;position: absolute;inset: 0;background: rgba(0, 0, 0, 0.4);backdrop-filter: blur(4px);z-index: 2000;align-items: center;justify-content: center;padding: 20px;}

#certificate-modal.active {display: flex;}

/* Base Certificate Border Frame */
.cert-container {background: #fed8c5; border-radius: 24px;max-width: 850px;width: 100%;box-shadow: 0 25px 60px rgba(0,0,0,0.15);position: relative;box-sizing: border-box;padding: 8px}
.certificate-min {border: 1px solid var(--bg-danger); margin: 0;padding: 70px;border-radius: 24px;}
.cert-logo-container {position: absolute;top: 35px;right: 50px;height: 40px;}
.cert-brand-logo {height: 100%;object-fit: contain;}
.cert-title {color: var(--bg-danger) ;text-align: center;margin-top: 40px;margin-bottom: 25px;font-family: 'CertificateFont';font-size:56px;}
.cert-present {font-size: 15px;color: var(--bg-secondary);text-align: center;margin-bottom: 5px;font-weight: 400;}
.cert-name {font-size: clamp(26px, 3.8vw, 34px);color: var(--bg-secondary); text-align: center;margin-bottom: 12px;font-weight: 500;}

.cert-body {margin-bottom: 20px;}

.cert-badge-stamp {
position: absolute;
bottom: 45px;
right: 75px;
height: 125px;z-index: 5;}

.cert-action-row {position: absolute;bottom:-14px;left: 0%;right: 0;display: flex;justify-content: center;width: 100%;z-index: 10;}
.download-cert-btn {background-color: var(--bg-danger);color: var(--bg-light);}
.close-cert-btn {position: absolute;top: 20px;left: 25px;background: none;border: none;font-size: 28px;cursor: pointer;color: rgba(26, 37, 64, 0.4);line-height: 1;z-index: 15;}
.close-cert-btn:hover {color: var(--bg-danger);}
/* game */

/* slider */
.magazine-slide {width: 100%;background-size: cover;background-position: center bottom;background-repeat: no-repeat;display: flex !important;align-items: center;height: 90vh;}
.slide-description {width: 50%;margin-bottom: 60px;}
.magazine-slide .btn-submit {text-decoration: none;}

.theme-orange {background-image:url(../images/slider/article-1.jpg); color: var(--bg-danger)}
.theme-orange .btn-submit {background-color: var(--bg-danger); }

.theme-blue {background-image:url(../images/slider/article-2.jpg); color: var(--bg-primary); }
.theme-blue .btn-submit { background-color: var(--bg-primary); }

.theme-pink {background-image:url(../images/slider/article-3.jpg); color: var(--bg-warning); }
.theme-pink .btn-submit { background-color: var(--bg-warning); }

/* arrow */
.magazine-slider-container .slick-prev::before {content: '';width: 8px;height: 8px;border-left: 2px solid var(--text-main);border-bottom: 2px solid var(--text-main);transform: rotate(45deg);margin-left: 3px;}
.magazine-slider-container .slick-next::before {content: '';width: 8px;height: 8px;border-right: 2px solid var(--text-main);border-top: 2px solid var(--text-main);transform: rotate(45deg);margin-right: 3px;}
.magazine-slider-container .slick-prev,
.magazine-slider-container .slick-next {position: absolute;top: 50%;transform: translateY(-50%);width: 44px;height: 44px;background-color: #ffffff57;border: 1px solid rgba(0,0,0,0.1);border-radius: 50%;z-index: 50;cursor: pointer;font-size: 0; /* Hide default slick text */display: flex;align-items: center;justify-content: center;box-shadow: 0 2px 8px rgba(0,0,0,0.06);transition: background-color 0.2s, transform 0.2s;}
/* arrow */

.magazine-slider-container .slick-prev:hover,
.magazine-slider-container .slick-next:hover {background-color: #f7f7f7;}
.magazine-slider-container .slick-prev { left: 24px; }
.magazine-slider-container .slick-next { right: 24px; }
/* slider end */

/* footer */
.footer09 {background-image: url(../images/footer.jpg);background-position: bottom bottom; background-repeat: no-repeat;background-size: cover;}
.ft_sec {padding: 150px 0px 70px 0px;}
.footer-min {display: flex; justify-content: space-between; align-items: center;flex-wrap: wrap;padding: 30px 0; padding: 30px 40px 0;}
.ft_sos,.magazines-img {padding: 20px 0;}
.ft_sos ul {display: flex;align-items: center;justify-content: space-evenly; list-style: none; padding: 0;}
.ft_sos ul li {margin: 0 8px 0 0; color:#032f64;}
.ft_sos ul li img {border-radius: 50%;width: 25px;}
.ft_sos a img {transition: all 0.4s}
.ft_sos a:hover img {transform: scale(1.1);}
.magazines-img img {width: 100%;}
.ftr-sb-txt, .ftr-sb-txt a {color:#032f64; text-decoration: none;margin-bottom: 0;font-weight: 400;}
.ftr-sb-txt .ft-txt {font-size: 14px;font-weight: 400;color:var(--bg-secondary)}
.btm-txt {padding:50px 0;}
.btm-txt h4 {text-align: center;text-transform: uppercase;
margin: 0; font-weight: 400; font-size: 18px; letter-spacing: 1px;}
.btm-txt h4 a {color: #032f64; text-decoration: none;}
.footer-img img {width: 200px;}
/* footer End */





/* Site Code */
@media only screen and (max-width: 1440px) {
  .container {max-width: 85%;}
}

@media (max-width: 767px) {
h1, h2, h3, h4 {font-size: 30px;line-height: 35px;}
.about-bg {height: auto;}
.d2 {left: -11%;}
.d1 {top: 18%;}
.about-text p, .slide-description {font-size: 18px;}
.d2 img, .d1 img {width: 200px;}
.slide-description {width: 100%;}
.ft_sos, .magazines-img, .footer-min {padding: 20px 0;}
.rgi-logo img {width: 165px;}
.drp-sec .btn09 .drop-btn {font-size: 14px;}
.box-label {font-size: 18px;}
.boxes-row {gap:0px}
.subtitle {margin-bottom: 0;}
.declutter-box {padding-top: 25px;}
.draggable-item {width: 100px; height: 100px;}
.card-title {font-size: 32px;}
.cert-title {font-size: 31px;}
.certificate-min {padding: 58px;}
.cert-present {font-size: 14px;}
.cert-badge-stamp {bottom: 36px;right: 12px;width: 84px;height: 61px;}
.btn-submit {font-size: 13px;}
.star-icon {font-size: 60px;}
.pos-files {top:83%}
.pos-helmet {left: 68%;top: 60%;}
.pos-utensils {left: 25%;top: 84%;}
.pos-books {top: 23%;}
.pos-papers {left: 30%;top: 17%;}
.pos-clothes {left: 14%;top: 9%;}
.pos-jacket {left: 60%;top: 23%;}
.pos-bulb {left: 78%;top: 12%;}
.score-popup {font-size: 18px;}
.info-copy {right: 34px;}
.info-copy ul {font-size: 11px;}
.score-card {padding: 30px;}
.metric-value {font-size: 20px;}
.magazine-slide {display: block!important;}
.theme-orange {background-image:url(../images/slider/article-1-mb.jpg);}
.theme-blue {background-image:url(../images/slider/article-2-mb.jpg);}
.theme-pink {background-image:url(../images/slider/article-3-mb.jpg);}


.d3{ top: inherit; bottom:-40%;}
.about-text p br{display: none;}

}

  
