:root {
  --dark: #0a1b2e;
  --blue: #112d4e;
  --light-blue: #f8fafc; /* Brighter for better contrast */
  --orange: #ff8c32;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --text-light: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================= HERO UPGRADE ================= */
.hero {
  display: flex;
  min-height: 80vh;
  padding: 120px 10%;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at top right, var(--blue), var(--dark));
  color: var(--white);
  gap: 40px;
}

.hero-text {
  flex: 1;
  animation: fadeInDown 0.8s ease-out;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 550px;
  opacity: 0.9;
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  animation: zoomIn 1s ease-out;
}

.hero-img img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
}

/* ================= SERVICE SECTIONS (Alternating) ================= */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Fixed columns to prevent collision */
  gap: 80px;
  padding: 120px 10%;
  align-items: center;
  transition: var(--transition);
}

.service-section:nth-child(even) {
  background: var(--light-blue);
}

/* Logic for Image Left / Text Right and vice versa */
.service-section.reverse {
  direction: rtl; /* Flip logic */
}
.service-section.reverse .service-content {
  direction: ltr; /* Reset text direction inside */
}

.service-img {
  display: flex;
  justify-content: center;
  transition: var(--transition);
}

.service-img img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.service-section:hover .service-img img {
  transform: translateY(-10px);
}

.service-content h2 {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
}

.service-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin-top: 10px;
}

.service-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.service-content ul {
  list-style: none;
  margin-bottom: 35px;
}

.service-content li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.service-content li::before {
  content: '✓';
  color: var(--orange);
  font-weight: bold;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 15px 32px;
  border-radius: 50px; /* Modern rounded style */
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 140, 50, 0.3);
}

.primary:hover {
  background: #e6761d;
  transform: scale(1.05);
}

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

.outline:hover {
  background: var(--orange);
  color: #fff;
}

/* CONTACT INFO DISPLAY */
.contact-inline {
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.contact-inline span {
  margin-right: 18px;
}

.contact-small {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #64748b;
}

.contact-small a {
  color: var(--orange);
  text-decoration: none;
}

.contact-small a:hover {
  text-decoration: underline;
}

/* CTA */

/* ================= CTA ================= */
.cta {
  padding: 90px 8%;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--dark));
  color: var(--white);
}

.cta h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.cta p {
  color: var(--text-light);
  margin: 10px 0 30px;
}



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

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero, .service-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
    padding: 80px 5%;
  }
  
  .hero-img, .service-img {
    order: -1; /* Image always on top on mobile */
  }

  .service-content h2::after {
    margin: 10px auto;
  }
  
  .service-section.reverse {
    direction: ltr;
  }
}