* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  background: linear-gradient(55deg, #561156, #ca444d);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.5px solid #f1eee65b;
  padding: 15px 5%;
  position: relative;
  z-index: 100;
}

#logo {
  width: 180px;
}

#logo img {
  width: 100%;
  height: auto;
  display: block;
}


.burger-btn {
  display: none;
  background: transparent;
  border: none;
  color: #f1eee6;
  font-size: 28px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 30px; 
  list-style: none;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 23px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #f1eee6;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color:#e5825c;
}

/* Main Hero Section */
.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 5%;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 50%;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 80px);
  color: #f1eee6;
  margin-bottom: 25px;
  margin-top: 5px;
  line-height: 1;
}

p { 
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-size: 18px;
  color: #f1eee6;
  margin-top: 0;
  margin-bottom: 35px;
  line-height: 1.5;
}

.main-phone {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
}

.main-phone img {
  max-width: 100%;
  width: 350px;
  height: auto;
  transition: transform 0.3s ease-out;
}

.main-phone img:hover {
  transform: perspective(900px) rotateX(6deg) rotateY(6deg);
}

#hero-btn {
  background-color: #ca444d17;
  color: #f1eee6;
  border: 0.7px solid #f1eee6;
  border-radius: 5px;
  padding: 12px 24px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.296);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

#hero-btn:hover {
  background-color: #e5825c;
  cursor: pointer;
}

/* Service Cards Section */
.services-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 5%;
  line-height: 1.4;
  flex-wrap: wrap;
}

.service-card {
  background-color: #f1eee6db;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card h2 {
  color: #6e336e; 
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 33px;
  margin: 0;
}

.service-card p {
  color: #35343a;
  font-size: 16px; 
  line-height: 1.4;
  margin: 0;  
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.296);
  background-color: #f1eee6d6;
}

.extra-text {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
}

.extra-text h3 {
  color: #ca444d; 
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 26px;
  margin: 10px 0;
}

.extra-text p {
  color: #35343a;
  text-align: center; 
  line-height: 1.4;
}

.service-card:hover .extra-text {
  opacity: 1;
  max-height: 500px;        
  margin-top: 0.5rem;
}

.icon {
  width: 55px;
}

#pencil-icon {
  width: 33px;
}

/*  Gallery */
.portfolio-container {
  padding: 4rem 5%;
  text-align: center;
}

.portfolio-container h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  color: #f1eee6;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-auto-rows: minmax(220px, auto); 
  gap: 17px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

.item-featured {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  min-height: 220px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-color: rgba(86, 17, 86, 0.85); 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  cursor: pointer;
}

.overlay-text h3 {
  font-family: "Bebas Neue", sans-serif;
  color: #f1eee6;
  font-size: 28px;
  margin: 0;
  letter-spacing: 1px;
}

.overlay-text p {
  font-family: "Source Sans 3", sans-serif;
  color: #e5825c;
  font-size: 18px;
  margin: 5px;
}

.portfolio-btn {
  background-color: #ca444d17;
  color: #f1eee6;
  border: 0.7px solid #f1eee6;
  border-radius: 5px;
  padding: 10px 30px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.296);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.portfolio-btn:hover {
  background-color: #e5825c;
  cursor: pointer;
}

/* Footer Section */
.footer {
  background-color: #333;
  color: white;
  padding: 40px 5%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-branding {
  display: flex;
  gap: 15px;
  min-width: 280px;
}

.footer img {
  width: 60px;
  height: auto;
}

.footer h3, .footer h4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #f1eee6;
}

.footer p, .footer a {
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  color: lightgray;
  line-height: 1.6;
}

.footer a {
  display: block;
  text-decoration: none;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #e5825c;
}

.copyright {
  background-color: #222;
  color: gray;
  text-align: center;
  padding: 15px 5%;
}

.copyright p {
  font-size: 14px;
  margin: 0;
  color: gray;
}

/* media queries */

/* Tablet Viewports */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text, .main-phone {
    max-width: 100%;
  }

  .main-phone img {
    width: 280px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .item-featured {
    grid-row: auto;
  }
}

/* Mobile Viewports */
@media (max-width: 768px) {
  .burger-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    display: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 100%;
    width: 100%;
  }

 
  .extra-text {
    opacity: 1;
    max-height: 500px;
    margin-top: 0.5rem;
  }
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(0deg, rgba(86, 17, 86, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    align-items: flex-end;
    padding-bottom: 20px;
  }

  .footer {
    flex-direction: column;
    gap: 30px;
  }

  .footer-branding {
    flex-direction: column;
  }
}
/* About Page */

.active-link {
  color:#e5825c !important;
}

.about-hero {
  padding: 60px 5%;
  display: flex;
  justify-content: center;
}

.about-container {
  max-width: 900px;
  width: 100%;
}
.about-top-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 120px;
  align-items: left;
  margin-bottom: 1px;
}

.about-image-wrapper {
  width: 100%;
}

.about-portrait {
  width: 115%;
  height: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.597);
  display: block;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 30px;
}

.about-heading-wrapper {
  display: flex;
  align-items:normal;
}

.about-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 158px;
  color:#f1eee6;
  line-height: 0.95;
  opacity: 70%;
  
}

.about-content {
  max-width: 850px;
}

.about-content p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  line-height: 2;
  color: #f1eee6;
  margin-bottom: 22px;
  font-weight: 300;
  text-align:left;
}


