body{
    height: 100%;
    width:100%;
    background-color: rgb(51, 48, 48);
    font-family: Roboto;
    overflow-x: hidden;
}
@keyframes changeColor {
    from { background:#DFBBB1 ; }
    to { background: #cce5ff;}
}
 /* ---------- BASIC HEADER STYLING ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 14%;
  width: 100%;
  background-color: transparent;
  z-index: 100;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    animation: changeColor linear both;
    animation-timeline: scroll(y);
    animation-range: 0 300px;
}

header img {
  height: 6vh;
  width: 25vh;
  margin-left: 10%;
  margin-top: 5%;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-left: 70%;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}
@keyframes changeLinkColor {
    from { color: white; }
    to { color: #c94d80;; }
}
.nav-menu li a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 15px 20px;
  transition: color 0.3s, border-bottom 0.3s;
  animation: changeLinkColor linear both;
  animation-timeline: scroll();
  animation-range: 0 300px;
}

.nav-menu li:hover a {
  border-bottom: 3px solid #c94d80;
}
/* ---------- FULLSCREEN DROPDOWN ---------- */
.service-dropdown-content {
  display: none;
  position: fixed;
  top: 14%;
  left: 0;
  width: 100vw;
  height: 70vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.service-dropdown-content.active {
  display: flex;
}

.services-list {
  display: flex;
  justify-content: center;
  gap: 10%;
  padding: 20px;
}

.services-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-col a {
    width:100%;
  border: 1px solid antiquewhite;
  border-radius: 4px;
  text-decoration: none;
  padding: 8px 15px;
  transition: background 0.3s;
}

.services-col a:hover {
  background-color: #333;
}


/* ---------- BUTTON ---------- */
.get-touch {
  background-color: #c94d80;
  height:auto;
  width: 100%;
  border-radius: 10px;
  border: none;
  margin-left: -30%;
}

.get-touch a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: bold;
}

/* ---------- MOBILE MENU BUTTON ---------- */
.menu-btn {
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  margin-left: 45%;
}
/* Mobile side menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70vw;
  height: 100vh;
  background: #0b0b0b;
  padding: 80px 20px;
  transition: 0.4s ease;
  z-index: 9999;
}

.mobile-menu.active {
  right: 0;
}
.mobile-menu ul li {
  margin: 18px 0;
  font-size: 1rem;
}

.mobile-menu a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

/* mobile submenu */
.mobile-submenu {
  display: none;
  padding-left: 15px;
}

.mobile-submenu.show {
  display: block;
}

.mob-dropdown > a::after {
  content: " ▾";
  font-size: 14px;
}
.mobile-btn {
  display: block;
  margin-top: 20px;
  padding: 12px;
  text-align: center;
  background-color: #c94d80;
  color: white;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.porfolio-section{
    height:auto;
    width: 100%;
   
}
.portfolio-container{
    height:auto;
    width:80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 5%;
}
.portfolio-card{
    display: flex;
    color:white;
    width: 100%;
    height: auto;
    margin-top: 8%;
    justify-content: space-between;
}
.portfolio-text{
    height:auto;
    width:48%;
    font-size: 1.3rem;
    line-height: 30px;
}
.portfolio-img-container{
    height:auto;
    width:48%;
}
.portfolio-img-container img{
    height:100%;
    width:100%;
}
 
.portfolio-section h1{
    font-size: 2.5rem;
    color: #c94d80;
    font-weight: bold;
    margin-top: 10%;
    margin-left: 10%;
}
/* Initial state: hidden and moved left */
.portfolio-card {
  opacity: 0;
  transform: translateX(-50px); /* start slightly left */
  transition: all 1s ease-out; /* smooth animation */
}

/* Active state: fully visible and in position */
.portfolio-card.active {
  opacity: 1;
  transform: translateX(0);
}

.get-quote{
    background-color:#c94d80;
    height: auto;
    width: 20%;
    margin-left: 40%;
    margin-top: 10%;
    text-align: center;
    border-radius: 10px;
    padding: 0.1% 0.2%;
    margin-bottom: 5%;
}
.get-quote a{
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}
.get-quote h3{
    margin-top:10%;
}
.paging-section{
    height:auto;
    width: 100%;
    margin-top: 10%;
}
.paging-container{
    height:auto;
    width:80%;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    justify-content: center;
    gap:10%;
    
}
.paging-container a{
    color:#c94d80;
    font-size:3rem;
    text-decoration: none;
    background-color: #cce5ff;
    padding:0% 1%;
    border-radius: 10px;
}

.footer-section{
    height:auto;
    width:100%;
    background-color:#000000 ;
    position: relative;
    margin-top: 10%;
    left:-1%;
    right:-1%;
    padding:5% 0%;
   
}
.footer-container{
    display: flex;
    height:auto;
    width:80%;
    margin-left:10%;
    margin-right:10%;
    justify-content: space-between;
}
.footer-container a:hover{
  color:#c94d80;
  transition:0.4s;
}
.social-links i:hover{
   color:#c94d80;
  transition:0.4s;
}
.first-box .second-box .third-box{
    height: 100%;
    width:20%;
}
.fourth-box{
    width:20%;
    text-align: center;
}
.footer-logo{
    height:auto;
    width:8vh;
    position: absolute;
    z-index: 20;
}
.footer-logo-text{
    height:auto;
    width:30vh;
    margin-bottom: 8%;
    margin-left: 5%;
    position: relative;
}
.social-links a{
    display: block;
    text-align: center;
    margin-bottom: 5%;

}
.fa-facebook-f, .fa-instagram, .fa-linkedin, .fa-x-twitter, .fa-youtube{
    width:5%;
    height:25%;
    color:white;
    margin-top: 5%;
    font-size:1.8rem;
}
.footer-links{
    color:white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
}
.service-links{
    color:white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
}
.fa-phone, .fa-envelope{
    font-size: 1.8rem;
    color:white
}
.contact-info{
    font-size: 1.3rem;
    font-weight: bold;
    color:white
}
.footer-container h2{
    font-size:2rem;
    margin-bottom: 45%;
    font-weight: bold;
    color: white;
}

/* ========== Tablet ========== */
@media (min-width: 768px) and (max-width: 1023px) {
  header {
    height: 12vh; 
  }
  .navbar .nav-menu{
    width:100%;
    margin-left: 0%;
}
.nav-menu li a{
    font-size: 0.8rem;
}
.service-dropdown-content {
  display: none;
  position: fixed;
  top: 12%;
  left: 0;
  width: 100vw;
  height: 50vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.service-dropdown-content.active {
  display: flex;
}

.services-list {
  display: flex;
  justify-content: center;
  gap: 20%;
  padding: 20px;
}

.services-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-col a {
    width:100%;
  border: 1px solid antiquewhite;
  border-radius: 4px;
  text-decoration: none;
  padding: 8px 15px;
  transition: background 0.3s;
}

.services-col a:hover {
  background-color: #333;
}
.get-touch{
    margin-right: 20%;
}
.get-touch h5{
    font-size: 0.6rem;
}
.portfolio-container h1{
    font-size: 2rem;
}
.portfolio-text{
    font-size: 1rem;
    line-height: 25px;
}
.footer-container{
    margin-top: 5%;
}
.second-box h2, .third-box h2, .fourth-box h2{
    font-size: 1.5rem;
}
.second-box a, .third-box a, .contact-info{
    font-size: 1.1rem;
}
.footer-container i{
    font-size: 1.3rem;
}
.footer-logo{
    width:7vh;
}
.footer-logo-text{
    width:25vh;
}

}



/*mobile */
@media only screen and (min-width:320px) and (max-width: 768px) {
  body{
    overflow-x: hidden;
  }
   header {
  height: 10%;
}
  .desktop-nav {
    display: none;
  }
  @keyframes changeLinkColor {
    from { color: white; }
    to { color: #c94d80; }
  }
  .menu-btn {
    font-size: 1.5rem;
    display: block;
    margin-right: 10%;
    z-index: 999;
    animation: changeLinkColor linear both;
    animation-timeline: scroll();
    animation-range: 0 300px;
  }
.portfolio-card{
  flex-direction: column;
}
#card1, #card3, #card4, #card6{
  flex-direction: column-reverse;
}
.portfolio-text{
    width:100%;
    font-size: 0.8rem;
    line-height: 20px;
    text-align: justify;
}
.portfolio-img-container{
    width:100%;
}
.portfolio-section h1{
    font-size: 1.5rem;
    margin-top: 30%;
}
.get-quote{
    width: 40%;
    margin-left: 30%;
    margin-top: 20%;
    margin-bottom: 10%;
}
.get-quote a{
    font-size: 0.8rem;
}
.paging-container a{
    font-size:2rem;
    padding:0% 3%;
}
.footer-section{
    padding-top: 10%;
    margin-top: 30%;
}
.footer-container{
  flex-direction: column;
  text-align: center;
}
.first-box .second-box .third-box{
    width:100%;
}
.fourth-box{
    width:100%;
}
.footer-logo-text{
    margin-left: 0%;
}
.social-links a{
    margin-bottom: 2%;

}
.fa-facebook-f, .fa-instagram, .fa-linkedin, .fa-x-twitter, .fa-youtube{
    font-size:1.5rem;
}
.footer-links{
    font-size: 1rem;
}
.service-links{
    font-size: 1rem;
}
.fa-phone, .fa-envelope{
    font-size: 1.5rem;
}
.contact-info{
    font-size: 1rem;
}
.footer-container h2{
    font-size:1.5rem;
    margin-bottom: 10%;
    color:#c94d80;
}




}