html {
    scroll-behavior: smooth;
}



body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
   
}


/* Add margin to the next section to prevent it from being hidden behind the navbar */
#home {
    padding-top: 110px; /* Adjust as needed */
}


/* Banner Styling */
.banner {
    background-image: url('images/Banner\ niist\ athul.jpg'); /* Replace with your banner image */
    background-size: contain; /* Ensures the background image covers the entire banner */
    background-repeat: no-repeat;         /* don’t tile */
     background-position: center center; 

    height: 200px; /* Set a fixed height */
    width: 100vw; /* Use 100% of the viewport width */
    
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

    /* Optional: Adding some responsive design */
    max-height: 60vh; /* Optional: Sets the maximum height based on viewport height */
    overflow: hidden; /* Ensures content does not overflow the banner */
}
@media (max-width: 800px) {
    .banner {
      background-size: contain;             /* fills and crops */
    }
  }


.banner h1 {
    font-size: 48px;
    font-weight: bold;
}

/* Navbar Styling */
.navbar-container {
    background-color: #26989f
    /* Adds padding to cover more region around the navbar */
}
.navbar-list {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.navbar-list li {
    display: inline-block;
    margin: 0 18px; /* Adds space between options */
}

.navbar-list li a {
    text-decoration: none;
    font-size: 20px;
    color: whitesmoke;
   
    font-family: sans-serif;
}

.navbar-list li a:hover {
    color: #ddf125; /* Bootstrap primary color for hover effect */
}
/* Position dropdown items */
.navbar-list .dropdown {
    position: relative;
}

.navbar-list .dropdown-menu {
    display: none;
    position: absolute;
    background-color: teal; /* or your navbar color */
    padding: 10px 0;
    list-style: none;
    min-width: 150px;
    top: 100%;
    left: 0;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

.navbar-list .dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: white;
    text-decoration: none;
}

.navbar-list .dropdown-menu li a:hover {
    background-color: #0066cc; /* hover color */
}

.navbar-list .dropdown:hover .dropdown-menu {
    display: block;
}
/* MOBILE FIX */
@media (max-width: 768px) {
    .navbar-list {
      display: flex;
      flex-direction: column;
    }
    .navbar-list li {
      display: block;        /* full-width items */
      margin: 8px 0;         /* more tappable spacing */
    }
    .navbar-list li a {
      font-size: 18px;       /* slightly smaller */
      padding: 10px 0;       /* vertical padding for touch */
    }
    /* Optional: underline active item */
    .navbar-list li a:active {
      border-left: 4px solid #ddf125;
      padding-left: 14px;
    }
  }


/* Carousel Styling */
.carousel {
    position: relative;
   
    max-width: 100%;
    
    overflow: hidden;
}

.carousel-images img {
    width: 100%;
     /* Ensures uniform height for all images */
    object-fit: cover;
    display: none;
    opacity: 0; /* Start invisible */
    transform: scale(1.1); /* Start slightly zoomed in */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Animation for opacity and transform */
}

.carousel-images img.active {
    display: block;
    opacity: 1; /* Fully visible */
    transform: scale(1); /* Reset to normal size */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicators span {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators .active {
    background-color: white;
}




/* HOME */
#home {
    padding-top: 65px;
    padding-bottom: 65px; /* Adjust as needed */
    background-color: rgb(245, 241, 234);
    text-align: justify;
   
    
}
.home h2 {
    color: #04656c;          /* Light blue text color */
    position: relative;        /* Needed for positioning the pseudo-element */
}

.home h2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 10%;                /* Half-width underline */
    height: 3px;
    background: #04656c;     /* Same color as the text for underline */
}
.home p{
    color: #333;
    font-weight: 500;
    font-size: larger;
    font-family:sans-serif;
} 
/* Responsive tweaks */
@media (max-width: 768px) {
    #home {
      padding-top: 30px;
      padding-bottom: 30px;
      
      
    }
    .home h2 {
      font-size: 1.8rem;     /* smaller heading */
    }
    .home h2:before {
      bottom: -6px;
      width: 20%;            /* underline a bit wider relative to smaller text */
      height: 2px;
    }
    .home p {
        padding-left: 10px;
        padding-right: 10px;
      font-size: 1rem;       /* slightly smaller body text */
      line-height: 1.5;      /* improve readability */
    }
  }


/*Objectives section */
.objectives-sec {
    padding-top: 65px;
    padding-bottom: 65px;
    background-color: white;
    text-align: justify;
}

.ribbon-wrap {
    position: relative;
    display: inline-block;
    background: #d9534f; /* Red ribbon color */
    color: #fff;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 30px;
}

