@media screen and (max-width:1750px) {
    .contactCardSubtitle {
        font-size: 16px;
    }
    .contactFormWrapper, .contactDetails {
        padding: 0;
    }
    .container {
        max-width: 1420px
    }

    .bannerSection h1 {
        font-size: 48px;
        padding: 57px 0px 550px 0px;
    }

    .footerlogoSet {
        width: 100%;
        max-width: 30%;
    }

    .customwidthSet {
        width: 100%;
    }

    .footerAlignment {
        display: flex;
        gap: 30px;
    }

    .footerlogoAlign {
        padding: 10px 15px;
    }

    .textAligncenter {
        font-size: 20px;
    }

    .moreDetailSection {
        padding: 120px 0px;
    }

    .detailsAlign {
        margin-bottom: 30px;
    }
    .bottomSet img {
        width: 40px;
        height: 40px;
    }
}
@media screen and (max-width:1600px) {
    div#aboutSection p.textAligncenter span.block {
        display: unset;
    }   
    .contactCard {
        padding: 15px;
    }
}
@media screen and (max-width:1450px) {
    .container {
        max-width: 1220px
    }

    .bannerSection h1 {
        font-size: 42px;
        padding: 57px 0px 400px 0px;
    }

    .textAligncenter {
        font-size: 18px;
    }

    .detailsAlign p {
        font-size: 18px;
    }

    .moreDetailSection {
        padding: 100px 0px;
    }

    .detailsAlign {
        margin-bottom: 30px;
    }

    .footerAlignment h3 {
        font-size: 18px;
    }

    .quick-links li {
        font-size: 16px;
    }

    .socialmedniaconset {
        gap: 2px;
    }

    .contactUs h5 {
        font-size: 16px;
    }

    .footercontactdetails p {
        font-size: 16px;
    }

    .footerAlignment {
        gap: 19px;
    }
}
@media screen and (max-width:1350px) {
    .contactDetails {
        flex: 0 0 55%;
        width: 55%;
    }
    .contactFormWrapper {
        flex: 0 0 45%;
        width: 45%;
    }
}
@media screen and (max-width:1250px) {

    .container {
        max-width: 1030px
    }

    .bannerSection h1 {
        font-size: 36px;
    }

    .logo p {
        font-size: 20px;
    }

    .textAligncenter {
        font-size: 16px;
    }

    h2 {
        font-size: 48px;
        margin-bottom: 35px;
    }

    .detailsAlign {
        gap: 20px;
        margin-bottom: 35px;
    }

    .quick-links li {
        font-size: 14px;
    }

    .footerlogoAlign {
        padding: 6px 10px;
        font-size: 16px;
    }

    .footercontactdetails p {
        font-size: 14px;
    }

    .footercontactdetails a {
        font-size: 14px;
    }

    .footerAlignment h3 {
        font-size: 16px;
    }

    .footercontactdetails {
        gap: 6px;
    }

    .contactUs h5 {
        font-size: 14px;
    }

    .quicklinkSet {
        width: 100%;
        max-width: 12%;
    }

}
@media screen and (max-width:1350px) and (min-width:1250px) {
.footerSection .container {
    max-width: 1200px;
}
}
@media screen and (max-width:1350px) and (min-width:1200px) {
    .socialmediaicons {
        min-width: 15%;
    }
    .logo p {
        font-size: 18px;
    }
    .container {
        max-width: 1080px;
    }
    .contactSection .container {
        max-width: unset;
        padding-left: 30px;
        padding-right: 30px;
    }
    
}
@media screen and (max-width:1200px) {
    .contactCardSubtitle {
        font-size: 14px;
    }
    .contactCardTitle {
        font-size: 20px;
    }
}