.signature-wrapper {
  text-align:center;
  margin-top: 35px;
  margin-bottom: 10px;
}

.signature-img {
  max-width: 370px;
  width: 100%;
  height: auto;
  

}

/* animation for fade in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-element {
  opacity: 0; 
    animation-name: fadeInUp;                          
    animation-duration: 0.9s;                          
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }


/* Responsive Breakpoints */

/* tablet & mobile viewports */
@media (max-width: 768px) {
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-title {
    font-size: 40px;
    text-align: left;
  }

  .about-content p {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .signature-img {
    max-width: 250px;
  }
}

/* small mobile viewports */
@media (max-width: 480px) {
  .about-hero {
    padding-top: 30px;
    padding-bottom:30px;
    padding-right:5%;
    padding-left:5%;
  }

  .about-title {
    font-size: 42px;
  }

  .about-content p {
    font-size: 16px;
    line-height: 1.45;
  }

  .signature-img {
    max-width: 200px;
  }
}
/* logo carousal */

.logo-carousel-section {
  padding: 40px;
  width: 100%;
}

.logo-carousel-container {
  max-width: 1000px;
  margin: auto;
}

.logo-carousel-container h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 85px;
  color: #e5825c; 
  margin-bottom: 17px;
  letter-spacing: 1.5px;
}
.logo-slider {
  overflow:hidden;
  position:relative;
  width: 100%;
  padding: 25px;
  border-top: 1px solid rgba(241, 238, 230, 0.2);
  border-bottom: 1px solid rgba(241, 238, 230, 0.2);
}
.logo-track {
  display: flex;
  width: 1600px; 
    animation-name: scrollLogos;             
    animation-duration: 20s;                
    animation-timing-function: linear;       
    animation-iteration-count: infinite;
}
.logo-slide {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:20px;
}
.logo-slide img {
max-width: 150px;
max-height: 55px;
width: auto;
height: auto;
  object-fit: contain;
    opacity: 0.85;
        transition-property: opacity, transform;      
        transition-duration: 0.3s, 0.3s;               
        transition-timing-function: ease, ease;         
}
.logo-slide img:hover {
  opacity: 1;
  transform: scale(1.05);
}
/* loop animation */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); 
  }
}
@media (max-width: 768px) {
  .logo-slide {
    width: 150px;
  }
  
  .logo-track {
    width:1200px;
    animation-duration: 14s; 
  }

  .logo-slide img {
    max-width: 110px;
    max-height: 40px;
  }
}
.testimonials-section {
  padding: 60px;
  width: 100%;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}


.testimonials-container h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 60px;
  color: #f1eee6;
  letter-spacing: 2px;
  margin-bottom: 30px;
  padding-top:0px;
  padding-left: 0px;
  opacity: 70%;
}

.testimonial-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
    padding-top: 20px;        
    padding-bottom: 40px;  
    padding-left: 5%;
    padding-right: 5%; 
 scrollbar-width: none;
 -ms-overflow-style: none;
    }

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}
.testimonial-card {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 65%; 
    max-width: 650px;
    min-width: 280px;
        scroll-snap-align: center;
background-image: linear-gradient(135deg, rgba(241, 238, 230, 0.25) 0%, rgba(241, 238, 230, 0.08) 100%);
backdrop-filter: blur(10px);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(241, 238, 230, 0.2);
  border-radius: 20px;
padding-top: 40px;
padding-right: 35px;
padding-bottom: 40px;
padding-left: 35px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
        transition-property: transform, border-color;
        transition-duration: 0.3s, 0.3s;
        transition-timing-function: ease, ease;
}

.testimonial-card:hover {
  border-color: rgba(229, 130, 92, 0.5);
}


.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}


.quote-img {
  width: 45px;
  height: auto;
  display: block;
  object-fit: contain;
}

.card-header h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size:35px;
  color: #f1eee6;
  margin: 0;
  letter-spacing: 1px;
}


.testimonial-card p {
font-family: "Source Sans 3", sans-serif;
font-size: 17px;
font-weight: 300;
  line-height: 1.5;
  color: #f1eee6;
  margin: 0;
  
}

.testimonial-cta {
  margin-top: 25px;
  padding-top: 0px;
  padding-right: 5%;
  padding-bottom: 0px;
  padding-left: 5%;
}

.testimonial-cta a {
font-family: "Source Sans 3", sans-serif;
font-size: 18px;
font-weight: 600;
  color:#f1eee6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
    transition-property: color, transform;
    transition-duration: 0.3s, 0.3s;
    transition-timing-function: ease, ease;

}

.testimonial-cta a:hover {
  transform: translateX(4px);
}

.testimonial-cta i {
  font-size: 16px;
  border: 1px solid;
  color:#f1eee6;
  border-radius: 50%;
  padding: 6px;
    transition-property: border-color;        
    transition-duration: 0.3s;                
    transition-timing-function: ease;
}


/* responsive breakpoints */
@media (max-width: 768px) {

.testimonials-container h2 {
    font-size: 36px;}

  .testimonial-card {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 85%;
    padding-top: 30px;
    padding-right: 20px;
    padding-bottom: 30px;
    padding-left: 20px;
  }
}

  .quote-img {
    width: 35px;
  }

  .testimonial-card p {
    font-size: 15px;
  }

  .testimonial-cta a {
    font-size: 15px;
  }

@media (max-width: 480px) {
  .testimonial-card {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 90%;
  }
}