@import url('./font.css');
/* Box sizing rules */ 
 *, 
 *::before, 
 *::after { 
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
 }
/* Remove default margin */ 
  body,
   h1, 
   h2
   , h3,
    h4,
     p, 
     figure,
      blockquote,
       dl, 
       dd { 
    margin: 0; 
  } 
  
  /* smooth scrolling*/
  html{
      scroll-behavior: smooth;
  }
  
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'], ol[role='list'] { list-style: none; } 
/* Set core root defaults */ html:focus-within { scroll-behavior: smooth; } 
/* Set core body defaults */ body { min-height: 100vh; text-rendering: optimizeSpeed; line-height: 1.5; }
/* A elements that don't have a class get default styles */
     a:not([class]) { text-decoration-skip-ink: auto; }
/* Make images easier to work with */ img, picture { max-width: 100%; display: block; height: auto; }
/* Inherit fonts for inputs and buttons */ 
input, button, textarea, select { font: inherit; } 
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */ 
@media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

:root{
    interpolate-size: allow-keywords;
    /* primary colors */
    --clr-primary: #0A0A0A;
    --clr-secondary: #1B2F5E;
    --clr-tertiary: #F5A800;
    --clr-text: #C8D0DC;
    
    /* neutral colors */
    --clr-white: #FFFFFF;
    --clr-black: #000000;
}

body{
    background-color: var(--clr-primary) ;
    font-size: 18px;
    font-family: 'DMSans';
    color: var(--clr-text);
    text-wrap: balance;
}

h1{
    font-family: var(--ff-exo-extraBold);
    color: var(--clr-tertiary);
    font-size: clamp(1rem, 6vw + 1rem, 5rem);
}

h2{
    font-size: clamp(1rem, 4vw + 1rem, 2.6rem);
}

h3{
    font-size: clamp(1rem, 2vw + 1rem, 1.5rem);
}

h2, h3{
    font-family: var(--ff-exo-semiBold);
    color: var(--clr-tertiary);
    position: relative;
}

i{
    color: var(--clr-tertiary);
    font-size: 1.3rem;
}

.wrapper{
    max-inline-size: 920px;
    margin-inline: auto;
}

.text-center{
    text-align: center;
}

.columns{
    display: grid;
    gap: 1.5rem;
    padding-block: 2rem;
    
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

/* header section */
header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    padding: 1rem;
}

nav ul{
    list-style: none;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

nav ul.open{
    height: auto;
    visibility: visible;
    display: flex;
    flex-direction: column;
    transition: all .4s linear;
}

nav a{
    text-decoration: none;
    color: white;
    padding: .7rem;
    font-family: var(--ff-exo-semiBold);
    transition: all .2s linear;
}

nav a:hover{
    background-color: var(--clr-tertiary);
    color: var(--clr-white);
}

nav a i{
    color: var(--clr-white);
}

.hamburger-menu i{
    font-size: 1.5rem;
    color: var(--clr-tertiary);
}
    
@media(width < 48em){
    nav{
       position: absolute;
       top: 6rem;
       background: var(--clr-black);
       width: 90%;
       border: 2px solid var(--clr-tertiary);
       z-index: 10;
    }
    
    nav a{
        display: inline-block;
        width: 100%;
    }
    
    nav li{
         border-bottom: 1px solid var(--clr-secondary);
    }
    
    nav li:last-child{
        border-bottom: none;
    }
}    
@media(width >= 48em){
    nav ul{
        visibility: visible;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .hamburger-menu{
        display: none;
    }
    }
    
    


/* header section end */

section{
    margin-block: 6rem;
}

section i{
   font-size: 2.5rem;
}

/* hero section */
.hero{
    margin-block-start: 0;
    padding: 3rem;
    padding-block-start: 2rem;
    text-align: center;
    
    background: url("../images/herobg.jpg");
    background-size: cover;
    background-position: center; 
    
    position: relative;
    z-index: 0;
}

.hero .wrapper > *{
    margin-block: 1rem;
}


.hero::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    background: rgba(0,0,0,.5);
    z-index: -100;
}

.hero-content{
    position: relative;
    z-index: 9999;
}


.buttons{
    gap: 1rem;
    padding: .4rem;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    & a{
     text-decoration: none;
    color: var(--clr-secondary);
    background-color: var(--clr-tertiary);
    font-family: var(--ff-exo-bold);
    padding: .5rem;
    border-radius: 8px;
    width: 30%;
    transition: all .3s ease-in-out;
    }
    
    & a:hover{
        background-color: var(--clr-secondary);
        color: var(--clr-tertiary);
        transform: translateY(-10px);
    }

@media(width < 48em){
    flex-direction: column;
    
    & a{
        width: 100%;
    }
}
}


/* hero section end */

/* services start */
.services{
    padding: 1rem;
}

.service{
    border: 1px solid var(--clr-tertiary);
    background-color: var(--clr-secondary);
    padding: 2rem;
    
    border-radius: 12px;
    transition: all .3s ease-in-out;
}

.service:hover{
    transform: translateY(-15px);
}

/* services end */

/* about us start */
.about-us{
    background: url('../images/about-us-bg.jpg');
    background-size: cover;
    background-position: center;
    
    position: relative;
    z-index: -2;
}

.about-us::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.7);
    z-index: -1;
}

