/* Reset and Base Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
transition: transform 0.3s ease;
}

/* Body fixed when menu is open */
body.menu-open {
overflow: hidden;
height: 100vh;
}

/* Overlay for when menu is open */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8); /* 80% transparent black */
z-index: 98;
}

/* Top Header Styles */
.top-header {
background-color: #29819C;
padding: 12px 0;
position: relative;
z-index: 102;
}

.top-header-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.top-header .contact-info {
display: flex;
justify-content: center;
align-items: center;
gap: 40px;
}

.top-header .contact-text {
color: white;
font-size: 15px;
display: flex;
align-items: center;
}

.top-header .contact-text::before {
margin-right: 8px;
}

.top-header .contact-text:first-child::before {
content: "✉️";
}

.top-header .contact-text:last-child::before {
content: "☏";
}

/* Main Header Styles */
.header {
background-color: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 15px 0;
position: sticky;
top: 0;
z-index: 101;
}

.header-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}

.logo-container {
display: flex;
align-items: center;
}

.logo {
height: 50px;
margin-right: 10px;
}

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

.nav-item {
margin-left: 25px;
}

.nav-link {
text-decoration: none;
color: #29819C;
font-weight: 500;
transition: color 0.3s;
padding: 8px 0;
position: relative;
}

.nav-link:hover, .nav-link.active {
color: #22748d;
}

.nav-link.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background-color: #22748d;
}

.header-contact-info {
display: flex;
align-items: center;
}

.emergency-btn {
background-color: #e74c3c;
color: white;
padding: 10px 20px;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s;
border: none;
cursor: pointer;
white-space: nowrap;
}

.emergency-btn:hover {
background-color: #c0392b;
}

/* Mobile menu */
.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 24px;
color: #29819C;
cursor: pointer;
z-index: 103;
}

/* Form Styles */
.main-content {
max-width: 500px;
margin: 30px auto;
padding: 0 20px;
}

input::placeholder,
textarea::placeholder {
color: #97B5C2;
}

.form-container {
background-color: white;
padding: 25px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
text-align: center;
color: #29819C;
margin-bottom: 25px;
font-size: 24px;
}

.form-group {
margin-bottom: 20px;
}

label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #29819C;
}

.required-field::after {
content: "*";
color: red;
margin-left: 4px;
}

/* UPDATED STYLES FOR BOTTOM BORDER ONLY */
input[type="text"],
input[type="tel"],
select,
textarea {
width: 100%;
padding: 12px 0; /* Changed padding to remove side spacing */
border: none;
border-bottom: 1px solid #97B5C2;
border-radius: 0; /* Removed border radius */
box-sizing: border-box;
font-size: 16px;
color: #29819C;
background-color: transparent;
transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
border-color: #29819C;
outline: none;
color: #29819C;
}

textarea {
height: 100px;
resize: vertical;
color: #29819C;
}

.phone-input {
display: flex;
align-items: center;
color: #29819C;
border-bottom: 1px solid #97B5C2; /* Added bottom border for container */
}

.country-code {
padding: 12px 0; /* Changed padding */
background-color: transparent;
border: none;
border-right: none;
min-width: 60px;
text-align: center;
color: #97B5C2;
}

#phone {
border: none; /* Remove individual border */
border-radius: 0;
flex-grow: 1;
}

.submit-btn {
background-color: #29819C;
color: white;
padding: 14px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%;
font-size: 16px;
font-weight: bold;
margin-top: 10px;
transition: background-color 0.3s;
}

.submit-btn:hover {
background-color: #22748d;
}

.terms {
font-size: 14px;
color: #29819C;
margin-top: 20px;
text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
/* Tablet styles */
.nav-item {
    margin-left: 15px;
}

.top-header .contact-info {
    gap: 30px;
}
}

@media (max-width: 768px) {
/* Mobile styles */
.top-header {
    padding: 10px 0;
}

.top-header .contact-info {
    flex-direction: column;
    gap: 8px;
}

.top-header .contact-text {
    font-size: 14px;
}

.header-container {
    flex-wrap: wrap;
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 380px;
    background-color: white;
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 100;

}

.nav-item {
    margin: 15px 0;
    text-align: center;
}

.header-contact-info {
    display: none;
    position: fixed;
    top: 300px;
    left: 0;
    width: 100%;
    justify-content: center;
    z-index: 100;
}

.mobile-menu-btn {
    display: block;
}

.nav-active {
    display: flex;
    transform: translateY(0);
}

.header-contact-active {
    display: flex;
}

.main-content {
    margin: 20px auto;
}

.form-container {
    padding: 20px;
}
}

@media (max-width: 480px) {
/* Small mobile styles */
.top-header-container,
.header-container {
    padding: 0 15px;
}

.logo {
    height: 40px;
}

.top-header .contact-text {
    font-size: 13px;
}

.main-content {
    padding: 0 15px;
}

.form-container {
    padding: 15px;
}

h1 {
    font-size: 20px;
    margin-bottom: 20px;
}

input[type="text"],
input[type="tel"],
select,
textarea {
    padding: 10px 0;
    font-size: 14px;
}

.submit-btn {
    padding: 12px;
    font-size: 15px;
}
}




/* Review Page Styles */

       /* Review Page Styles */
        .review-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .review-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .review-label {
            font-weight: bold;
            color: #29819C;
            margin-bottom: 5px;
        }

        .review-value {
            color: #29819C;
        }

        .whatsapp-btn {
            display: inline-block;
            background-color: #25D366;
            color: white;
            padding: 12px 24px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 18px;
            margin-top: 10px;
            transition: background-color 0.3s;
        }

        .whatsapp-btn:hover {
            background-color: #128C7E;
        }

        .action-buttons {
            margin-top: 30px;
            display: flex;
            justify-content: space-between;
        }

        .edit-btn {
          display: inline-block;
          background-color: #6c757d;
          color: white;
          padding: 12px 24px;
          border-radius: 4px;
          text-decoration: none;
          font-weight: 18px;
          margin-top: 10px;
          transition: background-color 0.3s;
          border: none;
          cursor: pointer;
        }

        .edit-btn:hover {
            background-color: #5a6268;
        }

        .success-message {
            color: #28a745;
            font-weight: bold;
            margin-top: 20px;
            padding: 10px;
            border: 1px solid #28a745;
            border-radius: 4px;
            background-color: #f8fff9;
        }

        .error-message {
            color: #dc3545;
            font-weight: bold;
            margin-top: 20px;
            padding: 10px;
            border: 1px solid #dc3545;
            border-radius: 4px;
            background-color: #fff9fa;
        }

        .hidden {
            display: none;
        }

        /* Redirection message style */
        .redirect-message {
            margin-top: 15px;
            color: #29819C;
            font-style: italic;
        }
        
        
        