@font-face {
    font-family: 'Copperplate Gothic Light'; 
    src: url('./fonts/copperplate-gothic-light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 90px; /* Space for fixed header */
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: #2874A6;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 95px;
    width: 200px;
    margin-right: 1rem;
}

.logo-text h1 {
    font-size: 2rem;
    color: #3683CF;
    margin-bottom: 0.1rem;
    text-align: center;
    font-family: 'Copperplate Gothic Light';
    font-weight: normal;
}

.logo-text p {
    font-size: 1.2rem;
    color: #3683CF;
    text-align: center;
    font-family: 'Copperplate Gothic Light';
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: #3683CF;
    font-size: 1rem;
    font-weight: normal;
    text-transform: uppercase;
    transition: color 0.3s;
    font-family: 'Alegreya', serif;
    text-align: center;
}

.main-nav a:hover {
    color: #7BB5F5;
}

/* Hero section */
.hero {
    
    height: auto;
    min-height: 1000px; /* Keep your existing min-height */
    padding: 100px 0; /* Add padding instead of relying solely on height */
    background-size: cover;
    background-position: center bottom;
    position: relative;
    text-align: center;
}

.card-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 40px 0;
}

/* Maintain specific positioning for each card but use more reliable units */
.whitecardtop {
    position: relative;
    width: 40%;
    max-width: 627px;
    margin: 40px auto 40px 20%;  /* top right bottom left - offset to left */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whitecardmid {
    position: relative;
    width: 40%;
    max-width: 627px;
    margin: 40px 20% 40px auto;  /* top right bottom left - offset to right */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whitecardbot {
    position: relative;
    width: 40%;
    max-width: 627px;
    margin: 40px auto;  /* centered */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-text {
    padding: 10%;
    font-family: 'Alegreya', serif;
}

.info-text h2 {
    color: #3683CF;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: normal;
    margin-bottom: 0;
    line-height: 1.2;
}
.info-text h3 {
    color: #3683CF;
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.2;
}
.info-text p {
    font-size: 1.4rem;
    margin-top: 17px;
    margin-bottom: 15px;
    color: #3683CF;
    line-height: 1.4;
}

.bold{
    font-weight: bold;
}

/*Dispute Section*/
.dispute {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-attachment: fixed; 
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    min-height: 500px; 
}


@media (max-width: 1024px) {
    .hero {
        min-height: 800px;
    }
    
    .dispute {
        min-height: 400px;
    }
    
    .dispute-content {
        max-width: 80%;
    }
    
    .column.blue p, 
    .column.blue,
    .column.white p, 
    .column.white {
        width: 70%;
    }
    
    
    /* Adjust card positioning for smaller screens */
    .whitecardtop, .whitecardmid, .whitecardbot {
        width: 70%;
        margin: 40px auto;
    }
}

/* Make sure the two-column layout stacks on smaller screens */
@media (max-width: 768px) {
    .two-column {
        flex-direction: column;
    }
    
    .column img {
        height: 300px;
    }
}




/* Add an overlay to ensure text remains readable against any background */
.dispute::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* White overlay with 85% opacity */
    z-index: 1;
}

/* Ensure content appears above the overlay */
.dispute h2, 
.dispute .dispute-content {
    position: relative;
    z-index: 2;
}

.dispute h2 {
    font-family: 'Alegreya', serif;
    color: #3683CF;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.7rem;
    font-weight: normal;
}

.dispute-content {
    max-width: 33%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    font-family: 'Alegreya', serif;
    
    
}

.dispute-content p {
    margin-bottom: 20px;
    color: #3683CF;
    line-height: 1.7;
    font-size: 1.4rem;
    font-family: 'Alegreya', serif;
}
/* Two column section */

.two-column {
    display: flex;
   
}

.column {
    flex: 1;
    
}

.column.blue {
    background-color: #3683CF;
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centers items horizontally */
    text-align: center;
    font-weight: 500;
    font-size: 1.4rem;
    font-family: 'Alegreya', serif;
   
}

.column.blue p, 
.column.blue{
    width: 30%; /* Makes content take up 30% of the div's width */
    margin-left: auto;
    margin-right: auto;
}

.column.blue p {
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn {
    display: flex;         
    align-items: center;    
    justify-content: center; 
    padding: 10px 25px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    transition: all 0.3s;
    font-size: .8rem;
    width: 148px;
    height: 57px;
}
.btn:hover {
    background-color: #fff;
    color: #3683CF;
}


.column.white {
    background-color: #fff;
    color: #3683CF;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centers items horizontally */
    text-align: center;
    font-weight: 500;
    font-size: 1.4rem;
    font-family: 'Alegreya', serif;
}

.column.white p, 
.column.white{
    width: 30%; /* Makes content take up 30% of the div's width */
    margin-left: auto;
    margin-right: auto;
}

.column.white p {
    margin-bottom: 40px;
    line-height: 1.7;
}

.column.white h2 {
    margin-bottom: 25px;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-nav li {
    margin: 0 1rem;
}

.footer-nav a {
    font-size: 0.8rem;
    color: #666;
}

.social-media {
    margin: 1rem 0;
}

.facebook-icon {
    /* Replace with actual icon or image */
    color: #3b5998;
    font-weight: bold;
}

.copyright {
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0.5rem;
    }
    
    .info-boxes, .surveyors {
        flex-direction: column;
    }
    
    .info-box, .surveyor {
        margin-bottom: 2rem;
    }
    
    .offices {
        flex-direction: column;
    }
    
    .office {
        margin: 1rem 0;
    }
    .column.blue p, 
    .column.blue,
    .column.white p, 
    .column.white {
        width: 95%;
}
}
@media (max-width: 768px) {
    body {
        padding-top: 140px; /* Increase padding for mobile when header gets taller */
    }
    
    /* Your existing responsive styles for header */
    .header-container {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0.5rem;
    }}