@import 'variable.css';
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    /* font-family: 'Bangla', Arial, sans-serif !important; */
    font-family: 'Noto Sans Bengali', sans-serif;
    background-color: var(--primary-bg-color);
}
.wrapper{
    width: 98%;
    margin: 0 auto;
    background-color: var(--wrapper-bg-color);
    min-height: 100vh;
    height: auto;
    border-radius: 10px;
    padding-top: 2px;
    position: relative;
}
.container{
    width: 93%;
    margin: 0 auto;
}
.top-bar{
    width: 100%;
    background-color: var(--secondary-bg-color);
    padding: 12px 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 7px;
    flex-wrap: wrap;
}
.update-news{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.update-news .title{
    background-color: var(--primary-bg-color);
    color: var(--primary-text-color);
    font-size: 11pt;
    padding: 5px 8px;
    border-radius: 5px;
    margin-right: 10px;
    position: relative;
}
.update-news .title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -18px; /* Adjust this value based on arrow size */
    transform: translateY(-50%);
    border-width: 12px;
    border-style: solid;
    border-color: transparent transparent transparent rgb(9, 121, 74); /* Creates a right arrow */
}
.update-news .news{
    font-size: 12pt;
}
.update-news .news::after {
    position: absolute;
    width: 100%;
    animation: slideUp 0.6s ease-out;
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.college-regi-info{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    font-size: 12pt;
    color: rgb(87, 89, 90);
}
.college-regi-info span{
    font-weight: bold;
}

.social-icon i {
    font-size: 20px;
    transition: all 0.3s ease-in-out;
}
.social-icon i.whatsapp{
    color: #25D366;
}
.social-icon i.whatsapp:hover{
    color: #1EBE5D;
}
.social-icon i.facebook{
    color: #1877F2;
}
.social-icon i.facebook:hover{
    color: #165EBD;
}
.social-icon i.youtube{
    color: #FF0000;
}
.social-icon i.youtube:hover{
    color: #CC0000;
}

.slider-container {
    margin-top: 10px;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 7px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 7px;
}

.indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #4dbd6f;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #058139;
}

.text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 15px;
    border-radius: 10px;
}

.text .title {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}

.text .subtitle {
    font-size: 18px;
    margin-top: 10px;
}

/* Fade-in animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Next and Previous buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .college-regi-info{
        width: 97%;
        margin-top: 10px;
    }
}

.main-content{
    margin-top: 10px;
    background-color: var(--secondary-bg-color);
    border-radius: 5px;
    padding: 0px 0px 20px 0px;
    width: 100%;
}


.d-flex{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.left-content {
  flex: 0 0 65%; /* 65% width */
}
.right-content {
  flex: 0 0 33%; /* 33% width */
}
.section{
  padding: 15px;
}
.about{
  position: relative;
}
.about img{
    width: 60%;
    padding: 10px;
    border-radius: 15px;
}
.about .about-college{
    background-color: #ebf0ed;
    width: 400px;
    min-height: 100px;
    height: auto;
    position: absolute;
    top: 20%;
    left: 400px;
    opacity: 0.9;
    border-radius: 5px;
    padding: 20px;
}

.about .about-college h4 span, .about-us .about-college h4 span{
    border-bottom: 3px solid darkred;
}
.about .about-college p, .about-us .about-college p{
    padding: 10px 0px 10px 0px;
    text-align: justify;
    font-size: 14px;
    line-height: 1.5rem;
}
.about-us{
  width: 100%;
}
.about-us img{
  width: 100%;
  padding: 10px;
  border-radius: 15px;
}
.about-us .about-college{
  padding: 15px;
}

