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

body{
    font-family:Arial,Helvetica,sans-serif;
    color:#222;
    line-height:2.4;
}

.hero{
    min-height:100vh;
    background:
        linear-gradient(
            rgba(255,255,255,0),
            rgba(255,255,255,0)),
        url("hero.jpg");
    background-size:cover;
    background-position:center;
    text-align:center;
    color:white;
    padding:120px 20px;
}

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

    padding:30px 60px;
}

.logo img{
    height:180px;
    width:auto;
}

.hero-logo{
    width: 550px;
    max-width: 90%;

    position:relative;
    top:-40px;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
    margin:0;
    padding:0;
}

nav a{
    color:rgb(250, 248, 248);
    text-decoration:none;
}

.hero{
    position: relative;
}

.hero-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;

    height:100vh;

    max-width:1000px;
    margin:auto;

  }

.hero-content h1{
    font-size:45px;
    font-weight:600;
    color:rgb(234, 231, 207);
    line-height:1.05;

    text-shadow:
        0 2px 10px rgba(0,0,0,.25);

    margin-top:0;
    margin-bottom:10px;
}

.hero-content p{
    font-size:26px;
    max-width:900px;

    color:rgb(12, 12, 12);

    text-shadow:
        0 2px 8px rgba(0,0,0,.25);

    margin-bottom:40px;
}

.button:hover{
    transform:translateY(-2px);
}

.button{
    background:#06a6b8;
    color:white;
    border:none;
    padding:10px 30px;
    font-size:17px;
    font-weight:600;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.button:hover{
    background:#076771;
}

section{
    padding: 10px 20px;
    text-align:center;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    max-width:1200px;
    margin:auto;
}

#contact h2{
    color:white;
}

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:25px;
}

@media(max-width:768px){

    nav{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }

    .hero-content{
        padding:140px 30px;
    }

    .hero-content h1{
        font-size:42px;
    }

    .hero-content h3{
        font-size:20px;
    }
}
.top-nav{
    position: absolute;
    top: 40px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.top-nav a{
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow:
        0 1px 3px rgba(0,0,0,.9),
        0 0 15px rgba(0,0,0,.4);
    transition: color 0.3s ease;
}

.top-nav a:hover{
    color: #c9a86a;
}

.box1 {
    border: 2px solid #012e0c;        /* Sets the thickness, style, and color of the box border */
    background-color: #012511;       /* Light background fill to make it pop */
    padding: 10px;                   /* Adds breathing room inside the box */
    border-radius: 8px;              /* Rounds the corners for a softer, modern look */
    margin: 15px 0;                  /* Adds space above and below the box */
  }

  .box2 {
    border: 2px solid #012e0c;        /* Sets the thickness, style, and color of the box border */
    background-color: #c2d9ec;       /* Light background fill to make it pop */
    padding: 10px;                   /* Adds breathing room inside the box */
    border-radius: 8px;              /* Rounds the corners for a softer, modern look */
    margin: 15px 0;                  /* Adds space above and below the box */
  }