
/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-white: #f9f9f9;
  --light-gray: #f5f5f5;
  --medium-gray: #e8e8e8;
  --charcoal: #2c2c2c;
  --accent-beige: #d4c4b2;
  --accent-blue: #a8c6d6;
  --shadow: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--accent-blue-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 5rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--charcoal);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: #444;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--accent-blue-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  background-color: var(--charcoal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-beige);
  transition: width 0.3s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--charcoal);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
  max-width: 500px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.hero-img-container {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-beige), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1.2rem;
  font-weight: 500;
}

/* Services Section */
.services {
  background-color: var(--light-gray);
}

.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Why Choose Us */
.why-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.why-content {
  flex: 1;
  min-width: 300px;
}

.why-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.why-stats {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-box {
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #555;
}

/* How We Work */
.how-we-work {
  background-color: var(--light-gray);
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent-beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 auto 1.5rem;
}

/* FAQ Section */
.faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.faq-list {
  flex: 1;
  min-width: 300px;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(255, 255, 255, 0.7);
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-highlights {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

/* Expertise Section */
.expertise {
  background-color: var(--light-gray);
}

.expertise-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 5rem;
  gap: 3rem;
}

.expertise-item:nth-child(even) {
  flex-direction: row-reverse;
}

.expertise-img {
  flex: 1;
  min-width: 300px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--accent-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-weight: 500;
}

.expertise-content {
  flex: 1;
  min-width: 300px;
}

.expertise-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.expertise-feature {
  margin-top: 2rem;
  padding: 1.5rem;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-weight: 500;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: var(--charcoal);
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-info {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 0.8rem;
  color: var(--accent-beige);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--charcoal);
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  transform: translateY(-5px);
  background-color: var(--accent-beige);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  color: #777;
  font-size: 0.9rem;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }

  .step {
    max-width: 100%;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Animations for the corner and center boxes */
.fade-in-corner {
  opacity: 0;
  transform: scale(0.7) translateY(20px);
  animation: fadeInCorner 1s forwards;
}

.fade-in-corner:nth-child(2) {
  animation-delay: 0.18s;
}

.fade-in-corner:nth-child(3) {
  animation-delay: 0.36s;
}

.fade-in-corner:nth-child(4) {
  animation-delay: 0.54s;
}

.fade-in-corner:nth-child(5) {
  animation-delay: 0.72s;
}

@keyframes fadeInCorner {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animated-center-title {
  animation: floatCenter 3s ease-in-out infinite alternate;
}

@keyframes floatCenter {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    transform: translate(-50%, -55%) scale(1.03);
  }
}