@media (max-width: 1310px) {
    .left-content,
    .right-content {
      flex: 1 1 100%; /* Full width on small screens */
    }
    .about{
      width: 100%;
    }
    .about img{
      width: 100%;
      padding: 10px;
      border-radius: 15px;
    }
    .about .about-college{
      background-color: unset;
      position: unset;
      width: 100%;
      color: #000;
      font-weight: 500;
    }
    .important-links{
      width: 100%;
    }
}
/* .section{
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.section-left{
    width: 70%;
}
.section-one .section-left{
    position: relative;
}
.section-one .section-left img{
    width: 60%;
    padding: 10px;
    border-radius: 15px;
}
.section-one .section-left .about-college{
    background-color: #ebf0ed;
    width: 400px;
    min-height: 100px;
    height: auto;
    position: absolute;
    top: 20%;
    left: 400px;
    opacity: 0.9;
    border-radius: 5px;
    padding: 20px;
}
.section-one .section-left .about-college h4{
    
    
}
.section-one .section-left .about-college h4 span{
    border-bottom: 3px solid darkred;
}
.section-one .section-left .about-college p{
    padding: 10px 0px 10px 0px;
    text-align: justify;
    font-size: 14px;
    line-height: 1.5rem;
} */
.btn{
    background: var(--primary-bg-color);
    color: var(--primary-text-color);
    border-radius: 7px;
    padding: 7px 15px;
    border: none;
    outline: none;
    cursor: pointer;
}
.btn:hover{
    background: var(--primary-bg-hover-color);
}
.section-right{
    width: 30%;
}

