/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #121212; /* Dark theme */
    color: #e0e0e0;
}

/* Navigation Bar */
nav {
    position: fixed; /* Keep the navbar fixed at the top */
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0); /* Transparent by default */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 7px;
    z-index: 10;
    box-sizing: border-box;
    transition: background-color 0.3s ease; /* Smooth transition for background */
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0); /* Black background when scrolled */
}

/* Logo Styling */
.logo img {
    width: 100px;
    height: auto;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative; /* Ensure dropdowns are positioned relative to their parent */
    margin-left: 20px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff6347; /* Accent color on hover */
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
    top: 100%; /* Positions dropdown below the parent */
    left: 0;
    min-width: 150px;
    list-style: none;
    padding: 10px 10px;
    margin: 0;
    border-radius: 5px;
    z-index: 999;
}

.nav-links li:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #444; /* Darker background on hover */
    color: #ff6347;
}

/* Menu Button (for Mobile) */
.menu-toggle {
    display: none; /* Hide by default */
    background: none;
    border: none;
    font-size: 24px;
    color: #e0e0e0;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show menu button on mobile */
    }

    .nav-links {
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start;
        position: absolute;
        top: 60px; /* Adjust based on the navbar height */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        display: none; /* Hidden by default */
        padding: 10px 0;
    }

    .nav-links.show {
        display: flex; /* Show navbar when toggled */
    }

    .nav-links li {
        margin: 10px 0; /* Add spacing between items */
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 14px; /* Smaller font for smaller devices */
    }

    .dropdown-menu li a {
        font-size: 12px;
        padding: 8px 15px;
    }
}
nav.scrolled {
    background-color: rgba(0, 0, 0, 0.9); /* Add black background when scrolling */
    transition: background-color 0.3s ease; /* Smooth transition */
}
.nav-links.show {
    display: flex; /* Ensure the menu is shown when 'show' class is added */
}


/* Hero Section Styles (remains unchanged) */
.hero {
    width: 100%;
    height: 80vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    animation: slideShow 30s infinite;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darkens only the background */
    z-index: 1;
}
.hero h1{
    font-size: 40px;
    position: relative;
    z-index: 2; /* Ensure above overlay */
    margin: 10px 0;
}
.hero p {
    font-size: 23px;
    position: relative;
    z-index: 2; /* Ensure above overlay */
    margin: 10px 0;
}
.hero .btn {
    position: relative;
    z-index: 2; /* Ensure above overlay */
    background-color: #ff6347;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 5px;
}

.hero .btn:hover {
    background-color: #e55330;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Heading Styling */
.section-heading {
    text-align: center;
    font-size: 36px;
    color: #ff6347;
    margin-top: 50px;
    margin-bottom: 40px;
}
/* About Section Styling */
.about-section {
    background-color: #1e1e1e;
    padding: 60px 20px;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section .about-content {
    flex: 1;
    text-align: left;
}

.about-section h2 {
    font-size: 36px;
    color: #ff6347;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-section .btn {
    background-color: #ff6347;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.about-section .btn:hover {
    background-color: #e55330;
    transform: translateY(-3px);
}

.about-section .about-image {
    flex: 1;
    text-align: center;
}

.about-section .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0,);
}
/* Responsive Styling for About Section */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column; /* Stack content and image vertically */
        text-align: center; /* Center align for better presentation */
        padding: 40px 15px;
    }

    .about-section .container {
        flex-direction: column; /* Ensure elements stack vertically */
        gap: 15px; /* Add some spacing between stacked items */
    }

    .about-section .about-content {
        text-align: center; /* Center-align content on mobile */
        margin-bottom: 20px; /* Add spacing between content and image */
    }

    .about-section h2 {
        font-size: 28px; /* Reduce heading size for smaller screens */
    }

    .about-section p {
        font-size: 16px; /* Adjust paragraph font size */
        line-height: 1.6; /* Slightly tighter line spacing */
    }

    .about-section .btn {
        font-size: 14px; /* Adjust button size */
        padding: 10px 20px; /* Smaller padding for better fit */
    }

    .about-section .about-image img {
        max-width: 80%; /* Limit image width */
        height: auto;
        margin: 0 auto; /* Center image on mobile */
    }
}

/* Cards Container */
.cards-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Card Section */
.card-section {
    flex: 1 1 calc(30% - 20px); /* Responsive width: 3 cards per row with gap */
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    min-width: 250px; /* Ensure a minimum width for cards */
}

.card-section:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.card-section h3 {
    color: #ff6347;
    margin-bottom: 15px;
}

.card-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
}

.btn {
    background-color: #ff6347;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn:hover {
    background-color: #e55330;
}

/* Responsive Media Queries */

/* Medium Screen (Tablet) */
@media (max-width: 768px) {
    .cards-container {
        flex-wrap: wrap; /* Allow wrapping for smaller screens */
        gap: 15px;
    }

    .card-section {
        flex: 1 1 calc(45% - 15px); /* Two cards per row */
        min-width: 200px;
    }
}

/* Small Screen (Mobile) */
@media (max-width: 480px) {
    .cards-container {
        flex-direction: column; /* Stacks cards vertically */
        gap: 20px;
    }

    .card-section {
        flex: 1 1 100%; /* Full width for each card */
    }

    .card-section h3 {
        font-size: 18px; /* Adjust text size for smaller screens */
    }

    .card-section p {
        font-size: 14px;
    }

    .btn {
        padding: 8px 16px; /* Adjust button size */
    }
}


/* Footer Styles
footer {
    background-color: #222222;
    color: #e0e0e0;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #ff6347;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
} */

