/*
Theme Name: EduBangla
Theme URI: https://BizCript.com/
Author: BizCript
Author URI: https://BizCript.com
Description: EduBangla একটি আধুনিক, রেসপন্সিভ এবং প্রফেশনাল ওয়ার্ডপ্রেস থিম যা স্কুল, কলেজ ও অন্যান্য শিক্ষা প্রতিষ্ঠানের জন্য তৈরি। এটি Bootstrap 5 এবং Font Awesome ব্যবহার করে তৈরি, যার ফলে দ্রুত লোডিং, মোবাইল ফ্রেন্ডলি ডিজাইন এবং উন্নত ইউজার এক্সপেরিয়েন্স নিশ্চিত হয়। থিমটিতে বাংলা কনটেন্ট সাপোর্ট, কাস্টম পোস্ট টাইপ, নোটিশ, রেজাল্ট ও ইভেন্ট ম্যানেজমেন্ট ফিচার রয়েছে। এটি BizCript কর্তৃক তৈরি ও রক্ষণাবেক্ষণ করা হয়।
Version: 1.0
License: Split License (GPLv2 for PHP/JS, Proprietary for CSS/Design)
License URI: https://bizcript.com/license
Text Domain: bizcript-college-theme
Tags: education, college, school, bootstrap, responsive, clean design, multilingual, custom post type
*/


body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #f9f9f9;
    }
.top-bar {
    background: rgba(139, 0, 0, 0.92); /* dark maroon */
    backdrop-filter: blur(3px);
    color: white;
    font-size: 14px;
}


/* Responsive site title */
@media (max-width: 576px) {
    .main-header a.d-flex {
        flex-direction: row !important;  /* row রাখলাম, লোগো বাম, টেক্সট ডানে */
        align-items: center !important;
        justify-content: start;
        text-align: left;
    }

    .main-header img {
        height: 40px;  /* একটু ছোট করলাম */
        margin-right: 10px; /* লোগো আর টেক্সটের মাঝে স্পেস */
        margin-bottom: 0;
    }

    .main-header div {
        margin: 0;
    }

    .main-header h1 {
        font-size: 1rem;  /* মোবাইলে টাইটেল ছোট */
        white-space: normal;
        margin: 0;
        line-height: 1.1;
    }

    .main-header small {
        font-size: 0.65rem; /* ট্যাগলাইন আরও ছোট */
        color: #666;
        display: block;
        margin-top: 2px;
        line-height: 1.1;
    }
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600; /* or 700 for more bold */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #f8f9fa !important; /* light shade on hover/active */
}
.top-bar a:hover {
    color: #ffc107 !important; /* Optional: hover effect */
}

.navbar-custom {
    background-color: #023e8a;
}
.navbar-custom .nav-link {
    color: white;
}

@media (max-width: 768px) {
  #customCarousel .carousel-item .position-relative {
    height: 250px !important;
  }
}
@media (max-width: 480px) {
  #customCarousel .carousel-item .position-relative {
    height: 200px !important;
  }
}
.carousel-caption {
    background-color: rgba(0,0,0,0.5);
    padding: 10px;
}
section {
    padding: 40px 0;
}
.bg-section-white {
    background-color: #ffffff;
}
.bg-section-gray {
    background-color: #f0f0f0;
}

.event-card img {
    transition: transform 0.3s ease;
}
.event-card:hover img {
    transform: scale(1.05);
}
.event-info {
    backdrop-filter: blur(4px);
}

/* Add your other styles here or enqueue external CSS */
.category-link {
    display: flex;
    align-items: center;
    color: #343a40;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 5px 0;
}

.category-link i {
    margin-right: 8px;
    color: #007bff;
    transition: transform 0.3s ease;
}

.category-link:hover {
    color: #007bff;
    padding-left: 4px;
}

.category-link:hover i {
    transform: translateX(5px);
}

