/* Global Styles & Variables */
:root {
  --primary: #800020;
  /* Rich Burgundy */
  --accent: #ffd700;
  /* Gold */
  --neutral: #faf3e0;
  /* Cream */
  --dark-text: #1a1a1a;
  --light-text: #f0f0f0;
  --body-text: #4d4d4d;
  --montserrat: "Montserrat", sans-serif;
  --lora: "Lora", serif;
  --merriweather: "Merriweather", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--neutral);
  color: var(--body-text);
  font-family: var(--lora);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--montserrat);
  color: var(--primary);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: var(--light-text);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--montserrat);
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--light-text);
}

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 20px auto 0;
  font-family: var(--merriweather);
}

/* Header & Navigation */
header {
  background-color: rgba(250, 243, 224, 0.9);
  box-shadow: 0 2px 15px rgb(225, 139, 33);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--montserrat);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 35px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-family: var(--montserrat);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background-color: var(--neutral);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  max-width: 50%;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-family: var(--merriweather);
}

.hero-image {
  max-width: 45%;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Brands Section */
.brands-section {
  background-color: white;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  background: var(--neutral);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(45deg, var(--primary), #a00028);
  color: var(--light-text);
  text-align: center;
  border-radius: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.cta-section .container {
  padding: 80px 40px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: white;
}

.cta-section .btn {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.cta-section .btn:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

/* Page Sections (initially hidden) */
.page-section {
  display: none;
  animation: fadeInPage 0.8s ease;
}

#home-page {
  display: block;
}

/* About Page */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  font-family: var(--merriweather);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.service-detail-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-detail-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-family: var(--merriweather);
  font-style: italic;
}

.testimonial-card p:first-child {
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.testimonial-card p:first-child::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent);
  position: absolute;
  left: -10px;
  top: -10px;
  font-size: 1.5rem;
}

.client {
  display: flex;
  align-items: center;
}

.client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--accent);
}

.client-info h4 {
  font-family: var(--montserrat);
  color: var(--primary);
  margin-bottom: 0;
}

.client-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Contact Page */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
  padding: 45px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--lora);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-info p {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-info .icon {
  font-size: 1.2rem;
  color: var(--primary);
  margin-right: 15px;
  width: 20px;
}

.form-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--light-text);
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-section p,
.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  color: var(--light-text);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-bottom: 30px;
}

/* Logo Styling */
.logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

.founder-section {
  padding-top: 100px;
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.founder-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 5px solid white;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.founder-text h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.founder-text h4 {
  font-size: 1.2rem;
  color: var(--body-text);
  font-family: var(--merriweather);
  font-style: italic;
  margin-bottom: 20px;
}

.team-section {
  padding-top: 100px;
}

.team-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.team-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.team-member-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-member-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--neutral);
}

.team-member-card h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-member-card h4 {
  color: var(--body-text);
  font-weight: 400;
  margin-bottom: 15px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: var(--primary);
  border: 1px solid #eee;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background-color: var(--primary);
  color: white;
}

.prev-slide {
  left: -25px;
}

.next-slide {
  right: -25px;
}

.whatsapp-fab {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-fab:hover {
  animation-play-state: paused;
  transform: scale(1.1);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.why-choose-us-section {
  background-color: #fff;
}

.wcu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.wcu-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.wcu-item .icon {
  font-size: 2rem;
  color: var(--primary);
  background-color: var(--neutral);
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wcu-item h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.team-homepage-section {
  background-color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-grid .team-member-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-grid .team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-page-layout .section-title h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-gallery-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.portfolio-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolio-gallery-grid a:hover .portfolio-image {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* FIX for video orientation */
video.portfolio-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Animations & Utilities */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* --- STYLES FOR PORTFOLIO OVERLAY & CASE STUDY --- */

/* Portfolio Item Overlay */
.portfolio-item-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 0, 32, 0.85); /* var(--primary) with opacity */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.portfolio-item-container:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.portfolio-overlay p {
  color: white;
  margin-bottom: 20px;
}

.portfolio-overlay .btn {
  border-color: white;
  color: white;
  background: transparent;
  padding: 10px 20px;
}

.portfolio-overlay .btn:hover {
  background: white;
  color: var(--primary);
}


/* Case Study Page */
.case-study-header {
  text-align: center;
  margin-bottom: 60px;
}
.case-study-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}
.case-study-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--body-text);
  font-family: var(--merriweather);
}
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: flex-start;
}
.case-study-metrics {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: sticky;
  top: 120px; 
}
.case-study-metrics h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
}
.metric-item {
  text-align: center;
  margin-bottom: 25px;
}
.metric-item:last-child {
  margin-bottom: 0;
}
.metric-item span {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--montserrat);
  display: block;
  line-height: 1.1;
}
.metric-item p {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #666;
}
.case-study-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.case-study-text p, .case-study-text li {
  font-family: var(--merriweather);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.case-study-text ul {
  list-style-position: inside;
}


/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    max-width: 100%;
  }

  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .logo img {
    max-height: 45px;
  }

  .founder-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-image {
    max-width: 250px;
    margin: 0 auto 30px;
  }
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  .case-study-metrics {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
  }
  .case-study-metrics h3 {
    grid-column: 1 / -1; 
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--neutral);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    margin-top: 30px;
    max-width: 80%;
  }

  .slider-btn {
    top: auto;
    bottom: -70px;
    transform: translateY(0);
  }

  .prev-slide {
    left: 30%;
    transform: translateX(-50%);
  }

  .next-slide {
    right: 30%;
    transform: translateX(50%);
  }

  .team-section .container {
    padding-bottom: 80px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .logo img {
    max-height: 40px;
  }
   .case-study-header h1 {
        font-size: 2.2rem;
    }
    .case-study-metrics {
        grid-template-columns: 1fr;
    }
}

.logo-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  margin-top: -30px;
}

.logo-slider-container::before,
.logo-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.logo-slider-container::before {
  left: 0;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

.logo-slider-container::after {
  right: 0;
  background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}


.logo-slider-track {
  display: flex;
  align-items: center;
  animation: scroll 35s linear infinite;
  width: calc(250px * 26);
}

.logo-slider-container:hover .logo-slider-track {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo-slider-track .brand-logo {
  flex-shrink: 0;
  width: 250px;
  padding: 0 40px;
  opacity: 0.6;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
}

.logo-slider-track .brand-logo img {
  max-height: 70px;
  width: 100%;
  object-fit: contain;
}

.logo-slider-track .brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}