* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Modern Header with Gradient */
header { 
    background: linear-gradient(135deg, #0077B6 0%, #00A8E8 50%, #48CAE4 100%);
    color: white; 
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.3rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

/* Modern Navigation */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    background: white !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #8b0000 !important;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #8b0000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: #8b0000 !important;
}

/* Modern Sections */
section { 
    padding: 80px 20px;
    position: relative;
}

section:nth-child(even) {
    background: white;
}

h2 { 
    color: #8b0000;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8b0000, #dc143c);
    border-radius: 2px;
}

/* Modern About Section */
#about img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

#about img:hover {
    transform: scale(1.05);
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Modern Lists */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding: 15px 0 15px 40px;
    position: relative;
    font-size: 1.1rem;
    color: #555;
    transition: all 0.3s ease;
}

ul li::before {
    content: '💪';
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

ul li:hover {
    transform: translateX(10px);
    color: #8b0000;
}

/* Modern Event Card */
#events {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

#events p {
    font-size: 1.1rem;
    color: #555;
    margin: 10px 0;
}

#events strong {
    color: #8b0000;
    font-size: 1.3rem;
}

/* Modern Button */
.btn { 
    background: linear-gradient(135deg, #8b0000, #dc143c);
    padding: 15px 40px;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(139, 0, 0, 0.4);
    color: white;
}

/* Modern Team Grid */
.team-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card { 
    padding: 30px;
    border: none;
    border-radius: 20px;
    text-align: center;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8b0000, #dc143c);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(139, 0, 0, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.card p {
    color: #8b0000;
    font-weight: 500;
    font-size: 1rem;
}

/* Modern Footer */
footer { 
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #dc143c, #8b0000);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 50px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}