* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #000000;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: gold;
}

html{
    font-size: 60%;
    overflow-x: hidden;
}

body{
    background: var(--bg-color);
    color: var(--text-color);
}

.banner {
    position: relative;
    width: 100%;
    top: 12vh; /* Adjust to account for the header height */
    left: 0;
    z-index: 1;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Playfair Display', serif;
}

.banner-content h2 {
    margin: 0;
    font-size: 10rem;
    padding: 10px;
    font-weight: 900;
}

.banner-content p {
    margin: 10px 0;
    font-size: 2.5rem;
    padding: 10px;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.logo {
    font-size: 20px;
    color: whitesmoke;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo span {
    text-shadow: 0 0 25px gray;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    height: 12vh;
}

.navbar.active {
    display: flex; /* Display when active */
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar ul li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.navbar ul li a {
    color: gold;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    gap: 1.5rem;
}

.navbar ul li a:hover,
.navbar ul li a:active,
.navbar ul li a:focus {
    color: white;
    font-size: 15px;
}

.navbar ul li.divider {
    color: #ffffff;
    font-size: 26px;
    margin: 0px 20px;
    width: auto;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    min-width: 250px; /* Increased min-width to fit longer sentences */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;  /* Aligns the dropdown below the parent */
    right: 0;  /* Aligns the dropdown to the right side */
}

.dropdown-content li {
    display: block;
    text-align: left;
}

.dropdown-content li a {
    color: gold;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: normal; /* Allows text to wrap to the next line if too long */
}

/* Show the dropdown menu when hovering over the parent */
.dropdown:hover .dropdown-content,
.dropdown .dropdown-content:hover {
    display: block;
}


    
::-webkit-scrollbar {
  width: 1.3rem;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background: #797979;
  transition: all 0.5s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-track {
  background: #f9f9f9;
}

body {
  font-size: 1.6rem;
  background: var(--bg-color);
}

.container {
  max-width: 124rem;
  padding: 0 1rem;
  margin: 0 auto;
}

.text-center {
  text-align: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 900;
}

.section-heading {
  font-size: 3rem;
  color: var(--primary);
  padding: 2rem 0;
}

.section-heading2 {
  font-size: 3rem;
  color: red;
  padding: 2rem 0;
}

#tranding {
  padding: 4rem 0;
}

@media (max-width:1440px) {
  #tranding {
    padding: 7rem 0;
  }
}

#tranding .tranding-slider {
  height: 52rem;
  padding: 2rem 0;
  position: relative;
}

@media (max-width:500px) {
  #tranding .tranding-slider {
    height: 45rem;
  }
}

.tranding-slide {
  width: 37rem;
  height: 42rem;
  position: relative;
}

@media (max-width:500px) {
  .tranding-slide {
    width: 28rem !important;
    height: 36rem !important;
  }
  .tranding-slide .tranding-slide-img img {
    width: 28rem !important;
    height: 36rem !important;
  }

  .text-center {
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 900;
    margin-top: -20%;
  }
}

.tranding-slide .tranding-slide-img img {
  width: 37rem;
  height: 42rem;
  border-radius: 2rem;
  object-fit: cover;
}

.tranding-slide .tranding-slide-content {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.tranding-slide-content .food-price {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--white);
}

.tranding-slide-content .tranding-slide-content-bottom {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: var(--white);
}

.food-rating {
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
}

.rating ion-icon {
  color: var(--primary);
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: none;
}

