@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5276;
    --primary-dark: #154360;
    --secondary-color: #e67e22;
    --accent-color: #27ae60;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark: #1a1a2e;
    --gradient-primary: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    --gradient-secondary: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    --gradient-hero: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #1a5276 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar - Modern Gradient */
.top-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 0;
    letter-spacing: 0.3px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    font-size: 14px;
    color: var(--secondary-color);
}

.contact-info a {
    font-size: 14px;
    color: var(--white);
    text-decoration: none;
    word-break: break-all;
    text-align: center;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    font-size: 14px;
    color: var(--white);
}

.top-links {
    margin-top: 10px;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.top-links a {
    font-size: 14px;
    color: var(--white);
    text-decoration: none;
    text-align: center;
    padding: 8px 16px;
    border-radius: 6px;
    background: var(--primary-color);
    transition: var(--transition);
    display: inline-block;
}

.top-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header - Premium Design */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    flex-wrap: nowrap;
    gap: 15px;
}

/* Logo with Image */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

.logo-text p {
    color: var(--secondary-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation - Modern Style */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav > ul > li > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: var(--white);
    background: var(--gradient-primary);
}

.main-nav > ul > li > a i {
    font-size: 10px;
    transition: var(--transition);
}

.main-nav > ul > li:hover > a i {
    transform: rotate(180deg);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 12px 0;
    border-radius: var(--border-radius);
    border-top: 3px solid var(--secondary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, var(--light-bg) 0%, transparent 100%);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Social Media Icons in Top Bar */
.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-icons a[title="Facebook"]:hover {
    background: #1877f2;
}

.social-icons a[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icons a[title="WhatsApp"]:hover {
    background: #25d366;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}


.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease;
}

.slide-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.slide-content p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Old Hero Section (kept for other pages) */
.hero {
    min-height: 600px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.15;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(26, 82, 118, 0.8), transparent);
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shapes span {
    position: absolute;
    display: block;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 15s infinite;
}

.hero-shapes span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-shapes span:nth-child(2) { left: 20%; animation-delay: 2s; width: 60px; height: 60px; }
.hero-shapes span:nth-child(3) { left: 35%; animation-delay: 4s; }
.hero-shapes span:nth-child(4) { left: 50%; animation-delay: 0s; width: 100px; height: 100px; }
.hero-shapes span:nth-child(5) { left: 65%; animation-delay: 3s; }
.hero-shapes span:nth-child(6) { left: 80%; animation-delay: 5s; width: 50px; height: 50px; }
.hero-shapes span:nth-child(7) { left: 90%; animation-delay: 1s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 1s 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Buttons - Modern Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Highlights Section - Premium Cards */
.highlights {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    position: relative;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(26, 82, 118, 0.3);
}

.highlight-card:hover .highlight-icon {
    transform: rotateY(180deg);
    border-radius: 50%;
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* About Section - Modern Layout */
.about-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-text strong {
    color: var(--secondary-color);
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 4px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Messages Section - Modern Cards */
.messages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f4f8 100%);
}

.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.message-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.message-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.08;
}

.message-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.message-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.message-card p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 15px;
}

.read-more:hover {
    gap: 15px;
    color: var(--primary-color);
}

/* Statistics Section - Animated Counters */
.statistics {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.15);
}

.stat-item h3 {
    font-size: 56px;
    margin-bottom: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* News & Events Section - Modern Cards */
.news-events {
    padding: 100px 0;
    background: var(--white);
}

.news-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
}

.news-date {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content h3 {
    color: var(--primary-color);
    margin: 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
}

/* Footer - Premium Design */
.main-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-col p {
    margin-bottom: 12px;
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 20px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form button {
    padding: 15px 25px;
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-social a[title="Facebook"]:hover {
    background: #1877f2;
}

.footer-social a[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social a[title="WhatsApp"]:hover {
    background: #25d366;
}

/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
}

.popup-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideInUp 0.3s ease;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--danger-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.popup-close:hover {
    transform: scale(1.1);
}

.popup-body {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-light);
}

.popup-body p {
    margin-bottom: 15px;
    font-size: 16px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 20px;
    }
    
    .popup-header h3 {
        font-size: 20px;
    }
    
    .popup-body p {
        font-size: 14px;
    }
}

/* Ensure popup is visible when show class is added */
.popup-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.popup-overlay {
    visibility: hidden;
}

.popup-overlay.show {
    visibility: visible;
}

/* Animation for popup appearance */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ensure popup content is properly styled */
.popup-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideInUp 0.3s ease;
}

/* Additional popup styling for better visibility */
.popup-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.popup-header p {
    color: var(--secondary-color);
    font-style: italic;
    margin: 5px 0 0 0;
    font-size: 14px;
}

.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
}

