/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    min-height: 100vh;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 2px;
}

/* Header Styles */
.header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 3px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
}

.contact-item strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.contact-item span:first-child {
    color: #60a5fa;
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(96, 165, 250, 0.3));
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar {
    padding: 6px 12px;
    border: 2px solid #3b82f6;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    font-size: 0.85rem;
    width: 200px;
    transition: all 0.3s ease;
}

.search-bar:focus {
    outline: none;
    border-color: #60a5fa;
    background: white;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
    width: 250px;
}

.search-bar::placeholder {
    color: #64748b;
}

.search-btn {
    background: #3b82f6;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emblem {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.nav-text {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.nav-subtitle {
    color: #e0e7ff;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    margin-top: 80px;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-title {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-emblem {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.national-emblem {
    font-size: 3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.national-emblem::before {
    content: '🦁🦁🦁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    letter-spacing: -2px;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.developer-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.developer-link:hover {
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3b82f6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.3);
    z-index: 998;
    font-size: 20px;
    font-weight: bold;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

/* Scrolling Announcements */
.scrolling-announcements {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #f59e0b;
    overflow: hidden;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}

.announcement-content {
    display: flex;
    animation: scroll-left 45s linear infinite;
    white-space: nowrap;
}

.announcement-item {
    padding: 0 50px;
    color: #92400e;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.3px;
    background: linear-gradient(90deg, #92400e, #78350f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(146, 64, 14, 0.3));
}

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

/* Home Section */
#home {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 115px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e0e7ff;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #1e40af;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
    padding: 13px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1rem;
    color: #e0e7ff;
    font-weight: 500;
}

/* CSR Impact Section */
.csr-impact-section {
    margin-bottom: 80px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.impact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #2563eb);
}

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

.impact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.impact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
}