.gallery-thumb img {
    transition: transform 0.3s ease-in-out;
}
.gallery-thumb:hover img {
    transform: scale(1.05);
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.pagination li {
    margin: 0 2px;
}

.pagination li a,
.pagination li span {
    position: relative;
    display: block;
    padding: 0.375rem 0.75rem;
    color: #0d6efd;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.pagination li a:hover {
    background-color: #e9ecef;
}

.pagination li.active span {
    z-index: 1;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.pagination li.disabled span {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}


.footer {
    background-color: #001d3d;
    color: white;
}
.footer a {
    color: #ddd;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.copyright {
    background-color: #000814;
    padding: 10px;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffc107; /* Bootstrap warning color */
    padding-left: 5px;
}

/* কার্ড বেসিক স্টাইল */
.glitch-card {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #d0f0c0; /* subtle light green border */
  box-shadow: 0 2px 6px rgba(144, 238, 144, 0.3);
  transition: all 0.3s ease;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* হোভার এফেক্ট */
.glitch-card:hover {
  box-shadow: 0 6px 20px rgba(144, 238, 144, 0.6);
  transform: translateY(-5px);
}

/* হেডিং স্টাইল */
.glitch-card > h5 {
  color: #90EE90;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #90EE90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
}

/* UL লিস্টের মার্জিন */
.glitch-card ul {
  margin-bottom: 0;
}

/* লিস্ট আইটেম মার্জিন */
.glitch-card ul li {
  margin-bottom: 0.5rem;
}

/* আইকন স্টাইল */
.glitch-card ul li i {
  color: #90EE90;
  margin-right: 8px;
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

/* লিঙ্ক স্টাইল */
.glitch-card ul li a {
  color: #4b8f4b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* হোভার করলে লিঙ্ক কালার ও আন্ডারলাইন */
.glitch-card ul li a:hover {
  color: #2f6f2f;
  text-decoration: underline;
}

/* যখন কোন পোস্ট নেই, তখন ইম এম ফন্ট স্টাইল */
.glitch-card ul li em {
  color: #6c757d;
  font-style: italic;
}


/* Glitch Title */
.glitch-title {
  position: relative;
  font-weight: bold;
  font-size: 1.2rem;
  color: #ff003c;
  text-transform: uppercase;
  display: inline-block;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: #00fff7;
  z-index: -1;
}

.glitch-title::before {
  top: -2px;
  animation: glitchTop 1s infinite linear alternate-reverse;
}

.glitch-title::after {
  top: 2px;
  animation: glitchBottom 1s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

@keyframes glitchBottom {
  0% { transform: translateX(0); }
  20% { transform: translateX(2px); }
  40% { transform: translateX(-2px); }
  60% { transform: translateX(1px); }
  80% { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

/* Card Container */
.glitch-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.1), 0 0 15px rgba(0, 255, 247, 0.1);
  margin-bottom: 20px;
}

/* List Item Style */
.glitch-list a {
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 10px;
  border-radius: 4px;
}

.glitch-list a:hover {
  color: #ff003c;
  transform: scale(1.02);
  background-color: rgba(255, 0, 60, 0.05);
  text-shadow: 0 0 3px #ff003c, 0 0 5px #00fff7;
}

/* event */
.event-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.event-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-img {
    transform: scale(1.05);
}

.event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.event-title {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 line limit */
    -webkit-box-orient: vertical;
}


/* gallery */

.gallery-card {
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

.gallery-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 
                0 0 10px rgba(0, 200, 255, 0.2);
    border: 1px solid rgba(0, 200, 255, 0.3);
}

.gallery-image {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.3s ease;
}

.gallery-hover:hover .gallery-image {
    transform: scale(1.05);
}

.caption-overlay {
    background: rgba(220, 20, 60, 0.6); /* crimson red */
    backdrop-filter: blur(3px);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    transition: background 0.3s ease;
}

.gallery-hover:hover .caption-overlay {
    background: rgba(220, 20, 60, 0.8);
}

/* copyright */

.bizcript-copyright {
    background: rgba(139, 0, 0, 0.92); /* dark maroon */
    backdrop-filter: blur(3px);
}

.bizcript-copyright a {
    color: #ffc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.bizcript-copyright a:hover {
    color: #fff;
}

.contact-section iframe {
  min-height: 400px;
}

.contact-section .form-control:focus {
  border-color: #dc3545;
  box-shadow: 0 0 10px rgba(220,53,69,0.2);
}

.contact-section button.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220,53,69,0.4);
  transition: 0.3s;
}

@media (max-width: 767px) {
  .contact-section iframe {
    min-height: 300px;
  }
}


/* Section background with subtle gradient */
.fancy-section {
  background: linear-gradient(135deg, #ffffff, #f8f9ff);
  position: relative;
  overflow: hidden;
}

/* Section Title with glitchy neon glow effect */
.section-title {
  font-weight: 700;
  font-size: 2rem;
  color: #111;
  position: relative;
  text-transform: uppercase;
  text-shadow: 
    0 0 6px rgba(0, 242, 255, 0.7),
    0 0 12px rgba(255, 0, 255, 0.6),
    2px 2px 6px rgba(0,0,0,0.2);
  animation: neon-flicker 2.5s infinite alternate;
}

/* Neon glitch effect layers */
.section-title::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: 2px;
  color: #ff00ff;
  opacity: 0.6;
  z-index: -1;
}

.section-title::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  top: -2px;
  color: #00f2ff;
  opacity: 0.6;
  z-index: -1;
}

/* Neon flicker animation */
@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 
      0 0 6px rgba(0, 242, 255, 0.9),
      0 0 12px rgba(255, 0, 255, 0.8),
      0 0 20px rgba(0, 242, 255, 0.6);
  }
  20%, 24%, 55% {
    text-shadow: none;
  }
}

/* Card shadow & hover effect */
.shadow-card {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 16px 35px rgba(0,0,0,0.15),
    0 0 25px rgba(0, 242, 255, 0.4),
    0 0 40px rgba(255, 0, 255, 0.3);
}

/* Image styling with lighting */
.fancy-img {
  border-radius: 14px;
  max-height: 280px;
  object-fit: cover;
  width: 100%;
  box-shadow: 
    0 6px 18px rgba(0,0,0,0.15),
    0 0 15px rgba(0, 242, 255, 0.25);
  transition: transform 0.4s ease, filter 0.3s ease, box-shadow 0.4s ease;
}

.fancy-img:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: brightness(1.15) contrast(1.05);
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.25),
    0 0 25px rgba(0, 242, 255, 0.6),
    0 0 45px rgba(255, 0, 255, 0.4);
}

/* Text box */
.content-box {
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  color: #333;
  background: rgba(255,255,255,0.85);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.content-box:hover {
  background: rgba(255,255,255,0.95);
}



