/* Font faces */
@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Metropolis', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: .82;
}

header {
    max-width: 2000px;
    margin: 0 auto;
    background-color: #151F2C;
    padding: 20px;
    padding-top: 35px;
    padding-bottom: 18px;
}

footer {
    max-width: 2000px;
    margin: 0 auto;
}

footer a {
    color: #FFF;
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 380px;
}

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


/* Main content */
main {
    max-width: 2000px;
    margin: 0 auto;
}

a { 
    text-decoration: none;
}

/* Hero section */
.hero {
    background-image: url('assets/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 9.97rem);
    line-height: .8;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.hero p {
    position: relative;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4375rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 572px;
    
}

.hero .hero-eyebrow {
    text-align: center;
    font-size: clamp(1rem, 2vw, 2.40463rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.hero-content {
    position: relative;
    padding: 4.2rem;
    padding-bottom: 1rem;
}

.hero-content::before {
    content: '';
    position: absolute;
    background: rgba(21, 31, 44, 0.60);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.cta-button {
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* About section */
.about {
    background-color: #151F2C;
    color: #FFF;
    padding-top: 5.94rem;
    padding-bottom: 5rem;
}

.about h2 {
    font-size: 2.5rem;
    color: #FFF;
    font-size: 30.474px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.about-intro-title {
    padding-left: 14px;
    border-left: 1px solid #FFF;
    padding-right: 2rem;
}

.about-intro {
    background-color: #fff;
    color: #151F2C;
    padding: 58px;
    padding-right: 84px;
    border-radius: 15px;
    max-width: 515px;
    margin-left: auto;
    margin-bottom: 1.31rem;
}

.about-intro-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    color: #151F2C;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-card {
    margin-bottom: 20px;
}

.about-card h3 {
    color: #151F2C;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    background-color: #D9D9D9;
    display: inline-block;
    padding: 20px;
    padding-bottom: 5px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}


.about-card-details {
    background-color: #D9D9D9;
    display: flex;
    border-radius: 15px;
    border-top-left-radius: 0;
    padding: 20px;
    align-items: center;
    min-height: 165px;
}

.about-card-details p {
    padding-right: 2rem;
}

.placeholder-image {
    background-color: #ecf0f1;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #7f8c8d;
    font-size: 1.2rem;
}

/* Contact section */
.contact {
    padding: 80px 0;
    background-image: url('assets/contact-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-inner {
    display: flex;
}

.contact-content {
    border-radius: 15px;
    background: #151F2C;
    color: #FFF;
    flex-basis: 30%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content h2 {
    font-size: 1.90463rem;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.contact-form {
    border-radius: 15px;
    flex-basis: 70%;
    background-color: #fff;
    padding: 2.13rem;
    padding-left: 3.56rem;
    padding-right: 3.56rem;
    padding-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    min-width: 160px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #EEEBEB;
    background-color: #EEEBEB;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Screen reader only class for accessibility */
.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-services {
    display: flex;
    flex-wrap: wrap;
    border: none;
    padding: 0;
    margin: 0;
}

.form-services legend {
    border: none;
    padding: 0;
    margin: 0;
}

.form-services .form-item {
    width: 50%;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Custom checkbox styling */
.form-services .form-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #EEEBEB;
    border: none;
    border-radius: 4px;
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.form-services .form-item input[type="checkbox"]:checked {
    background-color: #151F2C;
    border-color: #151F2C;
}

.form-services .form-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Enhanced focus styles for accessibility */
.form-services .form-item input[type="checkbox"]:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
    border-color: #3498db;
    box-shadow: 0 0 0 1px #3498db;
}

.form-services .form-item input[type="checkbox"]:focus:checked {
    outline: 3px solid #3498db;
    outline-offset: 2px;
    border-color: #151F2C;
    box-shadow: 0 0 0 1px #3498db;
}

/* Hover states for better user feedback */
.form-services .form-item input[type="checkbox"]:hover {
    border-color: #151F2C;
    background-color: #F5F5F5;
}

.form-services .form-item input[type="checkbox"]:hover:checked {
    background-color: #2A3A4F;
    border-color: #2A3A4F;
}

.form-services .form-item label {
    color: #151F2C;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0;
    min-width: auto;
    flex: 1;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-footer p {
    font-size: 12px;
    line-height: 15px;
    padding-right: 2rem;
}

.submit-button {
    background-color: #151F2C;
    padding: 9px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 179px;
    color: #FFF;
    text-align: center;
    font-family: Metropolis;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 23px; /* 143.75% */
}

.submit-button:hover {
    background-color: #2980b9;
}

.submit-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
}

.locations {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
}

.locations-header {
   text-align: center;
   margin-bottom: 3rem;
}

.locations h2 {
    font-size: 1.90463rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal
}

.locations-items {
    display: flex;
    gap: 24px;
}

.locations-item {
    flex-basis: 33.33%;
    border-radius: 15px;
    background: #D9D9D9;
    padding: 15px;
}

.locations-item h3 {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4375rem; /* 143.75% */
    text-transform: uppercase;
    margin-bottom: 1.7rem;
}

.locations-item h3 img {
    margin-right: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    padding-left: 4rem;
}

.contact-item a {
    color: #151F2C;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    width: 24px; /* Fixed width for all icons */
    height: auto;
}

.contact-item span {
    line-height: 1.4;
    flex: 1; /* Allow text to take remaining space */
}

/* Footer */
footer {
    background-color: #151F2C;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex-basis: 50%;
    text-align: left;
}

.footer-right {
    flex-basis: 50%;
    text-align: right;
}

.footer-logo img {
    max-width: 318px;
    margin-top: 1rem;
}

/* Responsive design */
@media (max-width: 1200px) {
    /* Large tablet styles */
    .contact-inner {
        gap: 1.5rem;
    }

    .contact-content {
        flex-basis: 40%;
        padding: 3rem;
    }

    .contact-form {
        flex-basis: 60%;
        padding: 2rem;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .locations-items {
        gap: 18px;
    }
}

@media (max-width: 1024px) {
    /* Tablet styles */
    .contact-inner {
        flex-direction: column;
    }

    .contact-content {
        flex-basis: 100%;
        margin-bottom: 2rem;
        padding: 2.5rem;
    }

    .contact-form {
        flex-basis: 100%;
        padding: 2rem;
    }

    .locations-items {
        flex-direction: column;
        gap: 1.5rem;
    }

    .locations-item {
        flex-basis: 100%;
    }

    .contact-item {
        padding-left: 0;
        gap: 8px;
    }

    .contact-item svg {
        width: 20px;
    }
}

@media (max-width: 768px) {

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    /* Contact section responsive */
    .form-group {
        flex-direction: column;
    }

    .form-group label {
        min-width: auto;
        margin-bottom: 0.5rem;
    }

    .form-services .form-item {
        width: 100%;
    }

    .form-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .form-footer p {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .logo img {
        max-width: 100%
    }

    .about,
    .services,
    .contact {
        padding: 60px 0;
    }

    .about h2,
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Contact section mobile */
    .contact-content {
        padding: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .contact-content h2 {
        font-size: 1.5rem;
    }

    /* Locations section mobile */
    .locations {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .locations h2 {
        font-size: 1.5rem;
    }

    .locations-item {
        padding: 12px;
    }

    .locations-item h3 {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .locations-item h3 img {
        margin-right: 8px;
        width: 20px;
        height: auto;
    }

    .contact-item {
        gap: 6px;
        margin-bottom: 8px;
    }

    .contact-item svg {
        width: 18px;
    }

    .contact-item span {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.copy-container {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.copy-container h1 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.copy-container h2 {
    font-size: 1.90463rem;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.copy-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.copy-container p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4375rem;
    margin-bottom: 1rem;
}

.copy-container ul {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4375rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.copy-container ul li {
    margin-bottom: 1rem;
}
