﻿/* Hero Banner Section Container */
        .olympiad-hero {

        


            /* Replace gradient with your actual graphic banner background using the line below: */
            background: url('../images/banner/reg.png') no-repeat center center / cover; 
            color: #ffffff;
            position: relative;
            overflow: hidden;
            padding: 4rem 0;
        }

        /* Top Platform Badge */
        .platform-badge {
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            padding: 0.4rem 1.2rem;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0.5px;
        }
        .platform-badge i {
            color: #ffd700;
            margin-right: 8px;
        }

        /* Main Typography */
        .main-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 900;
            font-size: 3.5rem;
            text-transform: uppercase;
            line-height: 1;
            margin-top: 1.5rem;
            letter-spacing: -1px;
        }
        .highlight-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 40px;
            text-transform: uppercase;
            letter-spacing: 1px;
            background: linear-gradient(to bottom, #ffe875 0%, #f1b814 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1;
            margin-bottom: 1.5rem;
        }
        .sub-title {
            font-size: 22px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 1rem;
        }
        .description-text {
            color: #fff;
            font-size: 19px;
            line-height: 1.6;
            max-width: 520px;
        }

        /* Feature Icons Group */
        .feature-icon-wrapper {
            background: linear-gradient(135deg, #0b2265 0%, #153c9e 100%);
            border: 2px solid #2563eb;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.8rem auto;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        .feature-icon-wrapper i {
            font-size: 1.8rem;
            color: #ffffff;
        }
        .feature-text {
            font-size: 18px;
            font-weight: 600;
            color: #e2e8f0;
            line-height: 1.3;
        }
        .iconminreg {
    font-size: 35px!important;
}

        /* Right Side Graphics Placeholder styling */
        .graphics-showcase {
            min-height: 450px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px dashed rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            background-color: rgba(255, 255, 255, 0.02);
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) {
            .main-title { font-size: 2.5rem; }
            .highlight-title { font-size: 3rem; }
            .olympiad-hero { text-align: center; }
            .description-text { margin: 0 auto; }
        }


     

 @media screen  and (max-width: 768px) {
     .olympiad-hero {
    background: url(../images/banner/regmob.png) no-repeat center center / cover;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}
}





 body {
            background-color: #f8fafc;
            color: #333;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .form-container {
            max-width: 1000px;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }
        .text-navy {
            color: #0d3b66;
        }
        .bg-navy {
            background-color: #0d3b66;
        }
        .section-header {
            font-size: 1.1rem;
            font-weight: 700;
            color: #0d3b66;
            margin-bottom: 1.25rem;
            display: flex;
            align-items: center;
        }
        .section-number {
            background-color: #0d3b66;
            color: #fff;
            width: 24px;
            height: 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            margin-right: 10px;
            font-size: 0.9rem;
        }
        .section-card {
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            background-color: #fff;
        }
        .input-group-text {
            background-color: transparent;
            color: #0d3b66;
            border-right: none;
        }
        .form-control, .form-select {
            border-left: none;
        }
        .form-control:focus, .form-select:focus {
            border-color: #ced4da;
            box-shadow: none;
        }
        .input-group:focus-within {
            box-shadow: 0 0 0 0.25rem rgba(13, 59, 102, 0.15);
            border-radius: 0.375rem;
        }
        .input-group:focus-within .input-group-text,
        .input-group:focus-within .form-control,
        .input-group:focus-within .form-select {
            border-color: #0d3b66;
        }
        /* Mode and Language Custom Select Cards */
/* Card Container Base */


/* The Custom Square Box replacement */
/* Globals or existing styles */
input[type=checkbox], input[type=radio] {
    opacity: 0;
    position: absolute;
}

/* Main Card Container Layout */


/* Custom Square Box (Checkbox UI) */
/* Existing global rule modified slightly for full-card coverage */


/* Main Card Layout Container */
/* Container Grid Layout */
@media screen and (max-width: 480px) {
  .option-card-group {
    display: inline!important;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
  .option-card {
    margin-top: 5px;
}
  .mainhead{
      font-size: 23px!important;
  }
}
.option-card-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Card Container Base Layout */
.option-card {
    position: relative;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    padding: 12px 14px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Icon/Text goes Left, Square Box goes Right */
    overflow: hidden;
    min-height: 52px;
}

/* Inside wrapper details */


/* The Square Indicator Box UI */
.option-card .custom-indicator {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    position: relative;
    background-color: #fff;
    transition: all 0.15s ease-in-out;
}

/* Transparent Click Area Layer on top of full card */
.option-card input[type="checkbox"].hidden-box {
    opacity: 0 !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 2; /* Keeps the click layer accessible */
    cursor: pointer;
}

/* Card Hover States */
.option-card:hover {
    border-color: #0d3b66 !important;
    background-color: #f8fafc;
}
.option-card:hover .custom-indicator {
    border-color: #0d3b66;
}

/* Dynamic Active/Checked Card Styles */
.option-card:has(.hidden-box:checked) {
    border-color: #0d3b66 !important;
    background-color: #f0f7ff;
    box-shadow: 0 0 0  #0d3b66;
}

/* Fill Checkbox indicator color dynamically upon selection */
.option-card .hidden-box:checked ~ .custom-indicator-container .custom-indicator {
    background-color: #0d3b66;
    border-color: #0d3b66;
}

/* Render sharp white checkmark glyph inside the active indicator box */
.option-card .hidden-box:checked ~ .custom-indicator-container .custom-indicator::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}















/* Fill Checkbox indicator color dynamically upon selection */
.option-card .hidden-box:checked + div .custom-indicator {
    background-color: #0d3b66;
    border-color: #0d3b66;
}

/* Render sharp white checkmark glyph inside the active indicator box */
.option-card .hidden-box:checked + div .custom-indicator::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
        /* Participation Summary Panel */
        .summary-panel {
            background-color: #002855;
            color: #fff;
            border-radius: 8px;
            padding: 1.5rem;
            height: 100%;
        }
        .summary-title {
            color: #f4d35e;
            font-weight: 700;
            font-size: 1rem;
            letter-spacing: 0.5px;
            margin-bottom: 1rem;
        }
        .total-payable-title {
            color: #f4d35e;
            font-weight: 800;
            font-size: 1.3rem;
        }
        .summary-input {
            width: 100px;
            text-align: center;
            font-weight: bold;
            border-radius: 4px;
            border: none;
            padding: 4px;
            
        }
        /* Buttons & Footer */
        .btn-register {
            background: linear-gradient(135deg, #1e6091, #0d3b66);
            color: white;
            font-weight: 600;
            padding: 0.6rem 2rem;
            border: none;
            border-radius: 30px;
            box-shadow: 0 4px 10px rgba(13, 59, 102, 0.3);
            transition: all 0.3s ease;
        }
        .btn-register:hover {
            background: linear-gradient(135deg, #0d3b66, #002855);
            color: white;
            transform: translateY(-1px);
        }
        .footer-note {
            font-size: 16px;
            color: #555;
        }
input[type=checkbox] ~ label::before, input[type=radio] ~ label::before {
        background-color: #1d3666 !important;
}
input[type=checkbox] ~ label, input[type=radio] ~ label {
    font-size: 16px;
}
.btn-register {
    font-size: 18px;
}


<!--banner-css-->

    @media (max-width: 575.98px) {
    .option-card-group {
        grid-template-columns: 1fr;
        gap: 10px; 
    }
    .option-card {
        padding: 14px 16px; 
    }
}