.about-content{
    padding: 1.5rem;
}

/* about us end */


/* why us start */

.why-us-section{
    padding: 1rem;
}
.why-us{
    padding: 2rem;
    
    border-radius: 12px;
    background-color: var(--clr-secondary);
    border: 1px solid var(--clr-tertiary);
    
    transition: all .3s ease-in-out;
}

.why-us:hover{
    transform: translateY(-15px);
}


/* why is end */

/* cta */

.cta{
    background: url("../images/cta.jpg");
    background-size: cover;
    background-position: center;
    padding: 1.2rem;
    
    position: relative;
    z-index: 0;
}

.cta::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.5);
    z-index: -1;
}

.cta .text-center div{
    padding-inline: .8rem;
}

/* cta end */


footer{
    background-color: var(--clr-secondary);
}

footer > *{
    margin-block: 1.3rem;
}

footer img{
    border-radius: 100%;
}

footer .copyright{
    background-color: var(--clr-primary);
    padding: 2rem;
}

footer li{
    display: flex;
    align-items: center;
    gap: .6rem;
}

.footer-socials{
    display: grid;
    align-content: center;
}

.footer-socials a{
    border-radius: 100%;
}

.footer-socials a:hover{
    background-color: var(--clr-text);
}

.footer-socials ul{
    display: flex;
    gap: 1rem;
}

.footer-head, footer ul{
    padding: 1.3rem;
    list-style: none;
}


.back-to-top{
    background-color: var(--clr-secondary);
    padding: .5rem;
    border: 5px solid var(--clr-tertiary);
    border-radius: 100vw;
    font-weight: 800;
    
    position: fixed;
    top: 90vh;
    right: 10px;
    
    box-shadow: 0 0 20px var(--clr-tertiary);
}



/* get free quote */


.btn-whatsapp {
  padding: 14px;
  background: #25d366;   /* WhatsApp green */
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

#quote {
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f59e0b;  /* your brand color */
}

.btn-submit {
  padding: 14px;
  background: #f59e0b;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #d97706;
}



/* portfolio */
.port-hero{
    padding: 1rem;
}
.port-hero img{
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    place-self: center;
}

.work{
    padding: 1.2rem;
}

.work img{
    border-radius: 12px;
    transition: all .3s ease-in-out;
}

.work img:hover{
    transform: translateY(-15px);
}

.port-contacts{
    padding-block: 1rem;
    
    display: grid;
    gap: 2rem;
}

.port-contacts a{
    display: inline-block;
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--clr-tertiary);
    border-radius: 12px;
    color: var(--clr-text);
}

.port-contacts a:hover{
    background-color: var(--clr-secondary);
}
