@media (max-width: 768px) {
  .pl-0 {
    padding-left: 0 !important;
  }
  .pr-0 {
    padding-right: 0 !important;
  }
  .pt-50 {
    padding-top: 50px;
  }
  .pb-50 {
    padding-bottom: 50px;
  }
  .pt-100 {
    padding-top: 60px !important;
  }
  .pb-100 {
    padding-bottom: 60px !important;
  }
}

@media (min-width: 911px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
  #chaptersDropdown .nav-link {
    pointer-events: none;
    cursor: pointer;
  }
}

@media (max-width: 991px) {
  .offcanvas {
    background-color: #0D0D0D;
  }
  .offcanvas-body {
    align-items: center;
  }
  .offcanvas-header{
    padding-top: 22px !important;
  }
  .offcanvas-header img{
    width: 60% !important;
  }
  .navbar {
    flex-wrap: nowrap !important;
  }

  .navbar {
    --bs-navbar-padding-y: 1.3rem !important;
    padding-left: 10px !important;
  }
  .navbar-toggler {
    padding-right: -20px !important;
  }

  .slid_bar_footer {
    display: block;
    color: #fff;
    align-items: center;
    text-align: center;
  }

  .nav-link {
    color: #fff;
  }

  .nav-item {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar-nav .dropdown-menu {
    background-color: #ffffff00;
    border: 0;
  }
  .navbar-nav .dropdown-item {
    color: #ffffffa8;
    align-items: center;
    text-align: center;
  }
  .nav-btn{
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 600px) {
  .bottom-bar a,
  .navbar a {
    float: none;
    text-align: left;
  }
  .bottom-bar .search-tab {
    float: none;
    padding-right: 0;
    padding-left: 20px;
  }
  .navlogos,
  .navlogos a {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .DEX-offer-box h1 {
    font-size: 2em;
  }

  .DEX-offer {
    padding-bottom: 60px;
    padding-top: 50px;
  }
  .DEX-offer .DEX-offer-box {
    margin: 15px;
    padding: 15px;
  }
  .DEX-offer .dex-btn {
    margin-left: 15px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  .sponsor-header {
    font-size: 1rem;
  }
  .sponsor-logo {
    max-width: 130px;
  }
}

/* become a partner */

@media (max-width: 600px) {
  .become-partner-section {
    padding: 40px;
  }

  .become-partner h1,
  .become-partner a {
    font-size: 30px;
  }
}

/* Digital Excellence Framework section */
@media (max-width: 852px) {
  .DEF-image-swap {
    content: url("../img/DEF-img2.png"); /* Mobile image */
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* hero section */

@media (max-width: 768px) {
  .video-container {
    height: 40vh;
  }

  .bg-video {
    object-fit: cover;
    object-position: center;
  }

  .bg-overlay {
    opacity: 0.3;
  }
}

@media (max-width: 672px) {
  .video-container {
    height: 30vh;
  }

  .bg-video {
    object-fit: cover;
    object-position: center;
  }

  .bg-overlay {
    background-size: 8px 8px;
    opacity: 0.3;
  }
}
@media (max-width: 300px) {
  .video-container {
    height: 25vh;
  }
}

/* Time line */
@media (max-width: 600px) {
  .timeline {
    font-size: 12px;
    font-weight: 400;
  }

  .timeline h5 {
    font-size: 18px;
  }

  .timeline-date {
    font-weight: 600;
    font-size: 12px;
  }
  .dateicon img {
    height: 30px;
  }

  .Submit-Your-Award,
  .Submit-Your-Award a {
    font-size: 18px;
  }
}

/* object section */
@media (max-width: 768px) {
  .objectives-container {
    flex-direction: column;
    align-items: center;
  }

  .objective {
    flex: 1 1 100%;
    margin: 10px 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .Objective-section h1 {
    font-size: 26px;
  }

  .objective {
    height: auto;
    padding: 20px;
  }
}

/* Award Categories section*/
@media (max-width: 768px) {
  .AwardCategories-Card {
    flex: 1 1 calc(50% - 15px);
  }

  .AwardCategories-Card:nth-of-type(1),
  .AwardCategories-Card:nth-of-type(4),
  .AwardCategories-Card:nth-of-type(5),
  .AwardCategories-Card:nth-of-type(8) {
    background-color: var(--card-bg-color-1) !important;
  }

  .AwardCategories-Card:nth-of-type(2),
  .AwardCategories-Card:nth-of-type(3),
  .AwardCategories-Card:nth-of-type(6),
  .AwardCategories-Card:nth-of-type(7) {
    background-color: var(--card-bg-color-2);
  }
}
@media (max-width: 480px) {
  .AwardCategories-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .AwardCategories-Card {
    flex: 1 1 calc(50% - 15px);
    padding: 20px !important;
    min-height: 0px;
    height: 170px;
  }

  .AwardCategories-section h1 {
    font-size: 26px;
    padding-bottom: 20px;
  }
  .AwardCategories-Card p {
    font-size: 18px;
  }

  .AwardCategories-Card:nth-of-type(1),
  .AwardCategories-Card:nth-of-type(4),
  .AwardCategories-Card:nth-of-type(5),
  .AwardCategories-Card:nth-of-type(8) {
    background-color: var(--card-bg-color-1) !important;
  }

  .AwardCategories-Card:nth-of-type(2),
  .AwardCategories-Card:nth-of-type(3),
  .AwardCategories-Card:nth-of-type(6),
  .AwardCategories-Card:nth-of-type(7) {
    background-color: var(--card-bg-color-2);
  }
}

/* Message from Organizers Section */
@media (max-width: 768px) {
  .MfO-section .row {
    display: block;
  }

  .MfO-section .col-6,
  .MfO-section .col-6 .col-8,
  .MfO-section .col-6 .col-4 {
    width: 100%;
  }
  .MfO-section .col-6 .col-8 {
    width: 100%;
  }

  .MfO-section .MfO-rightSide {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    border-top: 1px dashed #fff;
    padding-top: 20px;
    border-left: none;
  }

  .MfO-content,
  .MfO-img-org {
    padding-right: 0;
  }
  .MfO-img-org img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    padding-bottom: 15px;
  }

  .MfO-btn {
    width: 100%;
    display: block;
    margin-bottom: 30px;
  }
  .MfO-topic h2 {
    font-size: 20px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    padding-top: 10px;
  }
  .MfO-img-fitis img {
    padding-top: 5px;
    height: 50px;
    padding-bottom: 5px;
  }
}

/* Award Categories - 2 */
@media (max-width: 600px) {
  .award-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .social-icons {
    margin-top: 1rem;
  }
}

/* --------------------------------------------------
About Page
-------------------------------------------------- */

@media (max-width: 600px) {
  .about-banner {
    height: 140px;
    background-position: 95%;
  }
  .about-awards h1 {
    font-size: 26px;
  }

  .about-awards p {
    font-size: 16.9px;
  }

  .about-3rd-section h3 {
    font-size: 22px;
  }
  .about-3rd-section h2 {
    color: var(--primary-gold1);
    font-size: 25px;
    font-weight: 700;
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .about-3rd-section p {
    font-size: 16.9px;
  }
}

/* --------------------------------------------------
Awards Pages
-------------------------------------------------- */

/* Digital Excellence Framework section */
@media (max-width: 998px) {
  .DEF-image-swap2 {
    content: url("../img/Awards-pages/DEF998.webp"); /* Mobile image */
    padding-top: 70px;
    padding-bottom: 70px;
  }
}
@media (max-width: 600px) {
  .DEF-image-swap2 {
    content: url("../img/Awards-pages/DEF600.webp"); /* Mobile image */
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* --------------------------------------------------
Awards Sub Pages
-------------------------------------------------- */

@media (max-width: 771px) {
  .Awards-details .container .row{
    --bs-gutter-x: 0 rem;
  }
  .Awards-details .box {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align to the left */
    padding: 10px;
    margin-bottom: 20px;
    text-align: start;
  }

  .Awards-details .box-title1 {
    display: flex;
    flex-direction: row;
    align-items: center; /* Ensure content stays in the same row */
    justify-content: flex-start; /* Ensure alignment to the left */
    width: 90%;
    padding-bottom: 20px;
    padding-top: 40px;
  }

  .Awards-details .box-title1 img {
    width: 40px;
    height: 40px;
    margin-right: 10px; /* Space between image and title */
    scale: 1; /* Keep the normal size */
  }

  .Awards-details .box-title1 h3 {
    display: block;
    font-size: 18px; /* Adjust size if needed */
    margin: 0;
  }

  .box-title1-H3 {
    display: none;
  }

  .Awards-details .box2 {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 10px ;

  }
  .Awards-details .box3 {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 10px ;
    text-align: start;
  }
  .Awards-details .box-title2 {
    display: flex;
    flex-direction: column;
  }
  .Awards-details .box-title2 img {
    width: 50px;
    padding-bottom: 7px;
  }
  .Awards-details .box-title2 h5 {
    font-size: 18px;
  }
  .Awards-details .box-details p{
    font-size: 15px;
    padding-right: 10px;
  }
  .Awards-details .box-details-Special{
    padding: 0px !important;
  }
  .Awards-details .box-title1-Special img{
    padding-left: 0px; 
    padding-bottom: 0px !important;
  }
  .ADT .ADT-Responsive-Hide{
    display: none;
  }
  .ADT .ADT-PDF-section{
    margin-top: 0px;
  }
  .ADT .ADT-PDF-section-2{
    margin-top: 0px;
  }
  .ADT .ADT-PDF{
    width: 100%;
  }
  .ADT .ADT-PDF img{
    height: 35px;
    width: 35px;
    scale: 2.3;
  }
  .ADT .ADT-PDF a{
    font-size: 14px;
  }
}



/* --------------------------------------------------
Contact Us Pages
-------------------------------------------------- */

@media (min-width: 768px) {
  .reach-us .container {
      flex-direction: row;
  }

  .reach-us .left-section {
      flex: 1;
  }

  .reach-us .right-section {
      flex: 1;
  }
}



/* --------------------------------------------------
exco Page
-------------------------------------------------- */

@media (max-width: 768px) {
  .executive-committee .container{
    max-width: none;
  }
  .executive-committee .grid{
      grid-template-columns: 1fr;
      padding: 10px;
      gap: 40px;
  }
  .executive-committee .change-height{
    height: 100% ;
  }
  .executive-committee h1{
    font-size: 26px;
    margin-bottom: 40px;
    margin-top: -20px;
  }

}











/* --------------------------------------
Registration Popup Styling Feb 10 2025
-----------------------------------------*/

@media (max-width: 768px) {
.registration-popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  backdrop-filter: blur(1px);
  z-index: 1000; /* Ensure it's on top */
}

.registration-popup-content {
  padding: 30px 50px;
  border-radius: 10px;
  width: 85%;
  max-width: 100% !important;
  
}
.registration-popup-content img{
  width: 100%;
  margin-bottom: 40px;
  margin-top: 40px;
}
.registration-popup-content h2{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.registration-popup-content p {
  font-size: 18px;
}
}






/* --------------------------------------------------
Award Winners Pages
-------------------------------------------------- */

@media screen and (max-width: 771px) {
  .AW .AW-Content {
    width: 90%; /* Make it take full width on smaller screens */
  }
  .AW-Content-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    margin: 0px;
  }
}

@media screen and (max-width: 480px) {
  .AW .AW-Content {
    width: 100%; /* Full width on very small screens */
  }
}
