/* Reset and General Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    body {
        font-family: 'Roboto', Arial, sans-serif; /* Added Google Font 'Roboto' */
        background-image: url('images/14.jpeg'); /* Replace with your image path */
        background-size: cover;
        background-position: center;
        color: #ccc;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh; /* Ensure full viewport height */
        flex-direction: column; /* Updated flex direction for body */
    }

    .current {
        color: #ff0040;
    }

    .current:hover {
        color: #d6214e;
    }

    /* Header Styles */
    
    header {
        background: #000;
        padding: 20px 0;
        position: relative;
        top: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo p {
        font-size: 30px;
        font-weight: 600;
        font-family: Georgia, 'Times New Roman', Times, serif;
        padding: 10px;
    }

    .logo p span {
        color: #ff0040;
    }
    
    nav ul {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    nav ul li a {
        text-decoration: none;
        text-transform: uppercase;
        color: white;
        font-weight: bold;
    }

    nav ul li a:hover,
    nav ul li a:active {
        color: #ff0040;
    }
    
    #mobile-menu {
        display: none;
    }
    
    #menu-icon {
        display: block;
        cursor: pointer;
        padding: 10px;
    }
    
    .bar {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
    }
    
    
    /* Media query for mobile view */
    @media screen and (max-width: 768px) {
        #mobile-menu {
            display: block;
        }
    
        nav ul {
            display: none;
            flex-direction: column;
            background: rgba(0, 0, 0, 0.7);
            position: absolute;
            top: 60px;
            right: 0;
            left: 0;
            z-index: 1;
            padding: 10px 0;
        }
    
        nav ul.active {
            display: flex;
            align-items: center;
        }
    
        nav ul li {
            margin: 15px;
        }
    
        #menu-icon {
            display: block;
        }
    
        #menu-icon.active .bar:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }
    
        #menu-icon.active .bar:nth-child(2) {
            opacity: 0;
        }
    
        #menu-icon.active .bar:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }
    }
    
    /* Media queries for responsiveness */
    @media screen and (max-width: 768px) {
        /* Adjust the navigation menu for smaller screens */
        nav ul {
            flex-direction: column;
        }
    
        nav ul li {
            margin: 10px 0;
        }
    
        /* Adjust the logo size */
        .logo img {
            height: 40px;
        }
    }
    @media screen and (min-width: 769px) {
        #mobile-menu {
            display: block;
        }
    
        #menu-icon {
            display: none; /* Hide the hamburger icon on larger screens */
        }
        
        /* Ensure that the menu items are visible */
        #mobile-menu ul {
            display: flex;
        }
    }
    
    

    /* Introduction Section Styles */
    .intro {
        max-width: 800px;
        margin: 20px auto;
        text-align: center;
        font-size: 1.1em;
        line-height: 1.6;
        padding: 0 20px;
    }

    .intro h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
        color: #ff0040;
    }

    .intro h2:hover {
        color: #d6214e;
        transform: scale(105%);
    }

    .intro p {
        margin-bottom: 20px;
    }

    .intro a {
        color: #ccc;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }

    .intro a:hover {
        color: #ccc;
    }

    /* Card Container */
    .card-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-width: 1200px;
        margin: 20px 10px; /* Added margin for spacing */
        padding: 10px; /* Added padding */
        margin-top: 2rem;
    }

    /* Card Styles */
    .card {
        background-color: #ccc; /* White background */
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced box shadow */
        overflow: hidden;
        width: calc(33.33% - 40px);
        margin: 10px;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }

    .card:hover {
        transform: translateY(-8px); /* Smoother hover effect */
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Enhanced hover shadow */
    }

    .card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h2 {
        margin: 0 0 10px;
        font-size: 1.8em; /* Larger heading */
        color: #333; /* Darker text color */
    }

    .card-content p {
        margin: 0 0 20px;
        color: #666; /* Lighter text color */
        font-size: 1.1em; /* Slightly larger font size */
    }

    .read-more-btn {
        display: inline-block;
        padding: 12px 24px; /* Slightly larger button */
        background-color: #ff0040;
        color: #ccc;
        border-radius: 5px;
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .read-more-btn:hover,
    .read-more-btn:active {
        background-color: #d6214e; /* Darker hover color */
        transform: scale(1.05);
    }

    /* Footer Styles */
    .footer {
        background: rgba(0, 0, 0, 0.7);
        color: #ccc;
        text-align: center;
        padding: 20px 0;
        width: 100%;
        position: relative;
        bottom: 0;
    }

    .footer p {
        margin: 0;
        font-size: 0.9em;
    }
    
    /* Media Queries */
    @media (max-width: 1200px) {
        .card {
            width: calc(50% - 40px);
        }
    }

    @media (max-width: 768px) {
        .card {
            width: 100%;
        }
    }
    