/* ============================================
   EBONICS INTEGRATED SERVICES - Design System
   Colors: Sky Blue & White with Gold accents
   ============================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Primary Sky Blue Palette */
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;
  --sky-950: #082f49;

  /* Neutral */
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Accent from Logo */
  --gold: #c9a84c;
  --gold-dark: #a58836;
  --green-dark: #1b5e3b;

  /* Semantic */
  --primary: var(--sky-500);
  --primary-hover: var(--sky-600);
  --primary-light: var(--sky-100);
  --text-heading: var(--gray-900);
  --text-body: var(--gray-600);
  --text-muted: var(--gray-400);
  --bg-primary: var(--white);
  --bg-secondary: var(--sky-50);
  --border-color: var(--gray-200);

  /* Sizing */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-blue: 0 10px 40px -10px rgba(14, 165, 233, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--text-heading);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .accent-line {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-400), var(--sky-600));
  border-radius: 2px;
  margin: 16px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--sky-600), var(--sky-700));
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -10px rgba(14, 165, 233, 0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--sky-600);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--sky-600);
  border: 2px solid var(--sky-500);
}

.btn-outline-dark:hover {
  background: var(--sky-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ---- Scroll Animation Classes ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ---- HEADER / NAVIGATION ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-fast);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  transition: color var(--transition-base);
}

.logo-text .brand-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color var(--transition-base);
}

.header.scrolled .logo-text .brand-name {
  color: var(--sky-800);
}

.header.scrolled .logo-text .brand-tagline {
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all var(--transition-fast);
  font-family: 'Inter', sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-links a {
  color: var(--gray-700);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--sky-600);
  background: var(--sky-50);
}

.nav-links .btn-primary {
  color: var(--white) !important;
  padding: 10px 24px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header.scrolled .hamburger span {
  background: var(--gray-800);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(8, 47, 73, 0.88) 0%,
    rgba(14, 165, 233, 0.65) 50%,
    rgba(56, 189, 248, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: var(--header-height);
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--sky-200);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
  animation: fadeInUp 0.8s 0.15s ease both;
}

.hero-content h1 .highlight {
  background: linear-gradient(90deg, var(--sky-300), var(--sky-100));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 560px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero-stat h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* Floating Shapes */
.hero-shapes {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--white);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: -10%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  right: 15%;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 5%;
  animation: float 6s ease-in-out infinite 2s;
}

/* ---- ABOUT SECTION ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: var(--white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-blue);
  text-align: center;
}

.experience-badge .number {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  opacity: 0.85;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}

.about-text .lead {
  font-size: 1.05rem;
  color: var(--sky-700);
  font-weight: 500;
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-heading);
  font-size: 0.9rem;
}

.about-feature .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--sky-100);
  color: var(--sky-600);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---- SERVICES SECTION ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sky-200);
}

.service-card .card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .card-image img {
  transform: scale(1.08);
}

.service-card .card-body {
  padding: 28px;
}

.service-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-50), var(--sky-100));
  color: var(--sky-600);
  font-size: 1.3rem;
  margin-bottom: 16px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-600);
  transition: gap var(--transition-fast);
}

.service-card:hover .card-link {
  gap: 10px;
}

/* ---- WHY CHOOSE US ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--border-radius);
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-200);
}

.why-card .why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  color: var(--sky-600);
  font-size: 1.6rem;
  margin: 0 auto 20px;
  transition: all var(--transition-base);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: var(--white);
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-800) 50%, var(--sky-950) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -50px;
  border-radius: 50%;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin: 0 auto 32px;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--sky-700);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
  background: var(--sky-100);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  color: var(--sky-800);
}

/* ---- CONTACT SECTION ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  color: var(--sky-600);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: var(--white);
  transform: scale(1.05);
}

.contact-item h4 {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--text-body);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  background: var(--sky-50);
  color: var(--text-heading);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sky-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--gray-900);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text .brand-name {
  color: var(--white);
}

.footer-brand .logo-text .brand-tagline {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--sky-400);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--sky-600);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--sky-400);
}

/* ---- PAGE HEADER (for inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, var(--sky-700), var(--sky-900));
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  border-radius: 50%;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb a:hover {
  color: var(--sky-300);
}

.page-header .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.page-header .breadcrumb .current {
  color: var(--sky-300);
}

/* ---- PORTFOLIO / PROJECTS GRID ---- */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio-filter button {
  padding: 10px 24px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: transparent;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Inter', sans-serif;
}

.portfolio-filter button:hover,
.portfolio-filter button.active {
  background: var(--sky-500);
  color: var(--white);
  border-color: var(--sky-500);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(8, 47, 73, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.15rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Portfolio Placeholder Card */
.portfolio-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--sky-50), var(--sky-100));
  border: 2px dashed var(--sky-300);
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.portfolio-placeholder:hover {
  border-color: var(--sky-500);
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
}

.portfolio-placeholder .placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--white);
  color: var(--sky-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.portfolio-placeholder p {
  font-size: 0.85rem;
  color: var(--sky-600);
  font-weight: 500;
}

/* ---- SERVICES DETAIL PAGE ---- */
.service-detail {
  padding: 80px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail-grid:nth-child(even) {
  direction: rtl;
}

.service-detail-grid:nth-child(even) > * {
  direction: ltr;
}

.service-detail-grid img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-detail-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-detail-text p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.service-detail-text ul {
  margin-top: 16px;
}

.service-detail-text ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-body);
}

.service-detail-text ul li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--sky-100);
  color: var(--sky-600);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--border-radius);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: var(--sky-400);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--gray-700) !important;
    font-size: 1.05rem;
    padding: 14px 20px;
    width: 100%;
    border-radius: var(--border-radius-sm);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--sky-50) !important;
    color: var(--sky-600) !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-shapes {
    display: none;
  }

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

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid:nth-child(even) {
    direction: ltr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

  .contact-form {
    padding: 28px 20px;
  }
}

/* ---- MOBILE NAV OVERLAY ---- */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.open {
  display: block;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--sky-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sky-500);
}
