/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin-left: 0;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
    background-color: #fff;
    line-height: 1.6;
}

section {
    margin-bottom: 60px; /* Add 20px of space between sections */
}
/* Header Styles */
.desktop-header {
    display: flex;
    justify-content: flex-end; /* Aligns all content to the right */
    align-items: center; /* Vertically centers the nav and logo */
    padding: 20px 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    align-items: center; /* Vertically centers the nav items */
    gap: 30px; /* Space between the navigation items */
}

.nav-desktop ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-desktop ul li {
    margin: 0;
    padding: 10px;
	}

.nav-desktop ul li a {
    text-decoration: none;
    color: #727271;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-desktop ul li a:hover {
    color: #FFC612;
}

.desktop-header .logo {
    margin-left: 30px; /* Space between the last nav item and the logo */
}

.desktop-header .logo img {
    max-width: 120px; /* Keep the logo at a reasonable size */
    height: auto;
    display: block;
}

/* Mobile Header Styles (Initially Hidden) */
.mobile-header {
    display: none; /* Hidden by default */
    flex-direction: column; /* Stack the logo and nav vertically */
    align-items: center; /* Center align items */
    padding: 20px 0;
}

.mobile-header .logo img {
    max-width: 120px; /* Keep the logo at a reasonable size */
    height: auto;
    display: block;
    margin-bottom: 0px; /* Space below the logo */
}

.nav-mobile ul {
    list-style: none;
    padding: 0;
}

.nav-mobile ul li {
    padding: 0;
	text-align: center;
}

.nav-mobile ul li a {
    text-decoration: none;
    color: #727271;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
	text-align: center;
}

.nav-mobile ul li a:hover {
    color: #FFC612;
}
.nav-mobile-link ul {
    list-style: none;
    padding: 0;
}
.nav-mobile-link ul li {
    padding: 0;
	text-align: center;
}

.nav-mobile-link ul li a {
    text-decoration: none;
    color: #FFC612;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
	text-align: center;
}
.nav-mobile-link ul li a:hover {
    color:#C79D17;
}
.contact ul {
    list-style: none;
    padding: 0;
}
.contact ul li {
    padding: 0;
	text-align: left;
}

.contact ul li a {
    text-decoration: none;
    color: #FFC612;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
	text-align: center;
}
.contact ul li a:hover {
    color:#C79D17;
}
/* Media Query for smaller screens */
@media (max-width: 768px) {
    .desktop-header {
        display: none; /* Hide desktop header */
    }

    .mobile-header {
        display: flex; /* Show mobile header */
    }
}

/* Hero Section */
.hero {
    display: contents;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%; /* Full viewport height minus header */
    padding: 0 20px;
    margin-bottom: 50px;
}

.hero .text-content {
    margin-bottom: 30px;
}

.hero h2 {
    font-size: 4.5rem; /* Large heading */
    font-weight: 900; /* Bold text */
    line-height: 5.1;
    letter-spacing: 2px;
    margin: 10px 0;
    text-transform: uppercase; /* Text is uppercase */
    color: #000; /* Ensure black text */
}

.hero p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #555; /* Slightly muted text color */
}

/* Video Frame Container */
.video-frame {
    position: relative;
    width: 100%;
    height: 300px; /* Height of the frame that will clip the video */
    overflow: hidden; /* Clip the video inside the frame */
    margin-bottom: 50px; /* Space below the video, adjust as needed */
}

/* Video background inside the frame */
#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; /* Cover the frame without distortion */
    transform: translate(-50%, -50%); /* Center the video in the frame */
    z-index: 0; /* Ensure the video stays behind the buttons */
	filter: invert(100%);
}

/* Overlay content for buttons */
.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Make sure the overlay content is on top of the video */
}

/* Buttons Styling */
.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between buttons */
}

