/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Arial', sans-serif; /* Choose a clean, professional font */
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
    background-color: #f8f9fa; /* Light background for overall page */
    /* overflow: hidden; */
}

/* Custom Fixed-Width Container */
.fixed-width {
    max-width: 1400px; /* Set your desired width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Add some padding for spacing */
}
.row {
    flex-wrap: wrap;
}

/* Navbar Styles */


/* Ensure navbar menu items stay horizontal */

.navbar {
    background-color: transparent !important; 
}

.nav-link {
    text-decoration: none; /* Remove underline */
}

.navbar-toggler-icon {
    filter: invert(1); 
}


/* Section Styling */
section {
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
    text-align: center;
    color: white; /* Default text color for visibility */
    overflow: hidden; /* Prevent overflow */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1); /* Ensure no scaling overflow */
    opacity: 0.8; /* Slight transparency for readability */
}

section h1, section h2 {
    position: relative;
    z-index: 1; /* Ensure text is above the background */
}

section p {
    font-size: 1.2rem;
    margin-top: 15px;
    z-index: 1;
}

/* About Section */

#about {
    background-image: url('/images/ai-resume-matching-background.jpg');
   /* background-color: #DDD0C8 !important;*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color:black;
}

/* Services Section */
#services {
    background-image: url('/images/resume-matching-steps.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Services Section */
#testimonials {
    background-image: url('/images/recruiter-feedback.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Analytics Section */
#analytics {
    background-image: url('/images/ai-hiring-analytics.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card Styles */
.card {
    background-color: #fff;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

/* Footer Styling */
footer {
    background-color: white;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #d1d1e9;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 20px;
    }

    section h1, section h2 {
        font-size: 2rem;
    }

    section p {
        font-size: 1rem;
    }
}


@media (max-width: 411px) {
    #about h1 {
        font-size: 1.2rem;
    }

    #about p {
        font-size: 0.2rem;
    }

    #logIn {
        font-size: 0.8rem;
        padding: 5px 5px;
    }
    #about {
        padding-top: 13rem !important; /* Extra padding for small screens */
    }

    #about h2,
    #about h3,
    #about p {
        font-size: 1rem !important; /* Ensure all text except h1 is 1rem */
    }

    footer {
        font-size: 0.75rem;
    }
}