@media screen and (max-width:1150px) {

    .nav-menu li a {
        font-size: 14px;
    }
    .contactWrapper {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .contactDetails,
    .contactFormWrapper {
        flex: 0 0 100%;
        width: 100%;
    }
}

@media screen and (max-width:1200px) and (min-width:768px) {
    .footerlogoSet {
        width: 100%;
        max-width: 100%;
    }
    .footerAlignment {
        flex-wrap: wrap;
    }
    .footerAlignment {
        gap: 13px;
    }
    .deskContent {
        flex: 0 0 60%;
        width: 60%;
    }

    .deskImage {
        flex: 0 0 40%;
        width: 40%;
    }
}

@media screen and (max-width:1024px) {
    .container {
        width: 100%;
        max-width: 95%;
        margin: auto
    }

    .logo p {
        font-size: 16px;
    }

    .bannerSection h1 {
        font-size: 34px;
    }
}
@media screen and (min-width:1024px) and (max-width:1080px) {
    .container{
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width:991px) {
    .logo-linkcs {
        width: 70%;
    }
    .logo-linkcs img {
        width: 100%;
        display: flex;
    }
    .deskDescription {
        line-height: 150%;
    }
    .footerSection {
        padding: 10px 0px;
    }
    .banner {
        background: url(../images/Banner_SIU_1STMob.webp) center top/cover no-repeat;
    }

    .d-desk {
        display: none
    }

    .d-mob {
        display: block
    }

    .textAligncenter .block {
        display: inline;
    }

    .moreDetailSection {
        padding: 70px 0px 500px;
        background: url(../images/detailsBgmob.webp) center / cover no-repeat;
    }

    h2 {
        font-size: 42px;
        margin-bottom: 35px;
    }

    .footerAlignment {
        flex-wrap: wrap;
    }

    .footerlogoSet {
        max-width: 100%;
    }

    .quicklinkSet {
        max-width: 35%;
    }

    .header {
        position: relative;
    }

    .logo .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: 15px;
        color: #0c0c0c;
        height: 44px;
        width: 44px;
        background: #C52F32;
        padding: 5px;
        border-radius: 15px;
        cursor: pointer;
    }

    .custom-nav {
        background: #C52F32;
        padding: 0;
        display: flex;
        align-items: end;
        justify-content: end;
        position: initial;
        flex-direction: column;
    }
    
    .custom-nav.menu-open {
        padding: 0;
    }

    .custom-nav p {
        color: #fff;
        font-size: 14px;
        text-align: center;
        width: 100%;
    }

     .nav-menu {
        position: fixed;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
        top: 10%;
        z-index: 111;
        left: 0;
        padding: 15px;
        margin-top: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .custom-nav {
        position: relative;
    }
    
    /* Ensure nav-menu appears right below header when open */
    .custom-nav.menu-open .nav-menu {
        display: block;
    }
    .nav-menu li:last-child {
        border: none;
    }
    .nav-menu a {
        padding: 10px 0;
    }

    .nav-menu a {
        color: #000;
    }

    .nav-menu li {
        border-bottom: 1px solid #ddd;
    }

    .nav-menu a {
        padding: 10px 0;
    }

    .nav-menu.show {
        display: block;
    }

    /* Active menu item - Mobile (higher specificity) */
    .nav-menu a.active,
    .nav-menu .dropdown-menu a.active {
        color: #C52F32 !important;
        font-weight: 600 !important;
    }

    .dropdown-menu {
        position: static;
        background: #fff;
        box-shadow: none;
    }

    .dropdown-menu a {
        padding-left: 25px;
        position: relative;
        display: inline-block;
    }
    
    .dropdown-menu a::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 25px;
        width: 0;
        height: 2px;
        background-color: #fff;
        transition: width 0.3s ease;
    }
    
    .dropdown-menu a:hover::after {
        width: calc(100% - 25px);
    }

    .dropdown:hover>.dropdown-menu {
        display: none;
    }

    .dropdown.open>.dropdown-menu {
        display: block;
        padding-top: 0px;
        padding-bottom: 0;
    }

    /* Mobile dropdown arrows - right side */
    .nav-menu .dropdown>a {
        position: relative;
        padding-right: 25px;
    }

    .nav-menu .dropdown>a::after {
        content: url("/assets/images/caret.svg");
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(270deg);
        transition: transform 0.3s;
        filter: brightness(0);
    }

    .nav-menu .dropdown.open>a::after {
        transform: translateY(-50%) rotate(0deg);
    }

    /* Active menu color */
    .nav-menu .dropdown.open>a {
        color: #C52F32;
    }

     .detailsAlign img {
        width: 10%;
    }

    .footerAlignment {
    justify-content: start;
}

}

@media screen and (max-width:767px) {

    .hamburger .icon-close {
        height: 22px;
        width: 22px;
    }

    .bannerContent {
        max-width: 95%;
        height: 360px;
        position: relative;
    }

    .detailsAlign {
        align-items: flex-start;
    }

    .detailsAlign img {
        width: 12%;
    }

    .d-desk1 {
        display: none;
    }

    .d-mob1 {
        display: block;
    }

    .hamburger {
        margin: 0 0px 0 0;
    }

    #menu li,
    .tabButtons a {
        padding: 10px 0 10px;
    }

    .logo-link{
        width: 70%;
    }
    .logo-link img {
        width: 100%;
        display: flex;
    }

    .bannerSection h1 {
        font-size: 28px;
    }

    .detailsAlign p {
        font-size: 16px;
    }

    .detailsAlign .block {
        display: inline;
    }

    .aboutSection {
        padding-top: 50px;
    }


    .moreDetailSection {
        padding: 50px 0px 300px;
    }
    .bannerSection h1 {
        padding: 57px 0px 300px 0px;
    }

    .nav-menu {
        position: absolute;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
        top: 10%;
        z-index: 111;
        margin-top: -4px;
        left: 0%;
        padding: 15px;
    }

    .nav-menu a {
        color: #000;
    }

    .aboutUsBanner {
        background-image: url(../images/aboutMobile.webp);
    }

    .aboutUsBanner::before {
        background: linear-gradient(0deg, rgba(0, 26, 56, 0) 36.49%, rgba(0, 26, 56, 0.691777) 71.41%, hsl(212deg 100% 11% / 69%) 100%);
    }

    .aboutUsBannerSection h1 {
        padding: 60px 0px 351px 0px;
    }

    .contactUsBanner {
        background-image: url(../images/contactusBannerMobile.webp);
    }

    .contactUsBanner::before {
        background: linear-gradient(0deg, rgba(0, 26, 56, 0) 36.49%, rgba(0, 26, 56, 0.691777) 71.41%, hsl(212deg 100% 11% / 69%) 100%);
    }

    .contactUsBannerSection h1 {
        padding: 60px 0px 351px 0px;
    }

    .contactWrapper {
        gap: 30px;
    }

    .contactDetails,
    .contactFormWrapper {
        flex: 0 0 100%;
        width: 100%;
    }

    .contactCardRow {
        flex-direction: column;
        gap: 20px;
    }

    .contactCardRow .contactCard:first-child,
    .contactCardRow .contactCard:last-child {
        flex: 0 0 100%;
        width: 100%;
    }

    .contactCardRow .contactCard {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 0;
    }

    .contactCard40,
    .contactCard60 {
        flex: 0 0 100%;
        width: 100%;
    }

    .contactForm {
        padding: 24px;
    }

    .contactDetailsHeading {
        font-size: 28px;
    }

    .deskItem {
        flex-direction: column !important;
        gap: 0px;
        margin-bottom: 20px;
        padding: 30px 20px;
        max-width: 100%;
        padding-bottom: 0;
    }
    .deskContent {
        padding-bottom: 0px;
    }

    .deskContent,
    .deskImage {
        flex: 0 0 100%;
        width: 100%;
    }

    .deskContent {
        order: 1;
    }

    .deskImage {
        order: 2;
        display: flex;
        justify-content: flex-end;
    }
    .deskImage img {
        width: 80%;
        height: auto;
        display: block;
    }

    .deskDescription {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .deskName {
        font-size: 28px;
    }

    .deskDesignation {
        font-size: 20px;
    }
    .footerCopyright p {

        text-align: center;
    }

}
@media screen and (max-width:720px) {
    .aboutSection {
        padding-top: clamp(30px, 4.7vw, 90px);
        background: url(../images/secmob2.webp) center bottom / contain no-repeat;
    }
}
@media screen and (max-width:640px) {
    div#aboutSection p.textAligncenter {
        padding: 30px 0px 351px 0px;
    }
}
@media screen and (max-width:500px) {
    .logo .menu-toggle {
        height: 38px;
        width: 38px;
        line-height: 1;
    }
    .contactUsBannerSection h1{
        text-align: center;
    }
    .contactForm{
        min-width: 100%;
    }

    #menu li {
        padding: 11.5px 0;
    }

    h2 {
        font-size: 34px;
        margin-bottom: 35px;
    }

    .bannerSection h1 {
        font-size: 22px;
    }

    .menu-toggle {
        top: 15px;
    }

    .detailsAlign img {
        width: 15%;
    }
    .footerAlignment {
    justify-content: start;
}

    .deskDescription {
        font-size: 16px;
    }

    .deskName {
        font-size: 24px;
    }

    .deskDesignation {
        font-size: 18px;
    }
}
@media screen and (max-width:420px) {
    .nav-menu {
        top: 8%;
    }
    .menu-toggle {
        height: 34px;
        width: 34px;
        border-radius: 12px;
    }
    .menu-toggle {
        top: 10px;
    }
    div#aboutSection p.textAligncenter {
        padding: 20px 0px 260px 0px;
    }
    .aboutUsBannerSection h1,.aboutUsBannerSection .deskHighlight{
        font-size: 38px;
    }
    .aboutUsBannerSection h1 {
        padding: 30px 0px 250px 0px;
    }

    .contactUsBannerSection h1,
    .contactUsBannerSection .contactHighlight {
        font-size: 32px;
    }

    .contactUsBannerSection h1 {
        padding: 30px 0px 250px 0px;
    }
    .contactUs h5 {
        white-space: unset;
        font-size: 11px;
    }
}
@media screen and (max-width:355px) {
    .aboutUsBannerSection h1,.aboutUsBannerSection .deskHighlight{
        font-size: 34px;
    }
}