.page-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: none;
    position: relative;
    font-weight: 700;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.content-section h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.content-section p {
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 16px;
}

.content-section ul {
    margin-left: 25px;
    margin-bottom: 25px;
}

.content-section ul li {
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    padding-left: 10px;
}

.content-section ul li::marker {
    color: var(--secondary-color);
}

/* Form Styles - Modern */
.registration-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.admission-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 30px;
}

.admission-form h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Responsive Design - Enhanced */
@media (max-width: 1024px) {
    .main-nav > ul > li > a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        width: 100%;
    }

    .main-nav.active {
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 15px;
        gap: 5px;
    }
    
    .main-nav > ul > li > a {
        padding: 12px 15px;
        border-radius: 10px;
        background: var(--light-bg);
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-left: 15px;
        margin-top: 5px;
        border-top: none;
        padding: 5px 0;
        display: block;
    }
    
    .dropdown-menu a {
        padding: 10px 15px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .main-header {
        position: relative;
    }

    /* Hero Slider Responsive */
    .hero-slider-section {
        height: 500px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-content h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .slide-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image::before {
        display: none;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-info span {
        font-size: 12px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .top-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .page-header {
        padding: 70px 0 50px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .highlight-grid,
    .messages-grid,
    .news-events-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 50px;
    }

    .hero {
        min-height: 400px;
    }
    
    .hero-slider-section {
        height: 450px;
    }
    
    .slide-content {
        padding: 0 15px;
    }
    
    .slide-content h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-content h2 {
        font-size: 22px;
    }

    .section-header h2 {
        font-size: 24px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }

    .highlight-card,
    .message-card {
        padding: 25px 15px;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .highlight-card h3 {
        font-size: 18px;
    }
    
    .highlight-card p {
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .stat-item p {
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .registration-form {
        padding: 25px 15px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .top-bar {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .top-links a {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-text p {
        font-size: 14px;
    }
    
    .news-card {
        border-radius: 15px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px 15px;
    }
    
    .news-content h3 {
        font-size: 16px;
    }
    
    .messages-grid {
        gap: 20px;
    }
    
    .message-card h3 {
        font-size: 18px;
    }
    
    .message-card p {
        font-size: 14px;
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth animations for elements */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: popupZoom 0.4s ease;
}

@keyframes popupZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.popup-close:hover {
    background: var(--primary-color);
    transform: scale(1.1) rotate(90deg);
}

@media (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        padding: 10px;
    }
    
    .popup-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* Document Modal Styles */
.document-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.document-modal .modal-content {
    position: relative;
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.document-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-modal .modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.document-modal .modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.document-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.document-modal .modal-body {
    height: calc(90vh - 70px);
    padding: 0;
}

.document-modal .modal-body iframe {
    border: none;
    border-radius: 0 0 10px 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .document-modal .modal-content {
        width: 95%;
        height: 95vh;
        margin: 2.5% auto;
    }
    
    .document-modal .modal-header {
        padding: 10px 15px;
    }
    
    .document-modal .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .document-modal .modal-close {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .document-modal .modal-body {
        height: calc(95vh - 55px);
    }
}

/* Documents Grid Layout */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 25px;
    padding: 30px 0;
}

.document-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.document-card:hover::before {
    transform: scaleX(1);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.document-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.document-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
}

.document-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.document-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    margin: 0;
}

.document-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.document-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(26, 82, 118, 0.3);
}

.document-card .btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.document-card .btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}

.document-card .btn-secondary:hover {
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Responsive adjustments for documents grid */
@media (max-width: 1024px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, auto);
    }
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(12, auto);
        gap: 20px;
        padding: 20px 0;
    }
    
    .document-card {
        padding: 20px;
    }
    
    .document-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .document-card h3 {
        font-size: 1rem;
    }
    
    .document-card p {
        font-size: 0.85rem;
    }
}

/* Achievements Table Styles */
.achievements-table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.achievements-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.achievements-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.achievements-table thead th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
}

.achievements-table thead th:first-child {
    border-top-left-radius: var(--border-radius);
}

.achievements-table thead th:last-child {
    border-top-right-radius: var(--border-radius);
}

.achievements-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: var(--transition);
}

.achievements-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.achievements-table tbody tr:hover {
    background: linear-gradient(90deg, #e8f4f8 0%, #f0f8ff 100%);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.achievements-table tbody td {
    padding: 16px 15px;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

.achievements-table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.achievements-table tbody td:last-child {
    font-weight: 400;
    color: var(--text-light);
}

/* Responsive table styles */
@media (max-width: 768px) {
    .achievements-table-container {
        margin: 20px 0;
        border-radius: 10px;
    }
    
    .achievements-table {
        font-size: 13px;
    }
    
    .achievements-table thead th {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .achievements-table tbody td {
        padding: 12px 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .achievements-table {
        font-size: 11px;
    }
    
    .achievements-table thead th {
        padding: 10px 6px;
        font-size: 11px;
    }
    
    .achievements-table tbody td {
        padding: 10px 6px;
        font-size: 11px;
    }
}

/* 2x3 Grid for subfolder pages */
.document-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 25px;
    padding: 30px 0;
}

@media (max-width: 768px) {
    .document-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 20px;
        padding: 20px 0;
    }
}

/* Basic Details Page Styles */
.content-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.content-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gradient-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section h2 i {
    font-size: 20px;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f0f8ff;
    transform: translateX(5px);
}

.info-item strong {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        gap: 20px;
        margin-top: 20px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .info-item strong {
        font-size: 13px;
    }
    
    .info-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 15px;
    }
    
    .content-section h2 {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-item {
        padding: 10px;
    }
}

/* Popup Modal Styles */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.popup-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.popup-content {
    background: transparent;
    border-radius: 0;
    max-width: 90vw;
    width: auto;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: none;
}

.popup-modal:not(.hidden) .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    transform: scale(1.1);
}

.popup-body {
    padding: 0;
    text-align: center;
}

.popup-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 0;
}

.popup-image img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.popup-image img:hover {
    transform: scale(1.02);
}

/* Show popup on page load */
.popup-modal:not(.hidden) {
    display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-content {
        width: 95vw;
        margin: 0;
    }
    
    .popup-image {
        max-height: 90vh;
    }
    
    .popup-image img {
        max-height: 90vh;
    }
    
    .popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 98vw;
        margin: 0;
    }
    
    .popup-image {
        max-height: 90vh;
    }
    
    .popup-image img {
        max-height: 90vh;
    }
    
    .popup-close {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

/* Gallery Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-modal .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-modal .modal-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.image-modal .modal-caption {
    padding: 20px;
    text-align: center;
    background: white;
}

.image-modal .modal-caption h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 22px;
}

.image-modal .modal-caption p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Make gallery images clickable */
.news-image img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .image-modal .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .image-modal .modal-content img {
        max-height: 60vh;
    }
    
    .image-modal .modal-caption {
        padding: 15px;
    }
    
    .image-modal .modal-caption h3 {
        font-size: 18px;
    }
    
    .image-modal .modal-caption p {
        font-size: 14px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .image-modal {
        padding: 10px;
    }
    
    .image-modal .modal-content {
        max-width: 98%;
        margin: 5px;
    }
    
    .image-modal .modal-content img {
        max-height: 50vh;
    }
    
    .image-modal .modal-caption {
        padding: 10px;
    }
    
    .image-modal .modal-caption h3 {
        font-size: 16px;
    }
    
    .image-modal .modal-caption p {
        font-size: 13px;
    }
    
    .close-modal {
        top: 8px;
        right: 10px;
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
}

