header{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    padding: 20px;
}

#header-logo{
    height: auto;
    width: 150px;
    max-width: 400px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.nav-text {
    color: var(--blue-light);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-text:hover {
    background-color: rgba(88, 182, 230, 0.1);
}

#company-name {
    color: var(--blue-light);
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    flex: 1;
}

:root{
    --text-font: 'Roboto', sans-serif;
}

/* Form Section */
.form {
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 241, 242, 0.9) 50%, rgba(88, 182, 230, 0.1) 100%);
    border-radius: 20px;
    margin: 40px 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form h2 {
    font-size: 3rem;
    color: var(--blue-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.form-intro {
    font-size: 1.2rem;
    color: var(--blue-dark);
    margin-bottom: 30px;
    max-width: 700px;
    font-weight: 500;
    line-height: 1.5;
}

.quote-form {
    max-width: 500px;
    width: 100%;
}
.warning {
    color: var(--red-dark);
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding: 12px 20px;
    background-color: rgba(250, 95, 95, 0.1);
    border-left: 4px solid var(--red);
    border-radius: 6px;
    max-width: 500px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--text-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--blue-light);
}

.quote-form textarea {
    width: 100%;
    resize: vertical;
    margin-bottom: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    color: var(--white);
    border: none;
    padding: 16px 45px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 182, 230, 0.3);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 182, 230, 0.4);
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

/* Services Section */
.services {
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services h2 {
    margin-bottom: 30px;
    color: var(--blue-dark);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(88, 182, 230, 0.1);
    position: relative;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--gray-light);
    transition: transform 0.3s ease;
}

.service-card h3, .service-card p {
    padding: 0 25px;
}

.service-card h3 {
    padding-top: 25px;
    margin-bottom: 15px;
}

.service-card p {
    padding-bottom: 30px;
    color: var(--gray-dark);
    line-height: 1.6;
    font-size: 1rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    border-color: rgba(88, 182, 230, 0.3);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--blue-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Reviews Section */
.reviews {
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.reviews h2 {
    margin-bottom: 30px;
    color: var(--blue-dark);
    font-weight: 700;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    width: 100%;
}

.review-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(88, 182, 230, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: rgba(88, 182, 230, 0.2);
}

.stars {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card h4 {
    color: var(--blue-dark);
    margin-top: 15px;
    font-style: italic;
    font-weight: 600;
}

/* Map Section */
.map {
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.map h2 {
    margin-bottom: 30px;
    color: var(--blue-dark);
    font-weight: 700;
}

#map {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 15px;
    border: 3px solid var(--blue-light);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
    background-color: var(--white);
    border-radius: 8px;
}

.leaflet-popup-content {
    color: var(--blue-dark);
    font-family: var(--text-font);
    font-weight: 500;
}

.leaflet-popup-tip {
    background-color: var(--white);
}

/* General Typography */
body {
    font-family: var(--text-font);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-primary);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/images/clearpointImage2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: -2;
    opacity: 0.15;
    will-change: transform;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    word-spacing: 2px;
}

p {
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}



/* Privacy consent styling */
.privacy-consent {
    margin: 20px 0;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-consent input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    width: auto;
    margin-top: 4px;
}

.privacy-consent label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.privacy-consent a {
    color: var(--blue-light);
    text-decoration: underline;
}

/* Button loading state improvements */
.btn-loading {
    display: none;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Form messages improvements */
.form-messages {
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.form-messages.success {
    display: block;
}

.form-messages.error {
    display: block;
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
    /* Header mobile responsiveness */
    header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    #company-name {
        margin-left: 0;
        font-size: 1.8rem;
        padding: 10px 0;
    }
    
    #header-logo {
        width: 120px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
    
    .nav-text {
        font-size: 14px;
        padding: 6px 12px;
        white-space: nowrap;
    }
    
    /* Form mobile responsiveness */
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .privacy-consent {
        text-align: left;
    }
    
    .form h2 {
        font-size: 2rem;
    }
    
    .form {
        margin: 20px 10px;
        padding: 40px 20px;
    }
    
    /* Services mobile responsiveness */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Reviews mobile responsiveness */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews, .map {
        margin: 20px 10px;
        padding: 30px 15px;
    }
    
    /* Typography mobile responsiveness */
    h2 {
        font-size: 2rem;
    }
    
    /* Footer mobile responsiveness */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
}

/* Footer */
footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 20px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-section h3 {
    color: var(--blue-light);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 8px;
    padding: 5px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-medium);
    color: var(--gray-light);
}

/* Add these utility classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-messages {
    margin: 15px 0;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-messages.success {
    background-color: var(--green-lightest);
    color: var(--green-dark);
    border: 1px solid var(--green);
}

.form-messages.error {
    background-color: #ffeaea;
    color: var(--red-dark);
    border: 1px solid var(--red);
}











:root {
  /* Neutrals */
  --white: rgb(255, 255, 255);
  --black: rgb(0, 0, 0);
  --gray-light: rgb(224, 227, 229);
  --gray-medium: rgb(168, 165, 165);
  --gray-dark: rgb(114, 114, 114);
  --gray-darker: rgb(88, 88, 88); /* Estimated */
  --gray-background: rgb(239, 241, 242);

  /* Primary Action Blue */
  --blue-light: rgb(88, 182, 230);
  --blue: rgb(0, 136, 203);
  --blue-dark: rgb(6, 72, 199);
  --blue-deep: rgb(13, 30, 120);

  /* Red Alerts/Errors */
  --red-light: rgb(250, 95, 95);
  --red: rgb(237, 28, 36);
  --red-dark: rgb(168, 7, 7);
  --red-darker: rgb(112, 8, 8);
  --red-deepest: rgb(74, 7, 7);

  /* Yellow/Orange Highlights */
  --yellow: rgb(255, 203, 5);

  /* Purple Palette */
  --purple-light: rgb(196, 174, 221);
  --purple: rgb(156, 127, 186);
  --purple-dark: rgb(102, 56, 152);
  --purple-deep: rgb(68, 37, 101);
  --purple-deepest: rgb(34, 19, 51);

  /* Green Palette */
  --green-lightest: rgb(229, 250, 209);
  --green-light: rgb(202, 229, 175);
  --green: rgb(155, 203, 108);
  --green-dark: rgb(78, 102, 54);
  --green-deep: rgb(39, 51, 27);

  /* Themed Roles */
  --text-primary: var(--blue-light);
  --text-secondary: var(--gray-medium);
  --text-disabled: var(--gray-light);
  --background-primary: var(--white);
  --background-secondary: var(--gray-background);
  --accent-primary: var(--blue-light);
  --accent-secondary: var(--blue-dark);
  --error: var(--red);
  --success: var(--green);
  --border: var(--gray-medium);
}