.buttons .btn {
    background: url("assets/buttonbg.png");
    background-size: 400px;
    display: inline-block;
    padding: 10px 5px;
    font-size: .8rem;
    font-weight: bold;
    color: #000;
    background-color: #FFC612; /* Bright yellow background */
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 0 1px #FFC612;
    transition: background-color 0.3s ease;
    width: 75%; /* Set both buttons to 75% width by default */
    max-width: 400px; /* Set a max width for larger screens */
    min-width: 325px; /* Ensure the text doesn't wrap */
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.buttons .btn:hover {
    color: #B1A500; /* Slightly darker yellow on hover */
    box-shadow: 0 0 0 2px #FFC612;
}
/* Services Section */
.services {
    padding: 0px;
    background-color: #fff;
    color: #333;
    line-height: 1.25;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@media (max-width: 768px) {
    .services, .about-us, .contact-us {
        padding-left: 0; /* Reduced padding for mobile screens */
		margin-left: 0;
	}}
.services h1, .services h2, .services h3, .services p {
    padding-left: 20px; /* Adjust this to align with bullets */
	padding-right: 20px;
    margin-bottom: 10px;
	
}

.services h1 {
	position: relative;
	font-size: 2rem;
    font-weight: 900; /* Very bold for the heading */
    text-transform: uppercase;
    letter-spacing: 1.5px;
	}
.services h1::before {
    content: ""; /* Empty content for the pseudo-element */
    position: absolute;
    top: 5px;
    left: 0;
    width: 15px; /* Same width as the padding-left */
    height: 2rem;
    background-color: #FFC612; /* Desired color fill */
    z-index: 2; /* Place it behind the text */
}
.services h2 {
    font-size: 1.2rem;
    font-weight: 900; /* Very bold for subheadings */
	color: #FFC612;
	text-align: center;
	align-content: center;
	}

.services h3 {
    font-size: 1.2rem;
    font-weight: 900; /* Very bold for subheadings */
	
}

.services p {
    font-size: 1rem;

}

/* Main List Styling */
.services ul {
    list-style-type: none;
    padding-left: 20px; /* Align the bullets and text with the headings */
	padding-right: 20px;
}
.services ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px; /* Align list text with the bullet */
	padding-right: 10px;
}
.services ul li::before {
    content: "•"; /* Main list bullet as a dot */
    position: absolute;
    left: 0;
    top: 0; /* Align bullet with text */
    color: #000; /* Bullet color */
    font-size: 1.2rem;
    line-height: .8;
}

/* Sublist Styling */
.services ul ul {
    list-style-type: none;
    padding-left: 30px; /* Align the sublist with the rest of the text */
}

.services ul ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px; /* Align sublist text with bullet */
}

.services ul ul li::before {
    content: "+"; /* Sublist bullet as a plus sign */
    position: absolute;
    left: 0;
    top: 0; /* Align plus sign with text */
    color: #000; /* Bullet color */
    font-size: 1.2rem;
    line-height: .8;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .buttons .btn {
        width: 100%; /* Allow the button to take up the full width */
        max-width: 65%; /* Set a maximum width of 65% on smaller screens */
        margin: 0 auto; /* Center the buttons horizontally */
        min-width: 325px; /* Minimum width for smaller screens */
        white-space: normal; /* Allow text to wrap if needed */
    }
}
/* Background Pattern */
.big-image {
    background-size: 100% auto;
    position: relative;
    background-size: cover;
    background-position: bottom;
    background-image: url("assets/BG-01.png");
}

/* Footer Styles (if applicable) */
footer {
   	padding-top: 10px;
	padding: 20px 10px;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    margin-top: 10px;
}
footer a:link{
	color: #fff;
	text-decoration: none;
}
footer a:hover{
	color: #C79D17;
}
footer a:visited{
	color: #fff;
}