.notice-board {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 350px;
}

  .notice-board h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
  }

  .notice-board h2::before {
    content: "📢";
    position: absolute;
    left: 28%;
    top: -7px;
    transform: translateX(-50%);
    font-size: 24px;
  }

  .notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
  }

  .notice span {
    display: flex;
    align-items: center;
    font-size: 14px;
  }

  .notice span::before {
    content: "❗";
    color: red;
    margin-right: 16px;
  }

  .btn {
    background: #1fc77e;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
  }

  .more-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    background: #1fc77e;
    text-align: center;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
  }

  
  .director-section {
    max-width: 1000px;
    margin: 10px auto;
  }

  .section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
  }

  .director-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-academic{
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    width: 300px;
    text-align: center;
  }

  .card-content p{
    
  }
  .card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
  }

  .quote {
    font-style: italic;
    color: #333;
    position: relative;
  }

  .quote::before,
  .quote::after {
    content: "“";
    font-size: 24px;
    color: #1fc77e;
    position: absolute;
  }

  .quote::after {
    content: "”";
    position: static;
  }

  .name {
    margin-top: 15px;
    font-weight: bold;
    font-size: 16px;
  }

  .position {
    font-size: 14px;
    color: #888;
  }

  .important-links {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    /* width: 350px; */
  }

  .important-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
  }

  .important-links h3::before {
    content: "📑";
    margin-right: 5px;
  }

  .link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .link-item span::before {
    content: "🔗";
    margin-right: 6px;
    color: #d9534f;
  }

  .btn-link {
    background: #1fc77e;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
  }

  /* স্লাইডার স্টাইল */
  .s-slider-container, .s-video-gallary {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 350px;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
  }

  .slider2 {
    position: relative;
    width: 314px;
    height: 240px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .slider2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
  }

  .slider2 img.active {
    display: block;
  }

  .slider2 button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* prevents clicking when hidden */
  }

  .slider2:hover button {
    opacity: 1;
    pointer-events: auto;
  }

  .slider2 .prev {
    left: 10px;
  }

  .slider2 .next {
    right: 10px;
  }

  .thumbnail {
    position: relative;
    width: 320px;
    cursor: pointer;
  }

  .thumbnail img {
    width: 100%;
    border-radius: 8px;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    pointer-events: none;
  }

  .popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
  }

  .popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
  }

  .popup iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
  }

  .close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  .academic {
    background: #fff;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .academic h2 {
    text-align: center;
    color: #2b5797;
    margin-bottom: 1.5rem;
  }

  .academic h3 {
    color: #444;
    margin-bottom: 0.5rem;
  }

  .academic ul {
    list-style: square;
    margin-left: 1.5rem;
  }

  .academic a {
    display: inline-block;
    background: #2b5797;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 0.5rem;
  }

  .academic a:hover {
    background: #1e3e6f;
  }

  .card {
    background: #fff;
    width: 350px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: 0.3s ease-in-out;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  .card-header {
    background: #4ba75b;
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .card-header i {
    font-size: 1.8rem;
  }

  .card-header span {
    font-size: 1.1rem;
    font-weight: 500;
  }

  .card-content {
    padding: 0.5rem 1rem;
    text-align: left;
    min-height: 155px;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #2c3e50;
    text-align: center;
  }

  .program-category {
    font-size: 1.2rem;
    color: #3b3939;
    margin-bottom: 0.5rem;
  }

  .badge {
    display: inline-block;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 12px;
    margin-right: 8px;
    margin-bottom: 10px;
    color: #fff;
  }

  .subcategory {
    background: #082e87;
  }

  .card-footer {
    padding: 1rem 1.5rem;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .card-footer a {
    text-decoration: none;
    color: #0077cc;
    font-weight: 600;
  }

  .card-footer .date {
    font-size: 0.8rem;
    color: #666;
  }

  .carousel-container{
    width: 100%;
    padding: 5px 15px;
  }

  .carousel-container h2{
    text-align: center;
    font-size: 1.3rem;
    color: #142534;
  }

  .carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
  }
  
  .teacher-card {
    flex: 0 0 25.3333%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
  }
  
  .teacher-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .teacher-card h3 {
    margin: 10px 0 5px;
    color: #363633;
  }
  
  .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: #514e6e;
    border: none;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
  }
  
  .nav.left {
    left: 0;
  }
  
  .nav.right {
    right: 0;
  }
  
  .carousel-container .dots {
    margin-top: 10px;
    text-align: center;
  }
  
  .carousel-container .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .carousel-container .dot.active {
    background-color: #f44336;
  }



  .footer {
    background-color: #165974;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 50px;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
  }

  .footer-map {
    flex: 1 1 300px;
  }

  .footer-map iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
  }

  .footer h2,
  .footer h3 {
    color: #fcfbff;
    margin-bottom: 15px;
  }

  .footer h2{
    font-size: 1.5rem;
  }

  .footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
  }

  .footer-about{
    min-width: 281px;
  }

  .footer-links{
    min-width: 140px;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
  }

  .footer-links ul li {
    margin: 8px 0;
  }

  .footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-links ul li a:hover {
    color: #fff;
  }

  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
  }

  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }

    .footer-about, .footer-links, .footer-contact {
      margin-bottom: 20px;
    }
  }

/* Staff Style */

.section-title {
  text-align: center;
  font-size: 28px;
  padding-top: 10px;
  margin-bottom: 30px;
  color: var(--primary-bg-color);
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.teacher-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-bg-color);
    margin-bottom: 15px;
}

.teacher-card h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 5px;
}

.teacher-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.viewer-title {
    display: block !important;
    opacity: 1 !important;
    color: white; 
    font-size: 24px !important;
    background: rgba(31, 37, 37, 0.432);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Pagination */

.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

.pagination {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px;
}

.pagination li a {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    color: var(--primary-bg-color);
    border: 1px solid var(--primary-bg-color);
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.pagination li a:hover,
.pagination li a.active {
    background: var(--primary-bg-hover-color);
    color: #fff;
}

/* Contact */
.contact-title{
  color: var(--primary-bg-color);
  text-align: center;
}
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    /* border: 2px solid #ddd; */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-container {
    max-width: 700px;
    margin: auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-bg-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--primary-bg-color);
    font-size: 15px;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-bg-hover-color);
    box-shadow: 0 0 0 3px var(--primary-bg-color);
}

.submit-btn {
    background-color: var(--primary-bg-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-bg-hover-color);
}