.impact-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.impact-metrics {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.metric {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Partnership Benefits */
.partnership-section {
    margin-bottom: 80px;
}

.benefits-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    border-radius: 12px;
    color: white;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 10px;
}

.benefit-content p {
    color: #64748b;
    line-height: 1.6;
}

.testimonial-card {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
    color: white;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info span {
    color: #e0e7ff;
    font-size: 0.9rem;
}

/* Projects Section */
.projects-section {
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status {
    background: #fef3c7;
    color: #92400e;
}

.project-status.completed {
    background: #d1fae5;
    color: #065f46;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
    margin-right: 100px;
}

.project-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-item {
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1e40af;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e7ff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.profile-table,
.csr-table,
.contact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.profile-table th,
.csr-table th,
.contact-table th {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.profile-table td,
.csr-table td,
.contact-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.profile-table tr:hover,
.csr-table tr:hover,
.contact-table tr:hover {
    background: #f8fafc;
}

.profile-table tr:last-child td,
.csr-table tr:last-child td,
.contact-table tr:last-child td {
    border-bottom: none;
}

/* CSR Zone Tabs */
.tab-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: #e2e8f0;
    color: #1e40af;
}

.tab-btn.active {
    color: #1e40af;
    background: white;
    border-bottom-color: #1e40af;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Announcements */
.announcement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.announcement-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.announcement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.announcement-date {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.announcement-card h4 {
    color: #1e40af;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.announcement-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Centered Contact Elements */
.contact-tables {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.table-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: 0 auto;
}

.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info {
    text-align: center;
    margin-top: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    color: #1e40af;
}

/* Contact Form Centering */
.Contact-form {
    max-width: 100%;
    margin: 0 auto;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

.table-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 20px;
}

.contact-form-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 30px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-label {
    font-weight: 600;
    color: #374151;
    min-width: 80px;
    margin-right: 10px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Simple Navigation for Village Profile */
.simple-nav {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.simple-nav .nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.simple-nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-nav-menu li {
    margin: 0;
}

.simple-nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.simple-nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.simple-nav-menu li a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Mobile Touch Optimizations */
@media (max-width: 768px) {
    /* Centered Contact Elements Mobile */
    .contact-tables {
        align-items: center;
        justify-content: center;
        padding: 0 15px;
    }

    .table-section {
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-form-section {
        max-width: 100%;
        padding: 0 15px;
    }

    .Contact-form {
        max-width: 100%;
    }

    .submit-btn {
        max-width: 100%;
    }

    /* Simple Navigation Responsive */
@media (max-width: 768px) {
    /* Simple Navigation Responsive */
    .simple-nav {
        padding: 10px 0;
    }

    .simple-nav .nav-logo {
        gap: 3px;
        margin-bottom: 10px;
    }

    .simple-nav-menu {
        flex-direction: column;
        gap: 5px;
    }

    .simple-nav-menu li a {
        padding: 12px 15px;
        font-size: 0.9rem;
        min-height: 44px;
        text-align: center;
    }

    /* Improve touch targets */
@media (max-width: 768px) {
    }

    /* Improve touch targets */
@media (max-width: 768px) {
    /* Improve touch targets */
    .nav-menu li a {
        padding: 20px 25px;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tab-btn {
        min-width: 120px;
        padding: 15px 20px;
        min-height: 44px;
    }

    .submit-btn, .search-btn, .back-to-top {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve form inputs for mobile */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 15px;
        min-height: 44px;
    }

    /* Better mobile scrolling */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Improve table responsiveness */
    .profile-table,
    .csr-table,
    .contact-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .profile-table th,
    .csr-table th,
    .contact-table th {
        padding: 8px 5px;
        font-size: 0.75rem;
    }

    .profile-table td,
    .csr-table td,
    .contact-table td {
        padding: 8px 5px;
        font-size: 0.75rem;
    }

    /* Better mobile images */
    .emblem, .footer-emblem, .national-emblem {
        max-width: 100%;
        height: auto;
    }

    /* Improved mobile spacing */
    .section {
        padding: 40px 15px;
    }

    .container {
        padding: 0 15px;
    }

    /* Better mobile cards */
    .card, .stat-card, .announcement-card, .project-card {
        margin-bottom: 20px;
    }

    /* Mobile navigation improvements */
    .nav-container {
        padding: 0 10px;
    }

    .hamburger {
        padding: 8px;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .hamburger:active {
        background: rgba(255, 255, 255, 0.2);
    }
}
@media (max-width: 768px) {
    /* Top Bar Responsive */
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 8px 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }

    .search-container {
        order: -1;
        margin-bottom: 10px;
    }

    .search-bar {
        width: 180px;
        font-size: 0.8rem;
    }

    .search-bar:focus {
        width: 200px;
    }

    /* Navigation Responsive */
    .nav-container {
        height: 70px;
        padding: 0 15px;
    }

    .nav-text {
        font-size: 1.2rem;
    }

    .nav-subtitle {
        font-size: 0.75rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 5px;
    }

    .hamburger .bar {
        width: 25px;
        height: 3px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        padding: 15px 20px;
        font-size: 1rem;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Hero Section Responsive */
    .hero-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Benefits Section Responsive */
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .benefit-icon {
        margin: 0 auto 20px;
    }

    /* Projects Section Responsive */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card h3 {
        margin-right: 0;
        font-size: 1.2rem;
    }

    /* CTA Section Responsive */
    .cta-section {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

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

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
    }

    .announcement-cards {
        grid-template-columns: 1fr;
    }

    .highlight-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .card {
        padding: 30px 20px;
    }

    .profile-table,
    .csr-table,
    .contact-table {
        font-size: 0.85rem;
    }

    .profile-table th,
    .csr-table th,
    .contact-table th,
    .profile-table td,
    .csr-table td,
    .contact-table td {
        padding: 10px;
    }

    /* Village Profile Responsive */
    .village-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 20px;
    }

    /* Contact Form Responsive */
    .contact-form-section {
        padding: 30px 20px;
    }

    .contact-info {
        padding: 20px;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .info-item {
        flex-direction: column;
        gap: 5px;
    }

    .info-label {
        font-size: 0.9rem;
    }

    .info-item span {
        font-size: 0.85rem;
        word-break: break-word;
    }
}
}

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

    .section {
        padding: 60px 0;
    }

    /* Top Bar Mobile */
    .top-bar {
        padding: 4px 0;
    }

    .top-bar-content {
        gap: 6px;
        padding: 6px 0;
    }

    .contact-info span {
        font-size: 0.75rem;
    }

    .contact-item strong {
        font-size: 0.8rem;
    }

    .search-bar {
        width: 150px;
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .search-bar:focus {
        width: 170px;
    }

    .search-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Navigation Responsive */
    .nav-container {
        height: 65px;
    }

    .nav-text {
        font-size: 1.1rem;
    }

    .nav-subtitle {
        font-size: 0.7rem;
    }

    .emblem {
        width: 45px;
        height: 45px;
    }

    .nav-menu {
        top: 65px;
    }

    /* Navigation Mobile */
    .nav-container {
        height: 65px;
    }

    .nav-text {
        font-size: 1.1rem;
    }

    .nav-subtitle {
        font-size: 0.7rem;
    }

    .emblem {
        width: 45px;
        height: 45px;
    }

    .nav-menu {
        top: 65px;
    }

    /* Footer Mobile */
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-emblem {
        width: 35px;
        height: 35px;
    }

    .footer-column h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .footer-title {
        font-size: 1rem;
        text-align: center;
    }

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

    .footer-links a {
        justify-content: center;
        font-size: 0.85rem;
    }

    .footer-contact p {
        text-align: center;
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .copyright p {
        font-size: 0.8rem;
    }

    .footer-bottom-links {
        gap: 15px;
    }

    .footer-bottom-links a {
        font-size: 0.8rem;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 30px 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary, .btn-outline {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Impact Cards Mobile */
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-card {
        padding: 30px 20px;
    }

    .impact-icon {
        font-size: 2.5rem;
    }

    /* Benefits Mobile */
    .benefit-item {
        padding: 15px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Projects Mobile */
    .project-card {
        padding: 20px;
    }

    .project-status {
        position: static;
        margin-bottom: 15px;
        display: inline-block;
    }

    .project-card h3 {
        font-size: 1.1rem;
        margin-right: 0;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 40px 15px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-table {
        font-size: 0.75rem;
    }

    .contact-table th,
    .contact-table td {
        padding: 8px 5px;
    }

    .tab-btn {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .tab-content {
        padding: 20px 15px;
    }

    /* Testimonial Mobile */
    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-card::before {
        font-size: 3rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    /* Back to Top Mobile */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.3);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

/* Loading animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.loading {
    animation: pulse 2s infinite;
}
