/* font-families links */


/*@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');*/


/*@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');*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* root colors are used in entire website */

:root {
    --primary-color: #002DC5;
    /* Deep Blue */
    --secondary-color: #FFB000;
    /* Bright Yellow-Orange */
    --text-color: #606060;
    /* Medium Gray */
    --accent-color: #FFE9B6;
    /* Soft Cream */
    --black-color: #000000;
    /* Pure Black */
    --white-color: #FFFFFF;
    /* Pure White */
    --light-bg-color: #E3E8F8;
    /* Light Blueish Background */
    --highlight-color: #80010C;
    /* Deep Maroon */
    --primary-font-family: "Urbanist";
    --primary-font-size: 36px;
    --primary-font-weight: 700;
    --secondary-font-family: "Poppins";
    --secondary-font-size: 20px;
    --secondary-font-weight: 500;
    --text-font-family: "Poppins";
    --text-font-size: 16px;
    --text-font-weight: 400;
    --accent-font-family: "Roboto";
    --accent-font-weight: 500;
    --heading-font-family: "Urbanist";
    --heading-font-size: 24px;
    --heading-font-weight: 600;
    --subtext-font-family: "Poppins";
    --subtext-font-size: 16px;
    --subtext-font-weight: 500;
    --glow-color: #ffb057;
}


/* *** */


/* Styling starts here */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

/*top-bar styling */

.topbar {
    background-color: var(--secondary-color);
    color: #000;
    font-family: var(--primary-font-family);
    font-size: var(--text-font-size);
    box-shadow: 0 3px 3px -2px rgba(0, 0, 0, 0.3);
}

.topbar i {
    color: var(--highlight-color);
    margin-right: 6px;
    font-size: var(--text-font-size);
}

.topbar a {
    text-decoration: none;
    color: var(--black-color);
    font-weight: 600;
}

.topbar a:hover {
    color: var(--white-color);
}

.topbar a:hover i {
    display: none;
}

.topbar .academy-text {
    font-weight: 600;
    font-size: var(--text-font-size);
}

.topbar .academy-text strong {
    color: var(--highlight-color);
    position: relative;
}

.topbar .academy-text strong::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--highlight-color);
    border-radius: 2px;
}

.topbar {
    background-color: var(--secondary-color);
    color: #000;
    font-family: var(--primary-font-family);
    font-size: var(--text-font-size);
    box-shadow: 0 3px 3px -2px rgba(0, 0, 0, 0.3);
}

.header-section {
    border-bottom: 5px solid var(--secondary-color);
    background-color: #fff;
    /* background bhi set karo agar reference white thoda light ho */
    padding: 5px 0;
}

.navbar-brand img {
    max-width: 220px;
    /* large screen max width */
}

.navbar-toggler {
    border: none;
    background-color: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    /* agar icon ka background change karna ho to yahan karo */
}

ul.navbar-nav li.nav-item {
    margin-left: 25px;
}


/* Navbar menu items styling */


/* .navbar-nav {
  flex-wrap: nowrap !important;
  white-space: nowrap;
  gap: 20px;
} */

.nav-item a {
    font-size: 14px;
    color: var(--black-color);
    text-transform: uppercase;
    font-weight: var(--text-font-weight);
    letter-spacing: 0.8px;
    padding: 0 !important;
}

.nav-item a:hover {
    color: var(--secondary-color);
}


/* facility section styling */

.facility-section {
    background-color: #ffe9b6;
    padding: 15px 0px;
}

.facility-section ul li.btn-primary {
    color: #fde300;
    background-color: var(--black-color);
}

.facility-section ul li {
    display: flex;
    color: var(--white-color);
    font-size: 13px;
    line-height: 1;
    font-family: var(--accent-font-family);
    border-radius: 16px 16px 16px 16px;
    padding: 10px 15px 10px 15px;
    background-color: #154d49;
    column-gap: 5px;
    font-weight: var(--accent-font-weight);
    justify-content: center;
    align-items: center;
}

.program-list {
    max-width: 850px;
    margin: 0 auto;
}

.facility-section ul li.btn-primary1 img {
    width: 10px;
    height: 10px;
    align-self: center;
}

.facility-section ul li.btn-primary img {
    width: 13px;
    height: 13px;
}


/* hero-slider styling */

.swiper {
    width: 100%;
    /* height: 100%; */
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    /* height: 100%;
      object-fit: cover; */
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white-color);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    text-transform: none!important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-weight: 900;
}


/* Branches content styling */