/* Additional Styles */
.subhead {
    width: 50%; /* 40% width for desktop screens */
    padding-left: 40px; /* Padding to align with previous design */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.subhead img {
    width: 100%; /* Make the image responsive */
    height: auto;
    display: block;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .subhead {
        width: 100%; /* Full width on smaller screens */
        padding-left: 10px; /* Remove padding for centering */
		padding-right: 10px;
        text-align: center; /* Center the image */
        margin: 0 auto; /* Center the subhead block */
    }
services.h1 {
        position: relative;
        font-size: 4.5rem;
        font-weight: 900;
        line-height: 0.75;
        letter-spacing: 2px;
        margin: -30px 0;
        padding-left: 40px; /* Space for alignment */
        text-indent: -40px; /* Aligns the first line with the rest */
        display: inline;
        text-transform: uppercase;
        color: #000;
        white-space: normal; /* Allows wrapping */
        word-wrap: normal ;
    }
.services h1::before {
    content: ""; /* Empty content for the pseudo-element */
    position: absolute;
    top: 5px;
    left: 0;
    width: 15px; /* Same width as the padding-left */
    height: 2rem;
    background-color: #FFC612; /* Desired color fill */
    z-index: 2; /* Place it behind the text */
	}
h2 {
    font-size: 4.5rem; /* Large heading */
    font-weight: 900; /* Bold text */
    line-height: 0.75;
    letter-spacing: 2px;
    margin: -30px 0;
    padding-left: 40px;
	display: inline;
    text-transform: uppercase; /* Text is uppercase */
    color: #000; /* Ensure black text */
}

h3 {
    font-size: 1rem; /* Smaller heading */
    font-weight: 900; /* Bold text */
    line-height: 1;
    letter-spacing: 2px;
    margin: 10px 0;
    padding-left: 40px;
    display: inline-block;
    text-align: left;
    text-transform: uppercase; /* Text is uppercase */
    color: #000; /* Ensure black text */
}

h4 {
    font-size: 1rem; /* Large heading */
    font-weight: 900; /* Bold text */
    line-height: 0.75;
    letter-spacing: 2px;
    margin: 10px 0;
    padding-left: 40px;
    text-align: right;
    text-transform: uppercase; /* Text is uppercase */
    color: #000; /* Ensure black text */
}

h5 {
    font-size: 4.5rem; /* Large heading */
    font-weight: 900; /* Bold text */
    line-height: 1;
    letter-spacing: 2px;
    margin: -15px 0;
    padding-left: 40px;
    text-align: right;
    text-transform: uppercase; /* Text is uppercase */
    color: #000; /* Ensure black text */
}
}
.color-bar {
    background-color: #FFC612; /* Yellow color */
    width: 100%;
    display: flex;
    justify-content: space-evenly; /* Evenly space images */
    align-items: center; /* Vertically center images */
    padding: 40px 0; /* Add some padding vertically */
    box-sizing: border-box; /* Include padding in width calculation */
	margin-bottom: 20px;
}

.color-bar img {
    max-width: 33%; /* Set a max width for the images */
    height: auto; /* Maintain aspect ratio */
	padding-left: 60px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .color-bar {
        flex-direction: column; /* Stack images vertically */
    }

    .color-bar img {
        width: 80%; /* Reduce image width to 50% */
        max-width: none; /* Remove max-width constraint */
        margin-bottom: 20px; /* Add spacing between images */
		padding-left: 0;
    }
}
/* Section Styling with Yellow Background */
ul.project-list {
    background-color: #FFC612; /* Add the yellow background */
    background-image: url('/assets/KESWORKSWEB.jpg'); /* Background image */
    background-position: top right; /* Align image to the top-right */
    background-repeat: repeat-y; /* No repeat for larger screens */
    background-size: auto; /* Ensure the image covers the section appropriately */
    color: white; /* Set text color to white */
    padding: 20px; /* Add padding around the list */
    list-style-type: none; /* Remove default bullets */
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Include padding in width calculation */
    margin: 0; /* Remove extra margin */
    position: relative; /* Needed for background behavior */}


ul.project-list li {
    display: grid;
    grid-template-columns: 36ch 18ch 34ch; /* 3 equal columns */
    gap: 5px; /* Space between columns */
    margin-bottom: 40px; /* Space between list items */
    padding-left: 25px; /* Align the bullets with text */
    position: relative; /* Needed for bullet placement */
}

ul.project-list li::before {
    content: "•"; /* Main list bullet as a dot */
    position: absolute;
    left: 0;
    top: 0; /* Align bullet with text */
    color: white; /* White bullet color */
    font-size: 1.2rem;
    line-height: 1;
}

ul.project-list div {
    display: inline-block;
}

.project-name {
    text-align: left; /* Align the project name to the left */
	flex-basis: 10%;
}

.project-location {
    text-align: left; /* Align the project location to the left */
	flex-basis: 20%;
}

.project-type {
    text-align: left; /* Align the project type to the left */
	flex-basis: 20%;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    ul.project-list li {
        grid-template-columns: 1fr; /* Make columns stack vertically */
        gap: 5px; /* Reduce the gap */
    }

ul.project-list {
        background-image: url('/assets/KESWORKSWEB.jpg');
        background-size: 100% auto; /* Stretch the image to fit the width of the screen */
        background-repeat: repeat-y; /* Repeat vertically if necessary */
        background-position: top left; /* Align to the top-left for smaller screens */
        padding: 20px;
            }
}
footer {
    background-color: #FFC612;
    color: #fff; /* White text */
    padding: 5px 40px;
    display: flex;
    justify-content: flex-end; /* Aligns content to the right */
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    font-size: .75rem;
}
/* Contact Us Section */
.contact-us {
    display: flex;
    justify-content: space-between; /* Space between text and map */
    align-items: flex-start; /* Align text and map to the top */
    padding: 5px; /* Padding for the section */
}

.contact-info {
    flex: 1; /* Make the contact info take up available space */
    color: #FFC612; /* Text color */
    white-space: wrap; /* Prevent text wrapping */
    text-align: left; /* Left-align text */
    padding-right: 20px; /* Padding between text and map */
}

.contact-info a {
    color: #FFC612; /* Make links the same color as text */
    text-decoration: none;
    font-size: 1.2rem; /* Adjust text size */
    font-weight: bold;
    line-height: 1.6; /* Adjust spacing between lines */
}

.contact-info a:hover {
    color: #C79D17; /* Darker yellow on hover */
}

.contact-map {
    flex: 1; /* Allow the map to grow to fill remaining space */
        text-align: right;
}

.contact-map img {
    width: calc(100%); /* Extend the map image to the edge */
    margin-right: 0px; /* Align the image to the right edge */
    height: auto; /* Maintain aspect ratio */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .contact-us {
        flex-direction: column; /* Stack the text and map vertically */
        align-items: flex-start; /* Keep text aligned left */
        padding: 0px; /* Remove padding on smaller screens */
    }

    .contact-info {
        max-width: 100%; /* Ensure the text takes full width on smaller screens */
        padding: 5px; /* Add padding for readability */
    }

    .contact-map {
        flex: none;
        width: 100%; /* Make map full width */
        text-align: center;
    }

    .contact-map img {
        width: 100%; /* Map fills the full width of the screen */
        margin-right: 0; /* Reset margin for small screens */
    }
}

footer p {
    margin: 0px;
    padding-top: 70px;
}
@media (max-width: 768px) {
	footer p {
    margin-bottom: 60px;
    padding-top: 5px;
	}}
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Position it fixed to the bottom right corner */
    bottom: 30px;
    right: 30px;
    z-index: 99; /* Make sure it stays on top of other elements */
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #FFC612; /* Yellow background color */
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

#backToTopBtn:hover {
    background-color: #C79D17; /* Darker yellow on hover */
}
/* Style the form container */
.form-group {
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 15px; /* Space between the button and the result */
    justify-content: flex-start; /* Ensure items are aligned to the left */
    margin-top: 0px;
    margin-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
	max-width: 100%;
}

