/* =============================================
 * Coded By - DARK LMNx9 (Limon Hossain)
 * GitHub - https://github.com/LMNx9-JOHNY
 * Website - https://dark.lmnx9.workers.dev
 * WhatsApp - https://wa.me/+8801882168975
 * Telegram - https://t.me/x_LMNx9
============================================= */
:root {
    --primary: #1b4d3e;
    --primary-dark: #0f2e25;
    --primary-light: #e8f3ef;
    --purple: #800080;
    --dark-lmn: #00aa00;
    --purple-light: #f3e8f3;
    --deep-pink: #ff1493;
    --pink-light: #fff0f7;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
    --shadow-sm: 0 5px 15px rgba(27, 77, 62, 0.08);
    --shadow-md: 0 10px 25px rgba(128, 0, 128, 0.1);
    --shadow-lg: 0 15px 40px rgba(255, 20, 147, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mina", sans-serif;
}

body {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 55px;
    }
}

.hero-covers {
    margin-bottom: 20px;
    max-height: 800px;
    max-width: 1600px;
}

.carousel-item img {
    max-height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-item img {
        max-height: 180px;
    }
}

.section-header {
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
}

.section-header h1 {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: var(--bg-light);
}

.section-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--deep-pink),
        var(--purple),
        transparent
    );
    z-index: 1;
}

@media (max-width: 768px) {
    .section-header {
        margin: 30px 0 20px;
    }
}

.chooseus-section {
    padding: 30px 0 50px;
    background: var(--bg-white);
}

#heroIv {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.iv-inner {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.iv-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 77, 62, 0.3) 0%,
        rgba(128, 0, 128, 0.3) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.video-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: none;
    border-radius: 60px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0);
    transition: var(--transition);
    margin: 0 auto;
}

.video-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    box-shadow: 0 20px 45px rgba(255, 20, 147, 0.4);
}

.video-btn .btn-bg {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        90deg,
        var(--deep-pink),
        var(--purple),
        var(--primary)
    );
    border-radius: 60px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-btn:hover .btn-bg {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.video-btn .btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--deep-pink));
    border-radius: 60px;
    z-index: -2;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.video-btn i {
    font-size: 30px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.video-btn .btn-text {
    color: white;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-iframe[style*="z-index: 99"] {
    z-index: 20 !important;
    opacity: 1;
}

@media (max-width: 768px) {
    .iv-inner {
        height: 300px;
    }
    .video-btn {
        padding: 12px 25px;
    }
    .video-btn i {
        font-size: 24px;
    }
    .video-btn .btn-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .iv-inner {
        height: 250px;
    }
    .video-btn {
        padding: 10px 20px;
    }
    .video-btn i {
        font-size: 20px;
    }
    .video-btn .btn-text {
        display: none;
    }
}

.feature-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.feature-icon-item {
    flex: 0 0 calc(33.333% - 10px);
    min-width: 130px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-icon-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-light);
    border-color: var(--deep-pink);
}

.feature-icon-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.feature-icon-item p {
    color: var(--primary);
    margin: 0;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 600;
}

.feature-icon-item:hover p {
    color: var(--deep-pink);
}

@media (max-width: 768px) {
    .feature-icons-grid {
        padding: 15px;
        gap: 10px;
    }
    .feature-icon-item {
        flex: 0 0 calc(50% - 8px);
        min-width: auto;
        padding: 15px 8px;
    }
    .feature-icon-item img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .feature-icon-item {
        padding: 12px 5px;
    }
    .feature-icon-item img {
        width: 45px;
        height: 45px;
    }
    .feature-icon-item p {
        font-size: 13px;
    }
}

.filter-container {
    margin: 20px 0;
    z-index: 2;
}

.nav-pills {
    gap: 8px;
    flex-wrap: wrap;
}

.nav-pills .nav-link {
    border: 1px solid var(--primary);
    margin: 0;
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 20px);
    color: var(--primary);
    font-weight: 600;
    font-size: clamp(13px, 2.8vw, 15px);
    border-radius: 30px;
    background: var(--bg-white);
    transition: var(--transition);
}

.nav-pills .nav-link:hover {
    background: var(--pink-light);
    border-color: var(--deep-pink);
    color: var(--deep-pink);
    transform: translateY(-2px);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .nav-pills {
        gap: 5px;
        justify-content: center;
    }
    .nav-pills .nav-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-pills .nav-link {
        padding: 5px 10px;
        font-size: 11px;
    }
}

.tab-pane .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0;
}

@media (max-width: 992px) {
    .tab-pane .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .tab-pane .row {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
        margin: 0 auto;
    }
}

.course-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--deep-pink);
}

