/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */
/* .nunito-text {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
} */

body {
  font-family: "Nunito", sans-serif;
}


/* important */
.main-wrapper {
  overflow-x: hidden;
}

/* Sticky Topbar and Navbar */
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030; /* Make sure it's above other content */
}

.bg-navtop {
  /* background-color: #FFEEDE; */
  background-color: #EEF0FA;
  color: black;
  position: relative;
  /* z-index: 1030; */
}


.ntcpwc-nav {
  position: relative;
  background-color: #2F3985;
  font-family: 'Roboto', sans-serif;
  /* z-index: 1040; */
  margin-bottom: 0px;
 margin-top: 0 !important;
  padding-top: 0 !important;

}
.navbar-nav .nav-link {
  white-space: nowrap;
}

        .nav-item {
          display: inline;
            margin: 0 2px;
            position: relative;
        }
        .nav-link {
            color: white !important;
            font-weight: 600;
            text-transform: capitalize;
            padding: 12px 0;
            /* border-radius: 25px; */
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
            z-index: -1;
        }

        .nav-link:hover::before {
            left: 100%;
        }

        .nav-link:hover {
            color: white !important;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .nav-link.active {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white !important;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid #ff6b6b;
        }



.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='red' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler[aria-expanded="true"] {
  box-shadow: 0 0 0 0.25rem rgba(240, 18, 18, 0.783); /* Red focus ring */
  border-color: #FF3514 !important; /* Border on toggle open */
}

/* .ntcpwc-nav .nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  animation: fadeInDown 0.5s ease-in-out;
} */
 @media (max-width: 991.98px) {
  .dropdown-menu {
    position: absolute !important;
    top: 100%; /* Position below the toggle link */
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: #fff; /* solid background */
  }

  .nav-item {
    position: relative; /* Ensure absolute dropdown is relative to this */
  }
}


/* Sticky Effect */


/* ! header end */

/* pulsatind circle */
/* .pulsating-circle {
  position: relative;
  width: 10px;
  height: 10px;
  margin-left: 5px;
}

.pulsating-circle::before {
  content: '';
  position: absolute;
  width: 300%;
  height: 300%;
  left: -100%;
  top: -100%;
  background-color: red;
  border-radius: 50%;
  animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulsating-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: red;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.33);
    opacity: 1;
  }
  80%, 100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
}

.live {
  border-radius: 10px;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
} */

  /* pulsatind circle end*/

/* ! header end */

/* main */



/* Button Styling */
.btn-ntcpwc1 {
  background-color: #2F3985;
  color: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-ntcpwc1:hover{
  background-color: #fff;
  color: #2F3985;
  border-color: #2F3985;
  transform: scale(1.05);
}
.btn-ntcpwc1:hover .about-us{
    background-color: #25D366;
}

/* ! footer */
.bg-sky-blue{ background: #f1fbff; }
.logo-footer { width: 120px; }

/* ! footor nav */
.copyright-wrap{
    margin-top: 70px;
    color: #FFF;
    font-size: 0.75rem;
}
.copyright-wrap a,
.copyright-links a:hover{
    color: #adb1d3;
}
.copyright-wrap span{
    padding: 0 9px;
}
.copyright-links a{
    color: #FFF;
}

.wide-tb-30{ padding-top: 30px; padding-bottom: 30px; }

/* footer nav end */


/* Font Weight = fw */
/* .fw-3{ font-weight: 300; }
.fw-4{ font-weight: 400; }
.fw-5{ font-weight: 500; }
.fw-6{ font-weight: 600; }
.fw-7{ font-weight: 700;font-size: large; color: red;} */
.txt-blue{
  color: #2F3985;
}

.dropdown-item:hover{
  background-color: #274796;
  color: white;
}
/* ! facilities */
/* Card Container */
.container .card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 70vh;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

       .container .card:hover .gradient-overlay {
            opacity: 1;
        }

        .container .card:hover .product-image {
            transform: scale(1.1);
        }

        .container .card:hover {
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            transform: translateY(-5px);
        }

        .container .card:hover .product-title {
            color: red;
        }
        .container .card:hover .accent-line {
            width: 100%;
        }
        .container .card:hover .corner-decoration {
            opacity: 1;
        }


/* Slide Base Styles */
.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: 0.6s ease;
  top: 0;
  left: 0;
  /* padding: 20px; */
  box-sizing: border-box;
}

/* Slide 1 */
.slide1 {
  position: relative;
  /* background-color: #2F3985; */
  /* color: #fff; */
  overflow: hidden;
  /* transition: background-color 0.3s ease; */
  z-index: 1;
}

.slide1::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: #2c73df; */
  /* background-color: #274796; */
  /* transition: top 0.5s ease; */
  z-index: 0;
}

.slide1:hover::before,
.slide1.readmore-hover::before {
  top: 0;
}

.slide1 .f-content {
  position: relative;
  z-index: 2;
}

/* Slide 2 */
.slide2 {
  background: #fff;
  transform: translateY(100%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 20px;
}

.slide2 .f-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Activate Card Slide */
.card.active .slide1 {
  transform: translateY(-100%);
}

.card.active .slide2 {
  transform: translateY(0);
}

/* Image inside icon */
.icon img {
  width: 100%;
  height: 100%;
  object-fit: fit;
  border-radius: 6px;
}


* {
  scrollbar-width: thin;              /* auto | thin | none */
  scrollbar-color:  #f1f1f1;   /* thumb color | track color */
}
/* Scrollable Content */
.scroll-content {
  flex-grow: 1;
  overflow-y: auto;
  background: #f5f5f5;
  padding: 10px;
  border-radius: 6px;
  margin: 10px 0;
  min-height: 0; /* IMPORTANT for scrolling */
}

/* Read More Button */
.read-more-btn {
  margin-top: 5px;
  padding: 10px 20px;
  background-color: #fff;
  color: #2c73df;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  /* background-color: #2c73df; */
  background-color: #fff;
  color: #2F3985;
}

/* .read-more-bt {
  margin-top: 5px;
  padding: 10px 20px;
  background-color: #fff;
  color: #2c73df;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.read-more-bt:hover {
  background-color: #2c73df;
  color: #fff;
} */

/* Icon bar */
.icon-bar {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.icon-bar i {
  font-size: 24px;
  margin: 5px 15px;
  cursor: pointer;
  color: #2c73df;
  transition: 0.3s;
}

.icon-bar i:hover {
  color: #0d47a1;
}


.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}


@media (min-width: 768px) {
  .modal-xl {
    max-width: 95vw;
  }

  #imageModal .modal-content,
  #videoModal .modal-content {
    height: 80vh;
    overflow: hidden;
  }

  #imageModal .modal-body,
  #videoModal .modal-body {
    height: 100%;
  }

  #imageCarousel .carousel-inner,
  #imageCarousel .carousel-item,
  #imageCarousel img {
    height: 100%;
    object-fit: contain;
    width: 100%;
    padding-bottom: 20px; 
  }

