/* Reset some default styles */
body, h1, h2, p {
    margin: 0;
    padding: 0;
}

/* Apply a background image or color for the hero section */
.hero {
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

/* Style the navigation bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Style the logo */
.logo img {
    height: 90px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

/* Style navigation links */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007BFF;
}

/* Style feature sections */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
    background-color: #f7f7f7;
}

.feature {
    text-align: center;
    max-width: 300px;
}

.feature img {
    width: 300px;
    height: 300px;
    margin-bottom: 20px;
}

.contact-table {
    max-width: 94%; /* Set max-width to 70% for desktop screens */
        margin: 0 auto;
        padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-table h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

/* Adjust table styles for dark mode */
.dark-mode .contact-table {
  
    background-color: #1f1d1d;
    color: #fff;
    box-shadow: none;
}

.dark-mode table th,
.dark-mode table td {
    border-bottom: 1px solid #333;
}


/* Style dark mode toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #007BFF;
}

input:focus + .slider {
    box-shadow: 0 0 1px #007BFF;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

footer {
    background-color: #1f1d1d;
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    display: inline;
    margin-right: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007BFF;
}

/* Add dark mode styles */
body.dark-mode {
    background-color: #333;
    color: #fff;
}

.dark-mode .hero {
    background-color: #222;
}

.dark-mode nav {
    background-color: #1f1d1d;
    color: #fff;
}

.dark-mode .nav-links a {
    color: #fff;
}

.dark-mode .features {
    background-color: #111;
}

.dark-mode .feature {
    background-color: #1f1d1d;;
    color: #fff;
    margin-left: 25px;
}

.dark-mode .ipo-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1f1d1d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dark-mode .ipo-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* Style form labels and input fields */
.dark-mode label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"],
input[type="email"],input[type=date],
select {
    width: 90%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
}

/* Style form buttons */
.dark-mode .form-buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
input[type="Existing Customer ?"],
input[type="submit"],
input[type="Check Status"],
input[type="reset"] {
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.dark-mode .ipo-form select {
    width: 93%; /* Set the width of select menus to 100% */
}

@media (max-width: 768px) {
    body {
        font-size: 16px; /* Adjust font size for better readability on smaller screens */
    }

    .hero {
        padding: 80px 0; /* Reduce padding for the hero section on mobile */
    }

    .nav-links {
        flex-direction: column; /* Stack navigation links vertically on mobile */
        align-items: center; /* Center-align navigation links on mobile */
    }

    .nav-links li {
        margin: 10px 0; /* Add some space between navigation links on mobile */
    }

    .features {
        flex-direction: column; /* Stack feature sections vertically on mobile */
        padding: 30px 0; /* Adjust padding for feature sections on mobile */
    }

    .feature {
        margin-bottom: 30px; /* Add space between feature sections on mobile */
    }

    /* Adjust dark mode toggle position on mobile */
    .dark-mode-toggle {
        justify-content: center;
    }
    
    
}
@media (max-width: 768px) {
    .contact-table {
        padding: 10px;
    }

    table {
        margin-top: 10px;
    }

    table th,
    table td {
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    .ipo-form {
        padding: 10px;
    }

    label {
        font-size: 16px;
    }

    input[type="text"],
    input[type="email"],
    select {
        padding: 10px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .form-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    input[type="submit"],
    input[type="reset"] {
         width: 50%;
        text-align: center;
        margin-bottom: 10px;
    }
}