/* ========================================
   ICT Company Website - Modern Tech Design
   ======================================== */

/* CSS Variables - Tech Color Palette */
:root {
  --primary-color: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #6366f1;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.3);
  --shadow-glow2: 0 0 40px rgba(16, 185, 129, 0.3);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
  --container-width: 1280px;
}

/* RTL Support */
[dir="rtl"] {
  --primary-color: #4f46e5;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Styles */
.section {
  padding: 60px 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(79, 70, 229, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-light);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.lang-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

/* Gradient Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 20s infinite ease-in-out;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -50px) scale(1.1); }
  50% { transform: translate(-30px, 30px) scale(0.9); }
  75% { transform: translate(-50px, -30px) scale(1.05); }
}

/* Grid Pattern */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridScroll 30s linear infinite;
}

@keyframes gridScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

/* Floating Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-shape {
  position: absolute;
  border: 2px solid rgba(79, 70, 229, 0.2);
  animation: shapeRotate 30s linear infinite;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
  border-radius: 50%;
  animation-direction: reverse;
  border-color: rgba(16, 185, 129, 0.2);
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 60%;
  animation-duration: 40s;
  border-color: rgba(245, 158, 11, 0.15);
}

@keyframes shapeRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Stars */
.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 30%; left: 40%; animation-delay: 1s; }
.star:nth-child(4) { top: 50%; left: 70%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 70%; left: 30%; animation-delay: 2s; }
.star:nth-child(6) { top: 80%; left: 60%; animation-delay: 2.5s; }
.star:nth-child(7) { top: 15%; left: 55%; animation-delay: 0.3s; }
.star:nth-child(8) { top: 60%; left: 15%; animation-delay: 1.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 28px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.9; box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title span {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.375rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-light);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.5);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ========================================
   Services Section
   ======================================== */
.services {
  background: var(--bg-white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 10% 10%, rgba(79, 70, 229, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 90%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  padding: 28px 24px;
  border-radius: 20px;
  transition: var(--transition);
  text-align: right;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-description {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-us {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 0% 50%, rgba(79 229, 0.05, 70,) 0%, transparent 50%);
  pointer-events: none;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.why-us-card {
  background: var(--bg-white);
  padding: 40px 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
}

.why-us-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: var(--transition);
}

.why-us-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-us-card:hover::before {
  opacity: 1;
}

.why-us-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.why-us-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-us-description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   Industries Section
   ======================================== */
.industries {
  background: var(--bg-white);
  position: relative;
}

.industries::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 100% 0%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.industry-item {
  background: linear-gradient(135deg, #f9fafb, #ffffff);
  padding: 36px 24px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.industry-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.industry-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.projects .section-title {
  background: linear-gradient(135deg, #ffffff, var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.project-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.project-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(15, 23, 42, 1), transparent);
}

.project-content {
  padding: 28px;
}

.project-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-category {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   About Page
   ======================================== */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 50% 100%, rgba(79, 70, 229, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.8;
  position: relative;
}

.about-content {
  background: var(--bg-white);
}

.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1.0625rem;
}

.about-image {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 24px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.team-member {
  background: var(--bg-white);
  padding: 40px 28px;
  border-radius: 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.team-name {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 16px;
  transition: var(--transition);
}

.value-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.value-text {
  font-weight: 600;
  color: var(--text-dark);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  padding: 44px;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border-radius: 24px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 0% 100%, rgba(79, 70, 229, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.contact-details h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-light);
}

.contact-details p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.contact-form {
  background: var(--bg-white);
  padding: 44px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Map Section */
.map-container {
  margin-top: 60px;
}

.map-frame {
  width: 100%;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ========================================
   Quote Page
   ======================================== */
.quote-section {
  background: var(--bg-light);
  min-height: calc(100vh - 150px);
  padding: 120px 0 80px;
}

.quote-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #0f172a;
  color: var(--text-light);
  padding: 50px 0 20px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-light);
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-right: 8px;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.25rem;
  color: white;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-4px);
  color: white;
}

/* Facebook */
.social-link.facebook:hover {
  background: #1877f2;
}

/* Twitter/X */
.social-link.twitter:hover {
  background: #000000;
}

/* Instagram */
.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* LinkedIn */
.social-link.linkedin:hover {
  background: #0a66c2;
}

/* Email */
.social-link.email:hover {
  background: #ea4335;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .quote-form {
    padding: 32px 24px;
  }
  
  .service-card[style*="grid-column"] {
    grid-column: span 1 !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }
  
  .service-card,
  .why-us-card,
  .team-member {
    padding: 28px 20px;
  }
  
  .project-card {
    min-width: 100%;
  }
  
  .page-title {
    font-size: 2.25rem;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

/* Form Messages */
.form-message {
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 24px;
  display: none;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  display: block;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  border: 1px solid #fecaca;
}
