﻿@import url('https://fonts.googleapis.com/css2?family=Poppins: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');

body {
    font-family: 'Poppins', sans-serif;
    font-size: .8em;
    font-weight: 500;
    line-height: 24px;
}

@font-face {
    font-family: 'fontawesome-webfont';
    src: url('../fontawesome/fonts/fontawesome-webfont.ttf') format('truetype');
}

.container-fluid {
    width: 80%;
}

:root {
    --ColorBlue: #3b3086;
    --ColorBlueDark: #3361AC;
    --darkbg: #ffb000;
    --dark-green: #e7e6dd;
    --colorwhite: #ffffff;
    --colorgray: #3D3F40;
    --darkyellow: #7291f9;
}

ul,
ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

a {
    text-decoration: none;
}

p {
    line-height: 24px;
}

h1 {
    font-size: 50px;
    line-height: 70px;
}

h5 {
    font-size: 1.2em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}

.text-blue {
    color: var(--ColorBlue);
}

.text-purple {
    color: var(--ColorPurple);
}

.dark-text {
    color: var(--ColorBlueDark);
}

.dark-text1 {
    color: var(--ColorBlueLaghtDark);
}

.grayText {
    color: var(--ColorGray);
}


.gradientBtn {
    background: linear-gradient(45deg, var(--ColorBlue), var(--ColorPurple));
    padding: 1px 13px;
    color: var(--colorwhite);
    border-radius: 4px;
    /* border: solid 1px var(--ColorPurple); */
    display: inline-block;
}

    .gradientBtn:hover,
    .gradientBtn:focus {
        color: var(--colorwhite);
        background: linear-gradient(45deg, var(--ColorPurple), var(--ColorBlue));
    }

.btn {
    border-radius: 5px !important;
}

.btn-sm {
    border-radius: 50px !important;
}

.btn-primary {
    background-color: var(--darkbg);
    border: none;
    color: var(--ColorBlue);
}

.College {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.09);
    padding-bottom: 15px;
}

    .College:hover {
        box-shadow: 0px 3px 20px rgba(0, 0, 0, .5);
    }

    .College img {
        border-radius: 10px 10px 0px 0px;
    }

    .College p {
        font-size: .7rem;
        padding: 0px 20px;
        line-height: .95rem;
    }

    .College h6 {
        color: var(--ColorBlueDark);
        margin-top: 25px;
        padding: 0px 20px;
    }

    .College a {
        display: block;
        padding: 0px 20px;
        color: var(--ColorBlue);
        text-decoration: none;
    }

.categories {
    background: var(--ColorBlue);
    padding: 5px 10px;
    border-radius: 5px;
    right: 14px;
    position: absolute;
    margin-top: -20px;
    color: #fff;
}

.Features {
    background: var(--darkbg) url(../images/Featuresimg.png) no-repeat;
    background-position: right center;
    background-size: 48%;
}

.nav-tabs .nav-link {
    color: var(--ColorBlueDark);
}

    .nav-tabs .nav-link.active,
    .nav-tabs .nav-link:hover,
    .nav-tabs .nav-link:focus {
        color: var(--ColorBlue);
        background: unset;
        border-color: var(--colorwhite) var(--colorwhite) var(--ColorBlue) var(--colorwhite);
        border-width: 1px 1px 1px 1px;
    }

.Features h1,
.Features h1 {
    font-weight: 300;
    color: var(--colorwhite);
}

.Features .number {
    background-color: var(--ColorBlue);
    font-size: 16px;
    text-align: center;
    color: var(--colorwhite);
    width: 133px;
    height: 71px;
    line-height: 65px;
    border-radius: 50px;
}

.Features h1 mask,
.Features h1 mask {
    font-weight: 600;
    color: var(--ColorBlue);
}

.themeBlueBtns {
    background: var(--ColorBlue);
    border-color: var(--ColorBlue);
}


.event {
    border-radius: 0px;
    background: #fff;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.09);
    padding-bottom: 15px;
}

    .event .date {
        background-color: var(--darkbg);
        color: var(--colorwhite);
        width: 75px;
        text-align: center;
        font-size: 45px;
        position: absolute;
        z-index: 9999999;
        margin-left: 15px;
        margin-top: -30px;
        padding: 17px 0px 0px;
    }

        .event .date span {
            display: block;
            font-size: 12px;
        }

    .event .content h6 {
        color: var(--ColorBlueDark);
        margin-top: 35px;
    }