/* Create the ribbon ends using pseudo-elements */
.ribbon-wrap::before,
.ribbon-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
}

.ribbon-wrap::before {
    left: 0;
    border-color: #d9534f transparent transparent transparent;
}

.ribbon-wrap::after {
    right: 0;
    border-color: #d9534f transparent transparent transparent;
}

/* Styling the objectives list */
.objectives-list {
    list-style: none;
    padding: 0;
    font-size: larger;
    line-height: 1.8;
    font-family: sans-serif;
}

.objectives-list li {
    padding-left: 20px;
    margin-bottom: 10px;
    position: relative;
}

.objectives-list li::before {
    content: '✔'; /* You can also use FontAwesome icons if needed */
    color: #923721;
    position: absolute;
    left: 0;
    font-size: 18px;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .objectives-sec {
      padding-top: 30px;     /* Reduce top/bottom padding */
      padding-bottom: 30px;
      padding-left: 10px;
      padding-right: 10px;
    }
  
    .objectives-list {
      font-size: 1rem;       /* Slightly smaller text */
      line-height: 1.5;      /* Tighter line spacing */
    }
  
    .objectives-list li {
      padding-left: 15px;    /* Less indent for list items */
      margin-bottom: 8px;    /* Slightly less vertical gap */
    }
  
    .objectives-list li::before {
      font-size: 14px;       /* Smaller checkmark icon */
      left: 0;               /* Ensure it stays aligned */
    }
  }
  

/* INVITED SPEAKERS */



/* upcoming programs */

#upcoming{
    background-color: white;
    text-align: justify;
    padding-top: 65px;
    padding-bottom: 55px;
}
#upcoming h2,
#upcoming h3 {
    color: #04656c; /* Blue color for headings */
    position: relative; /* Position relative for pseudo-elements */
    display: inline-block; /* To align underline with the text width */
}

#upcoming h2 {
    font-size: 2em; /* Adjust size as needed */
    margin-bottom: 15px; /* Space below the main heading */
    font-family: sans-serif;
}

#upcoming h2:before {
    content: "";
    position: absolute;
    font-family: sans-serif;
    left: 0;
    bottom: -10px; /* Position below the text */
    width: 20%; /* Adjust to your preference */
    height: 3px; /* Height of the underline */
    background: #04656c; /* Same color as the text for underline */
}

#upcoming h3 {
    font-size: 1.5em; /* Adjust size as needed */
    margin-bottom: 10px; /* Space below the beneficiaries heading */
}

#upcoming h3:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px; /* Position below the text */
    width: 20%; /* Adjust to your preference */
    height: 3px; /* Height of the underline */
    background: #04656c; /* Same color as the text for underline */
}

#upcoming p {
    font-family: Arial, sans-serif; /* Set font family to Arial */
    font-size: 1.2em; /* Large font size for content */
    line-height: 1.5; /* Line height for better readability */
    margin-bottom: 15px; /* Space below each paragraph */
}
/* Mobile responsiveness for #upcoming */
@media (max-width: 768px) {
    #upcoming {
      padding-top: 30px;      /* less vertical padding */
      padding-bottom: 30px;
      padding-left: 20px;
      padding-right: 20px;
      

    }
  
    #upcoming h2 {
      font-size: 1.5em;       /* smaller main heading */
      margin-bottom: 10px;
    }
  
    #upcoming h2:before {
      bottom: -6px;           /* closer underline */
      width: 40%;             /* wider relative to smaller text */
      height: 2px;
    }
  
    #upcoming h3 {
      display: block;         /* full-width on small screens */
      font-size: 1.2em;       /* smaller subheading */
      margin-bottom: 8px;
    }
  
    #upcoming h3:before {
      bottom: -6px;
      width: 40%;
      height: 2px;
    }
  
    #upcoming p {
      font-size: 1em;         /* slightly smaller body text */
      line-height: 1.4;       /* tighter line spacing */
      margin-bottom: 10px;
    }
  }
  

/* program details */

#program_details h2{
    font-size: 2em; /* Adjust size as needed */
    margin-bottom: 25px; /* Space below the main heading */
    font-family: sans-serif;
    text-align: center;
    color: #04656c;
}

#program_details {
    background-color: #f9f9f9; /* light background */
    padding: 50px 20px;
}

#program_details .brochure-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* space between images */
}

#program_details .brochure-gallery img {
    max-width: 80%;
    height: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