.branches-section {
    background-color: #09b09e;
    padding: 15px 0px !important;
}

.btn-primary-main {
    background-color: var(--black-color);
    color: var(--white-color);
    font-size: 20px;
    font-family: var(--accent-font-family);
    border-radius: 5px;
    padding: 18px 25px;
    border: none;
    font-weight: var(--primary-font-weight);
    text-transform: uppercase;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
}

.btn-primary-main img {
    width: 25px;
    height: 25px;
    margin-left: 5px;
}

.branch-box {
    border: 1px solid #000;
    padding: 15px 20px;
    background-color: #07776b;
    border-radius: 5px;
    min-width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.branch-box:hover {
    background-color: #06655c;
    transform: scale(1.05);
    /* cursor:pointer; */
}

.branch-box h4 {
    color: var(--white-color);
    font-family: var(--subtext-font-family);
    font-size: 18px;
    font-weight: var(--subtext-font-weight);
    margin: 0;
}

.row.flex-nowrap::-webkit-scrollbar-thumb {
    background: #06655c;
    border-radius: 3px;
}


/* success-gallery styling */

.success-gallery {
    padding: 80px 40px;
    background-color: var(--light-bg-color);
}

.success-gallery h1 {
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
    padding: 0 50px;
}

.main-headings {
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
}

.short-head {
    font-family: var(--primary-font-family);
    font-size: var(--secondary-font-size);
    color: var(--text-color);
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
}

.highlighted-text {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
}

.success-gallery h2, section.nation-defence h2 {
    font-family: var(--primary-font-family);
    font-size: var(--secondary-font-size) !important;
    color: var(--text-color);
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}

.image-box {
    padding: 20px 20px;
    display: flex;
    column-gap: 20px;
}

.image-box img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 3px 3px 4px rgba(133, 133, 133, 0.3);
}


/* about-section styling */

.about-section {
    padding: 80px 10px;
    gap: 40px;
}

.pt-25 {
    padding-top: 25px;
}

.pb-25 {
    padding-bottom: 25px;
}

.py-3 {
    padding-left: 25px;
}

.py-3 {
    padding-right: 25px;
}

.about-section h2 {
    padding-left: 60px;
    padding-right: 60px;
}

.about-section p {
    color: var(--text-color);
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    font-weight: var(--text-font-weight);
}

.highlight-text {
    color: var(--secondary-color);
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-weight);
    font-weight: var(--primary-font-weight);
}

.form-container {
    background-color: #e4ffea;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    margin-bottom: 20px;
    color: var(--black-color);
}

h1 {
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
    color: var(--black-color);
    line-height: 1.2em;
    margin: 0px 0px 0px 0px;
}

.input {
    border: none;
    outline: none;
}

form input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    /* border: 1px solid #ccc; */
    border-bottom: 1px solid grey;
    border: none;
    background-color: #e4ffea;
}

form input:hover {
    border: none;
}

button {
    background-color: #fdd835;
    /* yellow */
    color: black;
    border: none;
    padding: 10px;
    /* margin-top: 20px; */
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: var(--black-color);
    color: var(--white-color);
}


/* rank-section styling */

.rank-section {
    padding: 80px 10px;
    background-color: var(--light-bg-color);
    row-gap: 20px;
}

.rank-section h2 {
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
    text-align: center;
}