#videoPlayer {
  width: 100%;
  max-width: 100%;
  max-height: 80vh;         /* Ensures video fits vertically on all screens */
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}


}
/* mobile screen */
@media (max-width: 767.98px) {
  .modal-xl {
    max-width: 100vw;
    margin: 0;
  }

  #imageModal .modal-content,
  #videoModal .modal-content {
    height: 90vh;
    overflow: hidden;
    border-radius: 0;
  }

  #imageModal .modal-body,
  #videoModal .modal-body {
    height: 100%;
    padding: 0;
  }

  #imageCarousel .carousel-inner,
  #imageCarousel .carousel-item,
  #imageCarousel img {
    height: 100%;
    object-fit: contain;
    width: 100%;
    padding-bottom: 10px;
  }

#videoPlayer {
  width: 100%;
  max-width: 100%;
  max-height: 80vh;         /* Ensures video fits vertically on all screens */
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: 10px auto;
}

}


/* ! Facilities end */

/* ! Research And Developement start */

/* Maritime Theme Styles */
.maritime-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.maritime-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
}

.ship-image-wrapper {
    position: relative;
    height: 224px;
    overflow: hidden;
}

.vessel-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.7s ease;
}

.maritime-card:hover .vessel-photo {
    transform: scale(1.1);
}

.port-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maritime-card:hover .port-overlay {
    opacity: 1;
}

.cargo-content {
    position: relative;
    padding: 1.5rem;
}

.navigation-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #274796;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
.navigation-title1 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #274796;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.maritime-card:hover .navigation-title {
    /* color: #ED9C27; */
    color: #FF3514;
}

.berthing-subtitle {
    /* color: #ED9C27; */
    color: #FF3514;
    font-weight: bold;
}

.dock-line {
    height: 2px;
    /* background-color: #ED9C27; */
    background-color: #FF3514;
    width: 0;
    transition: width 0.3s ease;
}