#program_details .brochure-gallery img:hover {
    transform: scale(1.02); /* slight zoom on hover */
}
@media (max-width: 768px) {
  #program_details {
    padding: 30px 15px;
  }

  #program_details h2 {
    font-size: 1.6em;
  }

  #program_details .brochure-gallery {
    gap: 20px;
  }

  #program_details .brochure-gallery img {
    max-width: 95%;
    height: auto; /* Allow natural height */
  }
}

@media (max-width: 480px) {
  #program_details h2 {
    font-size: 1.4em;
  }

  #program_details .brochure-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }
}
.brochure-download-badge {
  position: fixed;
  bottom: 70px; /* placed above the RSC badge */
  left: 20px;
  background: #02382c;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  z-index: 9998;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.brochure-download-badge:hover {
  background: turquoise;
    text-decoration: none;
}
@media (max-width: 768px) {
  .brochure-download-badge,
  .rsc-awards-badge {
    font-size: 12px;
    padding: 10px 16px;
    bottom: auto;
  }

  .brochure-download-badge {
    bottom: 90px; /* adjusts higher for better spacing on mobile */
    left: 15px;
  }

  .rsc-awards-badge {
    bottom: 20px;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .brochure-download-badge,
  .rsc-awards-badge {
    font-size: 11px;
    padding: 9px 14px;
    border-radius: 40px;
  }
}





.Registration_details {
    background-color: #0f4e4e; /* light teal background */
    padding: 50px 20px; /* add nice spacing */
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 40px;
    align-items: start;
}

.registration-card {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    font-family: 'Century Gothic', sans-serif;
}

.registration-card h3 {
    color: teal;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 20px;
}

.registration-card ul {
    list-style: none;
    padding-left: 0;
}

.registration-card ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

/* Glamorous button */
.register-button {
    display: inline-block;
    background: linear-gradient(90deg, #008080, #20c997);
    color: white;
    padding: 12px 30px;
    font-size: 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.register-button:hover {
    background: linear-gradient(90deg, #044949, #025f43);
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}


.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.sponsor-logos img {
    width: 180px;
    height: 100px;
    object-fit: contain;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
   
    transition: transform 0.3s ease;
}


.sponsor-logos img:hover {
    transform: scale(1.05);
}
.sponsor-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
}

.sponsor-row img {
  width: 250px;
  height: 150px;
  object-fit: contain;
  background-color: white;
  padding: 10px;
  border-radius: 10px;

  transition: transform 0.3s ease;
}
.sponsor-row img[alt="Sponsor 6"] {
  transform: scale(1.4);
}

.sponsor-row img:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .sponsor-row {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .sponsor-row img {
    width: 140px;
    height: 90px;
  }
}

@media (max-width: 480px) {
  .sponsor-row img {
    width: 120px;
    height: 80px;
  }
}













/* Patrons Section */
#patrons {
    padding: 60px 0;
   background-color: white; 
    /*background-image: url('images/try3.jpg');
    background-size: contain;
    background-position:center ; */
    text-align: center;  
}

#patrons h2 {
    font-size: 2em;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: teal;
}

#patrons .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#patrons .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
}

#patrons .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 15px;
    box-sizing: border-box;
}

#patrons figure {
    margin: 0;
    padding: 0;
}

#patrons img {
    width: auto;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

#patrons img:hover {
    transform: scale(1.05);
}

#patrons figcaption {
    margin-top: 15px;
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}




#speakers {
    padding: 60px 0;
   background-color: white; 
    /*background-image: url('images/try3.jpg');
    background-size: contain;
    background-position:center ; */
    text-align: center;  
}

#speakers h2 {
    font-size: 2em;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: teal;
}

#speakers .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#speakers .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
}

#speakers .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 15px;
    box-sizing: border-box;
}

#speakers figure {
    margin: 0;
    padding: 0;
}

#speakers img {
    width: auto;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

#speakers img:hover {
    transform: scale(1.05);
}

#speakers figcaption {
    margin-top: 15px;
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #speakers .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    #speakers .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    #speakers .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    #speakers .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Details Section Styling */
#details {
    padding: 60px 0;
    background-color: #f5f3f3;
}

#details .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#details h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4em;
    color: teal;
}

.details-section {
    margin-bottom: 40px;
}

.details-section h3 {
    font-size: 1.4em;
    text-align: center;
    font-family: sans-serif;
    color: teal;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.details-section ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.1em;
    color: #555;
}

.details-section ul li {
    margin-bottom: 10px;
}

/* Organizing Committee Grid */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.committee-member {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 35px;
}


#advanced-committee-members {
    padding: 60px 0;
    background-color: #e9f5f5; /* lighter teal tone */
}

#advanced-committee-members h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4em;
    color: #006d6d; /* deeper teal */
}

