/* COLOUR VARIABLES */
:root{
    --primary-color: #102A43;
    --secondary-color: #2563EB;
    --background-color:#F1F5F9;
    --text-color: #374151;
    --white: #ffffff;
    --gold: #D4A017;
}
/* GENERAL STYLING */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

#home p {
    font-size: 17px;
    line-height: 1.9;
    max-width: 650px;
    margin: 0 auto 30px;
    padding: 0 15px;
    text-align: center;
}

/* NAVIGATION */
header{
    background-color: var(--primary-color);
    padding: 10px 8%;
}
.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav h2 {
    color: var(--white);
}
nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    
}

#home{
    position: relative;
    isolation: isolate;
    color: white;
    text-align: center;
    padding: 20px 6px;
    min-height: 25vh;
}

/* ABOUT US SECTION */

#about {
    background-color: var(--white);
    padding: 70px 8%;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

/* WHY CHOOSE US SECTION */

#why-choose-us {
    background-color: var(--primary-color);
    color: var(--white);
}

#why-choose-us h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 15px;
}

.why-intro {
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.reason-card {
    background-color: var(--white);
    color: var(--text-color);
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 12px;
}

.reason-card p {
    font-size: 15px;
    line-height: 1.8;
}

#home::before,
#home::after{
        content: "";
        position: absolute;
        top: 0;
        width: 50%;
        height: 100%;
        z-index: -1;
        background-size: 100% 100%;
        background-repeat: no-repeat;
}
#home::before{
        left: 0;
        background-image: linear-gradient(rgba(16, 42, 67, 0.55), rgba(16, 42, 67, 0.55)),
    url("../images/background1.jpg");
    opacity: 50;
}

    #home::after{
        right: 0;
        background-image: linear-gradient(rgba(16, 42, 67, 0.55), rgba(16, 42, 67, 0.55)),
        url("../images/imagesFPAbg3.jpg");
        opacity: 50;
}

nav ul li a {
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #D4A017;
}
#home h1 {
    font-size: 40px;
    margin-bottom: 20px;
}
#home p {
    margin-bottom: 100px;
}
#home a {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
}
/* GENERAL SECTIONS */
section{
    padding: 70px 8%;
    text-align: center;
}
section h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
}
.service-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* CONTACT US SECTION */

#contact {
    background-color: var(--white);
}

#contact h2 {
    font-size: 32px;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    background-color: var(--background-color);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-card p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-card a {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-card a:hover {
    background-color: var(--primary-color);
}

.contact-location {
    margin-top: 40px;
}

.contact-location h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* FOOTER */
footer{
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 10px;
}
/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    #home h1 {
        font-size: 28px;
    }
    .service-container {
        grid-template-columns: 1fr;
    }
    .reasons-container {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}