﻿/* Reset and Base Styles */
body {
    color: var(--dark);
    overflow-x: hidden;
    background-color: #b6c9b1;
    line-height: 1.6;
    padding-top: 100px;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--accent-color);
}

.section-title {
    margin-bottom: 50px;
    text-align: center !important;
}

.section-title h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 600;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    color: #666;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Hero Section - Fixed Position and Full Image */
.hero-section {
    width: 100%;
    background: var(--div-bg);
    padding: 0;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 1;
}

.carousel-container {
    width: 100%;
    position: relative;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: calc(100vh - 120px);
    min-height: 500px;
    max-height: 700px;
    box-shadow: none;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: contain !important;
    /* Changed from cover to contain */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #000;
    /* Black background for gaps */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.slide.exit-left {
    transform: translateX(-100%);
}

.slide.exit-right {
    transform: translateX(100%);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    z-index: 0;
}

.slide-content {
    padding: 2rem;
    z-index: 2;
    max-width: 700px;
    margin-bottom: 30px;
}

.slide-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.slide-content p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.slide-content .author {
    font-size: 0.85rem;
    color: #aaa;
}

.controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 32px;
    background-color: var(--accent-color);
}

.arrows {
    display: flex;
    gap: 0.5rem;
}

.arrow-btn {
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    border: 0.5px solid var(--accent-color);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--accent-color);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.arrow-btn:hover {
    background-color: var(--accent-color);
    border: none !important;
    color: var(--dark);
}

/* New Important Links, Research & Success Section */
.info-section {
    padding: 60px 0;
    position: relative;
}

