/* =========================
   ROOT VARIABLES
========================= */
:root {
  --primary: #000000;
  --primary-dark: #ff000d;
  --primary-light: #ff000d;
  --secondary: #0f172a;
  --accent: #ff000d;
  --background: #f8fafc;
  --background-alt: #f1f5f9;
  --text: #000000;
  --text-light: #000000;
  --text-lighter: #000000;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ff000d;
  --gradient-start: #4f46e5;
  --gradient-end: #06b6d4;
  --dark-background: #1a1a1a;
  --dark-background-alt: #2d2d2d;
  --dark-text: #ffffff;
  --dark-text-light: #a0a0a0;
  --dark-card-bg: #2d2d2d;
  --dark-border: #404040;
}

/* =========================
   BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  background-color: var(--background);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body span,
body li,
body label {
  color: #000000;
  transition: color 0.3s ease;
}

body a {
  color: var(--primary);
  transition: color 0.3s ease;
}

body a:hover {
  color: var(--primary-dark);
}

i,
body .fa,
body .fas,
body .fab,
body [class*='fa-'] {
  color: inherit;
  transition: color 0.3s ease, background-color 0.3s ease;
}

main {
  padding-top: 70px;
}

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

/* =========================
   NAVIGATION
========================= */
nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 2.5rem;
}

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  padding: 0;
  display: inline-block;
  transform-origin: center;
}

