/* ============================================
   PREMIUM DESIGN SYSTEM FOR STANDARD OPERATIONS
   ============================================ */

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

/* ============================================
   CSS VARIABLES - Premium Color Palette
   ============================================ */
:root {
  /* Colors: Deep navy, teal accents, warm highlights */
  --primary-dark: #0F2847;
  --primary: #1A3A52;
  --primary-light: #2E5C7F;
  --accent-teal: #0D9488;
  --accent-warm: #EA580C;
  --accent-gold: #D4A574;

  /* Neutrals */
  --dark: #0F1419;
  --text-primary: #1A1F2E;
  --text-secondary: #5A6270;
  --text-light: #9CA3AF;
  --surface-light: #F8FAFB;
  --surface-lighter: #F3F5F7;
  --border: #E5E8EB;
  --white: #FFFFFF;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(15, 24, 71, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 24, 71, 0.12);
  --shadow-lg: 0 12px 32px rgba(15, 24, 71, 0.16);
  --shadow-xl: 0 20px 48px rgba(15, 24, 71, 0.18);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   TYPOGRAPHY & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 9vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
}
h3 {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 700;
}
h4 {
  font-size: 1.4rem;
  font-weight: 700;
}
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  font-weight: 400;
}

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

a:hover {
  color: var(--accent-warm);
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(13, 148, 136, 0.5);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

section:nth-child(even) {
  background-color: var(--surface-lighter);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.logo img {
  height: 32px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 7rem 0 10rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-lighter) 0%, var(--white) 50%, var(--surface-light) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 75%);
  border-radius: 50%;
  animation: fadeIn 1s ease-out;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, transparent 75%);
  border-radius: 50%;
  animation: fadeIn 1.2s ease-out;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h1 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  max-width: 520px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInRight 1s ease-out 0.3s backwards;
}

.hero-gradient {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-warm) 100%);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(13, 148, 136, 0.25), 0 0 60px rgba(13, 148, 136, 0.15);
  animation: glow 3s ease-in-out infinite;
}

/* Responsive hero */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding: 2rem 0;
  }

  .hero-visual {
    height: 280px;
  }

  .hero-gradient {
    width: 200px;
    height: 200px;
  }
}

/* ============================================
   BUTTONS & CTA
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: -0.01em;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

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

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* ============================================
   SECTION TITLES & SUBTITLES
   ============================================ */
.section-title {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 4.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 3rem;
  transition: var(--transition-slow);
  box-shadow: 0 4px 12px rgba(15, 24, 71, 0.08);
  animation: fadeInUp 0.6s ease-out backwards;

  display: flex;
  flex-direction: column;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-teal);
}

.service-card h3 {
  color: var(--primary-dark);
  margin: 1.5rem 0 1rem;
  font-size: 1.3rem;
}

.service-card p {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-icon {
  font-size: 2.5rem;
  display: inline-block;
  animation: slideInLeft 0.5s ease-out backwards;
}

.service-card ul {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-card li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-us {
  background: linear-gradient(180deg, var(--white) 0%, var(--surface-lighter) 100%);
}

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

.feature-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out backwards;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.feature-item:nth-child(odd) { animation-delay: 0.1s; }
.feature-item:nth-child(even) { animation-delay: 0.2s; }

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-warm));
  border-radius: 12px 12px 0 0;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-item h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.feature-item p {
  line-height: 1.7;
}

/* ============================================
   WHO WE WORK WITH SECTION
   ============================================ */
.who-we-work-with {
  background: var(--surface-light);
}

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

.client-type-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out backwards;
  box-shadow: var(--shadow-sm);
}

.client-type-card:nth-child(1) { animation-delay: 0.1s; }
.client-type-card:nth-child(2) { animation-delay: 0.2s; }
.client-type-card:nth-child(3) { animation-delay: 0.3s; }

.client-type-card:hover {
  border-color: var(--accent-teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.client-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1.5rem;
}

.client-type-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.client-type-card p {
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */
.contact-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.contact-cta h2,
.contact-cta p {
  color: var(--white);
  text-align: center;
}

.contact-cta h2 {
  margin-bottom: 1rem;
}

.contact-cta > .container > p {
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

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

.contact-form .btn {
  margin-top: 1rem;
  justify-self: flex-start;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  animation: fadeInUp 0.6s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
  font-family: 'Syne', sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

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

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer h3,
footer h4 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.75rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

footer a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--accent-teal);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  nav ul {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 4rem 0;
  }

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

  .hero .btn {
    width: 100%;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .services-grid,
  .features-grid,
  .client-types-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  header .container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  nav a {
    display: block;
    text-align: center;
  }

  .logo {
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}