.course-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--purple));
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--deep-pink);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.course-content {
    padding: 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.course-meta span {
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.course-meta i {
    color: var(--deep-pink);
    font-size: 11px;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--purple);
}

.original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.course-stats {
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.course-stats i {
    color: var(--primary);
    margin-right: 5px;
}

.btn-details-small {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: auto;
    transition: var(--transition);
}

.btn-details-small:hover {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    border-color: transparent;
}

@media (max-width: 768px) {
    .course-image {
        height: 160px;
    }
    .course-title {
        font-size: 16px;
    }
    .course-meta span {
        font-size: 11px;
    }
    .current-price {
        font-size: 18px;
    }
}

.no-courses-message {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    grid-column: span 2;
}

@media (max-width: 576px) {
    .no-courses-message {
        grid-column: span 1;
    }
}

.no-courses-message i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.no-courses-message h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.btn-view-all {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: linear-gradient(135deg, var(--deep-pink), var(--purple));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.about-section {
    background: var(--bg-white);
    border-radius: 30px;
    padding: 40px 30px;
    margin: 10px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary-light);
}

.founder-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.founder-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.founder-image:hover img {
    transform: scale(1.02);
}

.about-content {
    padding: 20px;
}

.slogan {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.brand-name {
    color: var(--deep-pink);
    font-weight: 800;
}

.about-text {
    color: var(--text-muted);
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.8;
    margin-bottom: 30px;
}

.counter-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.fact-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.count-area-content {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.count-area-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--pink-light);
}

.count-area-content .icon {
    margin-bottom: 10px;
}

.count-area-content .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.count-digit {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: var(--deep-pink);
    margin: 10px 0;
}

.count-title {
    font-size: clamp(12px, 2.5vw, 14px);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-section {
        padding: 25px 15px;
    }
    .counter-box {
        gap: 10px;
    }
    .fact-item {
        min-width: 100px;
    }
    .count-area-content {
        padding: 15px;
    }
    .count-digit {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .counter-box {
        flex-direction: column;
    }
    .fact-item {
        width: 100%;
    }
}

.background-image-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.background-image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.position-relative {
    position: relative;
}

.text-center {
    text-align: center;
}

.my-4 {
    margin: 20px 0;
}

.p-4 {
    padding: 20px;
}

.w-100 {
    width: 100%;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.theme-text {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--primary) 5%,
        var(--primary-dark) 20%,
        var(--dark-lmn) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textFloat 3s ease-in-out infinite;
    text-shadow: 0 5px 15px rgba(27, 77, 62, 0.2);
    margin: 20px 0;
    letter-spacing: 1px;
}

@keyframes textFloat {
    0%,
    100% {
        transform: translateY(0);
        text-shadow: 0 5px 15px rgba(27, 77, 62, 0.2);
    }
    50% {
        transform: translateY(-5px);
        text-shadow: 0 15px 25px rgba(128, 0, 128, 0.3);
    }
}

.success-section {
    padding: 10px 0;
    background: #f8f9fa;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 10px;
}

.scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #1b4d3e #e0e0e0;
}

.scroll-container::-webkit-scrollbar {
    height: 5px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #1b4d3e, #800080);
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #0f2e25, #660066);
}

.scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 10px;
    min-width: min-content;
}

.student-card {
    flex: 0 0 150px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.1);
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(128, 0, 128, 0.15);
    border-color: #800080;
}

.student-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1b4d3e, #800080);
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

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

.student-info {
    padding: 15px;
}

.student-name {
    font-size: 18px;
    font-weight: 700;
    color: #1b4d3e;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.student-details {
    font-size: 13px;
}

.student-details p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
    color: #4a4a4a;
}

.student-details p:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.student-details p span {
    color: #800080;
    font-weight: 600;
}

