:root {
    margin: 0;
    padding: 0;
}

main {
    margin-top: 2rem;
}

main#main-service {
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
    align-content: center;
}

main#main-service>div {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ffd7af;
}

@font-face {
    font-family: 'MesloLGS Nerd Font Mono';
    src: url('MesloLGSNFM-Regular.woff2') format('woff2'),
        url('MesloLGSNFM-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('./images/board2.jpg');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-sizing: border-box;
    display: grid;
    color: #ffd7af;
    font-family: "MesloLGS Nerd Font Mono", "Garamond", serif;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    max-width: clamp(65%, 85%, 95%);
    padding: 0px;
}

b {
    font-weight: 900;
}

form {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
}

h1 {
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    color: limegreen;
}

h2 {
    font-size: 2em;
    color: limegreen;
}

h3 {
    text-align: cente;
    font-size: 1.5em;
    color: limegreen;
    margin-top: 0em;
    margin-bottom: 1em;
}

h4,
h5,
h6 {
    color: limegreen;
    font-size: 1.2em;
    margin-top: 14px;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px #000;
}

p {
    font-size: 18;
    text-align: left;
    margin: 1rem auto;
}

a {
    color: limegreen;
    text-decoration: none;
}

a:hover {
    color: #f4a261;
    border-color: #f4a261;
}

a.apt-button {
    background-color: limegreen;
    border: 2px solid #ffd7af;
    color: white;
    display: block;
    width: 50%;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    padding: 14px 25px;
}

code {
    background-color: #3c3c42;
    border-radius: 6px;
    color: #e9c46a;
    padding: 0.4em 0.6em;
    font-family: "Courier New", monospace;
}

img {
    max-width: 100%;
    height: auto;
}

li a {
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li:hover {
    background-color: #111;
}

.nav-container {
    display: grid;
    width: 100%;
    margin: 0 auto;
    top: 10px;
    bottom: 10px;
}

ul {
    border: none;
    list-style-type: none;
    margin: auto;
    background-color: #333;
    padding-left: 0px;
    padding-right: 0px;
    top: 0;
}

li {
    float: left;
    border-right: 1px solid #bbb;
    border-left: 1px solid #bbb;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1.5rem;
}


footer {
    text-align: center;
    line-height: 0.8;
}

#Brendan_photo {
    border: solid 5px limegreen;
    float: right;
    margin: 1em;
}

div.flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;

}

div.flow img {
    margin: auto;
    width: 30%;

}

.comptia-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-comptia {
    display: flex;
    width: 20%;
    justify-content: center;
    gap: 15rem;

}

#whatscontainer {
    margin: 2rem;
    text-align: center;
}

/* WhatsApp Style Call Button */
.call-button-green {
    background-color: #25D366;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.call-button-green:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.call-button-green.centered,
.call-button-large.centered {
    display: block;
    margin: 20px auto;
    width: fit-content;
}

.phone-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* Large version for hero sections */
.call-button-large {
    background-color: #25D366;
    color: white;
    padding: 18px 36px;
    text-decoration: none;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    min-width: 200px;
}

.call-button-large:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {

    .call-button-green,
    .call-button-large {
        width: 100%;
        box-sizing: border-box;
    }
}
