/* Reset margin and padding for all elements */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* Body styling */
body {
    height: 100%;
    font-family: "Poppins", serif; 
    font-weight: 500;
    font-style: normal;
    margin: 0px;
    padding: 0px;
    /* background-color: #000; */
    /* background-image: url('../Images/Homepage.webp'); */
}

/* Navbar styling */
.navbar {
    height: 7rem;
    width: 100vw;
    background-color: #1b1b1b;
    display: flex; /* Make navbar a flex container */
     /* Align items vertically */
    justify-content: space-between; /* Space out head and links */
}
.navbar .home{
    text-decoration: none;
    color: #fff;
}
/* Head section styling */
.head {
    color: #fff;
    padding-left: 2rem;
    padding-top: 2rem;
}

/* Color for span inside head */
.head span {
    color: aqua;
}

/* Navigation links styling */
.nav-links {
    display: flex;
    justify-content: flex-end; /* Align the links to the right */
    margin-top: 3rem; /* Push the nav-links to the bottom */
    padding-right: 2rem;
    padding-bottom: 1rem;
}

/* List styling */
.nav-links .nav-list {
    list-style: none;
    display: flex; /* Display list items in a row */
}

/* Styling for each navigation item */
.nav-links .nav-item {
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1rem; /* Add space around links */
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 10px; /* Rounded corners */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    position: relative;
    margin: 1rem;
}

/* .nav-links .nav-item {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem; 
    font-size: 1.2rem;
} */

/* Add hover effect for the links */
.nav-links .nav-item:hover {
    color: aqua;
    background-color: #000; /* Add a slight background on hover */
    box-shadow: 0 0 10px 2px aqua; /* Glow effect */
}


/* =============================image =====================================*/
.background-img{
    width: 100vw;
    height: 100%;
    object-fit: cover; 
    z-index: -1; 
}
/* ================= cards   ================= */
/* Hero Section (Background Image) */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full-screen height */
    background: url('../Images/Homepage.webp') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cards Container (Centered) */
.cards-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Individual Card */
.card {
    background: rgba(0, 0, 0, 0.7); /* Transparent black */
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

/* Card Image */
.card img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
}
/* card h2 */
.card h2{
    font-size: 20px;
}
/* Card Hover Effect */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3); 
}

/* Button Styling */
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background-color: aqua;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #00cccc;
}

/*  */

/* =============== footer ================ */
.footer {
    margin-top: -10px;
    background-color: #1b1b1b;
    color: #fff;
    text-align: center;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    line-height: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00aaff;
}

.social-icons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
}

.social-icon:hover {
    color: #00aaff;
    transform: scale(1.2);
}