.info-container {
    display: flex;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Important Links Panel */
.important-links-panel {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
}

.important-links-panel h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.important-links-panel h3 i {
    color: var(--accent-color);
}

.important-links-container {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.important-links-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.important-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.important-link-item:hover {
    transform: translateX(5px);
    background-color: #e9ecef;
    border-left-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-content h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.link-content p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.view-all-links {
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-links:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Research Papers Panel */
.research-papers-panel {
    flex: 1;
    min-width: 300px;
}

.research-papers-panel h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.research-papers-panel h3 i {
    color: var(--accent-color);
}

.research-papers-container {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.research-papers-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.research-paper-item {
    display: block;
    padding: 4px 10px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #2c5530;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.research-paper-item:hover {
    transform: translateX(5px);
    background-color: #e9ecef;
    border-left-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.research-paper-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.research-paper-title {
    font-weight: 600;
    color: #2c5530;
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
}

.research-paper-date {
    font-size: 0.8rem;
    color: #6c757d;
    background-color: white;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    white-space: nowrap;
}

.research-paper-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.85rem;
}

.research-paper-author {
    color: #495057;
    font-style: italic;
}

.research-paper-category {
    background-color: #e7f1e9;
    color: #2c5530;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.research-papers-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.research-papers-empty i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #dee2e6;
}

.research-papers-empty p {
    font-size: 0.95rem;
}

.view-all-research {
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #2c5530, #4a9e5c);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-research:hover {
    background: linear-gradient(135deg, #4a9e5c, #2c5530);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
}

/* Success Stories Panel */
.success-stories-panel {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
}

.success-stories-panel h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.success-stories-panel h3 i {
    color: var(--accent-color);
}

.success-stories-container {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.success-stories-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.success-story-item {
    display: block;
    padding: 4px 10px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #8a4b08;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.success-story-item:hover {
    transform: translateX(5px);
    background-color: #e9ecef;
    border-left-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.success-story-header {
    align-items: flex-start;
    margin-bottom: 8px;
}

.success-story-title {
    color: #8a4b08;
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
}

.success-story-date {
    font-size: 0.8rem;
    color: #6c757d;
    background-color: white;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    white-space: nowrap;
}

.success-story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.85rem;
}

.success-story-location {
    color: #495057;
    font-style: italic;
}

.success-story-category {
    background-color: #f1e8e0;
    color: #8a4b08;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.success-stories-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.success-stories-empty i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #dee2e6;
}

.success-stories-empty p {
    font-size: 0.95rem;
}

.view-all-stories {
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #8a4b08, #c47c2c);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-stories:hover {
    background: linear-gradient(135deg, #c47c2c, #8a4b08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 75, 8, 0.3);
}

/* Existing Notification Section */
.notification-section {
    padding: 80px 0;
}

.notification-container {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

.notification-panel {
    flex: 2;
    min-width: 300px;
}

.notification-panel h1 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.notification-panel h1 i {
    color: var(--secondary);
}

.notification-tabs-container {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.notification-tabs {
    display: flex;
    background-color: var(--primary-color);
    overflow-x: auto;
    flex-shrink: 0;
}

.notification-tab {
    padding: 15px 25px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.notification-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-tab.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom-color: var(--secondary);
}

.notification-tab i {
    margin-right: 8px;
}

.notifications-list {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.notification-item {
    display: block;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: var(--light-color);
    text-decoration: none;
    color: var(--dark-color);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
    position: relative;
}

.notification-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left-color: var(--accent-color);
}

.notification-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.notification-date {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.85rem;
    color: #6c757d;
    background-color: white;
    padding: 3px 8px;
    border-radius: 12px;
}

.pdf-link a {
    margin-left: 15px;
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.pdf-link i {
    margin-right: 5px;
}

.no-file {
    margin-left: 15px;
    color: #dc3545;
    font-size: 0.85rem;
}

.view-all-notifications {
    display: block;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.view-all-notifications:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.empty-state,
.loading-state,
.error-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i,
.loading-state i,
.error-state i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.loading-state i {
    animation: spin 1s linear infinite;
}

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

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

/* Director's Message Section */
.director-message {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.message-container {
    display: flex;
    gap: 40px;
    position: relative;
}

.director-photo {
    flex: 0 0 350px;
    position: relative;
    align-self: flex-start;
}

.photo-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 450px;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.director-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

.director-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.director-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.signature img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
}

.message-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.message-text {
    background-color: beige;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.message-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary));
}

.message-text p {
    margin-bottom: 7px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--dark);
    text-align: justify;
    position: relative;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.read-more-btn {
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary));
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
    position: relative;
    overflow: hidden;
}

.read-more-btn::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;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
    color: white;
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:active {
    transform: translateY(0);
}

.read-more-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.read-more-btn.expanded .read-more-icon {
    transform: rotate(180deg);
}

/* About Section */
.about-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-text {
    flex: 1;
}

.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    height: 500px;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: space-around;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 0 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.highlight-box {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    background-color: beige;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(71, 99, 255, 0.2);
}

.highlight-content h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.highlight-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--gray);
}

/* YouTube Shorts Section */
.youtube-shorts {
    padding: 50px 0;
    position: relative;
}

.shorts-container {
    position: relative;
    overflow: hidden;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.short-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.short-item:hover {
    transform: translateY(-5px);
}

.short-item iframe {
    width: 100%;
    height: 320px;
    display: block;
    border: none;
    background: var(--div-bg);
}

.short-caption {
    padding: 15px;
    background-color: var(--white);
    text-align: center;
    font-weight: 500;
    color: var(--primary-dark);
}

.shorts-mobile-nav {
    display: none;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0 15px;
    z-index: 2;
}

.short-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.short-nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Success Stories Grid Section */
.success-stories {
    padding: 50px 0;
    background: var(--section-bgtwo);
    position: relative;
}

.stories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.story-card {
    background-color: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
}

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

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

.story-video {
    width: 100%;
    height: 100%;
}

.story-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.story-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    line-height: 1.4;
}

.story-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.story-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 20px;
    flex: 1;
}

.story-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.story-link i {
    transition: transform 0.3s ease;
}

.story-link:hover {
    color: var(--primary-dark);
}

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

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* Gallery Section */
.gallery-section {
    padding: 50px 0;
    background: var(--section-bgone);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 15px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    font-size: 1.2rem;
    max-width: 80%;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 4rem;
    cursor: pointer;
    padding: 0 20px;
    user-select: none;
    transition: color 0.3s ease;
}

.lightbox-nav:hover {
    color: var(--primary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Scrolling Section */
.scrolling-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.scroll-container {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
}

.scroll-container .infinite-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.infinite-scroll-wrapper .infinite-scroll-content {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    animation: scroll 100s linear infinite;
    width: 100%;
    gap: 16px;
}

.infinite-scroll-wrapper .infinite-scroll-items {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    gap: 16px;
}

.infinite-scroll-items .item-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 35px !important;
}

.item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.item-wrap .text {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    color: #fff;
    font-weight: 500;
}

.item-wrap:hover img {
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .infinite-scroll-wrapper:hover .infinite-scroll-content {
        animation-play-state: paused;
    }
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {

    .info-container,
    .notification-container {
        flex-direction: column;
    }

    .important-links-panel,
    .research-papers-panel,
    .success-stories-panel {
        max-width: 100%;
    }

    .carousel {
        height: calc(100vh - 100px);
        min-height: 400px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .info-container,
    .notification-container {
        padding: 0 30px;
    }

    .notification-tab,
    .important-link-item,
    .research-paper-item,
    .success-story-item {
        padding: 12px 20px;
    }

    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stories-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .carousel {
        height: calc(100vh - 90px);
        min-height: 350px;
    }
}

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

    .section-title h2 {
        font-size: 2rem;
    }

    .info-section,
    .notification-section {
        padding: 40px 0;
    }

    .info-container,
    .notification-container {
        padding: 0 20px;
        gap: 30px;
    }

    .notification-tabs {
        flex-wrap: wrap;
    }

    .notification-tab {
        flex: 1 0 120px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .important-links-container,
    .research-papers-container,
    .success-stories-container {
        height: auto;
    }

    .message-container {
        flex-direction: column;
    }

    .director-photo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content {
        flex-direction: column;
    }

    .shorts-grid {
        grid-template-columns: 1fr;
    }

    .shorts-mobile-nav {
        display: flex;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: calc(100vh - 80px);
        min-height: 300px;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .info-container,
    .notification-container {
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .notification-panel h1,
    .important-links-panel h3,
    .research-papers-panel h3,
    .success-stories-panel h3 {
        font-size: 1.3rem;
    }

    .important-link-item,
    .research-paper-header,
    .success-story-header {
        flex-direction: column;
        gap: 8px;
    }

    .research-paper-date,
    .success-story-date {
        margin-left: 0;
        align-self: flex-start;
    }

    .carousel {
        height: calc(100vh - 70px);
        min-height: 250px;
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-content h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .notification-tab {
        flex: 1 0 100%;
    }

    .stories-container {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: calc(100vh - 60px);
        min-height: 200px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.about-section.in-view .image-frame img {
    transform: scale(1.05);
}

.about-section.in-view .image-overlay {
    opacity: 0.5;
}

.about-section.in-view .highlight-box {
    animation: fadeInUp 0.6s ease forwards;
}

.about-section.in-view .highlight-box:nth-child(1) {
    animation-delay: 0.2s;
}

.about-section.in-view .highlight-box:nth-child(2) {
    animation-delay: 0.4s;
}