
/* Ensure no horizontal scrolling and full-width layout */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important; /* Ensure vertical scrolling remains */
	font-size: 1rem; /* NEW: smaller base text size */
}

/* Light Mode FORCE */
:root {
    color-scheme: light;
    /* Force light mode */
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: white; /* Ensure a light background */
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: white; /* Default light mode */
    }
}

body {
    background-color: white;
}

:root {
    --bg-color: white;
}

/* For WebKit browsers */
@media screen and (-webkit-prefers-color-scheme: dark) {
    body {
        background-color: white;
    }
}

/* Set background color for the body - light mode force */
body {
    top: 0px !important; /* CSS rules to target and hide the Google Translate iframe and container */
    background-color: rgb(255, 255, 255);
}

/* Hide Google Translate toolbar */
body>.skiptranslate {
    display: none;
}

/* Prevent interactions or visibility changes from parent containers */
body .goog-te-spinner-pos {
    display: none !important; /* Hide the container holding the spinner */
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide the Google Translate iframe and its container */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {    
    display: none !important;
}

/* Top bar styling */
.top-bar {
    width: 100%;
    height: 2rem;
    padding-top: 1rem;
    background: linear-gradient(90deg, #e4c678 0, #f2e5c2 50%, #e8d199 100%);
    color: black;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    position: fixed; /* Fix the top-bar to the top of the viewport */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    z-index: 1; /* Keep the existing z-index */
	margin-bottom: 1rem;
}

/* Top bar paragraph styling */
.top-bar p {
    font-weight: bold; /* Keep your existing bold style */
}

/* Force light mode */
:root {
    color-scheme: light;
}

.icon-container a.icon-link img.icon-img {
    transition: opacity 0.5s ease !important;
}

.icon-container a.icon-link:hover img.icon-img {
    opacity: 0.15; /* Semi-transparent on hover */
}



/* Card Container Styling */
/* Centers the card container and adds padding */
.card-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Card Styling */
/* Styling for individual cards */
.card {
    background-color: rgb(250, 250, 250);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border: 1px solid #000; /* Added border */
    width: 100%;
    margin-top: 0rem;
}

nav.container-fluid {
	padding-top: 1rem; /* or try 3rem if needed */
	margin-bottom: 1rem;
}

/* ------------------------- */
/* Desktop-Specific Styles (min-width: 450px) */
/* ------------------------- */
@media (min-width: 450px) {
    /* Styling for the company logo on desktop */
    .company-logo {
        height: 10rem;
    }

    .overlay-text h1 {
        color: white;
    }

    /* Styling for icons on the right (chat, languages, profile) */
	.transparent-icon {
		background-color: transparent;
		width: 1.7rem;
		height: 1.7rem;
		border-radius: 20%;
		padding: 0.1rem;
		margin: 0 0.9rem; /* Adds horizontal spacing left & right */
	}

    .transparent-icon:hover {
        background-color: #00000027;
    }

    /* Hover effect for navigation links */
    .contrast:hover {
        background-color: #00000027;
    }

    /* Hide elements on desktop */
    .hide-on-desktop {
        display: none !important;
    }
	
		/* Footer styles for desktop */
    footer p,
    footer nav ul li a {
        color: rgb(0,0,0);
    }

    /* Icon container for PERMIT NEXT */
    .icon-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 1rem auto;
        padding: 0 !important;
    }

    .icon-container a.icon-link {
        display: block;
        border-radius: 1%;
        padding: 0.1rem !important; /* Minimal padding for clickable area */
        margin: 0 !important;
        line-height: 0;
        box-sizing: content-box;
    }

    .icon-container a.icon-link img.icon-img {
        width: 14rem; /* Keep your specified size for desktop */
        height: auto;
        border-radius: 0.1%;
        object-fit: cover;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1; /* Full opacity by default */
    }

    .icon-text {
        font-size: 1.2rem;
        color: black;
        margin-top: 0.5rem;
        font-weight: bold;
    }
}

/* ------------------------- */
/* Mobile-Specific Styles (max-width: 450px) */
/* ------------------------- */
@media (max-width: 450px) {
    /* Mobile navigation bar adjustments */
    nav {
        height: 5rem;
        margin-bottom: 0;
    }

    /* Top bar styling */
    .top-bar {
        height: 1rem;
        padding-top: 1rem;
    }

    /* Resize the logo for mobile */
    .company-logo {
        height: 2.8rem;
        padding: 0;
        margin: 0;
    }

    /* Resize icons for mobile */
    .transparent-icon {
        background-color: transparent;
        width: 0.8rem;
        height: 0.8rem;
        padding: 0;
        margin: 0;
        border-radius: 20%;
    }

    /* Adjust navigation link size */
    .contrast {
        font-size: 0.45rem;
    }

    
    /* Mobile body font size */
    body {
        font-size: 0.6rem;
    }
	
	    /* Header font size for mobile */
    h2 {
        font-size: 1.2rem;
    }
	
	/* Header font size for mobile */
    h4 {
        font-size: 0.8rem;
    }
	
	strong {
        font-size: 0.55rem;
    }

    /* Hover effect for navigation links on mobile */
    .contrast:hover {
        background-color: #00000027;
    }

    /* Hide elements on mobile */
    .hide-on-mobile {
        display: none !important;
    }

    /* Footer styles for mobile */
    footer p,
    footer nav ul li a {
        font-size: 0.5rem;
        margin-bottom: 0;
        padding-bottom: 0;
        color: rgb(0,0,0);
    }

    footer nav {
        margin-top: 0;
        padding-top: 0;
    }

    /* Icon container for PERMIT NEXT */
    .icon-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 1rem auto;
        padding: 0 !important;
    }

    .icon-container a.icon-link {
        display: block;
        border-radius: 1%;
        padding: 0.1rem !important; /* Minimal padding for clickable area */
        margin: 0 !important;
        line-height: 0;
        box-sizing: content-box;
    }

    .icon-container a.icon-link img.icon-img {
        width: 8rem; /* Keep your specified size for desktop */
        height: auto;
        border-radius: 0.1%;
        object-fit: cover;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1; /* Full opacity by default */
    }

    .icon-text {
        font-size: 1.2rem;
        color: black;
        margin-top: 0.5rem;
        font-weight: bold;
    }

	
	/* Adjustments for screens smaller than 360px */
    @media (max-width: 380px) {
        .company-logo {
            height: 2.5rem;
        }

        .contrast {
            font-size: 0.42rem;
        }
    }

}