.rank-box img {
    max-width: 100%;
    height: auto;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.rank-box p {
    border: 2px solid;
    background-color: var(--secondary-color);
    color: var(--black-color) !important;
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    font-weight: var(--heading-font-weight);
    font-family: var(--secondary-font-family);
    font-size: var(--secondary-font-size);
    border: none;
    margin: 20px;
}

.rank-box {
    row-gap: 20px;
}

.rank-section p {
    font-family: var(--primary-font-family);
    font-size: var(--secondary-font-size);
    color: var(--text-color);
}

.content-box {
    display: flex;
    gap: 5px;
    align-items: baseline;
}

.content-box img {
    width: 20px;
    height: 20px;
    align-items: center;
}

.content-box h5 {
    font-family: var(--text-font-family);
    font-size: var(--heading-font-size);
    font-weight: var(--heading-font-weight);
    color: var(--black-color);
}

.about-content {
    border: 1px solid;
    border: none;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
    padding-top: 20px;
    padding-bottom: 35px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 25px;
}


/* .about-section  p{
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
    text-align: center;

  } */

.about-points p {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    font-weight: var(--text-font-weight);
    color: var(--text-color);
}

.about-points li {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    font-weight: var(--text-font-weight);
    color: var(--text-color);
}


/* why-choose us section styling */

.why-choose-section h2 {
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
    text-align: center;
}

.why-choose-section .p1 {
    font-family: var(--primary-font-family);
    font-size: var(--secondary-font-size);
    color: var(--text-color);
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
}

.why-choose-section {
    padding: 80px 10px;
}

.main-box {
    background-color: var(--accent-color);
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding-top: 20px;
    padding-bottom: 35px;
    padding-left: 20px;
    padding-right: 20px;
    border: none;
    height: 100%;
    row-gap: 20px;
}

.icon-box img {
    width: 80px;
    align-items: center;
    margin-bottom: 15px;
}

.icon-box {
    border-left: 2px solid;
    border-color: var(--secondary-color);
    text-align: center;
    padding-left: 8px;
}

.icon-box h2 {
    font-family: var(--primary-font-family);
    font-size: var(--heading-font-size);
    font-weight: var(--primary-font-weight);
    text-transform: uppercase;
    line-height: 35px;
    color: var(--secondary-color);
}

.icon-box-content p {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    color: var(--text-color);
}

.icon-box-content {
    margin-top: 10px;
}


/* coaching-section styling */

.coaching-section {
    padding: 80px 10px;
    background-color: var(--light-bg-color);
}

.coaching-section h2 {
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
}

.coaching-section p {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    color: var(--text-color);
}


/* .highlight-text h2{
    font-family: var(--primary-font-family);
    font-size: var(--secondary-font-size);
    color: var(--text-color);
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;

   } */


/* legacy-section styling */

.legacy-section {
    padding: 80px 10px;
    background-color: var(--accent-color);
}

.legacy-section h2 {
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
}

.legacy-section p {
    font-family: var(--primary-font-family);
    font-size: var(--secondary-font-size);
    color: var(--text-color);
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
}

.legacy-gallery {
    display: flex;
    padding: 30px;
    gap: 20px;
}

.legacy-gallery img {
    height: auto;
    max-width: 100%;
}


/* about2-section styling */

.about2-section {
    padding: 80px 10px;
    gap: 40px;
}

.about2-section h2 {
    color: var(--black-color);
    text-transform: uppercase;
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
    text-align: center;
}

.form-box h2 {
    margin-bottom: 50px;
}

.about2-section p {
    color: var(--text-color);
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    font-weight: var(--text-font-weight);
}

.highlight-text {
    color: var(--secondary-color);
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-weight);
    font-weight: var(--primary-font-weight);
}

.form-box {
    background-color: #e4ffea;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-box h1 {
    margin-bottom: 20px;
    color: var(--black-color);
}

h1 {
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
    color: var(--black-color);
    line-height: 1.2em;
    margin: 0px 0px 0px 0px;
}

.input {
    border: none;
    outline: none;
}

form label:hover {
    outline: none;
}

form input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-bottom: 1px solid #000000;
    background-color: transparent;
}

form input:hover {
    border: none;
}

.form-group {
    position: relative;
}

label {
    position: relitive;
    display: inline-block;
    color: #004D40;
    top: 100px;
    font-size: 1.25em;
    transition: all .2s ease;
    z-index: 10;
    position: relative;
    top: -35px;
    pointer-events: none;
}

