.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}
*{
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 scroll-behavior: smooth;
}

header{
    background-color: antiquewhite;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
}
.logo{
    text-decoration: none;
    color: #8b4513;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}
.navigation a{
    color:#8b4513;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 550;
    padding-left: 25px;
}
.navigation a:hover{
    color: black;
}

section {
    padding:100px 200px;
}
.main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/billel.png) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.main h2{
    color: #5d4e37;
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #a0522d;
    font-size: 3em;
    font-weight: 600;
}

.main_btn {
    color: aliceblue;
    background-color:#a0522d;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.5s ease;
}
.main_btn:hover{
    background-color:#945d44;
    transform: scale(1.1);
}
.social_icons a {
    color: aliceblue;
    font-size: 1.7em;
    padding-right: 30px;
    padding-left: 10px;
}
.title{
  display: flex;
  justify-content: center;
  color: black;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 30px;
}
.content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.card{
  background-color: aliceblue;
  width: 21.25em;
  box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  border-radius: 10px;
  padding: 25px;
  margin: 15px;
  transition: 0.7s ease;
}
.card:hover{
  transform: scale(1.1);
}
.icon{
  color: black;
  font-size: 8em;
  text-align: center;
}
.info{
  text-align: center;
}
.info h3{
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px;

}
html {
  scroll-behavior: smooth;
}
.about {
  padding:80px,0;
  color: rgb(13, 13, 13);
}
.row{
   display: flex;     /* vertically align text */
  justify-content:space-between;  /* center everything */
  gap: 40px;                /* space between image and text */
  padding: 40px;
  flex-wrap: wrap; 
}
.phone-size {
  width:250px; /* around phone width */
  height: auto; /* keeps aspect ratio */
  border-radius: 10px; /* optional: rounded corners */
  flex-basis: 35%;
}
.about_2{
  flex-basis: 60%;
}
.subtitle{
  font-size: 60px;
  font-weight: 600;
  color: black;
}
.tab-titles{
  display: flex;
  margin:20px 0 40px;
  
}
.tab-links{
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.tab-links ::after{
  content: '';
  width: 0;
  height: 3px;
  background: rgb(213, 14, 14);
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab-links.active-link::after{
  width: 50%;
}
.tab-content ul li{
  list-style: none;
  margin: 10px 0;
}
.tab-content ul li span{
  color: rgb(177, 81, 81);
  font-size: 14px;
}
.tab-content{
  display: none;
}
.tab-content.active-tab{
  display: block;
}
.work-list {
  display: flex;
  flex-wrap: wrap; /* allows wrapping on small screens */
  gap: 50px;        /* space between images */
  justify-content: center;
}

.work {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* LAYER STYLING */
.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height:100%;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  text-align: center;
  opacity: 0; /* hidden at first */
  transition: 0.4s ease;
}

/* SHOW LAYER ON HOVER */
.work:hover .layer {
  opacity: 1;
}
.layer h3{
  font-weight: 500;
  margin-bottom: 20px;
}
.layer a {
  margin-top: 20px;
  color: rgb(255, 255, 255);                  /* Icon color */
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: transparent;       /* Transparent background */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  display: inline-block;
  border: 2px solid black;       /* Optional: add a border for visibility */
}
.work:hover .layer{
  height: 100%;
}
.work:hover img{
  transform:scale(1.1);
}
.see-more-container {
  text-align: center;
  margin-top: 30px;
}

.see-more-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  color:rgb(255, 255, 255);
  background-color:  rgb(0, 0, 0); /* Same as your footer color */
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.see-more-btn:hover {
  background-color: rgb(251, 231, 206);
}
  footer {
            background-color: antiquewhite;
            padding: 3rem 2rem 2rem;
            border-top: 3px solid #d4af87;
            box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            color: #8b4513;
            margin-bottom: 1rem;
            font-size: 1.3rem;
            font-weight: bold;
        }

        .footer-section p, .footer-section li {
            color: #5d4e37;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section a {
            color: #8b4513;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #a0522d;
            text-decoration: underline;
        }

        .contact-info {
            display: flex;
            align-items: center;
            margin-bottom: 0.8rem;
        }

        .contact-info::before {
            content: "";
            display: inline-block;
            width: 16px;
            height: 16px;
            margin-right: 10px;
            background-size: contain;
        }

        .email::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b4513' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
        }

        .phone::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b4513' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
        }

        .address::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b4513' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
        }

        .footer-bottom {
            border-top: 2px solid #d4af87;
            padding-top: 1.5rem;
            text-align: center;
        }

        .footer-bottom p {
            color: #5d4e37;
            font-size: 0.9rem;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: #8b4513;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: antiquewhite;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .social-links a:hover {
            background-color: #a0522d;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            footer {
                padding: 2rem 1rem 1.5rem;
            }
        }
        @media(max-width:1023px){
          header{
            padding: 12px 20px;
          }
          .navigation a{
            padding-left: 10px;
          }
          .title{
            font-size: 1.8em;
          }
        }
        @media (max-width: 768px) {
    .main {
        padding: 0 20px;
        text-align: center;
        background-attachment: scroll; /* Fixed backgrounds can cause issues on mobile */
    }
    
    .main h2 {
        font-size: 1.1em;
    }
    
    .main h2 span {
        font-size: 2.2em;
        margin-top: 8px;
    }
    
    .main_btn {
        font-size: 0.95em;
        padding: 0.8em 1.6em;
        margin-bottom: 30px;
    }
    
    .social_icons a {
        font-size: 1.4em;
        padding-right: 20px;
        padding-left: 8px;
    }
}

/* Mobile phones (576px and down) */
@media (max-width: 576px) {
    .main {
        padding: 0 15px;
        min-height: 100vh;
    }
    
    .main h2 {
        font-size: 1em;
    }
    
    .main h2 span {
        font-size: 1.8em;
        margin-top: 5px;
    }
    
    .main_btn {
        font-size: 0.9em;
        padding: 0.7em 1.4em;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .social_icons a {
        font-size: 1.3em;
        padding-right: 15px;
        padding-left: 5px;
    }
}

/* Extra small phones (480px and down) */
@media (max-width: 480px) {
    .main {
        padding: 0 10px;
    }
    
    .main h2 {
        font-size: 0.9em;
    }
    
    .main h2 span {
        font-size: 1.6em;
        margin-top: 5px;
    }
    
    .main_btn {
        font-size: 0.85em;
        padding: 0.6em 1.2em;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .social_icons {
        text-align: center;
    }
    
    .social_icons a {
        font-size: 1.2em;
        padding-right: 12px;
        padding-left: 3px;
    }
}

/* Very small phones (360px and down) */
@media (max-width: 360px) {
    .main h2 {
        font-size: 0.8em;
    }
    
    .main h2 span {
        font-size: 1.4em;
    }
    
    .main_btn {
        font-size: 0.8em;
        padding: 0.6em 1em;
        letter-spacing: 0.5px;
    }
    
    .social_icons a {
        font-size: 1.1em;
        padding-right: 10px;
        padding-left: 2px;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .main {
        min-height: 100vh;
        padding: 20px;
    }
    
    .main h2 {
        font-size: 1em;
    }
    
    .main h2 span {
        font-size: 1.8em;
        margin-top: 5px;
    }
    
    .main_btn {
        margin-bottom: 15px;
    }
}

/* High DPI displays */
@media (max-width:600px) {
    .main {
        background: url(images/billel1.png); /* Use higher resolution image if available */
    }
}