:root {
    --navbar-color: #1e344c;
    --heading-color: #1a2835;
    --subheading-color: #0a0b07;
    --button-color: #0a0b07;
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --purple-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: #fff;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    animation: preloaderAutoHide 4s forwards; /* Auto-hide after 4 seconds as fallback */
}

#preloader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

@keyframes preloaderAutoHide {
    0%, 75% { 
        opacity: 1; 
        visibility: visible; 
    }
    100% { 
        opacity: 0; 
        visibility: hidden; 
        pointer-events: none; 
    }
}

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    width: 120px;
    height: auto;
    animation: pulse 2s infinite;
    filter: brightness(0) invert(1);
}

.loading-animation {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInOut 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

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

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Tailwind CSS Navbar Styles */
/* =========================== */

/* Navbar Background */
.navbar-bg {
    background: #1e344c !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-bg.scrolled {
    background: #1e344c !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

/* Desktop Navigation Links */
.nav-link-desktop {
    font-weight: 500;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin: 0 15px;
    text-decoration: none;
}

.nav-link-desktop:hover,
.nav-link-desktop.active {
    color: #f3f4f6;
}

/* Underline effect for regular nav links only (not dropdowns) */
.nav-link-desktop:not(.dropdown-toggle-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-desktop:not(.dropdown-toggle-btn):hover::after,
.nav-link-desktop:not(.dropdown-toggle-btn).active::after {
    width: 100%;
}

/* Dropdown Toggle Button */
.dropdown-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-chevron {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.8;
    transform-origin: center;
}

.dropdown-toggle-btn:hover .dropdown-chevron {
    opacity: 1;
    transform: scale(1.1);
}

.dropdown-toggle-btn[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg) scale(1.1);
    opacity: 1;
}

/* Desktop Dropdown Container */
.dropdown-container {
    position: relative;
}

/* Desktop Dropdown Menu */
.dropdown-menu-desktop {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.75rem;
    min-width: 240px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(15px);
    transition: all 0.3s ease-out;
    overflow: hidden;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.dropdown-container:hover .dropdown-menu-desktop {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Desktop Dropdown Items */
.dropdown-item-desktop {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    border-radius: 8px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.dropdown-item-desktop:first-child {
    margin-top: 0.25rem;
}

.dropdown-item-desktop:last-child {
    margin-bottom: 0.25rem;
}

.dropdown-item-desktop:hover,
.dropdown-item-desktop:focus {
    color: white;
    transform: translateX(8px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.dropdown-item-desktop i {
    width: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dropdown-item-desktop:hover i,
.dropdown-item-desktop:focus i {
    opacity: 1;
    transform: scale(1.1);
}

/* Desktop Dropdown Divider */
.dropdown-divider-desktop {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 1rem;
}

/* Mobile Menu Button */
.mobile-menu-button {
    position: relative;
    width: 2rem;
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.mobile-menu-button:focus {
    outline: none;
}

.hamburger-line {
    width: 2rem;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.hamburger-line:nth-child(1) {
    margin-bottom: 6px;
}

.hamburger-line:nth-child(2) {
    margin-bottom: 6px;
}

.hamburger-line:nth-child(3) {
    margin-bottom: 0;
}

/* Mobile Menu Button Animation */
.mobile-menu-button[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-button[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu-container.show {
    pointer-events: auto;
    opacity: 1;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

/* Mobile Menu Content */
.mobile-menu-content {
    position: relative;
    background: rgba(30, 52, 76, 0.98);
    backdrop-filter: blur(15px);
    margin: 1rem;
    margin-top: 1rem;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s ease-out;
}

.mobile-menu-container.show .mobile-menu-content {
    transform: translateY(0) scale(1);
}

/* Mobile Navigation List */
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Mobile Navigation Links */
.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 500;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
    color: white;
}

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

/* Mobile Dropdown Container */
.mobile-dropdown-container {
    position: relative;
}

/* Mobile Dropdown Toggle */
.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-dropdown-chevron {
    margin-left: auto;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
    font-size: 1.125rem;
    font-weight: 600;
    transform-origin: center;
}

.mobile-dropdown-toggle[aria-expanded="true"] .mobile-dropdown-chevron {
    transform: rotate(180deg) scale(1.1);
}

/* Mobile Dropdown Menu */
.mobile-dropdown-menu {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    margin: 0.75rem 0;
    padding: 0.75rem 0;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
}

.mobile-dropdown-menu.show {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Mobile Dropdown Items */
.mobile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-radius: 0.5rem;
    margin: 0.25rem 0.5rem;
    text-decoration: none;
}

.mobile-dropdown-item:hover,
.mobile-dropdown-item:focus {
    transform: translateX(4px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-dropdown-item i {
    width: 20px;
    margin-right: 0.75rem;
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Ensure proper z-indexing */
.dropdown-menu-desktop,
.mobile-menu-container {
    z-index: 1000;
}

/* =========================== */
/* End Tailwind CSS Navbar Styles */

/* Navigation Styles */
.navbar {
    background: var(--navbar-color) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--navbar-color) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    height: 65px; /* Increased from 55px for better visibility */
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: white !important;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0 !important;
}

.nav-link:hover,
.nav-link.active {
    color: #f8f9fa !important;
}

/* Underline effect for regular nav links only (not dropdowns) */
.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.dropdown-toggle):hover::after,
.nav-link:not(.dropdown-toggle).active::after {
    width: 100%;
}

/* Custom Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Hamburger Animation */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Homepage Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/hero/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 52, 76, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-text, .hero-logo {
    position: relative;
    z-index: 4;
}

.btn-hero {
    position: relative;
    z-index: 5;
    cursor: pointer;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 350px;
    filter: brightness(0) invert(1);
    animation: float 6s ease-in-out infinite;
    margin-top: 2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-hero {
    background: var(--button-color);
    color: white;
    border: 2px solid var(--button-color);
}

.btn-primary-hero:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-hero:hover {
    background: white;
    color: var(--button-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Homepage Events Section */
.homepage-events-section {
    background: var(--purple-gradient);
    color: white;
    padding: 80px 0;
}

.homepage-events-section .section-title {
    color: white;
    margin-bottom: 3rem;
}

.homepage-event-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.homepage-event-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.homepage-event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: var(--primary-color);
    border-radius: 15px;
    padding: 0.5rem;
    text-align: center;
    min-width: 60px;
    z-index: 2;
}

.homepage-event-month {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.homepage-event-day {
    font-size: 1.5rem;
    font-weight: 700;
}

.homepage-event-poster {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.homepage-event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-event-content {
    padding: 1.5rem;
}

.homepage-event-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.homepage-event-meta {
    margin-bottom: 1rem;
}

.homepage-event-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.homepage-event-meta-item i {
    margin-right: 0.5rem;
    width: 16px;
}

.homepage-event-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.homepage-no-events {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.homepage-no-events h3 {
    color: white;
    margin-bottom: 1rem;
}

/* Homepage Social Media Section */
.homepage-social-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.homepage-social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.homepage-social-section .container {
    position: relative;
    z-index: 2;
}

.homepage-social-header {
    text-align: center;
    margin-bottom: 4rem;
}

.homepage-social-header h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.homepage-social-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.homepage-social-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.homepage-social-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.homepage-social-platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.homepage-social-platform {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.homepage-social-platform i {
    font-size: 2rem;
    color: #E4405F;
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.homepage-social-stats {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.social-content {
    color: white;
}

.social-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.social-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.post-previews {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.post-preview {
    text-align: center;
    flex: 1;
}

.post-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.post-thumbnail:hover {
    transform: scale(1.1) rotate(5deg);
}

.mission-post {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.mission-post::before {
    content: "📋";
    font-size: 2rem;
}

.youth-post {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.youth-post::before {
    content: "🎓";
    font-size: 2rem;
}

.cilird-post {
    background: linear-gradient(45deg, #26de81, #20bf6b);
}

.cilird-post::before {
    content: "🌍";
    font-size: 2rem;
}

.post-preview span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.homepage-social-follow-btn {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

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

.homepage-social-follow-btn:hover::before {
    left: 100%;
}

.homepage-social-follow-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.homepage-social-follow-btn i {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    width: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.homepage-instagram-btn:hover {
    background: linear-gradient(135deg, #E4405F, #C13584) !important;
    border-color: #E4405F;
}

.homepage-instagram-btn:hover i {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.homepage-linkedin-btn:hover {
    background: linear-gradient(135deg, #0077B5, #005885) !important;
    border-color: #0077B5;
}

.homepage-linkedin-btn:hover i {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.homepage-contact-btn:hover {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    border-color: #27ae60;
}

.homepage-contact-btn:hover i {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.homepage-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.homepage-btn-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.homepage-btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Button Styles */
.btn-primary {
    background-color: var(--button-color) !important;
    border-color: var(--button-color) !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent !important;
    border-color: var(--button-color) !important;
    color: var(--button-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 11, 7, 0.2);
}

.btn-outline-primary {
    background-color: transparent !important;
    border-color: var(--button-color) !important;
    color: var(--button-color) !important;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--button-color) !important;
    border-color: var(--button-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 11, 7, 0.2);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.section-title.text-start {
    text-align: left !important;
    color: var(--heading-color);
}

/* Update other headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

h1 {
    color: var(--heading-color);
}

h2 {
    color: var(--heading-color);
}

h3, h4, h5, h6 {
    color: var(--subheading-color);
}

/* Cards */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

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

.card-custom .card-body {
    padding: 2rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Publications */
.publication-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

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

.publication-cover {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.publication-content {
    padding: 1.5rem;
}

.publication-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.publication-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Footer */
.footer {
    background: var(--dark-gradient);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

/* Admin Panel Styles */
.admin-container {
    min-height: 100vh;
    background: var(--purple-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.admin-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.admin-body {
    padding: 2rem;
}

.admin-dashboard {
    background: #f8f9fa;
    min-height: 100vh;
}

.sidebar {
    background: var(--navbar-color);
    min-height: 100vh;
    color: white;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--secondary-color);
    color: white;
}

.main-content {
    padding: 2rem;
}

.stats-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 1rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stats-label {
    color: #666;
    font-size: 0.9rem;
}

/* Enhanced Who We Are Section */
.who-we-are-content {
    padding: 2rem 0;
}

.features-list {
    margin: 2rem 0;
}

.feature-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem !important;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.feature-item h5 {
    color: var(--heading-color);
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Enhanced Stats Cards */
.stats-card-enhanced {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.stats-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--purple-gradient);
}

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

.stats-icon {
    width: 50px;
    height: 50px;
    background: var(--purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.stats-card-enhanced:hover .stats-icon {
    transform: scale(1.1) rotate(360deg);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navbar-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stats-card-enhanced:hover .stats-number {
    color: var(--button-color);
}

.stats-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Image Container Enhancements */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.image-container:hover .main-image {
    filter: brightness(1.1) saturate(1.1);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navbar-color);
    backdrop-filter: blur(10px);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: #f39c12;
    font-size: 1rem;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.image-container:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.overlay-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.counter {
    animation: countUp 1s ease-out forwards;
}

/* Enhanced About Page Styles */

/* About Hero Section */
.about-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="70" r="1.5" fill="rgba(255,255,255,0.15)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.2)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

.about-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.about-hero-divider {
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.8);
    margin: 2rem auto;
    border-radius: 2px;
    animation: scaleIn 1s ease-out 0.4s both;
}

.about-hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255,255,255,0.8);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* About Story Section */
.about-story-section {
    padding: 8rem 0;
    background: #f8f9fa;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-badge.light {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.story-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.story-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.story-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.story-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-content p {
    color: #6c757d;
    line-height: 1.6;
}

.impact-statement {
    margin-top: 4rem;
    text-align: center;
}

.impact-quote {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.impact-quote i {
    font-size: 2rem;
    opacity: 0.3;
}

.impact-quote p {
    font-size: 1.3rem;
    font-style: italic;
    margin: 1rem 0;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 8rem 0;
    position: relative;
    color: white;
    overflow: hidden;
}

.mission-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,30 100,100 0,70" fill="rgba(255,255,255,0.02)"/></svg>') no-repeat;
    background-size: cover;
}

.mission-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.mission-lead {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.mission-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.mission-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.mission-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission-card p {
    opacity: 0.9;
    line-height: 1.6;
}

.mission-approach {
    margin-top: 4rem;
    text-align: center;
}

.approach-content {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 800px;
    margin: 0 auto;
}

.approach-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.approach-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Vision Section */
.vision-section {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.vision-content {
    padding-right: 2rem;
}

.vision-text {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.vision-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.vision-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-globe {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    animation: rotate 20s linear infinite;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 20%;
}

.floating-icon:nth-child(2) {
    top: 30%;
    right: 15%;
}

.floating-icon:nth-child(3) {
    bottom: 25%;
    left: 15%;
}

.floating-icon:nth-child(4) {
    bottom: 20%;
    right: 20%;
}

/* Values Section */
.values-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.value-icon-wrapper {
    margin-bottom: 1.5rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.value-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* What We Do Section */
.what-we-do-section {
    padding: 8rem 0;
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.activity-image {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.activity-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.15)"/></svg>') repeat;
}

.activity-content {
    padding: 2rem;
}

.activity-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.activity-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.activity-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Instagram Showcase Section */
.instagram-showcase-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.instagram-container {
    max-width: 600px;
    margin: 0 auto;
}

.instagram-embed-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.social-cta {
    text-align: center;
}

.btn-instagram {
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196, 53, 132, 0.4);
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-cta {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: #667eea;
}

/* Enhanced Stats Section */
.enhanced-stats-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 8rem 0;
    position: relative;
    color: white;
    overflow: hidden;
}

.stats-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,20 100,100 0,80" fill="rgba(255,255,255,0.02)"/></svg>') no-repeat;
    background-size: cover;
}

.stats-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.enhanced-stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.enhanced-stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-left: 0.2rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    color: rgba(255,255,255,0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Counter Animation */
.stat-number[data-count] {
    opacity: 0;
}

.stat-number.counting {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Mobile Responsiveness for Homepage */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        max-width: 250px;
        margin-top: 1rem;
    }
    
    .btn-hero {
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .homepage-event-content {
        padding: 1rem;
    }
    
    .homepage-social-follow-btn {
        justify-content: center;
        text-align: center;
    }
    
    .homepage-social-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive design for homepage social section */
@media (max-width: 768px) {
    .homepage-social-section {
        padding: 60px 0;
    }
    
    .homepage-social-header h2 {
        font-size: 2.2rem;
    }
    
    .homepage-social-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .post-previews {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .homepage-social-follow-btn {
        justify-content: center;
        text-align: center;
    }
    
    .homepage-btn-content {
        align-items: center;
    }
    
    .homepage-social-platform {
        gap: 0.75rem;
        font-size: 1rem;
    }
    
    .homepage-social-platform i {
        font-size: 1.5rem;
        padding: 0.4rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .homepage-events-section,
    .homepage-social-section {
        padding: 60px 0;
    }
    
    .homepage-social-header h2 {
        font-size: 1.8rem;
    }
    
    .homepage-social-card {
        padding: 1.5rem;
    }
    
    .post-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .homepage-social-follow-btn {
        padding: 1rem;
    }
    
    .homepage-social-follow-btn i {
        font-size: 1.5rem;
        margin-right: 1rem;
    }
}

/* Fix for navbar on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--navbar-color);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        margin: 0.5rem 0;
    }
}

/* Ensure proper z-index for navigation */
.navbar {
    z-index: 1030;
}

/* Add smooth transitions */
.homepage-event-card,
.homepage-social-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix for overlapping content */
.hero-section {
    margin-top: 0;
    padding-top: 100px;
}

/* Ensure cards have consistent height */
.homepage-event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.homepage-event-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.homepage-event-description {
    flex-grow: 1;
}

/* Additional spacing fixes */
.section {
    position: relative;
    z-index: 1;
}

.section + .section {
    margin-top: 0;
}

/* Enhanced Team Section Styles */
.team-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(102,126,234,0.1)"/><circle cx="80" cy="30" r="0.8" fill="rgba(102,126,234,0.15)"/><circle cx="40" cy="70" r="1.2" fill="rgba(102,126,234,0.08)"/><circle cx="90" cy="80" r="0.6" fill="rgba(102,126,234,0.12)"/></svg>') repeat;
    animation: float 20s infinite linear;
    z-index: 1;
}

.team-section .container {
    position: relative;
    z-index: 2;
}

.team-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.team-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Team Member Cards */
.team-member-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.founder-card {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #667eea, #764ba2) border-box;
}

.founder-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 70px rgba(102, 126, 234, 0.25);
}

.team-member-photo {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.team-member-card:hover .team-member-photo img {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.1);
}

.team-member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member-card:hover .team-member-overlay {
    opacity: 1;
}

.team-member-social {
    display: flex;
    gap: 1rem;
}

.team-member-social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.team-member-social a:hover {
    background: white;
    color: #667eea;
    transform: scale(1.1) rotate(5deg);
    border-color: white;
}

.team-member-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.team-member-info {
    padding: 2rem;
    text-align: center;
}

.team-member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-bio {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Department Navigation */
.department-navigation {
    margin: 4rem 0;
}

.department-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    background: white;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.department-tab {
    background: transparent;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: #6c757d;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
    text-align: center;
}

.department-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.4);
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.department-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.department-tab i {
    font-size: 1.2rem;
}

/* Department Content */
.departments-content {
    margin-top: 3rem;
}

.department-content {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.department-content.active {
    display: block;
}

.department-header {
    margin-bottom: 3rem;
}

.department-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.department-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.department-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Join Team CTA */
.join-team-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.join-team-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.15)"/></svg>') repeat;
    opacity: 0.3;
}

.join-team-cta h4 {
       font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.join-team-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.join-team-cta .btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.join-team-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: #667eea;
}

/* Enhanced Dropdown Styles */
.dropdown-menu {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    margin-top: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    animation: dropdownFadeIn 0.3s ease-out;
    min-width: 240px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
    border-radius: 0;
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
    border-radius: 8px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.dropdown-item:first-child {
    margin-top: 0.25rem;
}

.dropdown-item:last-child {
    margin-bottom: 0.25rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.dropdown-item i {
    width: 20px;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-item:hover i,
.dropdown-item:focus i {
    opacity: 1;
    transform: scale(1.1);
}

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.1);
}

/* Enhanced Dropdown Toggle Arrow - Modern Chevron */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: 0.1em;
    content: "⌄";
    border: none;
    width: auto;
    height: auto;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.8;
    transform-origin: center;
}

.dropdown-toggle:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg) scale(1.1);
    opacity: 1;
}

/* Ensure dropdown toggle works properly */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    cursor: pointer;
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin: 0.75rem 0;
        padding: 0.75rem 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        position: relative !important;
        transform: none !important;
        inset: auto !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
        z-index: 1000;
    }
    
    .dropdown-item {
        color: var(--navbar-color);
        font-weight: 500;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        margin: 0 0.5rem;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateX(5px);
    }
    
    .dropdown-item i {
        width: 20px;
        margin-right: 0.75rem;
        font-size: 0.9rem;
    }
    
    .dropdown-menu.show {
        animation: mobileDropdownSlide 0.3s ease-out;
        display: block;
    }
    
    .nav-item.dropdown {
        position: relative;
    }
}

@keyframes mobileDropdownSlide {
    0% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px) scale(0.95);
        padding-top: 0;
        padding-bottom: 0;
    }
    100% {
        opacity: 1;
        max-height: 300px;
        transform: translateY(0) scale(1);
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Navbar Collapse Mobile Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(30, 52, 76, 0.98);
        backdrop-filter: blur(15px);
        margin-top: 1rem;
        border-radius: 15px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        padding: 1rem 1.5rem !important;
        margin: 0;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }
    
    .nav-link.active {
        background: rgba(255, 255, 255, 0.2);
        color: white !important;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .dropdown-toggle {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .dropdown-toggle::after {
        position: static;
        margin-left: auto;
        margin-right: 0.5rem;
        transition: transform 0.3s ease;
        font-size: 1.1rem;
        transform-origin: center;
    }
    
    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg) scale(1.1);
    }
}