#advanced-committee-members .details-section h3 {
    font-size: 1.9em;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    color: #006d6d;
    border-bottom: 2px dashed #bbb;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.advanced-committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

#advanced-committee-members .committee-member {
    background-color: #ffffff;
    padding: 15px;
    border: 1px solid #ccc;
    text-align: center;
    font-weight: 600;
    color: #222;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}

#advanced-committee-members .committee-member:hover {
    transform: scale(1.03);
}

/* RSC Popup Styling */
/* Popup */
.rsc-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.rsc-popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  max-width: 450px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s ease;
  font-family: sans-serif;
}

.rsc-popup-content h2 {
  color: #007B5E;
  margin-bottom: 15px;
}

.rsc-popup-content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.rsc-popup-content li {
  margin: 8px 0;
  font-size: 1.1em;
}

.rsc-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

/* Floating Badge */
.rsc-awards-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #007B5E;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  z-index: 9998;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.rsc-awards-badge:hover {
  background: #005f48;
}

@keyframes scaleIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 600px) {
  .rsc-popup-content {
    width: 90%;
    padding: 20px;
    font-size: 0.95em;
    max-width: 95%;
    border-radius: 12px;
  }

  .rsc-popup-content h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .rsc-popup-content li {
    font-size: 1em;
    margin: 6px 0;
  }

  .rsc-close {
    font-size: 20px;
    top: 8px;
    right: 12px;
  }

  .rsc-awards-badge {
    padding: 10px 14px;
    font-size: 13px;
    bottom: 15px;
    left: 15px;
    border-radius: 40px;
  }
}









footer {
    background-color: rgb(4, 99, 99); /* Blue background */
    padding: 10px 0; /* Reduced padding for compactness */
    position: relative;
    padding-bottom: 20px; /* Adjust space for back-to-top button */
    color: white; /* Text color */
    font-size: 14px; /* Adjust font size for smaller appearance */
}
.foot-lt, .foot-text {
    margin-bottom: 5px; /* Reduced margin between elements */
}
.foot-lt a {
    color: white; /* Keep link color white */
    text-decoration: none;
}
.foot-lt a:hover {
    text-decoration: underline; /* Optional: underline on hover */
}





/* Styling for the completeure section */
/* Styling for the completeure section */
#completeure {
    padding-top: 55px;
    padding-bottom: 55px;
    background-color:  rgb(245, 241, 234);
    border-radius: 10px;
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px;
}

.content p {
    font-family:  sans-serif; /* Set font family to Arial */
    font-size: 1.2em; /* Large font size for content */
    line-height: 1.5; /* Line height for better readability */
    margin-bottom: 15px; /* Space below each paragraph */
}
.content h2{
    color: #04656c;
    text-align: center;
}

.view-completed-programs {
    margin-top: 20px;
}