.logo:hover img {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.logo-text h1 {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.nav-links a.active {
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  list-style: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content li {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(0.2s * var(--i));
}

.dropdown:hover .dropdown-content li {
  opacity: 1;
  transform: translateX(0);
}

.dropdown-content a {
  padding: 0.8rem 1.5rem;
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-content a:hover {
  background: var(--background-alt);
  color: var(--primary);
  padding-left: 2rem;
}

.dropdown > a > i {
  font-size: 0.8rem;
  margin-left: 0.4rem;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  color: currentColor;
}

.dropdown:hover > a > i {
  transform: rotate(180deg);
}

.menu-toggle,
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
  background: none;
  border: none;
  padding: 0.5rem;
}

.menu-toggle {
  z-index: 1001;
}

.overlay {
  display: none;
}

/* =========================
   BUTTONS
========================= */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.learn-more-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.learn-more-btn:hover {
  background: #ff000d;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   HERO
========================= */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
  background: var(--background);
  margin-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 3rem;
  line-height: 1.1;
  color: #ff000d;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 2rem 0;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-simple {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-logo-simple img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  animation: simpleLogoFade 1s ease;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.hero-logo-simple img:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}

@keyframes simpleLogoFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
}

.label {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* =========================
   MISSION
========================= */
.mission {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--white);
}

.mission-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mission .subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.mission h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mission-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition: all 0.3s ease;
}

.mission-card {
  background: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: floatUpDown 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.mission-card:nth-child(even) {
  animation-delay: 1.5s;
}

.mission-card i,
.mission-card .card-icon i {
  font-size: 2rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* =========================
   SERVICES
========================= */
.services-portfolio {
  padding: 6rem 5%;
  background: var(--background-alt);
}

.services-portfolio .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-portfolio h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.services-portfolio .subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card .icon i {
  color: var(--white);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--secondary);
}

.service-card p {
  margin-bottom: 2rem;
  color: var(--text-light);
  flex-grow: 1;
}

.service-card .learn-more-btn {
  width: 100%;
  margin-top: auto;
}

.learn-more {
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.learn-more i {
  transition: transform 0.3s ease;
}

.service-card:hover .learn-more i {
  transform: translateX(5px);
}

.service-card.highlight,
.service-card.highlighted-service {
  outline: 2px solid var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(254, 25, 48, 0.15);
}

@keyframes serviceHighlight {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

.service-card.highlight {
  animation: serviceHighlight 1s ease-in-out;
}

/* =========================
   GALLERY
========================= */
.gallery {
  padding: 6rem 5%;
  background: var(--white);
}

.gallery .container {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.gallery .subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--primary);
  border-radius: 30px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.category-btn.active,
.category-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  grid-auto-rows: 300px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  animation: fadeInUp 0.6s ease forwards;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.vertical {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  transition: bottom 0.3s ease;
}

.gallery-item:hover .item-overlay {
  bottom: 0;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.item-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.item-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
  animation-delay: 0.4s;
}

.gallery-item:nth-child(4) {
  animation-delay: 0.6s;
}

/* =========================
   TESTIMONIALS
========================= */
.testimonials {
  padding: 6rem 5%;
  background: var(--white);
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.testimonials .subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

.testimonials-slider {
  padding-bottom: 80px !important;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid var(--background-alt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: #ffd700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.review-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--background-alt);
  padding-top: 1.5rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-info h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.reviewer-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.swiper-pagination {
  bottom: 30px !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
  width: 24px;
  border-radius: 5px;
}

.swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.5);
}

.swiper-button-next,
.swiper-button-prev {
  top: 45% !important;
}

.swiper-button-prev {
  left: 20px !important;
}

/* =========================
   CONTACT
========================= */
.contact {
  padding: 5rem 5%;
  background: var(--white);
  color: var(--text);
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form textarea,
.contact-form textarea.input {
  padding: 1rem;
  border-radius: 8px;
  border: 1.5px solid #333333;
  color: var(--text);
  font-size: 1rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contact-form textarea:focus,
.contact-form textarea.input:focus,
.input:focus {
  background: var(--white);
  border-color: var(--primary);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background: var(--white);
  color: var(--primary);
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-item,
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  color: var(--text);
}

.info-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.info-item p {
  color: var(--text);
  margin: 0;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input {
  border: 1.5px solid #333333;
  border-radius: 1rem;
  background: var(--white);
  padding: 1.25rem;
  font-size: 1.1rem;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input::placeholder {
  color: #9e9e9e;
}

.input:focus,
.input:valid {
  outline: none;
  border: 1.5px solid var(--primary);
}

.user-label {
  position: absolute;
  left: 15px;
  color: var(--text);
  pointer-events: none;
  transform: translateY(1.25rem);
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--white);
  padding: 0 0.2em;
}

.input:focus ~ .user-label,
.input:valid ~ .user-label {
  transform: translateY(-50%) scale(0.8);
  background-color: var(--white);
  color: var(--primary);
}

textarea.input,
.input-group textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
}

.message-input-group {
  position: relative;
}

.message-icons {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
}

.message-icons img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.contact-form button[type='submit'] {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form button[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-about {
  max-width: 100%;
  text-align: center;
}

.footer-about h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000000;
}

.footer-about p {
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 1.6;
  margin: 0;
}

.footer-links h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.footer-links ul {
  list-style: none;
  text-align: center;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.95rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ff000d;
}

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

.footer-social a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.connect-with-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
}

.connect-with-us h2 {
  color: #000000;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-align: center;
}

.connect-with-us h2 span {
  color: var(--primary);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #2d3748;
  border-radius: 8px;
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: var(--white);
}

/* =========================
   THEME TOGGLE
========================= */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  padding: 0;
  overflow: visible;
}

.theme-toggle i {
  font-size: 2rem;
  position: absolute;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.theme-toggle .fa-sun {
  opacity: 0;
  color: #ffd700 !important;
  font-weight: 900;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.theme-toggle .fa-moon {
  opacity: 1;
  color: #ffd700 !important;
  font-weight: 900;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* =========================
   ABOUT / TEAM
========================= */
.about-hero {
  padding: 120px 5% 80px;
  padding-top: 70px;
  background: var(--background);
  text-align: center;
  transition: background-color 0.3s ease;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  line-height: 1.2;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 1rem;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #ff000d;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.team-section {
  padding: 6rem 5%;
  padding-top: 6rem;
  background: var(--background-alt);
  transition: background-color 0.3s ease;
}

.team-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  width: 100%;
  display: block;
}

.team-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff000d;
}

.section-header {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 4px solid #ff000d;
  padding-bottom: 10px;
}

.team-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.team-member {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  top: 0;
  animation: teamFadeInUp 0.6s ease forwards;
  opacity: 0;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.member-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.04);
}

.social-links {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transition: all 0.3s ease;
}

.team-member:hover .social-links {
  bottom: 0;
}

.social-links a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.member-info {
  padding: 1.2rem;
  text-align: center;
  position: relative;
}

.member-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 3px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.member-info h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.member-info .position {
  color: #b0b0b0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 0.3rem;
}

@keyframes teamFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-member:nth-child(2) {
  animation-delay: 0.2s;
}

.team-member:nth-child(3) {
  animation-delay: 0.4s;
}

.team-member:nth-child(4) {
  animation-delay: 0.6s;
}

.team-member:nth-child(5) {
  animation-delay: 0.8s;
}

.team-member:nth-child(6) {
  animation-delay: 1s;
}

/* =========================
   SWEETALERT
========================= */
.custom-swal-icon {
  border: none !important;
  margin: 1.5rem auto !important;
}

.custom-swal-icon i {
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate__animated.animate__faster {
  --animate-duration: 0.5s;
}

.dark-mode-popup {
  border: 1px solid var(--dark-border) !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4) !important;
}

/* =========================
   404 PAGE
========================= */
.error-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  padding: 2rem 5%;
  text-align: center;
}

.error-content {
  max-width: 600px;
  animation: fadeInUp 0.6s ease forwards;
}

.error-404 h1 {
  font-size: 8rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.error-404 p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* =========================
   DARK MODE
========================= */
body.dark-mode {
  background-color: var(--dark-background);
  color: var(--dark-text);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode label,
body.dark-mode div {
  color: var(--dark-text);
}

body.dark-mode a {
  color: var(--primary-light);
}

body.dark-mode a:hover {
  color: var(--accent);
}

body.dark-mode button,
body.dark-mode input[type='button'],
body.dark-mode input[type='submit'] {
  color: var(--dark-text);
}

body.dark-mode .subtitle,
body.dark-mode .text-light,
body.dark-mode .label,
body.dark-mode small,
body.dark-mode .hero-content p,
body.dark-mode .gallery .subtitle,
body.dark-mode .footer-about p,
body.dark-mode .footer-links a,
body.dark-mode .footer-bottom,
body.dark-mode .service-card p,
body.dark-mode .mission-card p,
body.dark-mode .mission-content .subtitle,
body.dark-mode .mission-content .mission-intro,
body.dark-mode .team-subtitle,
body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder,
body.dark-mode .reviewer-info span {
  color: var(--dark-text-light);
}

/* About Us Section - Dark Mode */
body.dark-mode .about-text p {
  color: #ffffff;
}

body.dark-mode nav {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

body.dark-mode .logo-text h1 {
  color: #ffffff;
}

body.dark-mode .logo-text span {
  color: var(--dark-text-light);
}

body.dark-mode .nav-links a {
  color: #ffffff;
}

body.dark-mode .nav-links a:hover {
  color: #ff000d;
}

body.dark-mode .dropdown > a > i {
  color: #ffffff;
}

body.dark-mode .dropdown-content {
  background: var(--dark-card-bg);
  border: 1px solid var(--dark-border);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dropdown-content a {
  color: #ffffff;
}

body.dark-mode .dropdown-content a:hover {
  background: var(--dark-background);
  color: var(--primary-light);
}

body.dark-mode .hero,
body.dark-mode .mission,
body.dark-mode .services-portfolio,
body.dark-mode .gallery,
body.dark-mode .testimonials,
body.dark-mode .contact,
body.dark-mode .about-hero,
body.dark-mode .team-section,
body.dark-mode .error-404 {
  background-color: var(--dark-background);
}

body.dark-mode .hero-content h2 {
  color: #ff000d;
}

body.dark-mode .mission h2,
body.dark-mode .team-title,
body.dark-mode .about-hero h1 {
  background: linear-gradient(to right, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

body.dark-mode .service-card,
body.dark-mode .mission-card,
body.dark-mode .testimonial-card,
body.dark-mode .team-member,
body.dark-mode .mission-content {
  background-color: var(--dark-card-bg);
  border-color: var(--dark-border);
}

body.dark-mode .mission-card {
  background: var(--dark-background);
}

body.dark-mode .service-card .icon {
  background: var(--dark-background);
  border: 2px solid var(--primary-light);
}

body.dark-mode .service-card .icon i,
body.dark-mode .mission-card .card-icon,
body.dark-mode .mission-card .card-icon i {
  color: var(--primary-light);
}

body.dark-mode .service-card h3,
body.dark-mode .mission-card h3,
body.dark-mode .testimonial-card h4,
body.dark-mode .gallery h2,
body.dark-mode .testimonials h2,
body.dark-mode .services-portfolio h2,
body.dark-mode .contact h2,
body.dark-mode .member-info h3,
body.dark-mode .about-text h2,
body.dark-mode .error-404 h2,
body.dark-mode .reviewer-info h4,
body.dark-mode .mission-content h2 {
  color: var(--dark-text);
}

body.dark-mode .member-info .position {
  color: #ffffff;
}

body.dark-mode .category-btn {
  color: var(--dark-text);
  border-color: var(--primary-light);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea,
body.dark-mode .input {
  background: var(--dark-card-bg);
  border: 1px solid var(--dark-border);
  color: var(--dark-text);
}

body.dark-mode .input::placeholder {
  color: var(--dark-text-light);
}

body.dark-mode .user-label {
  background-color: transparent;
  color: var(--dark-text-light);
  padding: 0 5px;
}

body.dark-mode .input:focus ~ .user-label,
body.dark-mode .input:valid ~ .user-label {
  color: var(--primary-light);
  background-color: var(--dark-background);
}

body.dark-mode .input:focus,
body.dark-mode .input:valid,
body.dark-mode textarea.input:focus {
  border-color: var(--primary-light);
  background-color: var(--dark-background);
}

body.dark-mode .contact-info,
body.dark-mode .info-item,
body.dark-mode .info-item p {
  color: var(--dark-text);
}

body.dark-mode .info-item i {
  color: var(--primary-light);
}

body.dark-mode footer {
  background-color: var(--dark-background-alt);
  color: var(--dark-text);
}

body.dark-mode .footer-about h3,
body.dark-mode .footer-links h3,
body.dark-mode .connect-with-us h2 {
  color: #ffffff;
}

body.dark-mode .footer-about p,
body.dark-mode .footer-bottom {
  color: #b0b0b0;
}

body.dark-mode .footer-links a {
  color: #ffffff;
}

body.dark-mode .footer-links a:hover {
  color: #ff000d;
}

body.dark-mode .connect-with-us h2 {
  color: var(--white);
}

body.dark-mode .social-icons a {
  background: #1f2937;
  color: var(--primary-light);
}

body.dark-mode .social-icons a:hover {
  background: var(--primary);
  color: var(--white);
}

body.dark-mode .theme-toggle {
  background: #ffffff;
  color: var(--dark-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.dark-mode .theme-toggle .fa-sun {
  opacity: 1;
  color: #ffd700 !important;
}

body.dark-mode .theme-toggle .fa-moon {
  opacity: 0;
  color: #ffd700 !important;
}

body.dark-mode .theme-toggle:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

body.dark-mode .error-404 p {
  color: var(--dark-text-light);
}

body.dark-mode .swal2-backdrop-show {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .container {
    padding: 0 5%;
  }

  .hero-content h2 {
    font-size: 3.5rem;
  }

  .mission-cards,
  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: var(--background);
    padding: 5rem 2rem 2rem;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  body.dark-mode .nav-wrapper {
    background: var(--dark-background);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav-wrapper.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--background-alt);
  }

  body.dark-mode .nav-links a {
    border-bottom: 1px solid var(--dark-border);
  }

  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    display: none;
    opacity: 1;
    transform: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-grid,
  .portfolio-grid,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
    gap: 2rem;
  }

  .hero-content {
    order: 1;
    align-items: center;
  }

  .hero-content p {
    margin: 2rem auto;
  }

  .hero-buttons,
  .stats {
    justify-content: center;
  }

  .mission-cards,
  .services-grid,
  .testimonials-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-image {
    height: 300px;
    margin-bottom: 2rem;
  }

  .hero {
    min-height: auto;
    padding: 6rem 3rem 4rem;
  }

  .theme-toggle {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .theme-toggle i {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    width: 100%;
    right: -100%;
    top: 70px;
    height: calc(100vh - 70px);
    padding: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
    align-items: center;
    padding-top: 1rem;
  }

  .hero-content h2,
  .mission h2,
  .contact h2,
  .gallery h2,
  .section-header h2 {
    font-size: 2.5rem;
  }

  .hero-logo-simple img {
    max-width: 440px;
  }

  .hero-image {
    order: 2;
    margin-top: 2rem;
  }

  .contact-grid,
  .gallery-grid,
  .mission-cards,
  .services-grid,
  .testimonials-grid,
  .team-grid,
  .footer-grid,
  .portfolio-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.vertical {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-buttons,
  .error-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    gap: 0.8rem;
  }

  .btn,
  .error-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .about-hero h1,
  .team-title {
    font-size: 2.5rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p,
  .team-subtitle {
    font-size: 1rem;
  }

  .member-image {
    height: 350px;
  }

  .testimonials-carousel {
    padding: 0 20px;
    width: 100%;
    position: relative;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .review-text {
    min-height: auto;
  }

  .section-header {
    padding: 0 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
  }

  .hero-logo-simple img {
    max-width: 350px;
  }

  .error-404 h1 {
    font-size: 4rem;
  }

  .error-404 h2 {
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 2rem;
  }

  .hero-content {
    text-align: left;
  }

  .stats {
    justify-content: flex-start;
  }

  .services-portfolio .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media screen and (min-width: 760px) and (max-width: 1366px) {
  .btn,
  .nav-links a,
  .dropdown-content a,
  input,
  textarea,
  button {
    min-height: 44px;
  }

  .gallery-item,
  .testimonial-card,
  .service-card {
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .gallery-item:active,
  .testimonial-card:active,
  .service-card:active {
    transform: scale(0.98);
  }
}