@media (max-width: 768px) {
    .student-card {
        flex: 0 0 250px;
    }
    .student-name {
        font-size: 16px;
    }
    .student-details {
        font-size: 12px;
    }
    .btn-view-all {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .student-card {
        flex: 0 0 220px;
    }
    .student-image {
        height: 200px;
    }
    .student-info {
        padding: 20px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gallery-section {
    padding: 60px 0;
    background: #f8f9fa;
    align-content: center;
    align-items: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-title span {
    color: #00aa00;
    position: relative;
}

.section-title span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #00aa00;
    border-radius: 3px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
}

.gallery-empty {
    text-align: center;
    padding: 20px 10px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.gallery-empty-icon {
    font-size: 48px;
    color: #800080;
    margin-bottom: 15px;
}

.gallery-empty h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.gallery-empty p {
    color: #666;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    position: relative;
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
    cursor: grab;
}

.gallery-track:active {
    cursor: grabbing;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 500px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #0f3a2e;
    transform: scale(1.2);
}

.dot:hover {
    background: #800080;
}

.notice-board-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.notice-board-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b4d3e, #800080, #ff1493);
    animation: gradientFlow 3s ease infinite;
    background-size: 200% 100%;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.notice-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.1);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(128, 0, 128, 0.2);
    transform: rotate(0deg);
    overflow: hidden;
    animation: floatCard 3s ease-in-out infinite;
}

.notice-card:hover {
    transform: translateY(-8px) rotate(0.5deg);
    box-shadow: 0 25px 50px rgba(128, 0, 128, 0.25);
    border-color: #800080;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.notice-pin {
    position: absolute;
    top: 15px;
    right: 20px;
    background: linear-gradient(135deg, #1b4d3e, #800080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    transform: rotate(-15deg);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    z-index: 3;
    animation: pinGlint 2s ease-in-out infinite;
}

@keyframes pinGlint {
    0%,
    100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(-10deg) scale(1.1);
    }
}

.notice-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #1b4d3e, #800080);
    box-shadow: 0 3px 10px rgba(128, 0, 128, 0.3);
}

.notice-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    padding-right: 30px;
}

.notice-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notice-date i {
    background: linear-gradient(135deg, #1b4d3e, #800080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notice-text {
    max-height: 150px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    padding-right: 10px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #800080 #e1e1e1;
}

.notice-text::-webkit-scrollbar {
    width: 4px;
}

.notice-text::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 10px;
}

.notice-text::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1b4d3e, #800080);
    border-radius: 10px;
}

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1b4d3e, #800080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    z-index: 3;
}

.notice-link:hover {
    gap: 12px;
    filter: drop-shadow(0 2px 5px rgba(128, 0, 128, 0.3));
}

.notice-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

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

@media (max-width: 992px) {
    .gallery-slide {
        height: 450px;
    }
    .notice-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0;
    }
    .gallery-slide {
        height: 350px;
    }
    .gallery-nav {
        opacity: 1;
        width: 40px;
        height: 40px;
    }
    .gallery-prev {
        left: 15px;
    }
    .gallery-next {
        right: 15px;
    }
    .gallery-counter {
        bottom: 20px;
        right: 20px;
        padding: 8px 15px;
        font-size: 14px;
    }
    .notice-board-section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .section-subtitle {
        font-size: 16px;
    }
    .notice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-slide {
        height: 250px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .gallery-counter {
        padding: 6px 12px;
        font-size: 12px;
    }
    .notice-card {
        padding: 20px;
    }
    .notice-title {
        font-size: 18px;
    }
}

.our-note-section {
    padding: 10px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.our-note-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(27, 77, 62, 0.03) 0%,
        rgba(128, 0, 128, 0.03) 50%,
        transparent 70%
    );
    z-index: 1;
}

.note-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.note-line {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    margin-bottom: 2px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    display: inline-block;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    background: linear-gradient(
        90deg,
        #1b4d3e 0%,
        #800080 25%,
        #1b4d3e 50%,
        #800080 75%,
        #1b4d3e 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s linear infinite;
    line-height: 1.6;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.note-author {
    margin-top: 0px;
    margin-bottom: 20px;
}

.author-sign {
    display: inline-block;
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 800;
    background: linear-gradient(135deg, #1b4d3e, #800080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0 10px;
    margin-left: 190px;
}

.author-sign::before,
.author-sign::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1px;
    height: 1px;
    background: linear-gradient(90deg, #1b4d3e, #800080);
    animation: linePulse 2s ease-in-out infinite;
}

.author-sign::before {
    right: 100%;
    margin-right: 15px;
}

.author-sign::after {
    left: 100%;
    margin-left: 15px;
}

@keyframes linePulse {
    0%,
    100% {
        width: 30px;
        opacity: 0.5;
    }
    50% {
        width: 50px;
        opacity: 1;
    }
}

.note-line-1 {
    animation-delay: 0.2s;
}
.note-line-2 {
    animation-delay: 0.4s;
}
.note-line-3 {
    animation-delay: 0.6s;
}
.note-line-4 {
    animation-delay: 0.8s;
}
.note-line-5 {
    animation-delay: 1s;
}

.note-line:hover .gradient-text {
    animation: gradientFlow 2s linear infinite;
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .our-note-section {
        padding: 5px 0;
    }
    .gradient-text {
        font-size: 18px;
    }
    .author-sign {
        font-size: 24px;
    }
    .author-sign::before,
    .author-sign::after {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 16px;
    }
    .author-sign {
        font-size: 20px;
    }
    .author-sign::before,
    .author-sign::after {
        display: none;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