.maritime-card:hover .dock-line {
    width: 100%;
}

.harbor-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 64px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maritime-card:hover .harbor-decoration {
    opacity: 1;
}

.harbor-decoration::before,
.harbor-decoration::after {
    content: '';
    position: absolute;
    /* background-color: #ED9C27; */
    background-color: #FF3514;
}

.harbor-decoration::before {
    top: 0;
    right: 0;
    width: 2px;
    height: 32px;
}

.harbor-decoration::after {
    top: 0;
    right: 0;
    width: 32px;
    height: 2px;
}

/* Read More Section Styles */
.read-more-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    /* opacity: 0.7; */
    transition: opacity 0.3s ease;
    margin-top: 1rem;
    color: #274796;
}

.maritime-card:hover .read-more-section {
    opacity: 1;
    /* color: #ED9C27; */
    color: #FF3514;
}

.read-more-text {
    font-size: 0.9rem;
    font-weight: 600;
    align-content: end;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.maritime-card:hover .arrow-icon {
    transform: translateX(4px);
}

/* end */

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-container {
    position: relative;
    height: 40%; /* Takes 40% of card height */
    min-height: 200px;
    max-height: 280px;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-image {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.7s ease;
}

.cd-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This ensures image covers full container */
    transition: transform 0.7s ease;
}

.blog-card:hover .cd-img {
    transform: scale(1.05);
}

.content-card {
    position: relative;
    margin: 0px 16px 16px 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0; /* Important for flexbox */
}

.title {
    font-size: 15px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 5px;
    line-height: 1.3;
}

.accent-line {
    width: 64px;
    height: 4px;
    background: red;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.blog-card:hover .accent-line {
    width: 96px;
}

.description {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Increased to show more text */
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1; /* Takes available space */
}

.cta-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto; /* Pushes button to bottom */
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #274796;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex-shrink: 0; /* Prevents button from shrinking */
}

.cta-button:hover {
    background: red;
    transform: translateY(-2px);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Remove the image-placeholder styles since you're using real images */
.image-placeholder {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* background-color: #0d47a1; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding: 5px;
}

@media (max-width: 768px) {
    .blog-card {
        max-height: 85vh; /* Slightly more height on mobile */
    }
    
    .image-container {
        height: 35%;
        min-height: 180px;
        max-height: 220px;
    }
    
    .content-card {
        margin: -40px 12px 12px 12px;
        padding: 20px;
    }
    
    .title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .description {
        -webkit-line-clamp: 3;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .blog-card {
        max-height: 90vh;
    }
    
    .image-container {
        height: 30%;
        min-height: 160px;
    }
    
    .content-card {
        margin: -30px 12px 12px 12px;
        padding: 16px;
    }
    
    .title {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 10px 14px;
        font-size: 14px;
    }
}
/* ! products */
        .product-wrapper {
            opacity: 1;
            transform: none;
            max-width: 400px;
            width: 100%;
        }

        .product-link {
            display: block;
            height: 100%;
            text-decoration: none;
        }

        .product-card {
            position: relative;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            height: 400px;
            cursor: pointer;
            transition: all 0.3s ease;
            group: true;
        }

        .product-card:hover {
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            transform: translateY(-5px);
        }

        .image-container {
            position: relative;
            height: 224px;
            overflow: hidden;
        }

        .product-image {
            width: 100%;
            height: 100%;
            object-fit: fill;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;

            transition: transform 0.7s ease;
            /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
            background-color: #0d47a1;
            padding: 0%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            font-weight: 600;

        }

        .product-card:hover .product-image {
            transform: scale(1.1);
        }

        .gradient-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .product-card:hover .gradient-overlay {
            opacity: 1;
        }

        .content {
            position: relative;
            padding: 24px;
        }

        .product-title {
            font-size: 20px;
            font-weight: bold;
            color: #274796;
            margin-bottom: 16px;
            transition: color 0.3s ease;
            line-height: 1.3;
        }

        .product-card:hover .product-title {
            color: red;
        }

        .product-subtitle {
            color: red;
            font-weight: bold;
            margin-bottom: 12px;
            text-align: start;
        }

        .accent-line {
            height: 2px;
            background: red;
            width: 0;
            transition: all 0.3s ease;
        }

        .product-card:hover .accent-line {
            width: 100%;
        }

        .corner-decoration {
            position: absolute;
            top: 0;
            right: 0;
            width: 64px;
            height: 64px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .product-card:hover .corner-decoration {
            opacity: 1;
        }

        .corner-lines {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
        }

        .vertical-line {
            position: absolute;
            top: 0;
            right: 0;
            width: 2px;
            height: 32px;
            background: red;
        }

        .horizontal-line {
            position: absolute;
            top: 0;
            right: 0;
            width: 32px;
            height: 2px;
            background: red;
        }


        sup {
            font-size: 12px;
            vertical-align: super;
        }

        @media (max-width: 768px) {
            .product-card {
                margin: 10px;
                height: 400px;
            }
            
            .content {
                padding: 20px;
            }
            
            .product-title {
                font-size: 18px;
            }
            
            .image-container {
                height: 200px;
            }
        }

        @media (max-width: 480px) {
          .product-card{
            height: 300px;
          }
            .content {
                padding: 16px;
            }
            
            .product-title {
                font-size: 16px;
                margin-bottom: 12px;
            }
            
            .image-container {
                height: 180px;
            }
        }
.text-hover-navy{
  border: none;
}
        .text-hover-navy:hover {
  color: #2F3985 !important; /* navy shade you mentioned earlier */
  border: none 
}
.product-subtitle:hover .arrow-icon {
    transform: translateX(4px);
}


/* ! Training and Education */
.te-btn:hover{
    color: #FF3514;
}
.te-btn :first-child:hover{
    color: #FF3514;
}
.te-btn:hover .arrow-icon {
    color: #FF3514;
    transform: translateX(4px);
}
        .custom-card {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            background: white;
            height: 100%;
        }

        .custom-card::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 5px;
            /* background: linear-gradient(90deg, #007bff, #0056b3, #007bff); */
            background-color: #2F3985;
            transform: scaleX(0);
            transition: transform 0.3s ease;
            z-index: 1;
        }

        .custom-card:hover::before {
            transform: scaleX(1);
        }

        .custom-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }

        .card-img-top {
            height: 200px;
            object-fit: fill;
            transition: transform 0.6s ease;
            position: relative;
        }

        .custom-card:hover .card-img-top {
            transform: scale(1.1);
        }

        .custom-card .card-body {
            padding: 30px 25px;
            position: relative;
            z-index: 2;
        }

        .card-title {
            font-size: 18px;
            font-weight: 700;
            /* color: #2c3e50; */
            color: #2F3985;
            margin-bottom: 15px;
            line-height: 1.3;
            transition: color 0.3s ease;
            position: relative;
        }

        .custom-card:hover .card-title {
            color: red;
        }

        .card-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 3px;
            /* background: linear-gradient(90deg, #007bff, #0056b3); */
            /* background-color: #0056b3; */
            background-color: #2F3985;
            transition: width 0.4s ease;
            border-radius: 2px;
        }

        .custom-card:hover .card-title::after {
            width: 50px;
        }

        .card-text {
            color: #6c757d;
            line-height: 1.6;
            margin-bottom: 25px;
            font-size: 15px;
        }

        .btn-outline-primary {
            border: 2px solid red;
            color: red;
            font-weight: 600;
            padding: 12px 20px;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .btn-outline-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            /* background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); */
            background-color: #2F3985;
            transition: left 0.3s ease;
            z-index: -1;
        }

        .btn-outline-primary:hover::before {
            left: 0;
        }

        .btn-outline-primary:hover {
            color: white;
            /* border-color: #007bff; */
            border-color: #2F3985;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
        }

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* background: linear-gradient(135deg, rgba(0, 123, 255, 0.8) 0%, rgba(0, 86, 179, 0.8) 100%); */
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
        }

        .custom-card:hover .image-overlay {
            opacity: 1;
        }

        .overlay-icon {
            color: white;
            font-size: 48px;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .custom-card:hover .overlay-icon {
            transform: scale(1);
        }

        .card-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 8px 16px;
            border-radius: 25px;
            border: 1px solid #0056b3;
            font-size: 12px;
            font-weight: 700;
            color: #0056b3;
            z-index: 2;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .custom-card:hover .card-badge {
            opacity: 1;
            transform: translateY(0);
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
            color: white;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #fff, #e3f2fd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Image placeholders for demo */
        .img-placeholder {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            font-weight: 600;
            text-align: center;
            padding: 0%;
        }

        @media (max-width: 768px) {
            .card-title {
                font-size: 16px;
            }
            
            .card-img-top {
                height: 200px;
            }
            
            .custom-card .card-body {
                padding: 25px 20px;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 576px) {
            .custom-card .card-body {
                padding: 20px 18px;
            }
            .btn-outline-primary {
                padding: 10px 18px;
                font-size: 14px;
            }
        }


        /* ! foorer
        .bg-sky-blue {
            background: linear-gradient(135deg, var(--sky-blue) 0%, var(--secondary-color) 100%);
            position: relative;
            overflow: hidden;
        }

        .bg-sky-blue::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.5;
        }

        .footer-content {
            position: relative;
            z-index: 2;
        }

        /* Logo Animation */
        .logo-footer {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .logo-footer:hover {
            transform: translateY(-5px);
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
        }

        .logo-footer img {
            transition: all 0.4s ease;
            border-radius: 12px;
        }

        .logo-footer:hover img {
            transform: scale(1.05);
        }

        /* Partner logos hover effect */
        .logo-footer a[href*="iitm"]:hover img,
        .logo-footer a[href*="sagarmala"]:hover img {
            transform: scale(1.1) rotate(2deg);
            filter: brightness(1.1);
        }

        /* Footer Headings */
        .footer-heading {
            color: #2F3985;
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 1px;
            position: relative;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), transparent);
            border-radius: 2px;
            transition: width 0.4s ease;
        }

        .footer-heading:hover::after {
            width: 80px;
        }

        /* Modern Menu Styling */
        .footer-widget-menu {
            margin-top: 1rem;
        }

        .footer-widget-menu ul {
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

        .footer-widget-menu li {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            transition: all 0.3s ease;
         
        }

        .footer-widget-menu li::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.6s ease;
            z-index: 1;
        }

        .footer-widget-menu li:hover::before {
            left: 100%;
        }

        .footer-widget-menu a {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 400;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 2;
            backdrop-filter: blur(10px);
            padding-bottom: 2px;
        }

        .footer-widget-menu a:hover {
            transform: translateX(8px) translateY(-2px);
            /* background: rgba(255, 53, 20, 0.15);
            border-color: rgba(255, 53, 20, 0.4); */
            color: #2F3985;
            /* box-shadow: 0 8px 25px rgba(255, 53, 20, 0.2); */
        }

        .footer-widget-menu a i {
            margin-right: 12px;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 53, 20, 0.2);
            border-radius: 6px;
            transition: all 0.4s ease;
            font-size: 0.7rem;
            color: red;
        }

        .footer-widget-menu a:hover i {
            background: var(--primary-color);
            color: #2F3985;
            transform: rotate(90deg) scale(1.2);
            box-shadow: 0 4px 12px rgba(255, 53, 20, 0.4);
        }

        .footer-widget-menu a span {
            transition: all 0.3s ease;
        }

        .footer-widget-menu a:hover span {
            font-weight: 500;
        }

        /* Contact Section Styling */
        .footer-widget-contact {
            margin-top: 1rem;
        }

        .footer-widget-contact .media {
            display: flex;
            align-items: flex-start;
            padding: 16px;
            margin-bottom: 12px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
        }

        .footer-widget-contact .media:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 53, 20, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .footer-widget-contact .media i {
            color: var(--primary-color);
            font-size: 1.2rem;
            margin-right: 16px;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 53, 20, 0.15);
            border-radius: 8px;
            transition: all 0.4s ease;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .footer-widget-contact .media:hover i {
            background: var(--primary-color);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(255, 53, 20, 0.3);
        }

        .footer-widget-contact .media-body {
            color: var(--text-light);
            line-height: 1;
        }

        .footer-widget-contact .media-body a {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-widget-contact .media-body a:hover {
            color: var(--primary-color);
        }

        /* Social Icons */
        .social-icons {
            display: flex;
            gap: 12px;
            margin-top: 0px;
        }

        .social-icons a {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            /* color: #2F3985; */
            color: #FF3514;
            text-decoration: none;
            border-radius: 12px;
            font-size: 1.1rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .social-icons a:hover {
            transform: translateY(-5px) scale(1.1);
            background: var(--primary-color);
            border-color: var(--primary-color);
            box-shadow: 0 10px 25px rgba(255, 53, 20, 0.3);
            color: white;
        }

        .social-icons a:nth-child(1):hover { background: #000000; }
        .social-icons a:nth-child(2):hover { background: #0077B5; }
        .social-icons a:nth-child(3):hover { background: #25D366; }
        .social-icons a:nth-child(4):hover { background: #dd4b39; }

        /* Copyright Section */

        /* augmentation start */
        .innovation-header {
            text-align: center;
            margin: 30px 0;
        }

        .innovation-header h1 {
            font-size: 2.2rem;
            font-weight: bold;
            /* color: #2c3e50; */
            margin-bottom: 0;
        }

        .innovation-header h2 {
            font-size: 1.8rem;
            /* color: #34495e; */
            margin-top: 5px;
        }

        .lab-card {
            border-radius: 10px;
            padding: 12px;
            text-align: center;
            color: white;
            font-weight: bold;
            position: relative;
            margin-bottom: 40px;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .lab-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .lab-card i {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .lab-card h4 {
            font-size: 1.1rem;
            margin: 0;
            line-height: 1.3;
        }

        .smart-modelling { background: linear-gradient(135deg, #e74c3c, #c0392b); }
        .coe-dredging { background: linear-gradient(135deg, #e67e22, #d35400); }
        .climate-change { background: linear-gradient(135deg, #f39c12, #e67e22); }
        .data-center { background: linear-gradient(135deg, #f1c40f, #f39c12); }
        .marine-robotics { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }
        .marine-info { background: linear-gradient(135deg, #7f8c8d, #95a5a6); }

        .arrow-down {
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-top: 20px solid #6c757d;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-10px); }
            60% { transform: translateX(-50%) translateY(-5px); }
        }

        .detail-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
            display: flex;
            flex-direction: column;
        }


        .detail-card:hover {
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transform: translateY(-2px);
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .detail-card:nth-child(1) { animation-delay: 0.1s; }
        .detail-card:nth-child(2) { animation-delay: 0.2s; }
        .detail-card:nth-child(3) { animation-delay: 0.3s; }
        .detail-card:nth-child(4) { animation-delay: 0.4s; }
        .detail-card:nth-child(5) { animation-delay: 0.5s; }
        .detail-card:nth-child(6) { animation-delay: 0.6s; }

        .detail-card h5 {
            /* color: #2c3e50; */
            font-weight: bold;
            margin-bottom: 15px;
            font-size: 1rem;
        }

        .detail-card p {
            color: #5a6c7d;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .key-focus-label {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 20px;
        }

        .section-divider {
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 768px) {
            .lab-card {
                margin-bottom: 30px;
            }
            
            .innovation-header h1 {
                font-size: 2rem;
            }
            
            .innovation-header h2 {
                font-size: 1.4rem;
            }
        }
        @media (min-width: 768px) {
            .lab-card {
            border-radius: 10px;
            padding: 12px;
            text-align: center;
            color: white;
            font-weight: bold;
            position: relative;
            margin-bottom: 40px;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: all 0.3s ease;
            cursor: pointer;
            height: 200px;
        }
            .detail-card {
            background: white;
            border-radius: 10px;
            padding: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
            display: flex;
            flex-direction: column;
            height: 500px;
        }
        }

        .pulse-animation {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .aug-img{
            width: 400px;
        }

        /* Staff List start*/
.staff-table {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.staff-table th,
.staff-table td {
  padding: 14px 20px;
  vertical-align: middle;
  font-size: 1rem;
}
.staff-table th{
    color: #2F3985;
}

.table-header th{
  background: #2F3985;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.staff-table tbody tr {
  transition: all 0.3s ease;
}

.staff-table tbody tr:hover {
  background-color: #f3f6fd;
  transform: scale(1.01);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.te-btn {
  all: unset; /* Removes all default button styles */
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  color: #fff;
  border: none;
  outline: none;
  transition: background-color 0.3s ease;
  position: absolute;
  right: 0px;
  bottom: 5px;
}


.te-btn:focus {
  outline: none;
  box-shadow: none;
}

.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  table-layout: auto;
  width: 100%;
  border-collapse: collapse;
}


/* Gallery */
.gallery-block h3 {
  font-size: 1.4rem;
  border-left: 4px solid #FF3514;
  padding-left: 10px;
}

.glightbox img {
  transition: transform 0.3s ease;
}
.glightbox:hover img {
  transform: scale(1.02);
}

.glightbox-container .gprev,
.glightbox-container .gnext,
.glightbox-container .gclose {
  z-index: 9999 !important;
  position: fixed !important;
}

/* Adjust size and position of prev/next buttons */
.glightbox-container .gprev,
.glightbox-container .gnext {
  top: 50% !important;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  /* Resize buttons for mobile */
  .glightbox-container .gprev,
  .glightbox-container .gnext,
  .glightbox-container .gclose {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }

  /* Position buttons safely inside screen */
  .glightbox-container .gprev {
    left: 10px !important;
  }

  .glightbox-container .gnext {
    right: 10px !important;
  }

  .glightbox-container .gclose {
    top: 10px !important;
    right: 10px !important;
  }

  /* Optional: ensure captions or thumbnails stay inside view */
  .glightbox-container .gdesc-inner,
  .glightbox-container .gslide-desc {
    max-width: 90vw;
    font-size: 14px;
  }
}

    .swiper-container {
      width: 100%;
      padding-bottom: 30px;
    }
    /* .swiper-slide img {
      width: 300px;
      height: 200px;
      object-fit: cover;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    } */
    .swiper-slide {
  display: flex;
  justify-content: center;
}
.swiper-slide img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/* accesbility */

/* Dark Mode Styles */
.dark-mode {
  background-color: #121212 !important;
  color: #f1f1f1 !important;
}

/* Change background for major sections */
.dark-mode .bg-navtop,
.dark-mode header,
.dark-mode section,
.dark-mode footer,
.dark-mode .container,
.dark-mode .modal-content,
.dark-mode .navbar,
.dark-mode .card,
.dark-mode .table ,
.dark-mode .copyright-wrap,
.dark-mode .contact-item,
.dark-mode .hero-bg,
.dark-mode .btn-nav-dark,
.dark-mode .slide2,
.dark-mode .scroll-content,
.dark-mode td,
.dark-mode .main-wrapper{
  background-color: #1e1e1e !important;
  color: #f1f1f1 !important;
}
.dark-mode .toggle-theame{
  color: red;
}
.dark-mode .pdf-row h6{
  color: #f1f1f1 !important;
}
/* Links inside dark mode */
body.dark-mode .dropdown-menu li a {
  color: #FF3514 !important;
  background-color: #1e1e1e;
}
body.dark-mode .dropdown-menu{
  background-color: #1e1e1e;
}

.dark-mode a {
  color: #80bfff !important;
}


/* Border or shadow adjustments */
.dark-mode .card,
.dark-mode .border,
.dark-mode .table {
  border-color: #444 !important;
}

/* Override Bootstrap bg-white etc. */
.dark-mode .bg-white {
  background-color: #2a2a2a !important;
}


/* alert */
.custom-alert {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff4757;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}


/* Main Panel */
.settings-panel {
  position: fixed;
  top: 49.5%;
  right: -200px; /* Hidden off-screen initially */
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 9999;
  transition: right 0.4s ease;
}

/* Slide in */
.settings-panel.open {
  right: 0;
}

/* Gear Toggle Button */
.settings-toggle {
  width: 40px;
  height: 40px;
  /* border-radius: 50% 0 0 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #dc3545;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
}

/* Animate on click */
.settings-toggle.clicked {
  transform: rotate(90deg) scaleX(1.2);
}

/* Settings panel content */
.settings-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
  background: #fff;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px;
}

.text-navy {
  color: #2F3985;
}

/* media */
.pdf-logo {
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
  border-radius: 100%;
}

  .pdf-row {
    border-left: 4px solid #ff3514;
    background-color: #fff;
  }

  .hover-shadow:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
  }

  .transition {
    transition: all 0.3s ease-in-out;
  }

  /* Dark Mode Support (if you're toggling .dark-mode on body) */
  body.dark-mode .pdf-row {
    background-color: #1f1f1f;
    border-left-color: #ff3514;
  }

  body.dark-mode .pdf-row h6 {
    color: #ffffff;
  }

  body.dark-mode .btn-outline-danger {
    color: #ff6a6a;
    border-color: #ff6a6a;
  }

  body.dark-mode .btn-outline-danger:hover {
    background-color: #ff6a6a;
    color: #fff;
  }


.pdf-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pdf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.text-navy {
  color: #2F3985;
}



.accessibility-controls .btn,
.language-select {
  transition: all 0.3s ease;
}

.font-buttons .font-btn {
  background-color: #fff;
  color: #2F3985;
  border: 1px solid #2F3985;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
}

.font-buttons .font-btn:hover {
  background-color: #2F3985;
  color: #fff;
  box-shadow: 0 0 8px rgba(47, 57, 133, 0.3);
  transform: scale(1.05);
}

.theme-toggle-btn {
  background: linear-gradient(145deg, #2F3985, #404bbf);
  border: none;
  color: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle-btn:hover {
  transform: rotate(20deg) scale(1.1);
  box-shadow: 0 0 12px rgba(47, 57, 133, 0.5);
}
.dark-mode .theme-toggle-btn:hover {
  background: linear-gradient(145deg, #404bbf, #2F3985);
}

.language-select {
  border: 1px solid #2F3985;
  color: #2F3985;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  min-width: 120px;
  background-color: #fff;
}

.language-select:hover,
.language-select:focus {
  border-color: #404bbf;
  box-shadow: 0 0 6px rgba(47, 57, 133, 0.3);
}

body.dark-theme {
  background-color: #121212;
  color: #eee;
}

body.dark-theme .font-btn {
  background-color: #1f1f1f;
  color: #eee;
  border-color: #555;
}

body.dark-theme .language-select {
  background-color: #1f1f1f;
  color: #eee;
  border-color: #555;
}

body.dark-theme .theme-toggle-btn {
  background: linear-gradient(145deg, #444, #666);
}

/* x  */
/* Main notification button styles */
.icon1{
            position: fixed;
          right: 0%;
          top: 54%;
}
.icon2{
          position: fixed;
          right: 0%;
          top: 62%;
}
@media(max-width:768px) {
  .icon2{
          position: fixed;
          right: 0%;
          top: 63%;
}
}
        .notification-btn{
            width: 40px;
  height: 40px;
  /* border-radius: 50% 0 0 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FF3514;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.3s ease;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
        }

        /* .notification-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
            opacity: 1;
            transition: opacity 0.3s ease;
            z-index: -1;
        } */

        /* .notification-btn:hover::before {
            opacity: 1;
        }

        .notification-btn:hover {
            width: 200px;
            padding: 0 24px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            transform: translateY(-50%) scale(1.05);
        }

        .notification-btn:active {
            transform: translateY(-50%) scale(0.95);
        } */
                /* Icon styles */
        .btn-icon {
            font-size: 20px;
            transition: transform 0.3s ease;
            min-width: 20px;
        }

        .notification-btn:hover .btn-icon {
            transform: rotate(15deg) scale(1.1);
        }

        /* label style */
                .btn-label {
            opacity: 0;
            transform: translateX(-20px);
            transition: all 0.3s ease;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .notification-btn:hover .btn-label {
            opacity: 1;
            transform: translateX(0);
        }
        .notification-btn:hover .notification-badge {
            opacity: 0;
        }

        /* Pulse animation */
        .pulse-glow {
            animation: pulseGlow 2s infinite;
        }

        @keyframes pulseGlow {
            0% {
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(102, 126, 234, 0.6);
            }
            70% {
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px 15px rgba(102, 126, 234, 0);
            }
            100% {
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(102, 126, 234, 0);
            }
        }

                /* Notification badge  */

              .notification-badge {
                position: absolute;
              }

        /* @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        } */

        /* x */

.twitter-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 90%;
  height: 100vh;
  background-color: #fff;
  z-index: 1050;
  transition: transform 0.4s ease;
  transform: translateX(100%);
  border-left: 1px solid #dee2e6;
  overflow-y: auto;
}
.twitter-panel.show {
  transform: translateX(0);
}


/* hover */
  .logo-icon {
    transition: transform 0.4s ease, color 0.4s ease;
    /* color: #2F3985; */
    /* font-size: 40px; */
  }

  .logo-icon:hover {
    transform: rotate(10deg) scale(1.1);
    /* color: #FF5E5E;   */
  }

    .navbar-brand{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .navbar-brand:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }

  /* translator */
  /* container is positioned absolutely above the icon */
/* Navbar allows overflow */


/* Dropdown is above everything */
.language-dropdown {
  z-index: 9999 !important; /* Must be higher than .ntcpwc-nav (1040) */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}


/* Button Styling */
.btn-language {
  border: 1px solid #2F3985;
  background: transparent;
  color: white;
  transition: all 0.3s ease;
}

.btn-language:hover {
  background-color: #2F3985;
  color: white;
  box-shadow: 0 0 8px rgba(47, 57, 133, 0.3);
}


/* 3D */
    #three-container {
      width: 100%;
      height: 400px;
      position: relative;
    }

    #three-container canvas {
      width: 100% !important;
      height: 100% !important;
      display: block;
    }

    /* translate */
    /* body.tamil-translated * {
  font-family: 'Noto Sans Tamil', sans-serif !important;
  font-size: 0.1em !important;
  line-height: 1.5;
  color: red;
} */


/* portal */
.accent-line1 {
    width: 30px;
    height: 2px;
    background: red;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.product-subtitle:hover .accent-line1 {
    width: 70px;
}