input[type="text"]:focus~label,
input[type="text"]:valid~label {
    top: -60px;
    font-weight: 600;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

button[type=submit] {
    background-color: #fdd835;
    color: black;
    border: none;
    padding: 10px;
    /* margin-top: 20px; */
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

button[type=submit]:hover {
    background-color: #000000e0;
}

button[type=submit] .button2 {
    background-color: #fdd835;
    /* yellow */
    color: black;
    border: none;
    padding: 10px;
    /* margin-top: 20px; */
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.button2:hover {
    background-color: var(--black-color);
    color: var(--white-color);
}


/* our-branch section styling */

.our-branch {
    background-color: #09b09e;
    /* padding: 15px 0px; */
}

.btn-primary-main {
    background-color: var(--black-color);
    color: var(--white-color);
    font-size: 20px;
    font-family: var(--accent-font-family);
    border-radius: 5px;
    padding: 18px 25px;
    border: none;
    font-weight: var(--primary-font-weight);
    text-transform: uppercase;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
}

.btn-primary-main img {
    width: 25px;
    height: 25px;
    margin-left: 5px;
}

.branch-box1 {
    border: 1px solid #000;
    padding: 15px 30px;
    background-color: #07776b;
    border-radius: 5px;
    min-width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.branch-box1:hover {
    background-color: #06655c;
    transform: scale(1.05);
    /* cursor:pointer; */
}

.branch-box1 h4 {
    color: var(--white-color);
    font-family: var(--subtext-font-family);
    font-size: 18px;
    font-weight: var(--subtext-font-weight);
    margin: 0;
}

.row.flex-nowrap::-webkit-scrollbar-thumb {
    background: #06655c;
    border-radius: 3px;
}


/* contact-section styling */

.contact-section {
    padding: 80px 0px;
    background-color: var(--light-bg-color);
}

.info-box p {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    color: var(--black-color);
    line-height: 35px;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-media p {
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 0;
}

.social-media p:hover {
    color: var(--secondary-color);
}

.social-link {
    text-decoration: none;
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.social-media i {
    color: var(--black-color);
}

.icon-list img {
    width: 25px;
    height: 25px;
}

.icon-list {
    margin-top: 10px;
}

.facility-section button.btn.btn-primary1 {
    text-align: center;
    display: inline-block;
    pointer-events: none;
}

.icon-list p {
    font-family: var(--text-font-family);
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 22px;
    color: var(--black-color);
}

.icon-list p:hover {
    color: var(--secondary-color);
}

.icon-list a:hover p {
    color: #ff6600;
    /* your hover color */
    transition: color 0.3s ease;
}

.courses-box h2 {
    color: var(--highlight-color);
    font-family: var(--accent-font-family);
    font-size: 20px;
    font-weight: 400;
    line-height: 29px;
    margin: 0px 0px 0px 0px;
}

.icon img {
    width: 28px;
    height: 28px;
    align-items: center;
    align-self: center;
}

.contact-box h2 {
    color: var(--highlight-color);
    font-family: var(--accent-font-family);
    font-size: 20px;
    font-weight: 400;
    line-height: 29px;
    margin: 0px 0px 0px 0px;
    text-align: center;
}

.address-info h3 {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    color: #80010C;
    font-family: "Roboto", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    word-spacing: 2px;
}

.address-info p {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    font-weight: 400;
    text-transform: capitalize;
    line-height: 24px;
    color: var(--black-color);
}

.footer-location {
    margin: 30px 0px 15px 0px;
    padding: 0px 0px 0px 0px;
    color: #80010C;
    font-family: "Roboto", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    word-spacing: 2px;
}

.footer-location i {
    font-size: 30px;
    margin-right: 10px;
}

.phone-box {
    background-color: white;
    border-radius: 20px;
    padding: 10px 55px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-box a {
    color: var(--black-color);
    display: flex !important;
    font-size: 13px;
    font-family: roboto;
    font-weight: bold;
}

.phone-box a:hover {
    color: var(--white-color);
}

.phone-box:hover {
    background-color: var(--highlight-color);
    color: var(--white-color);
}

.phone-box i {
    margin-right: 10px;
    color: black;
}

.phone-box a:hover i {
    color: var(--white-color);
}

.branch-title img {
    width: 28px;
    height: 28px;
    align-items: center;
    align-self: center;
}

.footer-section {
    background-color: #c2faf4;
    text-align: center;
    padding: 5px 0;
}

.footer-info {
    display: flex;
    gap: 20px;
    justify-content: end;
    justify-content: flex-end;
}

.footer-info a {
    text-decoration: none;
    color: var(--black-color);
    font-size: 20px;
    font-family: var(--text-font-family);
    font-weight: var(--text-font-weight);
}

.green-text {
    color: #2e7e2e;
    font-weight: 700;
    font-size: 15px;
}

.footer-section p {
    color: var(--primary-color);
}

.footer-info p {
    text-decoration: none;
    color: var(--black-color);
    font-size: 15px;
    font-family: var(--text-font-family);
    font-weight: var(--text-font-weight);
    margin-bottom: 0;
}

.footer-info p:hover {
    color: var(--secondary-color);
}

.footer-info {
    justify-content: end;
}


/* Responsive for desktop  */

@media screen and (max-width:1199px) {
    .navbar-brand img {
        max-width: 190px;
    }
    ul.navbar-nav li.nav-item {
        margin-left: 15px;
    }
    .nav-item a {
        font-size: 13px;
    }
    .icon-box h2 {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    .success-gallery {
        padding: 50px 10px;
    }
    .success-gallery h1 {
        padding: 0px;
    }
    .about-section {
        padding: 50px 10px;
    }
    /*.swiper-slide img {*/
    /*    height: 220px;*/
    /*}*/
} 

@media (min-width: 768px) {
    .success-gallery, section.nation-defence {
        padding: 50px 10px;
    }
    .about-section {
        padding: 50px 10px;
    }
    .footer-info {
        justify-content: end;
    }
    .footer-section {
        text-align: left;
    }
    /*section.hero-slider.mobile {*/
    /*    display: none;*/
    /*}*/
}

@media (max-width: 768px) {
    .contact-info {
        display: none;
    }
    .academy-text {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        align-items: center;
    }
    button.btn.btn-primary1 {
        column-gap: 20px;
        gap: 20px;
        margin: 6px;
    }
    .btn .btn-primary {
        margin: auto;
    }
    .swiper {
        width: 100%;
        /* height: 500px; */
        overflow: hidden;
    }
    .swiper-slide img {
        display: block;
        width: 100%;
        /* height:500px;
    object-fit: cover;
    overflow: hidden; */
    }
    .main-box {
        margin-bottom: 10px;
    }
    .legacy-section img {
        margin-bottom: 20px;
    }
    .legacy-section {
        padding: 50px 10px;
    }
    .form-container {
        margin-bottom: 20px;
    }
}


/* Responsive adjustments */

@media (max-width: 767px) {
    .topbar {
        text-align: center;
        padding: 0px 0 5px 0 !important;
    }
    .topbar .col-md-6:first-child {
        justify-content: center;
    }
    .topbar .row {
        gap: 8px;
    }
    /* .topbar .academy-text {
        margin-top: 5px;
    } */
    /*span.contact-item {*/
    /*    display: none !important;*/
    /*}*/
}


/* Mobile / small screen fixes */

@media (max-width: 992px) {
    .navbar-brand img {
        width: 160px;
    }
    .contact-section,
    .about2-section {
        padding: 50px 0px;
    }
    .branches-section button.btn-primary-main {
        width: auto;
    }
    .branches-section .col-auto {
        flex: 0 0 50%;
        margin-top: 20px;
    }
    .branches-section button.btn-primary-main br {
        display: none;
    }
    .branches-section .col-auto img {
        display: none;
    }
    .branch-box:hover {
        transform: scale(1.01);
    }
    .branches-section .col-auto:first-child {
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
    }
    .navbar {
        justify-content: space-between;
    }
    .navbar-collapse {
        background-color: white;
        /* ya thoda shade, taki menu clear ho */
        width: 100%;
        margin-top: 10px;
    }
    .program-list ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar-nav {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }
    .nav-item a {
        display: block;
        width: 100%;
        padding: 8px 15px;
    }
    .icon-box img {
        width: 60px;
    }
    .why-choose-section .icon-box h2 {
        font-size: 24px !important;
        line-height: 30px !important;
    }
    .footer-info {
        justify-content: center;
    }
}

@media screen and (max-width:576px) {
    .facility-section ul li {
        flex: 0 0 30%;
    }
    .success-gallery img.img-fluid {
        margin: 0 auto;
        display: block;
    }
    .branch-box h4 {
        font-size: 14px;
    }
    .social-media {
        flex-wrap: wrap;
    }
    h2 {
        font-size: 28px !important;
        line-height: 34px;
    }
    .form-container h2 {
        /*font-size: 22px !important;*/
        line-height: 28px;
        text-align: center;
    }
    .form-container h2 span {
        display: inline-block;
        font-size: 30px;
        margin-top: 10px;
    }
    .success-gallery h1 span.highlighted-text {
        font-size: inherit;
    }
    .success-gallery h1 {
        font-size: 30px;
        line-height: 36px;
    }
    .content-box h5 {
        font-size: 21px;
    }
}


/*---------*/

h2 {
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    font-weight: var(--primary-font-weight);
}

.about-content .content-box i,
.coaching-section .content-box i {
    font-size: 20px;
    color: #ffb000;
    margin-right: 5px;
}

.why-choose-section .icon-box h2 {
    padding: 0 40px;
}

.why-choose-section .icon-box.hostel-facility h2 {
    padding: 0px;
}

.about2-section h2 {
    padding-left: 40px;
    padding-right: 40px;
}

.phone-icons {
    display: none;
}

.offcanvas {
    background: #80010c !important;
    max-width: 75%;
}

.offcanvas ul {
    gap: 18px;
}

.offcanvas ul li a {
    font-size: 17px;
}

@media (max-width: 767px) {
    section {
        padding: 50px 10px !important;
    }
    .why-choose-section h2 {
        padding: 0px;
    }
    .about-section h2 {
        padding: 0;
    }
    .about2-section h2 {
        padding-left: 0px;
        padding-right: 0px;
    }
    .contact-section h2 {
        text-align: left;
        font-size: 20px !important;
        padding-bottom: 10px;
        margin-top: 20px;
    }
    .footer-location {
        text-align: left;
    }
    .phone-icons {
        display: flex;
        gap: 20px;
    }
    .phone-icons a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        border-radius: 100px;
        color: #fff;
        text-decoration: none;
        padding: 18px;
    }
    .phone-icons .phone-one {
        background: #ffb000;
    }
    .phone-icons .phone-two {
        background: #80010c;
    }
    .mobile-social-links {
        position: sticky;
        bottom: 0;
        background: #ffb000;
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
        padding: 8px 0;
        gap: 20px;
        border-radius: 10px 10px 0 0;
        a {
            color: #fff;
            text-decoration: none;
            font-size: 18px;
            background: #80010c;
            padding: 4px 12px;
            border-radius: 8px;
        }
    }
    /*section.hero-slider.desktop {*/
    /*    display: none;*/
    /*}*/
}

@media (max-width: 575px) {
    .program-list ul {
        gap: 7px !important;
        li {
            font-size: 12px;
            padding: 8px 12px 8px 12px;
        }
    }
}

section.nation-defence {
 .blinkingbutton {
    background-color: #b31217;
    border-radius: 10px;
    border: none;
    color: #ebd509;
    cursor: pointer;
    padding: 5px 10px;
    text-align: center;
    -webkit-animation: glowing 1.5s infinite;
    -moz-animation: glowing 1.5s infinite;
    -o-animation: glowing 1.5s infinite;
    animation: glowing 1.5s infinite;
    a {
        font-size: 18px;
        color: #000;
    }
}
}


@keyframes glowing {
0% {
    background-color: var(--glow-color);
    box-shadow: 0 0 3px var(--glow-color);
}

50% {
    background-color: var(--glow-color);
    box-shadow: 0 0 40px var(--glow-color);
}
100% {
    background-color: var(--glow-color);
    box-shadow: 0 0 3px var(--glow-color);
}
}

section.student-corner {
    padding: 80px 10px;
    .student-img-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    img {
        width: 100%;
        border-radius: 10px;
    }
}
}

@media (max-width: 767px) {
    section.student-corner {
    .student-img-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

section.nation-defence .row {
    gap: 20px;
}
}


.topbar a.phone-btnn {
    background: #80010c;
    color: #fff;
    width: 110px;
    padding: 2px;
    margin: auto;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-size: 16px;
    display: inline-block;
    text-align: center;
}




form.enquiry-popup-form .checkbox-inline, form.enquiry-popup-form  .radio-inline {
    display: inline-block;
    padding-left: 0px;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
}

form.enquiry-popup-form .form-group {
    margin-bottom: 14px;
    border: 2px solid #00000054;
    border-radius: 10px;
}

form.enquiry-popup-form .form-group select {
    width: 100%;
    height: 33px;
    padding: 4px;
    background: #e3e8f8;
    margin-top: 5px;
    border-color: #00000045 !important;
}

p.labels {
    margin-bottom: 6px !important;
}

form.enquiry-popup-form input[type="radio"] {
    width: auto;
    margin-top: 0 !important;
    border-bottom: 0 !important;
    margin-right: 5px;
}

form.enquiry-popup-form .form-group label {
    font-size: 17px;
    top: -1px !important;
    display: inline-block;
    color: #004D40;
    transition: all .2s ease;
    z-index: 10;
    position: relative;
    pointer-events: none;
}

form.enquiry-popup-form button[type="submit"] {
    width: 100px !important;
}

form.enquiry-popup-form input {
    margin-top: 5px !important;
    padding: 2px 5px !important;
    border: 1px solid #00000045 !important;
}

.modal-content {
    background: #e3e8f8;
}

.modal-header {
    justify-content: center;
    padding: 20px 15px;
    border-color: #80010c;
}

.modal-title {
    position: absolute;
    font-size: 28px;
}

.modal-header button:hover {
    background-color: #ffe9b6;
}

.modal-body {
    padding: 20px;
}

@media (max-width: 767px) {
    form.enquiry-popup-form .form-group label {
      font-size: 15px !important;
}
}