#calculateFee {
    padding: 10px;
    font-size: 1rem;
    flex-shrink: 0; /* Ensure button doesn't shrink */
}

#result {
    font-size: 1.2rem;
	color: #FFC619 !important;
    margin-left: 10px;
    white-space: normal; /* Prevent text wrapping */
    flex-grow: .25; /* Allow the result to take remaining space */
	   appearance: none; /* Ensure no input-like behavior */
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none; /* Remove any border interpretations */
    box-shadow: none; /* Prevent input-like shadows */
    background: transparent; /* Ensure no background that might indicate interactivity */
    pointer-events: none; /* Disable any possible interaction */
    outline: none; /* Remove any potential input outline */
   
}
/* Styling for smaller screens */
@media (max-width: 768px) {
		#result {
        font-size: 1.2rem; /* Adjust the font size for smaller screens */
		color: #FFC619 !important;
        margin: 5px; /* Reduce margin for smaller screens */
		text-align: center;
			width: 100%;
			max-width: 100%;
			white-space: normal; /* Allow wrapping on smaller screens */
			}
	
    #calculateFee {
        width: 100%; /* Ensure button takes full width on smaller screens */
        text-align: center; /* Center text in the button */
        margin-bottom: 10px; /* Add margin for spacing */
    }

    .form-group {
       flex-direction: column; /* Stack button and result on smaller screens */
        align-items: flex-start; /* Align text to the left */
    }
}
.form-group.checkbox-group {
 	margin-bottom: 20px;
    align-items: baseline; /* Vertically center the checkbox and label */
    gap: 10px; /* Space between the checkbox and the label */
    flex-wrap: wrap; /* Allow wrapping if necessary on smaller screens */
}