.tranding-slider-control {
  position: relative;
  bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tranding-slider-control .swiper-button-next {
  left: 58% !important;
  transform: translateX(-58%) !important;
}

@media (max-width:990px) {
  .tranding-slider-control .swiper-button-next {
    left: 70% !important;
    transform: translateX(-70%) !important;
  }
}

@media (max-width:450px) {
  .tranding-slider-control .swiper-button-next {
    left: 80% !important;
    transform: translateX(-80%) !important;
  }
}

@media (max-width:990px) {
  .tranding-slider-control .swiper-button-prev {
    left: 30% !important;
    transform: translateX(-30%) !important;
  }
}

@media (max-width:450px) {
  .tranding-slider-control .swiper-button-prev {
    left: 20% !important;
    transform: translateX(-20%) !important;
  }
}

.tranding-slider-control .slider-arrow {
  background: var(--white);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  left: 42%;
  transform: translateX(-42%);
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .slider-arrow ion-icon {
  font-size: 2rem;
  color: gold;
}

.tranding-slider-control .slider-arrow::after {
  content: '';
}

.tranding-slider-control .swiper-pagination {
  position: relative;
  width: 15rem;
  bottom: 1rem;
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
    background-color: white;
    width: 100%; /* Take full width by default */
    max-width: none;
    padding: 20px; /* Optional: Add padding */
    box-sizing: border-box; 
}

.home-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
    color: #000000;
    margin-left: 10%;
}

span{
    color: var(--main-color);
}

.logo span{
    color: var(--main-color);
}

.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}

.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-img{
    border-radius: 50%;
    margin-right: 5%;
}

