* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a {
    color: #007cba;
    text-decoration: none;
}

a:hover {
    color: #005a87;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background-color: #1e4d2b; /* Dark green for DCAM */
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 60px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: white;
    font-weight: bold;
}

/* Hero */
.hero {
    background: url('cricket-hero.jpg') center/cover; /* Replace with your image */
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Sections */
.mission-section, .contact-section, .matches-section, .players-section, .leadership-section, .social-section {
    padding: 2rem 0;
    text-align: center;
}

.mission-section {
    background: url('mission-bg.jpeg') center/cover; /* Background image for mission */
    background-color: #e8f5e8; /* Fallback color */
    border-radius: 8px;
    margin: 2rem auto;
    color: #333; /* Text color for readability */
}

.mission-section h2, .mission-section p {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background for text */
    padding: 0.5rem;
    border-radius: 5px;
    display: inline-block;
}

.contact-section, .leadership-section {
    background: white;
    border-radius: 8px;
    margin: 2rem auto;
}

.matches-section h2, .players-section h2, .mission-section h2, .contact-section h2, .leadership-section h2, .social-section h2 {
    color: #1e4d2b;
    margin-bottom: 1rem;
}

.match-grid, .player-grid, .leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.match-item, .player-item, .leadership-item {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 5px;
}

.player-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Social Feeds Section */
.social-section {
    background: #f4f4f4;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.social-feed {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-feed h3 {
    color: #1e4d2b;
    margin-bottom: 1rem;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000; /* Increased to ensure visibility */
    transition: background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #1e4d2b; /* DCAM dark green on hover */
    text-decoration: none;
    color: #FFF;
}

.whatsapp-icon {
    margin-top: 15px;
    margin-left: 15px;
    width: 30px;
    height: 30px;
}

/* Contact Section WhatsApp Link */
.contact-section a[href*="wa.me"] {
    color: #25d366;
    font-weight: bold;
}

.contact-section a[href*="wa.me"]:hover {
    color: #1e4d2b;
}

/* Footer */
.site-footer {
    background-color: #1e4d2b;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    .main-nav li {
        margin: 0.5rem 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .social-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .whatsapp-icon {
        margin-top: 12px;
        margin-left: 12px;
        width: 25px;
        height: 25px;
    }
}