/* ====================== */
/*    AE7 ARCHITECTS      */
/*    Global Styles        */
/* ====================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Inner Page Hero ---- */
.page-hero {
  background: #020617;
  padding: 10rem 1.5rem 4rem;
  text-align: center;
}
.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}
.page-hero-desc {
  color: #94a3b8;
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Contact Form ---- */
.contact-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.3s;
  outline: none;
}
.contact-input:focus { border-color: #2563eb; }
.contact-input::placeholder { color: #94a3b8; }
textarea.contact-input { resize: vertical; }
.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}
.contact-info-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

/* ---- Detail Page Layout ---- */
.detail-breadcrumb {
  font-size: 0.85rem;
  color: #94a3b8;
}
.detail-breadcrumb a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s;
}
.detail-breadcrumb a:hover { color: #fff; }
.detail-breadcrumb span { color: #fff; }

.detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.detail-content { min-width: 0; }
.detail-text {
  color: #475569;
  line-height: 2;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.detail-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}
.project-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.project-info-item {
  padding: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.project-info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.project-info-value {
  display: block;
  font-weight: 800;
  color: #0f172a;
}

/* ---- Sidebar ---- */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 6rem;
}
.sidebar-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.sidebar-link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  text-decoration: none;
}
.sidebar-link:hover {
  color: #2563eb;
  padding-right: 0.5rem;
}

@media (max-width: 768px) {
  .detail-container { grid-template-columns: 1fr; }
  .detail-features { grid-template-columns: 1fr; }
  .project-info-grid { grid-template-columns: 1fr 1fr; }
  .detail-sidebar { position: static; }
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Inter', sans-serif;
  background: #fff;
  color: #0f172a;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #dbeafe;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ====================== */
/*       NAVIGATION        */
/* ====================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 2rem 0;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  transition: color 0.5s;
}

.navbar.scrolled .nav-logo {
  color: #0f172a;
}

.nav-logo span {
  color: #2563eb;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
}

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

.navbar.scrolled .nav-links a {
  color: #475569;
}

.navbar.scrolled .nav-links a:hover {
  color: #3b82f6;
}

.nav-cta {
  padding: 0.625rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: #fff;
  color: #0f172a;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: #2563eb;
  color: #fff;
}

.navbar.scrolled .nav-cta {
  background: #0f172a;
  color: #fff;
}

.navbar.scrolled .nav-cta:hover {
  background: #2563eb;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle svg {
  color: #fff;
  transition: color 0.3s;
}

.navbar.scrolled .menu-toggle svg {
  color: #0f172a;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  cursor: pointer;
}

.mobile-menu a {
  font-size: 1.875rem;
  font-weight: 900;
  color: #0f172a;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #2563eb;
}

/* ====================== */
/*       HERO SECTION      */
/* ====================== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
  transform: scale(1);
}

.hero-slide.active img {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.2), rgba(0,0,0,0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 64rem;
}

.hero-subtitle {
  display: inline-block;
  color: #60a5fa;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  animation: slideUp 0.7s ease-out both;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: slideUp 1s ease-out 0.2s both;
}

.hero-title .gradient-text {
  background: linear-gradient(to left, #60a5fa, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.8;
  animation: slideUp 1s ease-out 0.5s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: slideUp 1s ease-out 0.7s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #fff;
  color: #2563eb;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-icon {
  transition: transform 0.3s;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #fff;
  color: #0f172a;
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 20;
  display: flex;
  gap: 0.75rem;
}

.indicator {
  height: 3px;
  width: 1rem;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.5s;
}

.indicator.active {
  width: 3rem;
  background: #3b82f6;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  opacity: 0.5;
}

.scroll-line {
  width: 1px;
  height: 5rem;
  background: linear-gradient(to bottom, #fff, transparent);
  margin: 0 auto;
}

/* ====================== */
/*      STATS SECTION      */
/* ====================== */

.stats-section {
  padding: 6rem 0;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  cursor: default;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.stat-item:hover .stat-value {
  color: #2563eb;
}

.stat-label {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ====================== */
/*    PROJECTS SECTION     */
/* ====================== */

.projects-section {
  padding: 6rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.projects-header-text {
  max-width: 36rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 900;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

.projects-all-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0f172a;
  color: #0f172a;
  transition: all 0.3s;
}

.projects-all-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.projects-all-btn:hover .arrow-icon {
  transform: translate(2px, -2px);
}

.arrow-icon {
  transition: transform 0.3s;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: #f1f5f9;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0f172a, transparent, transparent);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.project-card:hover .project-overlay {
  opacity: 0.9;
}

.project-category {
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  transform: translateY(1.5rem);
  transition: transform 0.5s ease;
}

.project-card:hover .project-category {
  transform: translateY(0);
}

.project-title {
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  font-weight: 900;
  color: #fff;
  transform: translateY(1.5rem);
  transition: transform 0.5s ease 0.05s;
}

.project-card:hover .project-title {
  transform: translateY(0);
}

/* ====================== */
/*   EXPERTISE SECTION     */
/* ====================== */

.expertise-section {
  padding: 8rem 0;
  background: #020617;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.expertise-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  transform: translate(50%, -50%);
}

.expertise-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.expertise-header {
  max-width: 42rem;
  margin-bottom: 6rem;
}

.expertise-label {
  font-size: 0.7rem;
  font-weight: 900;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}

.expertise-title {
  font-size: clamp(1.75rem, 4vw, 3.75rem);
  font-weight: 900;
  line-height: 1.2;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.expertise-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.expertise-card:hover {
  transform: translateY(-0.5rem);
}

.expertise-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  transition: all 0.3s;
}

.expertise-icon svg {
  width: 32px;
  height: 32px;
}

.expertise-card:hover .expertise-icon {
  background: #2563eb;
  color: #fff;
}

.expertise-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.expertise-card:hover .expertise-card-title {
  color: #60a5fa;
}

.expertise-card-desc {
  color: #94a3b8;
  line-height: 1.7;
  font-weight: 300;
}

/* ====================== */
/*    SERVICES SECTION     */
/* ====================== */

.services-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.services-subtitle {
  color: #64748b;
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 1rem auto 0;
  line-height: 1.8;
}

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

.service-card {
  background: #fff;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: #2563eb;
  transition: height 0.4s ease;
}

.service-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: #2563eb;
  color: #fff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: #64748b;
  line-height: 1.8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.85rem;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 1rem;
}

/* ====================== */
/*  CLIENT LOGOS SECTION   */
/* ====================== */

.clients-section {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.clients-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.clients-marquee {
  overflow: hidden;
  position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.clients-marquee::before {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.clients-marquee::after {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.clients-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.client-logo {
  flex-shrink: 0;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #94a3b8;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}

.client-logo:hover {
  color: #2563eb;
  border-color: #2563eb;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====================== */
/*     BLOG SECTION        */
/* ====================== */

.blog-section {
  padding: 6rem 0;
  background: #fff;
}

.blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.blog-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #2563eb;
  color: #fff;
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  transition: color 0.3s;
}

.blog-card:hover .blog-title {
  color: #2563eb;
}

.blog-excerpt {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ====================== */
/*      FAQ SECTION        */
/* ====================== */

.faq-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.open {
  border-color: #2563eb;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
  font-family: inherit;
  gap: 1rem;
}

.faq-question:hover {
  color: #2563eb;
}

.faq-chevron {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.3s, color 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #2563eb;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #64748b;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ====================== */
/*        FOOTER           */
/* ====================== */

.footer {
  background: #fff;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-brand-logo {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #0f172a;
  margin-bottom: 2rem;
}

.footer-brand-logo span {
  color: #2563eb;
}

.footer-desc {
  color: #64748b;
  font-size: 1.125rem;
  max-width: 28rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.footer-social {
  display: flex;
  gap: 2rem;
}

.footer-social a {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #2563eb;
}

.footer-col-title {
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col ul li {
  color: #64748b;
  font-weight: 500;
}

.footer-col ul li a {
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #2563eb;
}

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-bottom-links {
  display: flex;
  gap: 2.5rem;
}

.footer-bottom-links a {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #0f172a;
}

/* ====================== */
/*      ANIMATIONS         */
/* ====================== */

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

/* ====================== */
/*    RESPONSIVE DESIGN    */
/* ====================== */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

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

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .slide-indicators {
    right: 1.5rem;
    bottom: 2rem;
  }

  .scroll-indicator {
    display: none;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ====================== */
/*  FLOATING CONTACT BTNS */
/* ====================== */

.floating-contact {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

.floating-btn:active {
  transform: scale(0.95);
}

/* WhatsApp Button */
.floating-whatsapp {
  background: #25D366;
  animation: floatingPulseGreen 2.5s infinite;
}

/* Phone Button */
.floating-phone {
  background: #2563eb;
  animation: floatingPulseBlue 2.5s infinite 0.5s;
}

/* Tooltips on hover */
.floating-btn::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0f172a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  font-family: 'Cairo', 'Inter', sans-serif;
}

.floating-btn:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Pulse Animations */
@keyframes floatingPulseGreen {
  0% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes floatingPulseBlue {
  0% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 15px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 99, 235, 0); }
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 1.25rem;
    left: 1.25rem;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  .floating-btn::before {
    display: none;
  }
}