.checkbox-group input[type="checkbox"] {
    appearance: none; /* Remove the default appearance */
	width: 20px;
    height: 20px;
    border: 2px solid #FFC612;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    margin: 0;
	}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #FFC612;
}

.checkbox-group input[type="checkbox"]:checked::before {
    content: "✓";
    display: block;
    color: white;
    font-size: 16px;
    text-align: center;
    line-height: 20px;
}

.checkbox-group label {
    cursor: pointer; /* Ensure the label has a pointer cursor */
    font-size: 1rem;
    color: black;
    white-space: normal; 
}
/* Container for checkbox and label */
.checkbox-container {
    display: inline-flex; /* Use inline-flex to keep elements on the same line */
    align-items: flex-start; /* Align the checkbox with the top of the label */
    gap: 8px; /* Space between the checkbox and the label */
    max-width: 100%; /* Make sure it takes up available width */
}

/* Ensure the label wraps correctly */
.checkbox-container label {
    white-space: normal; /* Allow the label to wrap */
    flex: 1; /* Allow the label to take up remaining space */
    line-height: 1.4; /* Adjust line-height to keep consistent spacing */
}

/* Ensure checkbox styles remain consistent */
.checkbox-container input[type="checkbox"] {
    appearance: none;
	border-radius: 3px;
    width: 20px;
    height: 20px;
    border: 2px solid #FFC612;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s, border-color 0.2s;
    position: relative;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: #FFC612;
    border-color: #FFC612;
}

.checkbox-container input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0;
    width: 8px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Dropdowns */
/* Normalize Dropdown and Input Borders */
.styled-select, .styled-input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 3px solid #FFC612;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none; /* Chrome/Safari */
    -moz-appearance: none; /* Firefox */
    box-shadow: none; /* Ensure no default shadow */
}

/* Remove arrows in number input for all browsers */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}
/* Styled button */
.styled-button {
    background-color: #FFC612;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
	margin-left: 0px;
}

.styled-button:hover {
    background-color: #C79D17;
}

/* For select dropdown icon styling */
.styled-select {
    appearance: none; /* Remove the default arrow */
    -webkit-appearance: none; /* Remove default for WebKit browsers */
    -moz-appearance: none; /* Remove default for Firefox */
    background: url('/assets/arrow-icon.png') no-repeat right center; /* Custom arrow image */
    background-size: 40px; /* Size of the arrow image */
    padding: 10px;
    padding-right: 30px; /* Space for the arrow */
    font-size: 1rem;
    width: 100%;
}


