/* --- General Styles --- */
body {
    /* Apply the Google Font */
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('../homePage/images/backgroundImage.png')!important;
    /* Existing padding-top for fixed navbar (keep this if navbar is fixed) */
    padding-top: 50px;
    background-color: #f8f9fa;
}

/* --- Navbar Styling --- */
/* Target the nav element itself (we added the 'site-navbar' class in the HTML) */
.site-navbar {
    background-color: #e0f7fa !important; /* Light cyan/blue background like Title.jpg */
    /* Or use a gradient if needed */
    border-bottom: 1px solid #b2ebf2; /* Optional subtle border */
}
/* Style the brand area (logos, title) */
.site-navbar .navbar-brand .project-title {
    font-weight: 700; /* Make title bold */
    color: #00796b; /* Dark teal color */
    margin-left: 5px; /* Add some space between logo and text */
}
/* Style the navigation links */
.site-navbar .navbar-nav .nav-link {
    color: #00796b; /* Teal color for links */
    margin: 0 10px; /* Spacing between links */
    font-weight: 400; /* Regular weight */
}
.site-navbar .navbar-nav .nav-link.active,
.site-navbar .navbar-nav .nav-link:hover {
    color: #004d40; /* Darker teal on hover/active */
    font-weight: 700; /* Bold on hover/active */
}
/* Style the Login/Sign up button */
.site-navbar .login-btn { /* Target the class we added */
    border-color: #00796b;
    color: #00796b;
    border-radius: 20px; /* Rounded corners */
    border-width: 1px; /* Make border slightly thinner if needed */
    font-weight: 700; /* Bold text */
}
.site-navbar .login-btn:hover {
    background-color: #00796b;
    color: white;
}
/* --- Hero Section Styling --- */
/* --- Hero Section Styling --- */
.hero-section {
    padding: 90px 0; /* Keep padding */

    /* === CORRECTED Background Rules === */
    background-color: #f0f8ff; /* Fallback color */
    /* background-size: cover; */   /* <--- REMOVE this */
    background-position: top left; /* Or center center */
    background-repeat: repeat;     /* <--- SET to repeat */
    /* ================================= */
    border: 5px solid gray;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
}
.site-navbar .btn-outline-danger { /* Logout button */
    border-radius: 5px;
    padding-top: 8px; /* This was a custom style you had */
    font-weight: 700;
}
.site-navbar .btn-outline-danger:hover{
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}

/* Add the hand graphic using a pseudo-element (example) */
.hero-section::before {
    content: '';
    position: absolute;
    left: -5%; /* Adjust position */
    bottom: -10%; /* Adjust position */
    width: 45%; /* Adjust size */
    height: 80%; /* Adjust size */
    background-image: url(''); /* <--- Make sure path is correct! */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    opacity: 0.9; /* Optional transparency */
    z-index: 0; /* Place behind content */
}

/* Make sure content is above the pseudo-element */
.hero-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
}


.hero-content h1 {
    color: #333; /* Dark color for heading */
    font-weight: 700; /* Bold */
}

.hero-content .lead {
    color: #555; /* Slightly lighter color for subheading */
}
.hero-graphic img {
    /*position: relative; /* Optional, but can help */
    /* Move the image up by 30 pixels (adjust value as needed) */
    transform: translateY(-30px);
    right: 40px;
    height: auto;
    width: 500px;
}
.sei-graphic {
    position: relative; /* Keep if needed for translateY or other positioning */
    height: auto; /* Keep as is */
    width: 40px; /* Fixed width is necessary for margin: auto centering */

    /* Add these lines for horizontal centering */
    margin-left: 35%;
    /* You can optionally combine vertical/horizontal margins:
       margin: 0 auto; /* 0 top/bottom margin, auto left/right */

    /* Ensure it behaves like a block for margin:auto to work */
    display: block; /* Or inline-block if needed, but block is common */
}
/* --- Custom Start Button --- */
.btn-start {
    display: inline-block; /* Allow setting padding/size */
    background-color: transparent;
    background-color: #096cb7;
    border-radius: 40px;
    background-repeat: no-repeat;
    background-size: contain; /* Fit the image within the button bounds */
    background-position: center;
    border: none; /* Remove default border */
    padding: 15px 60px 15px 40px; /* Adjust padding (Top Right Bottom Left) - More padding right for icon */
    font-size: 1.5rem; /* Larger text */
    font-weight: 700; /* Bold */
    color: white; /* Text color */
    text-decoration: none; /* Remove underline */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
    line-height: 1.2; /* Adjust line height if needed */
}

.btn-start:hover {
    background-color: #f9c825; /* Keep text color */
    transform: scale(1.05); /* Slightly enlarge on hover */
}
.btn-start:active{
    transform: scale(1.00);
    transition: 0.3s;
    color: black;
}
/* Style the icon inside the button if you added one */
.btn-start i {
    font-size: 1.4rem; /* Match icon size roughly to text */
    vertical-align: middle; /* Align icon vertically */
}
/* Initiative Text */
.initiative-text {
    font-size: 0.9rem;
    color: #666;
}

/* --- Footer Styling --- */
.site-footer {
    background: #e9ecef;
    border-top: 1px solid #dee2e6;
    font-size: 0.9em;
}

/* --- Responsive Adjustments --- */
/* Offset for fixed navbar if you use .fixed-top */
body {
    padding-top: 50px; /* Adjust this value based on your navbar's actual height */
}

/* Hide hand graphic on smaller screens if desired */
@media (max-width: 991.98px) { /* Bootstrap's LG breakpoint */
    .hero-section::before {
        opacity: 0.3; /* Make it fainter */
        width: 30%; /* Make it smaller */
        /* Or display: none; */
    }
    .hero-content {
        text-align: center !important; /* Center text */
    }
    .btn-start {
         font-size: 1.2rem; /* Slightly smaller button text */
         padding: 12px 50px 12px 30px;
    }
}

/* Login Modal */
#loginModal .modal-content {    
    border-radius: 30px;
    background-color: #ffffff;
    background-image: url('../homePage/images/backgroundImage.png'); /* Adjust path */
    background-size: cover;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 20px;
}

#loginModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
     /* display: none; */ /* Uncomment this to hide the entire default header */
}

#loginModal .modal-title {
    font-weight: 700;
    font-size: 2rem;
    color: #333;
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
}

#loginModal .login-input {
    background-color: #bde0fb; /* Blue input background */
    border: none;
    border-radius: 50px; /* Pill shape */
    height: 50px;
    padding: 10px 20px;
    color: white; /* Typed text color */
    text-align: center;
    box-shadow: none;
    margin-bottom: 5px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#loginModal .login-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#loginModal .login-input:focus {
    background-color: #085f9a; /* Slightly darker blue on focus */
    color: white;
    box-shadow: none;
    border: none;
}

#loginModal .login-label {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

#loginModal .modal-footer {
    border-top: none;
    padding-top: 0;
    justify-content: center;
}

/* Ensure .btn-start styles are defined elsewhere in your CSS */
/* Adjust .btn-start specifically within the modal if needed */
#loginModal .btn-start {
    padding: 12px 50px 12px 30px;
    font-size: 1.2rem;
    min-width: 200px;
    background-size: cover; /* Or contain, adjust as needed */
    /* Ensure background-image url is correct in base .btn-start rule */
}

/* Style the 'Create Account' button variation */
#loginModal .btn-create-account {
    /* This assumes it uses the same brush stroke image */
    /* Apply a different background color behind the image */
    background-color: #004a8b; /* Darker blue example */
}

#loginModal .btn-create-account:hover {
     background-color: #f9c825; /* Darker hover */
}