/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif; /* Using a clean sans-serif */
}

body {
  background-color: #000;
  color: #fff;
}

/* Header Styles */
header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 0 80px;
  z-index: 10;
}

.logo img {
  width: 100px;
}

/* Hero Section Styles */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero_bg.png") center/cover no-repeat;
  background-image: url("../assets/hero_bg.png");
  background-size: cover; /* Forces image to fill the area */
  background-position: center; /* Keeps the focus in the middle */
  background-repeat: no-repeat;

  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub-headline {
  font-size: 12px;
  font-weight: 300;
  line-height: 22.4px;
  letter-spacing: 1.34px;
  text-transform: uppercase;
  transform: translate3d(0px, 0rem, 0px) scale3d(1, 1, 1) rotateX(0deg)
    rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
  opacity: 1;
  color: #f0f0f0;
}

.hero-title {
  margin: 50px auto;
  width: 100%;
}

/* Button Styles */
.btn-get-started {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 300;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-get-started:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 760px) {
  header {
    padding-left: 10px;
  }
  .sub-headline {
    font-size: 10px;
  }
}

/* styling for projects */

.projects-section {
  padding: 100px 5%;
  background-color: #000;
  color: #fff;
}

/* 1. Ensure the wrapper can contain absolute children */
.project-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* 2. Style the hidden overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero_bg.png") center/cover no-repeat;
  background-image: url("../assets/hero_bg.png");
  background-size: cover; /* Forces image to fill the area */
  background-position: center; /* Keeps the focus in the middle */
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Animation settings */
  opacity: 0;
  transition:
    opacity 0.4s ease,
    backdrop-filter 0.4s ease;
  z-index: 2; /* Sits above the image but below the bottom label */
  backdrop-filter: blur(4px); /* Adds a modern blur effect */
}

/* 3. Style the center text */
.overlay-text {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: translateY(20px); /* Starts slightly lower for a slide-up effect */
  transition: transform 0.4s ease;
}

.project-card-link {
  text-decoration: none;
  color: #f0f0f0;
}

/* 4. The Hover Trigger */
.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .overlay-text {
  transform: translateY(0); /* Slides up to center */
}

/* Optional: Zoom the background image slightly on hover */
.project-card:hover img {
  transform: scale(1.1);
  transition: transform 0.6s ease;
}

/* Header Layout */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.projects-desc {
  max-width: 400px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #ccc;
  text-align: left;
  transform: translate3d(0px, 0rem, 0px) scale3d(1, 1, 1) rotateX(0deg)
    rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
  opacity: 1;
}

/* Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  gap: 30px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10; /* Maintains the laptop/photo ratio */
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.05); /* Subtle zoom on hover */
}

/* The Glassmorphism Label */
.project-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  padding: 12px 25px;

  /* The "Glass" Look */
  background: #000;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Very faint overall border */
  box-shadow: inset 0 -2px 0 0 #550000;
}

.project-label .category,
.project-label .name {
  font-size: 14px;
  font-weight: 500;
}

/* If using your existing .scroll-trigger .animate logic */

