* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    cursor: none;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: #ffb84d;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid #ff9500;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}


.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
    position: sticky;
    top: 0;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 80px;
    max-width: 1600px;
}

.navbar-logo img {
    height: 60px;
    cursor: pointer;
}

.navbar-container .navbar-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    text-align: center;
}

.navbar-container .navbar-menu li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: all 0.5s ease;
}

.navbar-container .navbar-menu li i {
    font-size: 18px;
}

.navbar-container .navbar-menu li i:hover,
.navbar-container .navbar-menu li a.active {
    color: #fbb03a;
    transition: color 0.5s ease;
}

.navbar-container .navbar-menu li a:hover {
    color: #fbb03a;
}

/* Dropdown Styles */
.navbar-container .navbar-menu .dropdown {
    position: relative;
    text-align: left;
}

.navbar-container .navbar-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar-container .navbar-menu .dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.navbar-container .navbar-menu .dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.navbar-container .navbar-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    z-index: 1000;
}

.navbar-container .navbar-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-container .navbar-menu .dropdown-menu li {
    padding: 0;
}

.navbar-container .navbar-menu .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    transition: all 0.3s ease;
}

.navbar-container .navbar-menu .dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #fbb03a;
    padding-left: 25px;
}

.admin {
    background: #fbb03a;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 1s;
}

.admin:hover {
    background: #9a0101;
}

.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: #000;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}

/* Lading Section*/
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#loadingScreen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 40px;
}

.logo-container {
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    position: relative;
}

.logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B2635 0%, #A52A2A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(139, 38, 53, 0.3);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shine 3s linear infinite;
}

.logo-circle img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    z-index: 1;
    filter: brightness(1.2);
}