.home-img img{
    position: relative;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.home-img img:hover{
    box-shadow: teal,
                teal,
                teal;
}

.home-content p{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.8;
    max-width: 1000px;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover{
    color: var(--text-color);
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
    color: white;
}

.btn-group{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-group a:nth-of-type(2){
    background-color: white;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: white;
}

.text-animation {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.text-animation .p{
    text-align: center;
}

.text-animation span {
    position: relative;
}

.text-animation span::before {
    content: "Frontend Designer";
    color: var(--main-color);
    animation: words 20s infinite;
}

.text-animation span::after {
    content: "";
    background-color: white;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid white;
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
    to {
        border-left: 2px solid var(--main-color);
    }
}

@keyframes words {
    0%,
    20% {
        content: "Hello!";
    }
    21%,
    40% {
        content: "Welcome";
    }
    41%,
    60% {
        content: "Karibu";
    }
    61%,
    80% {
        content: "Welcome";
    }
    81%,
    100% {
        content: "Karibu";
    }
}

@keyframes typing {
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95% {
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85% {
        width: calc(100% + 8px);
    }
}

.heading{
    font-size: 8rem;
    text-align: center;
    margin: 5rem 0;
}

.education{
    padding: 100px 15px;
    background: var(--second-bg-color);
}

.education h2{
    margin-bottom: 5rem;
}

.timeline-items{
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.timeline-items::before{
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: var(--main-color);
    left: calc(50% - 1px);
}

.timeline-item{
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.timeline-item:last-child{
    margin-bottom: 0;
}

.timeline-item:nth-child(odd){
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even){
    padding-left: calc(50% + 30px);
}

.timeline-dot{
    height: 21px;
    width: 21px;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
    position: absolute;
    left: calc(50% - 8px);
    border-radius: 50%;
    top: 10px;
}

.timeline-date{
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 6px 0 15px;
}

.timeline-content{
    background-color: var(--bg-color);
    border: 3px solid var(--main-color);
    padding: 30px 50px;
    border-radius: 4rem;
    box-shadow: 0 0 10px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.timeline-content:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color);
}

.timeline-content h3{
    font-size: 20px;
    color: white;
    margin: 0 0 10px;
    font-weight: 500;
}

.timeline-content p{
    color: white;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

::-webkit-scrollbar{
    width: 3.5px;
}

::-webkit-scrollbar-thumb{
    background-color: gold;
}

::-webkit-scrollbar-track{
    background-color: transparent;
    width: 10px;
}

.services{
    background: var(--bg-color);
    color: black;
}

.services h2{
    margin-bottom: 5rem;
    color: white;
}

.services-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 2.5rem;
}

.services-box{
    background-color: var(--main-color);
    height: 300px;
    border-radius: 3rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.services-box:hover{
    background: white;
    color: black;
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}

.services-box .services-info{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: left;
    align-items: baseline;
    padding: 5rem 5rem;
}

.services-info h4{
    font-size: 3rem;
    font-weight: 800;
    line-height: 2;
}

.services-info p{
    font-size: 1.6rem;
    font-weight: 600;
    max-height: 100px;
    line-height: 1.7;
    margin: auto;
}

.projects{
    background-color: black;

}

.projects-box{
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.projects .heading{
    margin-bottom: 5rem;
}

.projects-box img{
    width: 15rem;
    border-radius: 50%;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
}

.wrapper{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3rem;
}

.container{
    min-height: 1550px;
    max-width: 1050px;
    background:black;
    border: 3px solid gold;
    border-radius: 2rem;
    margin: 0 2rem;
    padding: 30px 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 1.5rem;
    color: white;
    transition: 0.4s ease-in-out;
    margin-top: -4%;
}

.link{
    color: gold;
    font-weight: 900;
}

.container p{
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.7rem;
}

.container h6{
    font-size: 5rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.post-ratings-container{
    color: grey;
    font-size: 2.5rem;
    display: flex;
    padding: 12px 0;
    justify-content: end;
}

.post-rating{
    display: flex;
    align-items: center;
    cursor: default;
    margin-right: 15px;
}

.post-rating-selected > .post-rating-button,
.post-rating-selected > .post-rating-count {
    color:gold;
}

.post-rating-button{
    cursor: pointer;
    margin-right: 6px;
}

.post-rating:not(.post-rating-selected) > .post-rating-button:hover{
    color: gold;
}

.post-ratings-container p{
    margin-left: -18%;
}

.post-ratings-container

.author{
    margin-left: -2%;
}

.container-buttons{
    margin-top: 5%;
    margin-left: 2%;
}

.btn1{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 2%;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn1:hover{
    transform: scale(1.05);
    color: white;
}

.btn2{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: gold;
    border-radius: 2%;
    border: 3px solid gold;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn2:hover{
    transform: scale(1.05);
    color: white;
}

.projects-item{
    min-height: 550px;
    max-width: 450px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(238, 238, 238, 0.2);
    border-radius: 2rem;
    margin: 0 2rem;
    padding: 30px 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: white;
    transition: 0.4s ease-in-out;
}

.projects-item:hover{
    border: 3px solid var(--main-color);
    transform: translateY(-10px)scale(1.03);
}

.projects-item img {
    width: 100%; 
    height: 100%; 
    box-shadow: none; 
    border-radius: 5%;
    object-fit: cover;
}

.projects-item h2{
    font-size: 2.3rem;
    text-align: center;
}

.projects-item p{
    font-size: 1.3rem;
}

#star{
    color: gold;
    font-size: 2rem;
}

.contact{
    background-color: black;
    margin-top: -8;
}

.contact h2{
    margin-bottom: 3rem;
    color: white;
}

.contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 5rem auto;
    text-align: center;
}

.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: white;
    background: rgba(0, 0, 0, 0);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
}

.contact form .btn{
    margin-top: 2rem;
    color: white;
}

.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--second-bg-color);
}

.footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .footer .footer-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}

.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: o.3s ease-in-out;
}

.footer .social a:hover{
    transform: scale(1.2)translateY(-10px);
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
}

.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}

.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}

.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}

.footer ul li{
    display: inline-block;
    padding: 0 15px;
}

.footer .copyright{
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
    color: white;
}


@media(max-width:1285px){
    html(
        font-size: 55%;
    )
    .services-container{
        padding-bottom: 7rem;
        grid-template-columns: repeat(2,1fr);
        margin:0 5rem;
    }

    .banner-content h2 {
        margin: 0;
        font-size: 8rem;
        padding: 10px;
        font-weight: 900;
    }
    
    .banner-content p {
        margin: 8px 0;
        font-size: 2.5rem;
        padding: 10px;
    }

    .footer .footer-image img {
        max-width: 80%;
      }
}

@media(max-width:991px){
    header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }
    .timeline-items::before{
        left: 7px;
    }
    .timeline-item:nth-child(odd){
        padding-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even){
        padding-left: 37px;
    }
    .timeline-dot{
        left: 0;
    }
    .services{
        padding-bottom: 7rem;
    }
    .projects .wrapper{
        grid-template-columns: repeat(1,1fr);
    }

    .container {
        min-height: 1550px;
        max-width: 850px;
        background: black;
        border: 3px solid gold;
        border-radius: 2rem;
        margin: 0 2rem;
        padding: 30px 60px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        color: white;
        transition: 0.4s ease-in-out;
        margin-top: -4%;
    }

    .container p{
        color: white;
        margin-left: -24%;
        margin-right: -24%;
        font-size: 1.7rem;
    }

    .container img {
        width: 150%;
        height: 110%;
    }

    .contact form{
        flex-direction: column;
    }
    .footer{
        padding: 2rem 3%;
    }
    .footer .footer-image img {
        max-width: 70%;
      }
}