.btn-secondary {
    background-color: var(--ColorBlue);
    border-color: var(--ColorBlue);
}

.event .content a {
    color: var(--darkyellow);
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

.themeBlueBtns:hover,
.themeBlueBtns:focus,
.themeBlueBtns:focus-visible {
    background: var(--ColorBlueDark) !important;
    border-color: var(--ColorBlueDark) !important;
}

.themeBtnsPurple {
    background: var(--ColorPurple);
    border-color: var(--ColorPurple) !important;
}

    .themeBtnsPurple:hover,
    .themeBtnsPurple:focus,
    .themeBtnsPurple:focus-visible {
        background: var(--ColorPurpleDark) !important;
        border-color: var(--ColorPurpleDark) !important;
    }

.container-fluid.py-5 {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.container-fluid.pt-0 {
    padding-top: 0px !important;
}

h3.largeHeading {
    font-size: 44px;
    font-weight: 600;
    text-transform: capitalize;
}

h4.largeHeading {
    font-size: 34px;
    font-weight: 600;
    text-transform: capitalize;
}

.topBar {
    background: var(--ColorBlueDark);
    padding-top: 5px;
    padding-bottom: 5px;
}

    .topBar span {
        color: var(--colorwhite);
    }


.socialIcons li span {
    margin-right: 5px;
    color: var(--colorwhite);
}

.socialIcons li a {
    width: 27px;
    height: 27px;
    color: var(--colorwhite);
    border: solid 1px;
    margin-right: 5px;
    border-radius: 100%;
    font-size: 16px;
}


.accebilities ul li a {
    color: var(--colorwhite);
    padding: 0px 10px;
    border-right: solid 1px #ffffff70;
}

.accebilities ul li:nth-last-child(1) a {
    padding-right: 0px;
    border-right: 0px;
}

/*Topbar End*/
/*Logo section Start*/
.logoSections img {
    min-height: 65px;
    max-height: 65px;
    max-width: 100%;
}

.cm {
    display: block;
    margin-left: 12px;
    line-height: 18px;
}

.navbar-expand-lg .navbar-nav {
    column-gap: 12px;
}


.cm img {
    height: 65px;
    max-height: 65px !important;
}

.cm span {
    font-size: 12px;
}

/*Logo section End*/
/*Menu section Start*/

.navbar-expand-lg .navbar-nav .dropdown-menu {
    padding: 0;
    border: none;
    background: #3361ac;
    border-radius: 0px;
    padding: 3px;
}

.dropdown-item {
    color: #ffffff;
    font-size: .8em;
}

    .dropdown-item:focus,
    .dropdown-item:hover {
        color: var(--orange);
        background-color: transparent;
    }

.navBars a.nav-link {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    font-weight: 500;
    color: var(--orange);
}

.navBars .nav-link.highlight {
    color: var(--colorwhite);
    background: var(--orange);
    margin: 0px 5px !important;
}

/*Menu section End*/


/*Slider section Start*/
.carousel-caption {
    bottom: unset;
    top: 25%;
    color: var(--colorwhite);
}

    .carousel-caption h1 {
        font-size: 45px;
        font-weight: 300;
    }

    .carousel-caption h4 {
        font-size: 25px;
        font-weight: 300;
        text-align: left;
    }

    .carousel-caption h1 span {
        font-weight: 700;
    }

    .carousel-caption p {
        font-size: 18px;
        line-height: 32px;
    }

/*Slider section End*/

.infocard {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    color: #fff;
}

.content {
    padding-left: 20px;
}

    .content p {
        margin-bottom: 0px;
        font-weight: 400;
    }

    .content a {
        color: #fff;
    }

.bg1 {
    background-color: var(--ColorBlueDark);
}

.bg2 {
    background-color: var(--ColorBlue);
}

.departments {
    position: relative;
    margin-top: -159px;
}

.owl-item {
    margin-bottom: 25px;
}

.education {
    border-radius: 10px;
    padding: 30px 10px;
    background: #fff;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.22);
}

    .education .thumb {
        width: 120px;
        height: 120px;
        padding: 20px;
        margin: 0 auto;
        border-radius: 100%;
        background: linear-gradient(#017bd8 0%, #21b867 100%);
    }

    .education h6 {
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        color: #a8adb4;
        margin-top: 20px;
        font-weight: 500;
    }

/*statics section start*/

.about {
    background: var(--colorwhite);
}

.Location {
    background: url(../images/icons/about_dots.png) no-repeat top right;
}

.left,
.right {
    position: absolute;
    z-index: 99;
}

.left {
    left: 0;
    margin-top: -100px;
}

.right {
    right: 0;
    margin-top: -100px;
}

.flat-row {
    padding: 80px 0;
}

.statics.container-fluid.py-5 {
    padding-top: 100px !important;
}

.Colleges {
    background: var(--dark-green);
}


.customNavOwl button {
    border-radius: 100%;
    outline: none;
    background: var(--ColorBlue);
    color: #fff;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--colorwhite);
    border: none;
}

    .customNavOwl button.owl-prev {
        margin-right: 5px;
    }


.about h1,
.Colleges h1,
.Admission h1,
.Location h1 {
    font-weight: 300;
    color: #072656;
}

    .about h1 mask,
    .Colleges h1 mask,
    .Admission h1 mask,
    .Location h1 mask {
        font-weight: 600;
        color: var(--darkbg);
    }

.count {
    background-color: var(--ColorBlue);
    font-size: 62px;
    line-height: 46px;
    text-align: center;
    color: var(--colorwhite);
    padding: 30px;
    margin-bottom: 48px;
    border-bottom: 6px solid #c14121;
    border-radius: 16px;
}

    .count span {
        display: block;
        font-size: 14px;
        line-height: 30px;
    }

.number {
    background-color: var(--ColorBlue);
    font-size: 16px;
    text-align: center;
    color: var(--colorwhite);
    width: 94px;
    height: 47px;
    line-height: 50px;
    border-radius: 50px;
}

.bg1 {
    background: url(../images/slider/slider1.png) no-repeat center center;
    background-size: cover;
}

.Admission .card {
    border-color: var(--ColorBlue);
}

.Admission h2 {
    color: #072656;
    font-weight: 500;
    font-size: 1.5rem;
}

.Admission p {
    font-size: .7rem;
    line-height: .95rem;
    margin-top: 10px;
}

mask {
    color: var(--darkbg);
}

.feedback {
    padding: 25px;
    margin-top: 10px;
    text-align: center;
}

    .feedback:hover {
        background: #ffffff;
    }

    .feedback .comma {
        max-width: 50px;
        margin: 0 auto;
    }

    .feedback p {
        margin: 25px 50px;
        display: block;
    }

    .feedback .user {
        max-width: 100px;
        border-radius: 50px;
        height: 98px;
        margin: 0 auto 10px;
    }

.footer {
    background: #FFA869 url('../images/')no-repeat;
    font-size: 14px;
}

.footerLinks h3 {
    color: var(--colorwhite);
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 26px;
}


.footerLinks ul li a {
    display: block;
    color: #6f0000;
    padding-left: 20px;
    position: relative;
    margin-top: 10px;
    font-size: 14px;
}

    .footerLinks ul li a::before {
        position: absolute;
        left: 0px;
        top: 0px;
        content: '\f061';
        font-family: 'fontawesome-webfont';
        color: var(--darkbg);
    }

    .footerLinks ul li a:hover {
        color: var(--colorwhite);
    }

.bottomLogos {
    margin-top: 15px;
}

    .bottomLogos a {
        margin-right: 5px;
    }

        .bottomLogos a img {
            max-height: 55px;
        }

.visitorBox {
    border: solid 1px var(--ColorBlueDark);
    border-radius: 15px;
    padding: 15px;
    color: var(--colorwhite);
}

    .visitorBox h4 {
        font-size: 36px;
        font-weight: 600;
    }

.contactIcon {
    width: 55px;
    height: 55px;
    background: var(--ColorBlue);
    color: var(--colorwhite);
    font-size: 24px;
    border-radius: 100%;
}

.contactContent {
    width: calc(100% - 55px);
    padding-left: 15px;
    color: var(--colorwhite);
}

    .contactContent p {
        margin: 0px;
    }

.copyrights {
    background: #552000;
}

.city1,
.city2,
.city3,
.city4,
.city5,
.city6 {
    display: block;
    border-radius: 5px;
    min-height: 175px;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: pointer;
}

    .city1 h4,
    .city2 h4,
    .city3 h4,
    .city4 h4,
    .city5 h4,
    .city6 h4 {
        color: #ffffff;
        text-align: center;
        text-transform: uppercase;
        margin-top: 150px;
        position: relative;
        z-index: 2;
    }

.city1 {
    background: url(../images/1.png) no-repeat center center;
    background-size: cover;
    position: relative;
}

.city2 {
    background: url(../images/2.png) no-repeat center center;
    background-size: cover;
    position: relative;
}

.city3 {
    background: url(../images/3.png) no-repeat center center;
    background-size: cover;
    position: relative;
}

.city4 {
    background: url(../images/4.png) no-repeat center center;
    background-size: cover;
    position: relative;
}

.city5 {
    background: url(../images/5.png) no-repeat center center;
    background-size: cover;
    position: relative;
}

.city6 {
    background: url(../images/6.png) no-repeat center center;
    background-size: cover;
    position: relative;
}

    .city1::after,
    .city2::after,
    .city3::after,
    .city4::after,
    .city5::after,
    .city6::after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        background: rgb(33, 184, 103);
        background: linear-gradient(180deg, rgba(33, 184, 103, 0.1825105042016807) 0%, rgba(7, 38, 86, 1) 100%);
        top: 0;
        left: 0;
    }

    .city1:hover::after,
    .city2:hover::after,
    .city3:hover::after,
    .city4:hover::after,
    .city5:hover::after,
    .city6:hover::after {
        background: rgb(33, 184, 103);
        background: linear-gradient(180deg, rgba(33, 184, 103, 0.1825105042016807) 0%, rgba(7, 38, 86, 1) 61%);
    }

@media (max-width:991px) {
    .departments {
        margin-top: 10px;
    }

    .accebilities {
        font-size: 10px;
    }

    .topBar {
        background: var(--colorgray);
    }

    .container-fluid {
        width: 100%;
    }

    .about img {
        width: 100%;
        margin-bottom: 10px;
    }

    .number {
        width: 80px;
    }

    .owl-theme {
        margin-top: 0 !important;
        margin-bottom: 10px;
    }

    .Features {
        background: var(--darkbg);
    }

        .Features .number {
            width: 148px;
            height: 44px;
            line-height: 40px;
        }

    .nav-tabs .nav-link {
        padding: 0 10px;
    }

    .left,
    .right {
        display: none;
    }

    .socialIcons,
    .accebilities ul {
        width: 100% !important;
        justify-content: center !important;
    }

    .cm {
        position: unset !important;
    }

    h1 {
        font-size: 24px !important;
        line-height: 36px !important;
    }

    .statics .card {
        margin-bottom: 100px;
    }

    .btn {
        margin-bottom: 10px;
    }

    .VideoGallery .centerButtons .customNavOwlOuter {
        position: unset !important;
    }

    h3,
    .gradientBtn {
        margin: 15px 0px;
    }

    .visitorBox {
        margin-top: 15px;
    }

    .footer,
    .galleryBG,
    .departmentSection {
        background-size: cover;
    }

    .container-fluid.py-5,
    .container-fluid.py-5.footer,
    .statics.container-fluid.py-5,
    .container-fluid.py-5.NewsEventsSection {
        padding-top: 60px !important;
        padding-bottom: 60px !important
    }

    .statics .card-body .circleStatics {
        width: 120px;
        height: 120px;
        top: -35px;
        left: 35%;
    }

    .statics .card-body {
        padding-top: 85px;
    }

    .galleryBG h2 {
        font-size: 36px;
    }
}

@media (min-width:1366px) {
    .container-fluid {
        width: 90%;
    }

    .carousel-caption {
        bottom: unset;
        top: 10%;
    }

    .infocard {
        padding: 23px;
        font-size: 12px;
        line-height: 14px;
    }
}

@media (min-width:1400px) {
    .infocard {
        padding: 30px;
        font-size: unset;
        line-height: unset;
    }

    .carousel-caption {
        bottom: unset;
        top: 10%;
    }

    .container.width-85 {
        max-width: 85%;
        min-width: 85%;
    }

    .container.width-75 {
        max-width: 75%;
        min-width: 75%;
    }
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
}


.news {
    width: 100%;
    padding: 30px 0px;
    background: linear-gradient(90deg, #ffc98c, #fdddbd);
}


:root {
    --circle-size: 140px;
    --circle-min-size: 90px;
    --circle-max-size: 320px;
    --circle-bg: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    --circle-border-color: #a04800;
    --label-color: #5b6b7a;
    --value-color: #0b3d91;
    --text-shadow: none;
    --circle-border-width: 4px;
    --circle-border-style: solid;
    --circle-border-radius: 50%;
    --circle-shadow: 0 8px 20px rgba(11,61,145,0.12);
    --circle-padding: 1rem;
    --label-font-size: clamp(0.68rem, 1.5vw, 0.9rem);
    --value-font-size: clamp(1rem, 3.5vw, 2rem);
    --font-family: "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

.circle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.circle {
    width: clamp(var(--circle-min-size), calc(var(--circle-size) * 0.9), var(--circle-max-size));
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--circle-padding);
    box-sizing: border-box;
    background: var(--circle-bg);
    border: var(--circle-border-width) var(--circle-border-style) var(--circle-border-color);
    border-radius: var(--circle-border-radius);
    box-shadow: var(--circle-shadow);
    color: var(--value-color);
    font-family: var(--font-family);
    transition: all 180ms ease;
}

@media (max-width:360px) {
    .circle {
        padding: calc(var(--circle-padding) * 0.6);
    }
}

.circle .label {
    margin: 0;
    font-size: var(--label-font-size);
    color: var(--label-color);
    text-shadow: var(--text-shadow);
}

.circle .value {
    margin: 0;
    margin-top: 0.25rem;
    font-size: var(--value-font-size);
    color: var(--value-color);
    font-weight: 700;
}

@media (min-width:1400px) {
    .circle {
        transform: scale(1.03);
    }
}

.circle-fullwidth {
    width: 100%;
    max-width: var(--circle-max-size);
    margin: 0 auto;
}


:root {
    --gallery-gap: 1rem; /* space between images */
    --gallery-item-min-width: 200px; /* min width of each item */
    --gallery-item-max-width: 320px; /* max width of each item */
    --gallery-border-radius: 12px; /* image rounding */
    --gallery-shadow: 0 6px 18px rgba(0,0,0,0.1);
    --gallery-bg: #fff; /* background of gallery item */
    --gallery-hover-scale: 1.05; /* zoom on hover */
}

/* ---------- SLIDER CONTAINER ---------- */
.gallery-slider {
    display: flex;
    gap: var(--gallery-gap);
    overflow-x: auto; /* makes it scrollable horizontally */
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

    /* Hide scrollbar (for modern browsers) */
    .gallery-slider::-webkit-scrollbar {
        display: none;
    }

.gallery-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ---------- GALLERY ITEM ---------- */
.gallery-item {
    flex: 0 0 auto; /* prevent shrinking */
    width: clamp(var(--gallery-item-min-width), 25vw, var(--gallery-item-max-width));
    scroll-snap-align: start;
}

    .gallery-item a {
        display: block;
        background: var(--gallery-bg);
        border-radius: var(--gallery-border-radius);
        box-shadow: var(--gallery-shadow);
        overflow: hidden;
        transition: transform 0.3s ease;
    }

        .gallery-item a:hover {
            transform: scale(var(--gallery-hover-scale));
        }

/* ---------- IMAGE ---------- */
.gallery-pic {
    width: 100%;
    height: 0;
    padding-top: 66%; /* 3:2 aspect ratio */
    position: relative;
    overflow: hidden;
}

    .gallery-pic img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


:root {
    --gallery-gap: 1rem;
    --gallery-item-min-width: 180px;
    --gallery-item-max-width: 340px;
    --gallery-border-radius: 10px;
    --gallery-shadow: 0 8px 28px rgba(7,20,40,0.08);
    --gallery-bg: #ffffff;
    --gallery-hover-scale: 1.04;
    --control-size: 44px;
    --control-bg: rgba(0,0,0,0.55);
    --control-color: #fff;
    --autoplay-ms: 3500;
}

/* ---------- LAYOUT ---------- */
body {
    font-family: system-ui, "Segoe UI", Roboto, "Noto Sans", Arial;
    margin: 0;
    background: #f5f7fb;
    color: #111;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about {
    padding: 18px 0;
}

.gallery-wrap {
    position: relative;
}

/* ---------- SLIDER (scrollable) ---------- */
.gallery-slider {
    display: flex;
    gap: var(--gallery-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-behavior: smooth; /* used by JS and keyboard */
}

    /* remove native scrollbars visually */
    .gallery-slider::-webkit-scrollbar {
        display: none;
    }

.gallery-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    /* dragging state - stops smooth scroll while dragging so it feels natural */
    .gallery-slider.dragging {
        cursor: grabbing;
        scroll-behavior: auto;
    }

/* ---------- ITEM ---------- */
.gallery-item {
    flex: 0 0 auto;
    width: clamp(var(--gallery-item-min-width), 24vw, var(--gallery-item-max-width));
    scroll-snap-align: start;
}

    .gallery-item a {
        display: block;
        border-radius: var(--gallery-border-radius);
        overflow: hidden;
        background: var(--gallery-bg);
        box-shadow: var(--gallery-shadow);
        transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s;
        text-decoration: none;
        color: inherit;
    }

        .gallery-item a:hover {
            transform: scale(var(--gallery-hover-scale));
            box-shadow: 0 12px 36px rgba(7,20,40,0.12);
        }

.gallery-pic {
    width: 100%;
    height: 0;
    padding-top: 66%;
    position: relative;
}

    .gallery-pic img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ---------- CONTROLS ---------- */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--control-size);
    height: var(--control-size);
    border-radius: 50%;
    border: 0;
    background: var(--control-bg);
    color: var(--control-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 12;
    transition: transform .15s ease, opacity .15s;
    opacity: 0.95;
}

    .gallery-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }

    .gallery-btn.prev {
        left: 8px;
    }

    .gallery-btn.next {
        right: 8px;
    }

/* hide controls on very small screens (use swiping) */
@media (max-width:660px) {
    .gallery-btn {
        display: none;
    }
}

/* optional: visual accessibility - focus states */
.gallery-btn:focus {
    outline: 3px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* small helper */
.sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


body {
    font-family: Arial, sans-serif;
    background: #fefee3;
    color: #4a2c2a;
    margin: 0;
    padding: 0;
}

header2 {
    font-family: Arial, sans-serif;
    background: #fefee3;
    color: #4a2c2a;
    margin: 0;
    padding: 0;
}

.header1 {
    background: linear-gradient(90deg, #a83232, #e67300);
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

form {
    max-width: 1040px;
    margin: 2rem auto;
    background: #f7bd9a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 20px -14px 8px rgba(0, 0, 0, 0.2);
}

h2 {
    text-align: center;
    color: #a83232;
    margin-bottom: 1rem;
}

.section {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
}

    .section.participant {
        background: #fff2e0; /* light saffron */
    }

    .section.personal {
        background: #fdf6f0; /* soft beige */
    }

label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.inline-fields {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .inline-fields input,
    .inline-fields select {
        flex: 1;
        padding: 0.6rem;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

input[type="text"],
input[type="number"],
input[type="email"],
input[type="file"],
select {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.group-category {
    display: none;
}

.disclaimer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.submit-btn {
    display: block;
    width: 34%;
    margin-top: 1rem;
    margin-left: 23rem;
    padding: 0.9rem;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #e67300, #a83232);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

    .submit-btn:hover {
        background: linear-gradient(90deg, #a83232, #e67300);
    }




.carousel-caption.d-none.d-md-block {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 30px;
    border-radius: 10px;
    
    text-align: center;
    width: 80%;
    max-width: 800px;
    transition: all 0.3s ease;
}

.carousel-caption .hero-text {
    color: #ffffff;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 30%;
    left: 50%;
}


    .carousel-caption .hero-text.p {
        position: absolute;
        bottom: 30%;
        left: 50%;
        font-size: 1.25rem;
        font-weight: 400;
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
    }


/* Table Styling */
#membersTable {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: left;
}

    /* Header */
    #membersTable thead th {
        background-color: #f4f6f9;
        padding: 12px;
        border: 1px solid #ddd;
        font-weight: bold;
        text-align: center;
    }

    /* Body Cells */
    #membersTable td {
        padding: 10px 12px;
        border: 1px solid #ddd;
        text-align: center;
    }

    /* Alternate Row Color */
    #membersTable tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

/* Button Styling */
.add-btn {
    margin-top: 12px;
    padding: 8px 16px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

    .add-btn:hover {
        background-color: #0056b3;
    }
div.carousel-caption.d-none.d-md-block.introduce {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(79 78 78 / 70%);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid #f5dcdc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 80%;
    max-width: 800px;
    transition: all 0.3s ease;
}