* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}
:root{
  --bg-color: #2a2a2a;
  --second-bg-color: #202020;
  --text-color: #fff;
  --second-color: #ffffff;
  --main-color: #f3be10d0;
  --big-font: 5rem;
  --h2-font: 3rem;
  --p-font: 1.1rem;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 20px 15%;
    border-bottom: 1px solid transparent;
    transition: all .45s ease;
}
.logo{
    color: var(--text-color);
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 1px;
}
span{
    color: var(--main-color);
}
.navlist{
    display: flex;
}
.navlist a{
    color: var(--second-color);
    font-size: 17px;
    font-weight: 500;
    margin: 0 25px;
    transition: all .45 ease;
}
.navlist a:hover{
    color: var(--main-color);
}
.navlist a.active{
    color: var(--main-color);
}
#menu-icon{
    font-size: 35px;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    display: none; 
}
section{
    padding: 160px 15% 120px;
}
.Home{
    position: relative;
    height: 100vh;
    width: 100%;
    background: url(image/rrrr.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.slide{
    margin-bottom: 20px;
}
.one{
    display: inline-block;
    margin-right: 15px;
    height: 32px;
    padding: 0 15px;
    line-height: 32px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 5px;
    background: var(--main-color);
    color: var(--text-color);
}
.two{
    display: inline-block;
    color: var(--second-color);
    font-size: 20px;
    font-weight: 500;
}
.Home-text h1{
    font-size: var(--big-font);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.1;
    margin: 0 0 8px;
}
.Home-text h3{
    color: var(--text-color);
    margin: 0 0 35px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}
.Home-text p{
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 1.8;
    margin-bottom: 40px;
}
.button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn{
    display: inline-block;
    padding: 12px 28px;
    background: var(--main-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all .45s ease;
}
.btn:hover{
    transform: scale(0.9);
}
.btn2{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 35px;
}

header.sticky{
    background: var(--bg-color);
    border-bottom: 1px solid #ffffff1a;
    padding: 12px 15px;
}

.About{
    display: grid;
    grid-template-columns: repeat(
        2, 1fr);

    align-items: center;
    gap: 1.5rem;
}
.About-img img {
    max-width: 1000px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    animation: popInOut 3s ease-in-out infinite;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
}

/* Keyframes */
@keyframes popInOut {
    0% {
        transform: scale(1);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    }
}
.About-img img:hover {
    animation-play-state: paused;
}
.About-text h2{
    font-size: var(--h2-font);
    line-height: 1;
}
.About-text h4{
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.7;
    margin: 15px 0 30px;
}
.About-text p{
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.Service{
    background: var(--second-bg-color);
}
.main-text{
    text-align: center;
}
.main-text p{
    color: var(--second-color);
    font-size: 15px;
    margin-bottom: 15px;
}
.main-text h2{
    font-size: var(--h2-font);
    line-height: 1;
}
.Service-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
}
.box{
    background: var(--bg-color);
    padding: 35px 45px;
    border-radius: 8px;
    transition: all .45s ease;
}
.box h3{
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}
.box p{
    color: var(--second-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}
.read{
    display: inline-block;
    padding: 8px 18px;
    background: #333333;
    color: var(--second-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all .45s ease;
}
.read:hover{
    letter-spacing: 1px;
    background: #ffffff99;
    color: var(--text-color);
}
.box:hover{
    transform: translateY(-8px);
    cursor: pointer;
}
.Portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
}
.row{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.row img{
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.1), #e9c70ab4);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
}
.layer h5{
     font-size: 20px;
     font-weight: 600;
     margin-bottom: 15px;
}
.layer p{
    color: var(--second-color);
    font-size: 1rem;
    line-height: 1.8;
}
.row:hover img{
    transform: scale(1.1);
}
.row:hover .layer{
    height: 100%;
}
.Contact{
    background: var(--second-bg-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}
.Contact-text h4{
    color: var(--text-color);
    margin: 18px 0;
    font-size: 20px;
    font-weight: 600;
}
.Contact-text h2{
    font-size: var(--h2-font);
    line-height: 1;
}
.Contact-text P{
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 1.8;
    margin-bottom: 30px;
}
.list{
    margin-bottom: 2,8rem;
}
.list li{
    margin-bottom: 12px;
}
.list li a{
    display: block;
    color: var(--second-color);
    font-size: 14px;
    transition: all .45s ease;
}
.list li a:hover{
    color: var(--text-color);
    transform: translateX(5px);
}
.Contact-form form{
    position: relative;
}
.Contact-form form input,
form textarea{
    width: 100%;
    padding: 14px;
    background: var(--bg-color);
    color: var(--text-color);
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.Contact-form textarea{
    resize: none;
    height: 240px;
}
.Contact-form .submit{
    display: inline;
    font-size: 16px;
    background: var(--main-color);
    color: var(--text-color);
    width: 160px;
    transition: all .45s ease;
}
.Contact-form .submit:hover{
    transform: scale(1.1);
    cursor: pointer;
}
.end{
    padding: 20px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--bg-color);
}
.last-text p{
    color: var(--second-color);
    font-size: 14px;
}


@media (max-width: 1480px){
    header{
        padding: 12px 2.5%;
        transition: .1s;
    }
    header.sticky{
        padding: 10px 2.5%;
        transition: .1s;;
    }
    section{
        padding: 110px 3% 60px;
    }
    .end{
        padding: 15px 3%;
    }
}

@media (max-width: 1100px){
    :root{
        --big-font: 4rem;
        --h2-font: 2.5rem;
        --p-font: 1rem;
        transition: .1s;
    }
    .Home-text h3{
        font-size: 2.5rem;
    }
    .Home{
        height: 87vh;
    }
}

@media (max-width: 920px){
    .About{
        grid-template-columns: 1fr;
    }
    .About-img{
        text-align: center;
        order: 2;
    }
    .About-img img{
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .Contact{
        grid-template-columns: 1fr;
    }
}


@media (max-width: 840px){
    #menu-icon{
        display: block;
    }
    .navlist{
        position: absolute;
        top: -1000;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        transition: all .45s ease;
    }
    .navlist a{
        display: block;
        margin: 17px;
        font-size: 20px;
        transition: all .45s ease;
        color: var(--text-color);
    }
    .navlist a:hover{
        color: var(--main-color);
    }
    .navlist a.active{
        color: var(--text-color);
    }
    .navlist.open{
        top: 100%;
    }
}

.contact-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.contact-icons a {
  color: #646464;
  font-size: 25px;
  transition: 0.3s;
}

.contact-icons a:hover {
  color: #f3be10d0;
  transform: scale(1.2);
}

.btn {
  background-color: #f3be10d0; /* WhatsApp green */
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #1ebc57;
  transform: scale(1.05);
}

/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */

@media (max-width: 768px) {

  body {
    text-align: center;
  }

  header, section, footer {
    padding: 20px;
  }

  .container {
    width: 100%;
    padding: 10px;
  }

  /* NAVIGATION */
  nav {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    display: flex;
    padding: 10px;
    font-size: 16px;
  }

  /* HERO / MAIN SECTION */
  .hero,
  .main,
  .content {
    flex-direction: column;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* IMAGES */
  img {
    margin: 15px auto;
  }

  /* BUTTONS */
  button, .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }

}

section {
  margin-bottom: 40px;
}

:root {
  --brand-color: #f3be10d0; /* change to your brand color */
}

/* Hover the whole service box */
.Service-content .box {
  transition: all 0.3s ease;
}

.Service-content .box:hover {
  background-color: var(--brand-color);
  transform: translateY(-8px);
}

/* Change text color on hover */
.Service-content .box:hover h3,
.Service-content .box:hover p {
  color: #fff;
}

/* Button hover */
.Service-content .box .read {
  transition: background 0.3s ease, color 0.3s ease;
}

.Service-content .box:hover .read {
  background: #fff;
  color: var(--brand-color);
}

.list {
  list-style: none;
  padding: 0;
}

.list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
}

.list i {
  margin-right: 10px;
  color: #f3be10d0;
  min-width: 20px;
}

.list a {
  text-decoration: none;
  color: #333;
}

.list a:hover {
  color: #f3be10d0;
}
.navlist {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navlist .nav-link {
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.read:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* Unique colors for each */
.navlist .home {
  color: #f3be10d0; /* Red tone */
}

.navlist .about {
  color: #f3be10d0; /* Teal */
}

.navlist .service {
  color: #f3be10d0; /* Yellow */
}

.navlist .portfolio {
  color: #f3be10d0; /* Purple */
}

.navlist .contact {
  color: #f3be10d0; /* Green */
}

/* Optional hover colors */
.navlist .home:hover {
  color: #ff4d4d;
}

.navlist .about:hover {
  color: #38b2ac;
}

.navlist .service:hover {
  color: #333;
}

.navlist .portfolio:hover {
  color: #4c3ad3;
}

.navlist .contact:hover {
  color: #10ac84;
}

/* Active link (optional highlight) */
.navlist .active {
  text-decoration: underline;
}

.home-button {
    display: block;
    margin: 20px auto;
}

.home-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Basic Header Layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background:0; 
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
}

.logo span {
  color: #f3be10d0; /* brand accent */
}

/* Navigation Menu */
.navlist {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navlist a {
  text-decoration: none;
  color: #fff;
  font-size: 1em;
  transition: 0.3s;
}

.navlist a:hover,
.navlist a.active {
  color: #f3be10d0;
}

/* Hide menu icon by default (desktop) */
.menu-icon {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ===== Responsive Mode ===== */
@media (max-width: 768px) {
  .navlist {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px 0;
    display: none; /* Hidden by default */
  }

  .navlist.show {
    display: flex; /* Show when active */
  }

  .menu-icon {
    display: block; /* Show menu icon on phone */
  }
}
/* Hamburger button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
}

.menu-toggle span {
  background: #000;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navlist {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
  }

  .navlist.active {
    display: flex;
  }

  .navlist li {
    text-align: center;
    padding: 15px 0;
  }
}