.projects-title {
  font-size: 5vw;
  font-weight: 900;
  line-height: 92.1px;
  letter-spacing: -1.34px;
  color: #f0f0f0;
  opacity: 0;
  transform: translateX(-100px);
  filter: blur(15px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}
/* 2. Active State (When in focus/view) */
.projects-title.animate {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.projects-grid .project-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.projects-section.animate .project-card {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger the second card slightly */
.projects-section.animate .project-card:nth-child(2) {
  transition-delay: 0.2s;
}

/* Tablet/Mobile Responsiveness */
@media (max-width: 992px) {
  .projects-header {
    flex-direction: column;
  }
  .projects-title {
    font-size: 50px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  } /* Stack vertically */
}

/* styling for services section */

.services-section {
  padding: 100px 5%;
  background-color: #000;
  color: #fff;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.services-title {
  font-size: 80px;
  font-weight: 900;
  /* Reuse the animation styles we created for PROJECTS title */
}

.services-desc {
  max-width: 400px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: linear-gradient(145deg, #1a0505 0%, #000000 100%);
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero_bg.png") center/cover no-repeat;
  background-image: url("../assets/hero_bg.png");
  background-size: cover; /* Forces image to fill the area */
  background-position: center; /* Keeps the focus in the middle */
  background-repeat: no-repeat;
  border: 1px solid #331111;
  padding: 40px;
  border-radius: 4px; /* Image shows very slight rounding */
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #661111;
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: #661111; /* Dark Red icon background */
  margin-bottom: 25px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 14px;
  color: #888;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Feature List with Custom Checkmarks */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

/* Custom Red Checkmark */
.feature-list li::before {
  content: "✓";
  color: #ff3333;
  font-weight: bold;
  margin-right: 15px;
  font-size: 16px;
}

/* Animation for the whole services section */
.services-section.scroll-trigger {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.services-section.scroll-trigger.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger the cards for a premium feel */
.services-section.animate .service-card {
  animation: fadeInUp 0.8s ease forwards;
}

.services-section.animate .service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.services-section.animate .service-card:nth-child(3) {
  animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(2) {
  transform: translateY(
    -30px
  ) !important; /* Adjust this value to your liking */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-header {
    flex-direction: column;
  }
  .services-grid .service-card:nth-child(2) {
    transform: translateY(0) !important; /* Adjust this value to your liking */
  }
}

/* styling for why us section */

.why-us-section {
  padding: 100px 5%;
  background-color: #000;
  color: #fff;
}

.why-us-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.why-us-title {
  font-size: 80px;
  font-weight: 900;
}

.why-us-desc {
  max-width: 400px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* --- Bento Grid Layout --- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Define the layout shape */
  grid-template-areas:
    "b1 b2 b3"
    "b4 b5 b5";
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

.stat-box,
.cta-box {
  padding: 80px 40px;
  text-align: center;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.4s ease;
}

/* Assigning boxes to areas */
.box-1 {
  grid-area: b1;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero_bg.png") center/cover no-repeat;
  background-image: url("../assets/hero_bg.png");
  background-size: cover; /* Forces image to fill the area */
  background-position: center; /* Keeps the focus in the middle */
  background-repeat: no-repeat;
}
.box-2 {
  grid-area: b2;
}
.box-3 {
  grid-area: b3;
}
.box-4 {
  grid-area: b4;
}
.box-5 {
  grid-area: b5;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero_bg.png") center/cover no-repeat;
  background-image: url("../assets/hero_bg.png");
  background-size: cover; /* Forces image to fill the area */
  background-position: center; /* Keeps the focus in the middle */
  background-repeat: no-repeat;
  cursor: pointer;
}

.stat-box h3 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 12px;
  letter-spacing: 1px;
  color: #888;
}

.cta-box h3 {
  font-size: 28px;
  letter-spacing: 2px;
  font-weight: 400;
}

/* Hover Effect */
.stat-box:hover,
.cta-box:hover {
  background-color: #0a0a0a;
}

/* styling for team section */

.team-section {
  padding: 100px 5%;
  background-color: #000;
  color: #fff;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.team-title {
  font-size: 80px;
  font-weight: 900;
}

.team-desc {
  max-width: 400px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-image {
  width: 100%;
  aspect-ratio: 1 / 1.1; /* Slightly taller than square */
  overflow: hidden;
  background-color: #1a1a1a;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%); /* Optional: gives a unified editorial look */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

/* Member Info Bar */
.team-info {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Minimalist separator */
  margin-top: 10px;
}

.member-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.member-role {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
}

/* Initial State */
.team-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Animated State */
.team-section.animate .team-card {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entry */
.team-section.animate .team-card:nth-child(2) {
  transition-delay: 0.2s;
}

.team-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-header {
    flex-direction: column;
    gap: 20px;
  }
  .why-us-header {
    flex-direction: column;
  }
  .stat-box,
  .cta-box {
    /* Reduce padding for smaller screens */
    padding: 60px 20px;

    /* Ensure borders look consistent in a single column */
    border-left: 1px solid #333;
    border-top: 1px solid #333;
  }

  .why-us-title {
    /* Shrink title size for mobile screens */
    font-size: 50px;
  }
  .why-us-grid {
    /* Change from 3 columns to 1 column */
    grid-template-columns: 1fr;

    /* Redefine areas to stack vertically */
    grid-template-areas:
      "b1"
      "b2"
      "b3"
      "b4"
      "b5";

    /* Optional: Remove left/top border if you want a cleaner mobile look */
    border-left: none;
    border-top: none;
  }
}

/* styling for FAQ section */

.faq-section {
  padding: 100px 5%;
  background-color: #000;
  color: #fff;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.faq-title {
  font-size: 80px;
  font-weight: 900;
}
.faq-desc {
  max-width: 400px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* Layout */
.faq-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

/* Accordion Styles */
.faq-list details {
  border-bottom: 1px solid #333;
  padding: 20px 0;
  cursor: pointer;
}

.faq-list summary {
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list .icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

/* Open state icon rotation */
details[open] .icon {
  transform: rotate(45deg);
  color: #ff3333;
}

.answer {
  padding-top: 15px;
  color: #888;
  line-height: 1.6;
  font-size: 15px;
  /* Basic fade in */
  animation: fadeIn 0.4s ease;
}

/* CTA Card */
.faq-cta {
  border: 1px solid #331111;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero_bg.png") center/cover no-repeat;
  background-image: url("../assets/hero_bg.png");
  background-size: cover; /* Forces image to fill the area */
  background-position: center; /* Keeps the focus in the middle */
  background-repeat: no-repeat;
  padding: 80px 40px;
  text-align: center;
  border-radius: 4px;
  height: 100%;
  display: flex;
  align-items: center;
}

.cta-inner h3 {
  font-size: 32px;
  letter-spacing: 2px;
  line-height: 1.2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .faq-container {
    grid-template-columns: 1fr;
  }
  .faq-header {
    flex-direction: column;
  }
}

/* styling for contact section */

.contact-section {
  padding: 100px 5%;
  background-color: #000;
  color: #fff;
}

.contact-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.contact-title {
  font-size: 80px;
  font-weight: 900;
}
.contact-desc {
  max-width: 400px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* Layout Grid */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Larger space for the visual */
  border: 1px solid #333;
  overflow: hidden;
}

/* Form Styling */
.contact-form-wrapper {
  padding: 60px;
  border-right: 1px solid #333;
}

.input-group {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.input-group input,
.input-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  padding: 10px 0;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-bottom-color: #ff3333; /* Red accent focus */
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 18px;
  border-radius: 50px;
  border: none;
  background-color: #f0f0f0;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  margin-top: 20px;
}

.wa-btn {
  width: 100%;
  background-color: #25d366;
  color: #f0f0f0;
  text-decoration: none;
}

.wa-btn:hover {
  transform: scale(1.02);
}
.submit-btn:hover {
  transform: scale(1.02);
}

/* Visual Side Styling */
.contact-visual {
  background-color: #999; /* Grey background matching image */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    border-right: none;
    border-bottom: 1px solid #333;
  }
  .contact-header {
    flex-direction: column;
  }
}

.logo-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-centered img {
  width: 1000px;
}

/* footer styling */

.site-footer {
  padding: 40px 5% 60px;
  background-color: #000;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2); /* Thin grey line */
  margin-bottom: 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition:
    fill 0.3s ease,
    transform 0.3s ease;
}

/* Red glow hover to match your brand accent */
.social-links a:hover .social-icon {
  fill: #ff3333;
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}