/* Adjust padding and borders on focus */
.styled-select:focus, .styled-input:focus, .styled-button:focus {
    outline: none;
    border-color: #FFC612;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* Custom class for links with #FFC612 color and bold font weight */
.link-highlight {
    color: #FFC612;
    font-weight: bold;
    text-decoration: none; /* Optional: Remove underline if desired */
}

.link-highlight:hover {
    color: #C79D17; /* Optional: Darker shade on hover */
    font-weight: bolder;
}
.custom-hr {
    width: 10%; /* Set the width to 50% of the screen */
    margin: 30px auto; /* Center the line and add 20px padding above and below */
    border: 0; /* Remove the default border style */
    height: 2px; /* Set the height of the line */
 	border-top: 20px dashed #FFC612; 
	}	
	
/* Universal placeholder styling */
input::placeholder,
textarea::placeholder {
    color: black !important; /* Force black color */
    opacity: 1 !important;   /* Ensure opacity is 100% */
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: black !important; /* For Safari and iPhone browsers */
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: black !important; /* For Firefox browsers */
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: black !important; /* For Internet Explorer */
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: black !important; /* For Edge browsers */
}

/* Dropdown text color (for select elements) */
select {
    color: black !important;   /* Force black text on dropdowns */
}

/* Styling selected dropdown options */
select option {
    color: black !important;   /* Ensure black text on selected options */
    background-color: white !important; /* Ensure background color remains white */
}

/* For iPhone-specific rendering issues */
select:focus {
    color: black !important;   /* Ensures the text is black when dropdown is focused */
    outline: none;             /* Removes default blue outline on iPhones */
}

input, textarea {
    color: black !important;   /* Enforces black text on inputs and textareas */
    background-color: white;   /* Ensures consistent background color */
}

/* iPhone-specific styling overrides */
input, select, textarea {
    -webkit-appearance: none; /* Disable default iPhone styling for inputs and dropdowns */
    -moz-appearance: none;
    appearance: none;
}

/* Ensure checkbox is visible */
input[type="checkbox"] {
    display: inline-block !important; /* Force it to display */
    width: 25px; /* Ensure proper width */
    height: 25px; /* Ensure proper height */
    margin-right: 0px; /* Space between checkbox and label */
    vertical-align: middle; /* Align with text */
    appearance: checkbox; /* Standard checkbox appearance */
}
.terms-link {
	color: #FFC612;
	font-weight: bold;
	text-decoration: none;
}
.terms-link:hover {
    color: #C79D17; /* Optional: Darker shade on hover */
    font-weight: bolder;
}
/* Optional: Style checkbox label */
.checkbox-label {
    font-weight: normal; /* Normal font weight for the label */
    color: #FFC612; /* Label text color */
}

/* Style the checkbox border and appearance */
input[type="checkbox"] {
    appearance: none; /* Remove default checkbox style */
    -webkit-appearance: none; /* Remove default checkbox style for Safari */
    -moz-appearance: none; /* Remove default checkbox style for Firefox */
    width: 20px;
    height: 20px;
    border: 2px solid #FFC612; /* Yellow border */
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s, border-color 0.2s;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

/* Checkbox checked state */
input[type="checkbox"]:checked {
    background-color: #FFC612; /* Yellow background */
    border-color: #FFC612; /* Keep border yellow */
}

/* White checkmark */
/*input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 8px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    display: inline-block;
}

/* Modal container */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* High z-index to be above other content */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
}

/* Modal content */
.modal-content {
    background-color: #fff;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    position: relative;
}

/* Close button (x) */
.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 10px; /* Add padding to increase the clickable area */
    display: inline-block; /* Ensures it takes up space for padding */
    line-height: 0; /* Align the "x" properly */
}

.close-btn:hover, .close-btn:focus {
    color: black;
    text-decoration: none;
}

