
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body {
    min-height: 100vh;

    display: grid;

    grid-template-areas:
        "header"
        "main"
        "footer";

    grid-template-rows: auto 1fr auto;

    font-family: Arial, Helvetica, sans-serif;

    background: #f8fafc;
}


/* =========================
   HEADER / NAVBAR
========================= */

nav {
    grid-area: header;

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

    padding: 8px 20px;

    background: white;

    box-shadow: 0 2px 8px rgba(80, 0, 0, 0.15);
}


/* Logo */

.logo {
    width: 80px;
    height: auto;
}


/* Navigation List */

#nav_list {
    display: flex;
    align-items: center;

    gap: 25px;

    list-style: none;
}


/* Navigation Links */

#nav_list a {
    display: inline-block;

    padding: 10px;

    color: #222;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    transition:
        color 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}


/* Hover */

#nav_list a:hover {
    color: rgb(4, 114, 165);

    transform: translateY(-2px);
}


/* Active */

#nav_list a.active {
    color: rgb(4, 114, 165);

    border-bottom: 2px solid rgb(4, 114, 165);

    transform: scale(0.97);
}


/* =========================
   MAIN
========================= */

main {
    grid-area: main;

    padding: 10px 20px;
}


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

#about {
    max-width: 50%;

    margin-right: 10px;
}


#about h2 {
    margin-bottom: 20px;

    color: rgb(53, 0, 0);

    font-size: 1.5rem;
}


#about p {
    line-height: 1.7;

    text-align: justify;

    color: #333;
}


/* About Image */

.about_img {
    width: 100%;
    max-width: 320px;

    border-radius: 10px;

    display: block;
    margin: auto;
}


/* =========================
   MAIN CONTAINER / CARD
========================= */

.home{
    width: 90%;
    max-width: 1000px;

    margin: 30px auto;
    padding: 25px;

    display: grid;
    grid-template-columns: 2fr 1fr;

    gap: 25px;

    background: white;

    border: 1px solid rgba(4, 200, 214, 0.25);

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(4, 200, 214, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Card Hover */

.container_1:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 40px rgba(4, 200, 214, 0.25);
}





.contact_btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    background: #111;
    color: white;

    border: 1px solid rgba(4, 200, 214, 0.5);
    border-radius: 30px;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact_btn .arrow {
    width: 28px;
    height: 28px;

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

    background: rgb(4, 200, 214);
    color: #111;

    border-radius: 50%;

    font-size: 18px;

    transition: transform 0.3s ease;
}

.contact_btn:hover {
    background: #1c1c1c;

    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(4, 200, 214, 0.25);
}

.contact_btn:hover .arrow {
    transform: translateX(4px);
}


/* Mobile */

@media screen and (max-width: 768px) {

    .contact_btn {
        right: 15px;
        bottom: 15px;

        padding: 10px 14px;

        font-size: 13px;
    }

    .contact_btn .arrow {
        width: 25px;
        height: 25px;
    }
}




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

footer {
    grid-area: footer;

    padding: 20px;

    text-align: center;

    background: #fff;

    box-shadow:
        0 -2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================
   TABLET / MOBILE
========================= */

@media screen and (max-width: 768px) {

    /* Navbar */

    nav {
        flex-direction: column;

        gap: 10px;

        padding: 10px;

        box-shadow:
            0 2px 8px rgba(255, 0, 0, 0.2);
    }


    /* Logo */

    .logo {
        width: 70px;

        margin-top: 5px;
        padding: 8px;

        border: 1px solid #ddd;

        border-radius: 50%;
    }


    /* Navigation */

    #nav_list {
        gap: 5px;

        flex-wrap: wrap;

        justify-content: center;
    }


    /* Main */

    main {
        padding: 10px;
    }


    /* About */

    #about {
        max-width: 100%;

        margin-right: 0;
    }


    /* Main Card */

    .container_1 {
        width: 95%;

        grid-template-columns: 1fr;

        padding: 18px;

        gap: 20px;
    }
}

#solutions h2{
    display: block;
    margin: auto;
    margin-bottom: 10px;
    width: fit-content;
}

.solutions_container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;


}

.solution_card {
    padding: 25px;

    background: white;

    border-radius: 15px;

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

    transition: 0.3s ease;
}

.solution_card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 30px rgba(4, 200, 214, 0.2);
}

.solution_card h3 {
    margin-bottom: 10px;
}

.solution_card p {
    line-height: 1.6;
}

#services{
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 10px;

   box-shadow:  0 15px 40px rgba(4, 200, 214, 0.25);
   border-radius: 20px;

   width: 90%;
   max-width: 1000px;
   margin:30px auto;
   padding: 25px;

}

#services h2{
    color: rgb(27, 0, 0);
}

.service_card h3{
    margin-bottom: 10px;
    margin-top:20px;
    color:rgb(22, 0, 0) ;

}

.service_card li {
    
    list-style: none;
    cursor: pointer;
}

.service_card li:hover{
    color: rgb(85, 2, 2);
}

.service_card li::before{
        content: "⤷";
        font-size: 1.5rem;
        color: #187201;
        padding-right: 7px;
   
}

footer {
    grid-area: footer;

    margin-top: 50px;

    background: #111;
    color: white;
}


/* Main Footer */

.footer_container {
    width: 90%;
    max-width: 1200px;

    margin: auto;
    padding: 50px 0;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.5fr;

    gap: 40px;
}


/* Headings */

.footer_container h3 {
    margin-bottom: 15px;

    color: rgb(4, 200, 214);
}


/* Links */

.footer_container a {
    display: block;

    margin-bottom: 8px;

    color: #ccc;

    text-decoration: none;

    transition: 0.2s;
}


.footer_container a:hover {
    color: rgb(4, 200, 214);

    transform: translateX(4px);
}


/* Paragraph */

.footer_container p {
    margin-bottom: 10px;

    line-height: 1.6;

    color: #bbb;
}


/* Social Links */

.social_links {
    margin-top: 15px;
}


/* Bottom */

.footer_bottom {
    padding: 18px 20px;

    display: flex;

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

    border-top: 1px solid #333;

    font-size: 14px;
}


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

@media screen and (max-width: 768px) {

    .footer_container {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 40px 0;
    }

    .footer_bottom {
        flex-direction: column;

        gap: 8px;

        text-align: center;
    }
}


/* =========================
   LARGE SCREEN
========================= */

@media screen and (min-width: 1250px) {

    .container_1 {
        max-width: 1100px;
    }

    #service{
         max-width: 1100px;
    }
}

