@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;
    padding: 100px 0; 
    background-size: cover;
    background-position: center bottom;
    position: relative;
}



.whitecardright {
    position: relative;
    width: 40%;
    max-width: 627px;
    margin: 40px 20% 120px auto; /* top right bottom left */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.whitecardleft {
    position: relative;
    width: 40%;
    max-width: 627px;
    margin: 40px auto 40px 20%; /* top right bottom left */
    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;
}

/* How this might affect you section */
.affect-you {
    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; 
}

.affect-you::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); 
    z-index: 1;
}

/* Ensure content appears above the overlay */
.affect-you h2, 
.affect-you .affect-content {
    position: relative;
    z-index: 2;
}

.affect-you h2 {
    font-family: 'Alegreya', serif;
    color: #3683CF;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.7rem;
    font-weight: normal;
}

.affect-content {
    max-width: 33%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    font-family: 'Alegreya', serif;
    
    
}

.affect-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;
    text-align: center;
    font-weight: 500;
    font-size: 1.4rem;
    font-family: 'Alegreya', serif;
}

.column.blue p, 
.column.blue{
    width: 30%;
    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;
}

/* 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: 1024px) {
    .whitecardright, .whitecardleft {
        width: 60%;
        margin: 40px auto; /* Center cards on smaller screens */
    }
    
    .affect-content {
        max-width: 70%; /* Widen content area on smaller screens */
    }
    
    .column.blue p, .column.blue{
        width: 70%; /* Wider for medium screens */
    }
}

/* Stack cards vertically on smaller screens */
@media (max-width: 992px) {
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .whitecardright, .whitecardleft {
        position: relative;
        width: 80%;
        margin: 30px auto;
    }
    
    .affect-content {
        max-width: 80%;
    }
    
    .two-column {
        flex-direction: column;
    }
    
    .column img {
        height: 300px;
    }
    
    .column.blue {
        padding: 50px 30px; /* More padding on sides for tablet */
    }
    
    .column.blue p, .column.blue{
        width: 90%; /* Almost full width on tablets */
        
    }
}

/* Further adjustments for mobile */
@media (max-width: 768px) {
    .whitecardright, .whitecardleft {
        width: 90%;
    }
    
    .affect-content {
        max-width: 90%;
    }
    
    .column.blue {
        padding: 40px 20px; /* Less padding for mobile */
    }
    
    .column.blue p {
        width: 95%; /* Almost full width on mobile */
        font-size: 1.2rem; /* Slightly smaller font on mobile */
    }
    
    .btn {
        margin-top: 10px; /* Add space above button on mobile */
    }
}