@media(max-width:895px){
    #menu-icon {
        position: absolute;
        top: 10px;
        right: 10px;
        display: block;
        cursor: pointer;
        z-index: 1001;
        font-size: 2rem;
    }
    
    .navbar {
        display: none;
        transition: transform 0.3s ease;
    }
    
    .navbar.active {
        transform: translateY(0);
        display: flex;
    }
    
    .navbar ul {
        flex-direction: column;
        width: 80%;
        border-radius: 5%;
        margin-top: 40%;
        margin-left: 3%;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .navbar ul li {
        margin: 1rem 0;
        position: relative;
        display: block;
        margin-left: 20%;
    }
    
    .dropdown-content {
        position: absolute;
        display: none;
        width: 100%;
        box-shadow: none;
        padding-left: 1rem;
        left: auto;
        z-index: 100;
    }
    
    .dropdown-content li {
        text-align: left;
    }
    
    .dropdown-content li a {
        color: gold;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        white-space: normal;
    }
    
    .banner {
        position: relative;
        width: 100%;
        top: 12vh;
        left: 0;
        margin-top: -34%;
    }
    
    .banner-content h2 {
        margin: 0;
        font-size: 3rem;
        padding: 3px;
        font-weight: 900;
    }
    
    .banner-content p {
        margin: 10px 0;
        font-size: 0.8rem;
        padding: 3px;
    }
    
    .home {
        flex-direction: column-reverse;
        padding-left: calc((100vw - 100%) / 2);
        padding-right: calc((100vw - 100%) / 2);
    }
    
    .home-content h3 {
        font-size: 2.6rem;
    }
    
    .home-content h1 {
        font-size: 3rem;
        margin-top: -100px;
        margin-bottom: 5px;
    }
    
    .home-content p {
        max-width: 600px;
        margin-top: 0px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .home-img img {
        width: 56vw;
        margin-bottom: 0px;
    }
    
    .services h2 {
        margin-bottom: 3rem;
    }
    
    .services-container {
        grid-template-columns: repeat(1, 1fr);
    }

    
    .container {
        min-height: 1550px;
        max-width: 550px;
        background: black;
        border: 3px solid gold;
        border-radius: 2rem;
        margin: 0 2rem;
        padding: 30px 60px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 1.5rem;
        color: white;
        transition: 0.4s ease-in-out;
        margin-top: -5%;
    }
    .projects .container img {
  display: inline-block; /* optional, default is inline */
  max-width: 100%;
  height: auto;
}

    .container h6{
        font-size: 2rem;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    }
    
    .container img {
        width: 150%;
        height: 110%;
    }

    .container p{
        color: white;
        margin-left: -24%;
        margin-right: -24%;
        font-size: 1.7rem;
    }

    .container-buttons{
        margin-left: 5%;
    }
    
    .projects-box {
        margin-top: -35%;
        margin-bottom: 30%;
    }
    
    .projects .heading {
        font-size: 5rem;
    }
    
    .btn-group {
        margin-bottom: 30%;
    }
    
    .contact h2 {
        margin-bottom: 3rem;
        color: transparent;
        margin-top: -15%;
        font-size: 5rem;
    }

    .contact {
        margin-top: -8rem;
        color: white;
        margin-bottom: -50%;
    }

    .footer .footer-image {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer .footer-image img {
        max-width: 100%;
        height: auto;
    }
    
    .footer-content {
        margin-bottom: 20%;
    }
    
    .footer-content {
        margin-bottom: 20%;
    }
}    