.school-name {
    font-size: 28px;
    font-weight: 600;
    color: #8B2635;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.school-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.progress-container {
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.progress-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.progress-bar-wrapper {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8B2635 0%, #A52A2A 50%, #FFD700 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(139, 38, 53, 0.4);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

.progress-percentage {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #8B2635;
}

.loading-dots {
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8B2635;
    margin: 0 4px;
    animation: dotPulse 1.4s infinite ease-in-out;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(139, 38, 53, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(139, 38, 53, 0.4);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .loading-container {
        padding: 20px;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .logo-circle {
        width: 120px;
        height: 120px;
    }

    .school-name {
        font-size: 24px;
    }

    .school-subtitle {
        font-size: 12px;
    }
}

/* Hide main content initially */
body.loading #mainContent {
    display: none;
}

/* Hero Section */
.video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    /* optional dark overlay */
}

.overlay h1 {
    font-size: 2.5rem;
}

.overlay p {
    font-size: 1.2rem;
}

/* Banner */
.banner {
    width: 100%;
    background: #eeeeee;
    text-align: center;
    display: flex;
    padding: 100px 100px;
}

.details {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.details p {
    text-align: justify;
}

.banner h2 {
    font-size: 1.5rem;
    padding-bottom: 30px;
}

.banner p {
    font-size: 14px;
    padding-bottom: 30px;
}

.read-more {
    background: #fbb03a;
    padding: 10px 20px;
    border-radius: 10px;
    transition: .3s;
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.read-more:hover {
    background: #ff9500;
}

.banner-img {
    width: 50%;
    height: auto;
    border-radius: 10px;
}

.banner-img img {
    width: 70%;
    height: auto;
    border-radius: 10px;
}

/*Upananda By Numbers*/
.stats-section {
    position: relative;
    background: url('Images/UCG.png') bottom/cover no-repeat;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
}

/* Gradient overlay */
.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 8, 0, 0.63), rgba(255, 208, 0, 0.63));
    z-index: 1;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.stat {
    flex: 1 1 200px;
    margin: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*News Section*/
.admin {
    background: #fbb03a;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 1s;
}

.admin:hover {
    background: #9a0101;
}

/* News Section */
.news-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}

.news-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.view-toggle {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.toggle-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #666;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.toggle-btn.active,
.toggle-btn:hover {
    background: #fbb03a;
    border-color: #fbb03a;
    color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Admin controls on news cards */
.news-card-admin {
    position: absolute;
    top: 10px;
    left: 10px;
    display: none;
    gap: 5px;
    z-index: 10;
}

.admin-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.edit-btn:hover {
    background: #28a745;
}

.delete-btn:hover {
    background: #dc3545;
}

/* Show admin buttons when logged in */
body.admin-logged-in .news-card-admin {
    display: flex;
}

/* Card image with gradient overlay */
.news-card-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient backgrounds */
.gradient-announcements {
    background: linear-gradient(135deg, #ff9500, #ffb84d);
}

.gradient-alumni {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.gradient-sports {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.gradient-academic {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.gradient-events {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.gradient-default {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Replace the existing Featured News Section Styles in your style.css with this */

/* Featured News Section Styles */
.featured-section-wrapper {
    width: 100%;
    padding: 50px 20px;
    margin-bottom: 50px;
    border-radius: 20px;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.featured-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-image-section {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-news-card:hover .featured-image {
    transform: scale(1.05);
}

.gradient-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-placeholder.gradient-announcements {
    background: linear-gradient(135deg, #ff9500, #ffb84d);
}

.gradient-placeholder.gradient-alumni {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.gradient-placeholder.gradient-sports {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.gradient-placeholder.gradient-academic {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.gradient-placeholder.gradient-events {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.gradient-placeholder.gradient-default {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.placeholder-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}

.featured-content-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-badge {
    display: inline-block;
    background: #fbb03a;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.date-text {
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-text i {
    font-size: 12px;
    color: #fbb03a;
}

.featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.featured-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.meta-item i {
    color: #fbb03a;
    font-size: 13px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a2e;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more-btn:hover {
    background: #fbb03a;
    transform: translateX(3px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Loading Skeleton */
.loading-skeleton {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.skeleton-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    min-height: 400px;
}

.skeleton-content {
    padding: 40px;
}

.skeleton-badge,
.skeleton-title,
.skeleton-text,
.skeleton-meta {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 6px;
    margin-bottom: 12px;
}

.skeleton-badge {
    width: 80px;
    height: 24px;
}

.skeleton-title {
    width: 80%;
    height: 40px;
}

.skeleton-text {
    width: 100%;
    height: 16px;
}

.skeleton-meta {
    width: 50%;
    height: 16px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.no-news {
    background: white;
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-image-section {
        min-height: 350px;
    }

    .featured-content-section {
        padding: 35px;
    }

    .featured-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .featured-section-wrapper {
        padding: 35px 15px;
    }

    .featured-image-section {
        min-height: 280px;
    }

    .featured-content-section {
        padding: 28px 22px;
    }

    .featured-title {
        font-size: 1.35rem;
    }

    .featured-description {
        font-size: 13px;
    }

    .featured-meta {
        flex-direction: column;
        gap: 10px;
    }

    .loading-skeleton {
        grid-template-columns: 1fr;
    }

    .skeleton-content {
        padding: 28px 22px;
    }

    .read-more-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .featured-section-wrapper {
        padding: 25px 10px;
    }

    .featured-title {
        font-size: 1.2rem;
    }

    .featured-description {
        font-size: 12px;
    }

    .read-more-btn {
        width: 100%;
        justify-content: center;
    }

    .category-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .date-text {
        font-size: 12px;
    }

    .meta-item {
        font-size: 12px;
    }
}

/* Category badge */
.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Content area */
.news-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    gap: 10px;
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta i {
    font-size: 11px;
}

/* All News Button */
.all-news-btn {
    background: #333;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.all-news-btn:hover {
    background: #555;
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination button {
    background: white;
    border: 2px solid #dee2e6;
    color: #666;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover,
.pagination button.active {
    background: #fbb03a;
    border-color: #fbb03a;
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Admin Panel - Enhanced with higher z-index */
.admin-panel {
    display: none;
    position: fixed;
    top: 120px;
    right: 20px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 400px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #fbb03a;
    z-index: 2500;
}

.admin-panel::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: white;
    border-top: 2px solid #fbb03a;
    border-left: 2px solid #fbb03a;
    transform: rotate(45deg);
}

.admin-panel h2 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4rem;
}

.admin-tabs {
    display: flex;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 4px;
}

.admin-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-tab.active {
    background: #fbb03a;
    color: white;
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: #fbb03a;
}

.admin-form textarea {
    min-height: 100px;
    resize: vertical;
}

.admin-form button {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-form button:hover {
    background: #218838;
    transform: translateY(-2px);
}

.admin-form button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-admin {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-admin:hover {
    background: #c82333;
}

.logout-btn {
    background: #6c757d;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
}

.logout-btn:hover {
    background: #5a6268;
}

/* News management list */
.news-list {
    max-height: 400px;
    overflow-y: auto;
}

.news-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #fbb03a;
}

.news-item h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.news-item p {
    color: #666;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-item-actions {
    display: flex;
    gap: 8px;
}

.news-item-actions button {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}

.edit-news-btn {
    background: #28a745;
    color: white;
}

.delete-news-btn {
    background: #dc3545;
    color: white;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.login-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.login-form button {
    background: #fbb03a;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.login-form button:hover {
    background: #e69a2e;
}

/* Full Article Modal */
.article-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    padding: 20px;
}

.article-content {
    background-color: white;
    margin: 20px auto;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.article-header {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.article-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 30px 30px;
    color: white;
}

.article-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.article-date {
    font-size: 14px;
    opacity: 0.9;
}

.article-body {
    padding: 40px 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.article-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    word-wrap: break-word;
}

/* Article interactions */
.article-interactions {
    padding: 30px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.interaction-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.interaction-btn {
    background: white;
    border: 2px solid #ddd;
    color: #666;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.interaction-btn:hover,
.interaction-btn.active {
    background: #fbb03a;
    color: white;
    border-color: #fbb03a;
}

/* Comments section */
.comments-section {
    margin-top: 20px;
}

.comments-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.comment-author {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

.comment-form {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: inherit;
}

.comment-form textarea {
    min-height: 80px;
    resize: vertical;
}

.comment-submit {
    background: #fbb03a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.comment-submit:hover {
    background: #e69a2e;
}

.close-article {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-article:hover {
    background: rgba(255, 0, 0, 0.637);
}

.loading {
    text-align: center;
    padding: 60px;
    color: #666;
}

.error {
    color: #dc3545;
    text-align: center;
    padding: 10px;
    background: #f8d7da;
    border-radius: 5px;
    margin: 10px 0;
}

.success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
}

.url-helper {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.url-helper a {
    color: #fbb03a;
    text-decoration: none;
}

.url-helper a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }

    .news-header {
        flex-direction: column;
        gap: 20px;
    }

    .news-header h1 {
        font-size: 1.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .article-content {
        width: 95%;
        margin: 1% auto;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-body {
        padding: 25px;
    }

    .article-interactions {
        padding: 20px 25px;
    }

    .interaction-row {
        flex-wrap: wrap;
    }
}

.gallary {
    display: flex;
    justify-content: center;
    padding: 50px 100px;
}

.album {
    text-align: center;
    height: 300px;
    width: 300px;
    margin: 0 10px;
}

.tt-title {
    font-size: 2.5rem;
    padding: 50px 100px;
}

.gallary img {
    height: 300px;
    width: 300px;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== ANIMATED FOOTER STYLES ===== */

.site-footer {
    background: linear-gradient(135deg, #2e1b1a 0%, #3e2d16 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary-color, #ff9500);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, 
        #ff4444, 
        #ff9500, 
        #ffc341,);
    animation: footerBorder 8s linear infinite;
}

@keyframes footerBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.nav-column {
    animation: fadeInUp 0.6s ease-out;
}

.nav-column:nth-child(1) { animation-delay: 0.1s; }
.nav-column:nth-child(2) { animation-delay: 0.2s; }
.nav-column:nth-child(3) { animation-delay: 0.3s; }
.nav-column:nth-child(4) { animation-delay: 0.4s; }

.column-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff4444, #ff9500);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.column-title:hover::after {
    width: 60px;
}

.column-title.general::after { background: linear-gradient(90deg, #ff4444, #ff9500); }
.column-title.resources::after { background: linear-gradient(90deg,  #ff4444, #ff9500); }
.column-title.pulsee::after { background: linear-gradient(90deg,  #ff4444, #ff9500); }
.column-title.latest::after { background: linear-gradient(90deg,  #ff4444, #ff9500); }

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-column li {
    margin-bottom: 12px;
    transform: translateX(-10px);
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

.nav-column li:nth-child(1) { animation-delay: 0.5s; }
.nav-column li:nth-child(2) { animation-delay: 0.6s; }
.nav-column li:nth-child(3) { animation-delay: 0.7s; }
.nav-column li:nth-child(4) { animation-delay: 0.8s; }
.nav-column li:nth-child(5) { animation-delay: 0.9s; }

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.nav-column a {
    color: #b0b7c3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 0;
    position: relative;
}

.nav-column a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color, #ff4444);
}

.nav-column a:hover {
    color: #fff;
    transform: translateX(10px);
}

.nav-column a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Footer Right Section */
.footer-right {
    animation: fadeIn 0.8s ease-out 0.5s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-placeholder {
    margin-bottom: 25px;
    background: #f1f1f1;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff9500;
}

.logo-placeholder img {
    filter: drop-shadow(0 5px 15px rgba(255, 68, 68, 0.3));
    height: 65px;
    width: 65px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon::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 ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon.facebook { background: linear-gradient(45deg, #1877f2, #0d5cbf); }
.social-icon.instagram { background: linear-gradient(45deg, #e4405f, #c13584); }
.social-icon.linkedin { background: linear-gradient(45deg, #0a66c2, #004182); }
.social-icon.x-twitter { background: linear-gradient(45deg, #000000, #1a1a1a); }
.social-icon.x-youtube { background: linear-gradient(45deg, #ff0000, #cc0000); }

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 68, 68, 0.1), 
        transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-bottom p {
    color: #b0b7c3;
    font-size: 0.9rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: #ffc341;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0 5px;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4444, #ff9500);
    transition: width 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-bottom a:hover::after {
    width: 100%;
}

/* Animated Background Elements */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(77, 171, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 195, 65, 0.05) 0%, transparent 50%);
    animation: pulseBackground 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseBackground {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Floating Particles */
.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 195, 65, 0.5);
    border-radius: 50%;
    z-index: 1;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-right {
        padding: 30px 20px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.life {
    background: url(Images/Backs/Life\ At\ Upananda.webp);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.about {
    background: url(Images/Backs/About.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.clubs {
    background: url(Images/Backs/clubs.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.sports {
    background: url(Images/Backs/sports.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.ttt-t {
    color: #1a1a1a;
    padding: 150px 50px;
}

.ttt-tt {
    color: #f5f5f5;
    padding: 150px 50px;
}

.ttt h1 {
    font-size: 4.5rem;
    text-align: left;
    margin-bottom: -20px;
}

.ttt h2 {
    font-size: 4.5rem;
    text-align: left;
}

.ttt p {
    text-align: left;
    padding-top: 20px;
}

.exam-analysis-section {
    max-width: 1200px;
    margin: 60px auto;
    background: white;
    border-radius: 20px;
    padding: 60px 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
    color: #333;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e0e0e0;
}

.filter-btn.active {
    background: #0f3460;
    border-color: #0f3460;
    color: white;
}

.chart-wrapper {
    position: relative;
    background: #fafafa;
    border-radius: 15px;
    padding: 40px 30px;
    margin-bottom: 30px;
}

.chart-container {
    position: relative;
    height: 450px;
    display: flex;
    padding-top: 20px;
}

.y-axis {
    width: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 15px;
}

.y-axis-label {
    font-size: 13px;
    color: #666;
    text-align: right;
    font-weight: 500;
}

.y-axis-title {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 13px;
    color: #444;
    font-weight: 600;
    white-space: nowrap;
}

.chart-area {
    flex: 1;
    position: relative;
    border-left: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    margin-top: 10px;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #e8e8e8;
    left: 0;
}

#chart {
    width: 100%;
    height: 100%;
}

.x-axis {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px 0 90px;
}

.x-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

.legend-line.aLevel {
    background: #2c3e50;
}

.legend-line.oLevel {
    background: #c0392b;
}

.legend-line.grade5 {
    background: #27ae60;
}

.legend-item span {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.tooltip {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1000;
    min-width: 150px;
}

.tooltip-year {
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.tooltip-value {
    font-size: 13px;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-value.alevel::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #2c3e50;
    border-radius: 50%;
}

.tooltip-value.olevel::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #c0392b;
    border-radius: 50%;
}

.tooltip-value.grade5::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #27ae60;
    border-radius: 50%;
}

.data-point {
    cursor: pointer;
    transition: all 0.2s;
}

.data-point:hover {
    r: 7 !important;
}

.grade {
    padding: 50px 150px;
}

.grade h3 {
    color: #343f52;
    padding-bottom: 20px;
}

.grade h2 {
    color: #343f53;
}

.grade-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.grade-selection a {
    text-decoration: none;
}

.grade-card {
    background: #f9f9f9;
    height: 250px;
    width: 250px;
    align-items: center;
    align-content: center;
    padding: 50px;
    border-radius: 10px;
    transition: .5s;
}

.grade-card:hover {
    background: #e69a2e;
}

.grade-card i {
    padding-bottom: 30px;
    font-size: 2.5rem;
    color: #0f3460;
}

.directory-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
}

.directory-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.category {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #e8e8e8;
    transition: all 0.3s ease;
}

.category:hover {
    background: #dedede;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
}

.category-header i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.category.active .category-header i {
    transform: rotate(180deg);
}

.clubs-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9f9f9;
}

.category.active .clubs-list {
    max-height: 500px;
}

.club-item {
    padding: 14px 24px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    font-size: 15px;
    transition: all 0.2s ease;
}

.club-item:last-child {
    border-bottom: none;
}

.club-item:hover {
    background: #f0f0f0;
    padding-left: 32px;
}

.form-details {
    display: flex;
    justify-content: center;
    margin: 30px;
}

.form-details form {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-details form input,
.form-details form textarea {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    background: transparent;
    max-width: 700px;
}

.form-details h2 {
    font-size: 2.1rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

.form-details button {
    font-weight: 500;
}

.sss-bb {
    background: #fbb03a;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
}

.org-chart-container {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    margin: -50px auto 40px auto;
}

.senior-prefect {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.profile-card {
    display: inline-block;
    position: relative;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #ffc341;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.profile-card:hover .profile-image {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(152, 138, 59, 0.4);
}

.profile-name {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

.profile-role {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.connecting-line {
    height: 60px;
    width: 2px;
    background: #ffac39;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    animation: growDown 0.6s ease 0.4s forwards;
}

.horizontal-line {
    height: 2px;
    background: #ffac39;
    margin: 0 auto;
    width: 0;
    animation: expandWidth 0.8s ease 0.8s forwards;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.team-member {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: 2px;
    height: 60px;
    background: #ffac39;
    transform: translateX(-1px);
}

.team-member:nth-child(1) {
    animation: fadeInUp 0.6s ease 1.2s forwards;
}

.team-member:nth-child(2) {
    animation: fadeInUp 0.6s ease 1.4s forwards;
}

.team-member:nth-child(3) {
    animation: fadeInUp 0.6s ease 1.6s forwards;
}

.team-member:nth-child(4) {
    animation: fadeInUp 0.6s ease 1.8s forwards;
}

.team-member:nth-child(5) {
    animation: fadeInUp 0.6s ease 2s forwards;
}

.team-member .profile-image {
    width: 100px;
    height: 100px;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growDown {
    to {
        opacity: 1;
        height: 60px;
    }

    from {
        height: 0;
    }
}

@keyframes expandWidth {
    to {
        width: 90%;
    }
}

.get-in-touch h2 {
    color: #1a1a2e;
    font-size: 1.5rem;
    padding: 30px 0px 10px 0;
    text-align: center;
}

.get-in-touch {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column-reverse;
}

.details-db {
    display: flex;
    padding: 10px 0;
}

.details-db i {
    font-size: 30px;
    color: #ffbb00;
    padding-right: 50px;
}


/* Premium Floating Chatbot */
.chatbot-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
    animation: floatSmoothly 4s ease-in-out infinite;
}

.chatbot-container {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fbb03a 0%, #ff9500 50%, #ff7b00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 25px rgba(251, 176, 58, 0.4),
        0 4px 15px rgba(255, 149, 0, 0.3),
        inset 0 -3px 10px rgba(0, 0, 0, 0.1),
        inset 0 3px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: iconRotate 3s ease-in-out infinite;
}

.chatbot-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.chatbot-icon i {
    font-size: 32px;
    color: white;
    animation: iconBreathe 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    z-index: 1;
}

/* Hover Effects */
.chatbot-float:hover .chatbot-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow:
        0 12px 35px rgba(251, 176, 58, 0.6),
        0 6px 20px rgba(255, 149, 0, 0.5),
        inset 0 -3px 15px rgba(0, 0, 0, 0.15),
        inset 0 3px 15px rgba(255, 255, 255, 0.4);
}

.chatbot-float:hover .chatbot-icon i {
    animation: iconShake 0.6s ease-in-out;
}

.chatbot-float:active .chatbot-icon {
    transform: scale(1.05);
}

/* Pulse Rings */
.chatbot-pulse-1,
.chatbot-pulse-2 {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 176, 58, 0.6), rgba(255, 149, 0, 0.4));
    z-index: 1;
}

.chatbot-pulse-1 {
    animation: pulseExpand 2.5s ease-out infinite;
}

.chatbot-pulse-2 {
    animation: pulseExpand 2.5s ease-out 1.25s infinite;
}

/* Glow Effect */
.chatbot-glow {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 176, 58, 0.3), transparent 70%);
    filter: blur(15px);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 0;
}

/* Tooltip */
.chatbot-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: white;
    color: #333;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    border: 2px solid #fbb03a;
}

.chatbot-tooltip::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 15px;
    height: 15px;
    background: white;
    border-right: 2px solid #fbb03a;
    border-bottom: 2px solid #fbb03a;
}

.chatbot-float:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Notification Dot */
.chatbot-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.5);
    animation: notificationBlink 2s ease-in-out infinite;
}

/* Animations */
@keyframes floatSmoothly {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(2deg);
    }

    50% {
        transform: translateY(-15px) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

@keyframes iconRotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

@keyframes iconBreathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes iconShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(-10deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(10deg);
    }
}

@keyframes pulseExpand {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes notificationBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Sparkle Effect on Hover */
.chatbot-float:hover .chatbot-container::before {
    content: '✨';
    position: absolute;
    font-size: 20px;
    top: -5px;
    left: -5px;
    animation: sparkle1 1s ease-out;
    pointer-events: none;
}

.chatbot-float:hover .chatbot-container::after {
    content: '✨';
    position: absolute;
    font-size: 16px;
    bottom: -5px;
    right: -5px;
    animation: sparkle2 1s ease-out 0.2s;
    pointer-events: none;
}

@keyframes sparkle1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-10px, -10px) scale(1);
    }
}

@keyframes sparkle2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(10px, 10px) scale(1);
    }
}

.subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 80px;
    font-weight: 400;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
}

.club-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.club-logo:hover {
    transform: scale(1.05);
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #cc0000;
}

@media (max-width: 1024px) {
    .slide {
        gap: 30px;
    }

    .club-logo {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .slide {
        flex-wrap: wrap;
        gap: 25px;
    }

    .club-logo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .club-logo {
        width: 100px;
        height: 100px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .chatbot-float {
        bottom: 25px;
        right: 25px;
    }

    .chatbot-container {
        width: 60px;
        height: 60px;
    }

    .chatbot-icon {
        width: 60px;
        height: 60px;
    }

    .chatbot-icon i {
        font-size: 28px;
    }

    .chatbot-pulse-1,
    .chatbot-pulse-2 {
        width: 60px;
        height: 60px;
    }

    .chatbot-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .chatbot-float {
        bottom: 20px;
        right: 20px;
    }

    .chatbot-container {
        width: 55px;
        height: 55px;
    }

    .chatbot-icon {
        width: 55px;
        height: 55px;
    }

    .chatbot-icon i {
        font-size: 24px;
    }

    .chatbot-pulse-1,
    .chatbot-pulse-2 {
        width: 55px;
        height: 55px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .chatbot-float,
    .chatbot-icon,
    .chatbot-icon i,
    .chatbot-pulse-1,
    .chatbot-pulse-2,
    .chatbot-glow,
    .chatbot-icon::after {
        animation: none !important;
    }
}

/* Hide on print */
@media print {
    .chatbot-float {
        display: none;
    }
}

@media (max-width: 768px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .horizontal-line {
        width: 0 !important;
        animation: none;
    }

    .team-member::before {
        display: none;
    }

    .connecting-line {
        display: none;
    }

    .profile-name {
        font-size: 18px;
    }

    .profile-role {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .team-members {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .senior-prefect .profile-image {
        width: 100px;
        height: 100px;
    }

    .team-member .profile-image {
        width: 80px;
        height: 80px;
    }

    .org-chart-container {
        padding: 30px 15px;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(152, 138, 59, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(152, 143, 59, 0);
    }
}

@media (max-width: 768px) {
    .directory-container {
        padding: 30px 20px;
    }

    .directory-title {
        font-size: 1.6rem;
    }

    .category-header {
        padding: 16px 20px;
        font-size: 15px;
    }

    .club-item {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .directory-container {
        padding: 25px 15px;
    }

    .directory-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

@media (max-width: 768px) {
    .exam-analysis-section {
        padding: 40px 25px;
        margin: 40px auto;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .chart-container {
        height: 350px;
    }

    .y-axis {
        width: 50px;
        padding-right: 10px;
    }

    .y-axis-label {
        font-size: 11px;
    }

    .x-axis {
        padding-left: 60px;
        padding-right: 5px;
    }

    .x-label {
        font-size: 12px;
    }

    .legend {
        gap: 20px;
    }

    .chart-wrapper {
        padding: 30px 20px;
    }

    .grade-selection {
        padding: 50px 0;
        grid-template-columns: auto;
        justify-content: center;
    }

    .grade {
        padding: 50px 50px;
    }
}

@media (max-width: 480px) {
    .exam-analysis-section {
        padding: 30px 15px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .chart-container {
        height: 300px;
    }

    .y-axis {
        width: 40px;
    }

    .x-axis {
        padding-left: 50px;
    }
}

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 1200px) {
    .gallary {
        flex-direction: column;
        padding: 0 20px;
        justify-content: center;
        align-items: center;
    }

    .album {
        margin-bottom: 50px;
    }
}

/* Tablet and Smaller Desktops */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        /* Stack main content areas */
        align-items: center;
        padding-bottom: 20px;
    }

    .footer-nav {
        justify-content: space-around;
        /* Distribute columns evenly */
        width: 100%;
        margin-bottom: 30px;
    }

    .nav-column {
        flex-basis: 40%;
        /* Two columns per row max */
        margin-bottom: 20px;
    }

    .footer-right {
        align-items: center;
        /* Center items when stacked */
        text-align: center;
    }

    .windows-activation {
        /* Adjust positioning for the Windows message on smaller screens */
        position: static;
        text-align: center;
        margin-top: 15px;
    }
}

/* Mobile Devices */
@media (max-width: 550px) {
    .site-footer {
        padding-top: 20px;
    }

    .footer-nav {
        flex-direction: column;
        /* Stack columns vertically */
        gap: 0;
    }

    .nav-column {
        min-width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }

    .column-title {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }

    .news-header h1 {
        font-size: 1.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-content {
        width: 95%;
        margin: 1% auto;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-body {
        padding: 25px;
    }

    .article-interactions {
        padding: 20px 25px;
    }

    .interaction-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 1.5rem;
    }
}

/*Responsive Styles*/
@media (max-width: 880px) {
    .navbar {
        backdrop-filter: none;
        background: #fff;
    }

    .navbar-container .navbar-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        position: absolute;
        height: 100vh;
        top: 0;
        padding: 100px 140px 100px 50px;
        right: 0;
        backdrop-filter: blur(10px);
    }

    .navbar-container .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
        z-index: 999;
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .banner {
        flex-direction: column;
        align-items: center;
        padding: 50px 15px;
    }

    .banner-img {
        width: 100%;
        margin-bottom: 30px;
    }

    .details {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0% 20px;
    }
}

.album a {
    text-decoration: none;
    color: #000;
}

/* Add this to your style.css file */

/* Share Container on News Cards */
.share-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 15;
}

.share-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 176, 58, 0.3);
    color: #fbb03a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.share-btn:hover {
    background: #fbb03a;
    color: white;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(251, 176, 58, 0.4);
}

.share-btn:active {
    transform: scale(0.95);
}

/* Share Menu Dropdown */
.share-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 20;
}

.share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #333;
}

.share-option:hover {
    transform: translateX(5px);
}

.share-option i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.share-option.facebook {
    color: #1877f2;
}

.share-option.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
}

.share-option.whatsapp {
    color: #25d366;
}

.share-option.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

.share-option.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.share-option.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: white;
    background-clip: initial;
    color: white;
}

/* Article Share Button (in full article modal) */
.article-share-container {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.article-share-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #f09433;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.article-share-btn i {
    font-size: 16px;
}

.article-share-btn:hover {
    background: #fbb03a;
    color: rgba(255, 255, 255, 0.95);
    border-color: #fbb03a;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(251, 176, 58, 0.4);
}

.article-share-container .share-menu {
    bottom: 60px;
    top: auto;
    right: 0;
}

.article-share-container .share-menu::before {
    top: auto;
    bottom: -8px;
    border-bottom: none;
    border-top: 8px solid white;
}

/* Instagram Instructions Modal */
.share-instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3500;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.share-instructions-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-instructions {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.close-instructions:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.instructions-header {
    text-align: center;
    margin-bottom: 30px;
}

.instructions-header i {
    font-size: 60px;
    margin-bottom: 15px;
}

.instagram-gradient {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instructions-header h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.instructions-body {
    text-align: center;
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.success-message i {
    color: #28a745;
    font-size: 24px;
}

.success-message p {
    color: #155724;
    font-weight: 600;
    margin: 0;
    font-size: 16px;
}

.instructions-steps {
    text-align: left;
    margin-bottom: 25px;
}

.instructions-steps h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.instructions-steps ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instructions-steps li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.instructions-steps li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.instructions-steps li i {
    color: #fbb03a;
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.instructions-steps li span {
    color: #555;
    font-size: 14px;
}

.open-instagram-btn {
    width: 100%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.open-instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.open-instagram-btn i {
    font-size: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .share-menu {
        min-width: 140px;
    }

    .share-option {
        padding: 10px 12px;
        font-size: 13px;
        gap: 10px;
    }

    .share-option i {
        font-size: 16px;
        width: 20px;
    }

    .article-share-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .share-instructions-content {
        padding: 30px 20px;
    }

    .instructions-header i {
        font-size: 50px;
    }

    .instructions-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .share-instructions-modal {
        padding: 15px;
    }

    .share-instructions-content {
        padding: 25px 15px;
    }

    .instructions-steps li {
        font-size: 13px;
    }

    .open-instagram-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* Featured News Share Button */
.featured-news-card .share-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
}

.featured-news-card .share-btn {
    background: rgba(255, 255, 255, 0.95);
    width: 45px;
    height: 45px;
    font-size: 18px;
}

.featured-news-card .share-menu {
    top: 55px;
}

.mobile {
    display: none;
}

.mobile-video-container {
    display: none;
}


@media (max-width: 600px) {
    .video-container {
        position: relative;
        height: auto;
        overflow: hidden;
        display: none;
    }

    .m-vid {
        width: 100%;
        height: auto;
    }

    .mobile-video-container {
        display: block;
    }

    .mobile-overlay {
        background: linear-gradient(-45deg, #ff9500, #ffc341);
        padding: 40px 20px;
    }

    .mobile-overlay .ttt-m h1,
    .mobile-overlay .ttt-m h2 {
        font-size: 30px;
        color: #f9f9f9;
    }

    .mobile-overlay .ttt-m h2 {
        margin-top: -7px;
    }

    .mobile-overlay .ttt-m p {
        color: #f8f8f8;
        padding-top: 15px;
    }
}

/* Celebration Ribbons */
.celebration-ribbon {
    animation: ribbonFall 1.8s ease-out forwards;
}

@keyframes ribbonFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(calc(100vh + 50px)) rotate(720deg);
        opacity: 0;
    }
}

/* Celebration Twinkles */
.celebration-twinkle {
    animation: twinkleSparkle 1.2s ease-in-out forwards;
}

@keyframes twinkleSparkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
        box-shadow: 0 0 0 transparent;
    }

    20% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 10px currentColor;
    }

    40% {
        transform: scale(1);
        box-shadow: 0 0 5px currentColor;
    }

    60% {
        transform: scale(1.2);
        box-shadow: 0 0 8px currentColor;
    }

    80% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 5px currentColor;
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
        box-shadow: 0 0 0 transparent;
    }
}

/* Glitter effect for twinkles */
.celebration-twinkle::before,
.celebration-twinkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300%;
    height: 1px;
    background: linear-gradient(90deg, transparent, white, transparent);
    opacity: 0;
    animation: twinkleGlitter 1.2s ease-in-out 0.3s forwards;
}

.celebration-twinkle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    animation-delay: 0.6s;
}

@keyframes twinkleGlitter {

    0%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Ribbon shine effect */
.celebration-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 2px;
    animation: ribbonShine 2s linear infinite;
}

@keyframes ribbonShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Subtle floating motion for twinkles */
@keyframes floatTwinkle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

/* Add floating animation to some twinkles */
.celebration-twinkle:nth-child(odd) {
    animation: twinkleSparkle 1.2s ease-in-out forwards, floatTwinkle 3s ease-in-out infinite;
}

.celebration-twinkle:nth-child(even) {
    animation: twinkleSparkle 1.2s ease-in-out forwards, floatTwinkle 2.5s ease-in-out infinite reverse;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Popup Content */
.popup-content {
    background: #ffffff;
    border-radius: 30px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 600px;
    width: 90%;
    z-index: 10001;
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
    color: #666;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
    color: #333;
}

/* Title */
.title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Year Container */
.year-container {
    position: relative;
    margin: 30px 0;
}

.year {
    font-size: 7rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff9500 0%, #ffc341 50%, #ff9500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    position: relative;
    display: inline-block;
}

@keyframes popIn {
    from {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Subtitle */
.subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Message */
.message {
    color: #555;
    font-size: 1rem;
    margin: 20px 0 30px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.6s both;
}

/* Fireworks Canvas */
#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Emoji Decorations */
.emoji {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.emoji-1 {
    top: 20px;
    left: 30px;
    animation-delay: 0s;
}

.emoji-2 {
    top: 30px;
    right: 70px;
    animation-delay: 0.5s;
}

.emoji-3 {
    bottom: 40px;
    left: 40px;
    animation-delay: 1s;
}

.emoji-4 {
    bottom: 30px;
    right: 40px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .popup-content {
        padding: 40px 30px;
    }

    .title {
        font-size: 1.5rem;
    }

    .year {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .emoji {
        font-size: 1.5rem;
    }

    .close-button {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}