/* =========================
   CARE OPS BRAND COLOURS
========================= */

:root {

    --primary: #071A33;
    --secondary: #00B4D8;
    --light: #F5F8FC;
    --dark: #1F2937;
    --white: #ffffff;

}


/* =========================
   GLOBAL SETTINGS
========================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


body {

    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;

}


h1, h2, h3 {

    margin-bottom: 15px;

}


p {

    margin-bottom: 15px;

}



/* =========================
   HEADER / NAVIGATION
========================= */


header {

    background: var(--primary);
    padding: 5px 6%;
    position: sticky;
    top: 0;
    z-index: 1000;

}


nav {

    display: flex;
    align-items: center;
    justify-content: space-between;

}


.logo {

    width:160px;
    height:auto;

    filter:
    brightness(1.3)
    contrast(1.2)
    drop-shadow(0 0 6px #00B4D8);

}

.logo-container {

    background: transparent;

    padding: 0;

    border-radius: 0;

    display:flex;

    align-items:center;

}

nav ul {

    display:flex;
    list-style:none;
    gap:25px;

}



nav ul li a {

    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;

}



nav ul li a:hover {

    color: var(--secondary);

}



/* =========================
   HERO SECTION
========================= */


.hero {

    min-height: 600px;

    background:

    linear-gradient(
    rgba(7,26,51,0.75),
    rgba(7,26,51,0.75)
    ),

    url("../images/hero.jpg");


    background-size: cover;

    background-position: center;


    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;


    text-align: center;

    color: white;

    padding: 40px 10%;

}



.hero h1 {

    font-size: 48px;
    max-width: 900px;

}



.hero p {

    font-size: 20px;
    max-width: 700px;

}



/* =========================
   BUTTON
========================= */


.btn {

    display: inline-block;

    background: var(--secondary);

    color: white;

    padding: 15px 35px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    margin-top: 20px;

    transition: 0.3s;

}



.btn:hover {

    background: #008EAC;

}



/* =========================
   SERVICES SECTION
========================= */


.services {

    padding: 70px 8%;

    text-align: center;

}



.services h2 {

    font-size: 36px;

}



.cards {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 25px;

    margin-top: 40px;

}



.card {

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.1);

    transition: 0.3s;

}



.card:hover {

    transform: translateY(-8px);

}



.card h3 {

    color: var(--primary);

}





/* =========================
   ABOUT SECTION
========================= */


.about {

    background:white;

    padding:70px 10%;

    text-align:center;

}



/* =========================
   CONTACT SECTION
========================= */


.contact {

    padding:70px 10%;

    text-align:center;

    background:var(--primary);

    color:white;

}

.contact-form {

    padding:70px 10%;

    background:white;

    text-align:center;

}


.contact-form form {

    max-width:600px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:15px;

}



.contact-form input,
.contact-form select,
.contact-form textarea {


    padding:15px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:16px;

}


.contact-form textarea {

    resize:none;

}


/* =========================
   FOOTER
========================= */


footer {

    background:#040D1A;

    color:white;

    text-align:center;

    padding:20px;

}



/* =========================
   MOBILE RESPONSIVE
========================= */


@media(max-width:900px) {


    nav {

        flex-direction:column;

    }


    nav ul {

        margin-top:20px;

        flex-direction:column;

        text-align:center;

    }



    .hero h1 {

        font-size:32px;

    }



    .cards {

        grid-template-columns:1fr;

    }


}