.com_tag {
    display: inline-block;
    padding: 10px 20px;
    background-color: lightcoral;
    color: #fff;
    text-align: center;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.com_tag:hover {
    background-color: #04656c;
    color: white;
    text-decoration: none;
}

.completed-program-table {
    margin-top: 20px;
}

.completed-program-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.completed-program-table table, .completed-program-table th, .completed-program-table td {
    border: 1px solid #ddd;
}

.completed-program-table th, .completed-program-table td {
    padding: 8px;
    text-align: left;
}

.completed-program-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.completed-program-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.completed-program-table a {
    color: #007bff;
    text-decoration: none;
}

.completed-program-table a:hover {
    text-decoration: underline;
}



/* Contact Us Section */
/* General Styles for the Section */
.contact-us {
    padding: 50px 0;
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Left Side (Contact Details) */
.left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

/* Title */
.left-side h1 {
    color: teal;
    font-size: 32px;
    margin-bottom: 20px;
}

/* Contact Details */
.contact-details {
    font-size: 18px;
}

.contact-details p {
    margin: 10px 0;
}

.contact-details .icon {
    margin-right: 10px;
}

/* Query Button */
.query-button {
    background-color: teal;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
}

.query-button:hover {
    background-color: darkcyan;
}

/* Right Side (Map Image) */
/* Right Side (Map Image) */
.right-side {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden; /* Prevent image overflow during translation */
}

.right-side .institute-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out; /* Smooth transition for the transform effect */
}

/* Translate the image when hovered */
.right-side .institute-image:hover {
    transform: translateX(10px) translateY(-10px); /* Adjust the translation values as needed */
}


/* Responsive Design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    .left-side, .right-side {
        width: 100%;
        text-align: center;
    }

    .contact-details {
        text-align: left;
    }

    .query-button {
        width: 100%;
    }
}





#qrcode {
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
   
    margin: 40px auto;
    width: fit-content;
    max-width: 50%;
}

#qrcode h2 {
    color: #1b4f72;
    font-family: 'Century Gothic', sans-serif;
    margin-bottom: 20px;
    font-size: 28px;
}

#qrcode img {
    width: 100px;
    height: 100px;
    border: 4px solid #1b4f72;
    border-radius: 12px;
}

/* VENUE SECTION */
.venue-section {
    padding: 40px 20px 90px; /* Top, sides, bottom */
    text-align: center;
    background-color: #f8fafa;
  }
  
  
  .venue-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #00695c;
    font-weight: bold;
  }
  
  .venue-image {
    max-width: 100%;
    height: 450px;
    margin-bottom: 20px;
  }
  
  .venue-details {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .venue-details h3 {
    color: #004d40;
    margin-bottom: 10px;
  }
  
  .venue-details h4 {
    margin-top: 15px;
    color: #00796b;
  }
  
  .venue-details p {
    margin: 5px 0 10px;
    line-height: 1.6;
  }
  /* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
    .venue-section {
      padding: 30px 15px 60px;  /* reduce paddings */
    }
    .venue-title {
      font-size: 2rem;          /* slightly smaller title */
      margin-bottom: 8px;
    }
    .venue-image {
      max-height: 250px;        /* limit height on mobile */
      margin-bottom: 15px;
    }
    .venue-details {
      padding: 15px;            /* tighter detail box */
    }
    .venue-details p {
      font-size: 0.95rem;       /* slightly smaller text */
      line-height: 1.4;
    }
  }
  

  .coming_soon {
    display: block;
    margin: 40px auto;      /* center horizontally with vertical spacing */
    max-width: 100%;        /* responsive width */
    width: 300px;           /* default width, adjust as needed */
    height: auto;           /* maintain aspect ratio */
    opacity: 0.9;           /* slight transparency for effect */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .coming_soon:hover {
    opacity: 1;
    transform: scale(1.05); /* subtle zoom on hover */
  }
  .update-soon {
    text-align: center;
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: red;               /* teal */
    margin: 20px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
  }
  
  .update-soon:hover {
    color: #20c997;               /* light teal */
    opacity: 1;
  }


  


  #countdown {
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
  }
  
  #countdown h2 {
    font-size: 2.5rem;
    color: #00736e;
    margin-bottom: 30px;
  }
  
  .countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
  }
  
  .countdown-timer div {
    background: teal;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .countdown-timer span {
    display: block;
    font-size: 2.2rem;
  }
  /* 🌐 Mobile screens (max width 600px) */
@media screen and (max-width: 550px) {
    .countdown-timer {
      gap: 15px;
    }
  
    .countdown-timer div {
      padding: 15px 10px;
      min-width: 65px;
    }
  
    .countdown-timer span {
      font-size: 1.6em;
    }
  
    .countdown-timer p {
      font-size: 0.8em;
    }
  
    #countdown h2 {
      font-size: 1.4em;
    }
  }
  
  /* Party Popper Animation */
  .popper {
    position: absolute;
    top: 20px;
    font-size: 2.5rem;
    animation: popper-pop 0.8s ease-out forwards;
    opacity: 0;
  }
  
  .left-popper {
    left: 20px;
    animation-delay: 0.3s;
  }
  
  .right-popper {
    right: 20px;
    animation-delay: 0.6s;
  }
  
  @keyframes popper-pop {
    0% {
      transform: scale(0.5) rotate(-20deg);
      opacity: 0;
    }
    50% {
      transform: scale(1.3) rotate(15deg);
      opacity: 1;
    }
    100% {
      transform: scale(1) rotate(0deg);
      opacity: 1;
    }
  }
  


  #back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
  }
  
  .back-to-top-btn {
    display: inline-block;
    background: linear-gradient(90deg, #00796b, rgb(156, 231, 160));
    color: white;
    font-size: 24px;
    padding: 10px 16px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(14, 175, 81, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  
 .floating-banner {
  position: fixed;
  bottom: 20px;
  width: 100%;
  overflow: hidden;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.floating-banner p {
  display: inline-block;
  white-space: nowrap;
  font: bold 16px/1 sans-serif;
  color: #fff;
  background: #e63946;
  padding: 10px 25px;
  border-radius: 30px;
  animation: slideText 15s linear forwards, fadeOut 0s ease 15s forwards;
}

/* Slide right to left */
@keyframes slideText {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Disappear after slide */
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Mobile responsive */
@media (max-width: 600px) {
  .floating-banner p {
    font-size: 14px;
    padding: 8px 20px;
  }
}
