{
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
}/*General page styling*/
body{
    font-family:Arial, sans-serif;
    background-color:lightblue;
    color:#333333;
    margin:0;
    padding:0;
}
/*Main heading*/
h1{
    color:#12345a;
    font-size:40px;
}
/*Second heading*/
h2{
    color:#008c95;
    font-size:24px;
}
/*Paragraph*/
p{
    font-size:17px;
    line-height:1.7;
}
/*Website Header*/
header{
    background-color:#12345a;
    color:white;
    padding:20px 40px;

    display:flex;
    justify-content:space-between;
    align-items:centre;
    position:sticky;
    top:0;
}
/*Company Logo*/
.logo{
    font-size:28px;
    font-weight:bold;
    color:white;
}
.logo img{
    width:160px;
    height:auto;
    display:block;
}
/*Navigation Menu*/
nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-size:16px;
}
/*Navigation Hover Effect*/
nav a:hover{
    color:#00b3b8;
}
/*Hero Section*/
.hero{
    background: url("hero-photo.jpg")center center/cover no-repeat;
background-color: #12345a;
    color:white;
    padding:100px 40px;
    min-height:500px;

    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-content{
    max-width:750px;
    width:100%;
    min-width:0;

}
.hero-tagline{
    color:#white;
    font-weight:bold;
    letter-spacing:2px;
}
.hero h1{
    color:white;
    font-size:52px;
    line-height:1.2;
    margin-bottom:20px;
}
.hero h1 span{
    color:#f5b400;
}
.hero-description{
    font-size:20px;
    line-height:1.8;
    color:#ffffff;
    background: rgba(0, 0, 0, 0.35);
}
.hero-buttons{
    margin-top:30px;
}
.btn-primary,
.btn-secondary{
    display:inline-block;
    padding:14px;
    text-decoration:none;
    border-radius:12px;
    font-weight:bold;
}
.btn-primary{
    background-color:#00a6a6;
    color:white;
}
.btn-secondary{
    border:2px solid white;
    color:white;
    background-color: rgba(11, 44, 77, 0.65);
}
.btn-primary:hover{
    background-color:#008c95;
    transform:translateY(-3px);
}
.btn-secondary:hover[
    background-color:white;
    color:#12345a;
]
.btn-primary,
.btn-secondary{
    transition:0.3s;
}
/* Services Section */

.services {
    padding: 80px 40px;
    background-color: #f4f7fa;
    scroll-margin-top:90px;
}

/* Section Heading */

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-heading > p:first-child {
    color: #008c95;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-heading h2 {
    color: #12345a;
    font-size: 36px;
    margin-bottom:15px;
    line-height:1.3;
}

/* Service Cards Container */

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* Individual Service Cards */

.service-card {
    background-color: white;
    padding: 35px 30px;
    width: 250px;
    border-radius: 8px;
    border-bottom: 4px solid #00a6a6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition:0.3s;
    .service-card h3{
        color:#12345a;
        font-size:20px;
        margin-bottom:15px;
    }
    .service-card p{
        color:#555;
        font-size:15px;
        line-height:1.7;
    }
    .service-card:hover{
        transform:translateY(-8px);
        box-shadow:0 8px 20px rgba(0,0,0,0.12);
    }
}

.service-card h3 {
    color: #12345a;
    font-size: 21px;
}

.service-card p {
    color: #555555;
    line-height: 1.7;
}
<!-- Our Sectors Section -->

<section class="sectors">

    <div class="section-heading">

        <p>WHERE WE WORK</p>

        <h2>Our Areas of Expertise</h2>

        <p>
            We support development initiatives across
            multiple sectors to create lasting impact.
        </p>

    </div>

    <div class="sector-container">

        <div class="sector-card">
            <h3>Governance and Institutional Development</h3>
        </div>

        <div class="sector-card">
            <h3>Education and Youth Empowerment</h3>
        </div>

        <div class="sector-card">
            <h3>Livelihoods and Economic Recovery</h3>
        </div>

        <div class="sector-card">
            <h3>Humanitarian Response and Resilience</h3>
        </div>

        <div class="sector-card">
            <h3>Protection, Gender and Social Inclusion</h3>
        </div>

        <div class="sector-card">
            <h3>Health, Nutrition and WASH</h3>
        </div>

    </div>

</section>
/* About Section */

.about {
    padding: 90px 40px;
    background-color: #ffffff;
}

.about-content {
    max-width: 1150px;
    margin: auto;

    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-label {
    color: #008c95;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-text h2 {
    color: #12345a;
    font-size: 36px;
}

.about-text p {
    line-height: 1.8;
    color: #555555;
}

.about-values {
    flex: 1;
    background-color: #f4f7fa;
    padding: 35px;
    border-left: 5px solid #00a6a6;
    border-radius: 8px;
}

.about-values h3 {
    color: #12345a;
    font-size: 23px;
}
/* Core Values Section */

.values {
    padding: 80px 40px;
    background-color: #f4f7fa;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.value-card {
    background-color: white;
    width: 220px;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #00a6a6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition:0.3s;
}
.value-card:hover{
    transform:translateY(-8px);
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.value-card h3 {
    color: #12345a;
    font-size: 21px;
}

.value-card p {
    color: #555555;
    line-height: 1.7;
}
/* Our Approach Section */

.approach {
    padding: 80px 40px;
    background-color: white;
}

.approach-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.approach-step {
    width: 180px;
    padding: 25px;
    background-color: #f4f7fa;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid #00a6a6;
    transition:0.3s;
}
.approach-step:hover{
    transform:translateY(-8px);
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.approach-step span {
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    color: #00a6a6;
    margin-bottom: 10px;
}

.approach-step h3 {
    color: #12345a;
}

.approach-step p {
    color: #555555;
    line-height: 1.6;
}
/* Why Choose SOMALEAD Section */

.why-us {
    padding: 80px 40px;
    background-color: #f4f7fa;
}

.why-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.why-card {
    background-color: white;
    width: 250px;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #00a6a6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition:0.3s;
}
.why-card:hover{
    transform:translateY(-8px);
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.why-card h3 {
    color: #12345a;
}

.why-card p {
    color: #555555;
    line-height: 1.7;
}
/* Website Footer */

.footer {
    background-color: #12345a;
    color: white;
    padding: 60px 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer h2 {
    color: white;
    font-size: 28px;
}

.footer h3 {
    color: #00b3b8;
}

.footer p {
    color: #e5edf5;
    line-height: 1.8;
}
.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: #00b3b8;
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: #00b3b8;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #45617d;
    margin-top: 40px;
    padding-top: 20px;
}
/* Mobile screen adjustments */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 34px;
    }
    .hero-description {
    font-size: 16px;
    line-height: 1.6;
}
        .team{
            padding:60px 20px;
        }

    .hero {
        padding: 60px 10px;
        width:100%;
        box-sizing:border-box;
    }
    .hero {
    background-position: center center;
    background-size: cover;
}

    header {
        flex-direction: column;
        gap: 20px;
    }
    header {
    position: relative;
}

nav{
    display:flex;
    width:100%;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
}
    nav a {
        margin: 5px;
    }
        .hero-tagline{
            font-size:11px;
            color:#ffffff;
            letter-spacing:1px;
            line-height:1.5;
            max-width: 100%;
            overflow-wrap:break-word;
            white-space:normal;
        }
        .hero-content{
            width:100%;
            min-width:0;
            box-sizing:border-box;
        }
        .hero{
            background-size:cover;
            background-position:center center;
        }
        .team-photo img {
    width: 100%;
    height: 240px;
    object-fit: contain;
}
    }
.about-content{
    flex-direction:column;
    gap:30px;
}
.about-text,
.about-values{
    width:100%;
    box-sizing:border-box;
}
.sectors{
    scroll-margin-top:90px;
}
.about{
    scroll-margin-top:90px;
}
.values{
    scroll-margin-top:90px;
}
.approach{
    scroll-margin-top:90px;
}
.why-us{
    scroll-margin-top:90px;
}

.team {
    padding: 80px 40px;
    background-color: white;
}

.team-container {
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    gap: 25px;
    align-items:stretch;
}

.team-card {
    min-height:220px;
    background-color: #f4f7fa;
    width: 350px;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #00a6a6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}
.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #d4af37;
}
.team-initials {
    width: 120px;
    height: 150px;
    border-radius: 50%;
    background-color: #12345a;
    color: #d4af37;
    border: 3px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.team-card h3 {
    color: #12345a;
}

.team-card p {
    color: #555;
    line-height: 1.8;
}
/* SOMALEAD Organizational Structure */

.organization {
    padding: 80px 40px;
    background-color: #f5f7fc;
}

.org-chart {
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.org-box {
    background: white;
    border: 2px solid #12345a;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.org-box h3 {
    color: #12345a;
    margin-bottom: 8px;
}

.org-box p {
    color: #555;
    margin: 0;
}

.org-box.board {
    background: #12345a;
    color: white;
    max-width: 350px;
}

.org-box.board h3,
.org-box.board p,
.org-box.director h3,
.org-box.director p {
    color: white;
}

.org-box.director {
    background: #0066cc;
    color: white;
    max-width: 350px;
}

.org-support,
.org-units {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.org-units {
    grid-template-columns: repeat(4, 1fr);
}

.org-units .org-box {
    border-top: 5px solid #00a6a6;
}

.org-support .org-box {
    border-top: 5px solid #e7b52c;
}

.org-box.field-team {
    border: 2px dashed #12345a;
    max-width: 100%;
}

.key-roles {
    max-width: 1100px;
    margin: 40px auto 0;
}

.key-roles h3 {
    color: #12345a;
    margin-bottom: 20px;
}

.key-roles ul {
    padding-left: 25px;
    line-height: 2;
}

.key-roles li {
    margin-bottom: 8px;
}

.key-roles strong {
    color: #12345a;
}

@media (max-width: 768px) {
    .organization {
        padding: 50px 20px;
    }

    .org-support,
    .org-units {
        grid-template-columns: 1fr;
    }
}
/* Quotation Request Section */
.quotation {
    background-color: #f4f6f9;
    padding: 70px 20px;
}

.quotation-container {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.quotation-container h2 {
    color: #12345a;
    text-align: center;
    margin-bottom: 15px;
}

.quotation-container p {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.quotation-container label {
    display: block;
    color: #12345a;
    font-weight: bold;
    margin: 15px 0 8px;
}

.quotation-container input,
.quotation-container select,
.quotation-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.quotation-container textarea {
    resize: vertical;
}

.quotation-container button {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    background-color: #d4af37;
    color: #12345a;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.quotation-container button:hover {
    background-color: #f5c542;
}

@media (max-width: 600px) {
    .quotation-container {
        padding: 25px 18px;
    }
}
.team-photo {
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    text-align: center;
}

.team-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}