:root {
    --primary: #1a237e;
    --secondary: #ff6f00;
    --accent: #4caf50;
    --light: #f5f5f5;
    --dark: #212121;
    --gold: #ffd700;
    --admin-bg: #eef2f7;
    --success: #2e7d32;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
    color: #333;
    line-height: 1.6;
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, #283593 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--secondary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 35, 126, 0.85), rgba(26, 35, 126, 0.9)), url('https://images.unsplash.com/photo-1524492412937-b28074a5d7da?ixlib=rb-4.0.3') no-repeat center center/cover;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease;
}

.date-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

/* Founder Section */
.founder-section {
    padding: 5rem 0;
    background-color: #fff;
    position: relative;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.founder-icon {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-icon i {
    font-size: 15rem;
    color: var(--primary);
    opacity: 0.8;
}

.founder-content {
    flex: 1;
    min-width: 300px;
}

.founder-title {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.founder-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.founder-quote {
    font-size: 1.4rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 20px;
    border-left: 4px solid var(--secondary);
    background-color: rgba(26, 35, 126, 0.03);
    color: var(--dark);
}

.founder-signature {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--primary);
    text-align: right;
    margin-top: 20px;
}

/* Objectives Section */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 12px auto;
    border-radius: 2px;
}

.objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.objective-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.objective-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.card-body ul {
    list-style-type: none;
}

.card-body li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.card-body li:before {
    content: '•';
    color: var(--accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 3px;
}

/* Calendar Section */
.calendar-section {
    background-color: #eef2f7;
}

.calendar-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: white;
    padding: 20px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    min-width: 600px;
}

.calendar-table th {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.calendar-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.calendar-table tr:last-child td {
    border-bottom: none;
}

.calendar-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.holiday-badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 8px;
}

.completed-badge {
    display: inline-block;
    background-color: var(--success);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 8px;
}

.coming-soon {
    color: var(--secondary);
    font-weight: bold;
    font-style: italic;
}

.district-badge {
    display: inline-block;
    background: linear-gradient(45deg, #1a237e, #4a148c);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 2px;
}

/* Admin Panel */
.admin-panel {
    background-color: var(--admin-bg);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.admin-panel h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.admin-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
}

@media (max-width: 768px) {
    .admin-form {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.admin-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.admin-btn:hover {
    background: #283593;
    transform: translateY(-2px);
}

/* Media Upload Section */
.media-upload-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.media-upload-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.media-upload-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.media-upload-form .form-group {
    grid-column: span 2;
}

.media-upload-form .form-group:last-child {
    grid-column: span 1;
}

/* Login Panel */
.login-panel {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.login-panel h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #283593 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,100 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
}


.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    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.3), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover {
    background-color: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 111, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
    background-color: #ffc400;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #ddd;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-column p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 4px;
}
.contact-info a {
color: inherit;
text-decoration: underline;
}
.contact-info a:hover {
color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 111, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 111, 0, 0);
    }
}

/* Founder Badge */
.founder-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    transform: rotate(5deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 3;
}

/* Visitor Counter */
.visitor-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* District Badges */
.districts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .founder-container {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .founder-signature {
        text-align: center;
    }
    
    .founder-icon i {
        font-size: 10rem;
    }
    
    .media-upload-form .form-group {
        grid-column: span 1;
    }
}
