html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section,
.service-card,
img {
  transform: translateZ(0);
  will-change: transform;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0e0e0e;
    color: #ffffff;
}

/* Header */
.site-header {
    width: 100%;
    background-color: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo span {
    color: #4da6ff;
}

/* Navigation */
.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-list a {
    text-decoration: none;
    color: #dcdcdc;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #4da6ff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        gap: 18px;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0f14;
    color: #e5e7eb;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    background: linear-gradient(135deg, #0b0f14 0%, #111827 100%);
}

/* Hero Content */
.hero-content {
    max-width: 900px;
    text-align: center;
}

/* Headline */
.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

/* Subtext */
.hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #9ca3af;
    max-width: 720px;
    margin: 0 auto;
}

.services-section {
  background-color: #0f172a; /* dark navy */
  padding: 80px 20px;
  color: #e5e7eb;
  font-family: 'Segoe UI', sans-serif;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #9ca3af;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #020617;
  padding: 35px 25px;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #9ca3af;
}

.why-raydew {
  background-color: #0f172a;
  padding: 80px 20px;
  color: #e5e7eb;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1rem;
  color: #000000;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: #111827;
  padding: 30px 24px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #1f2933;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  display: inline-block;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #38bdf8;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #f9fafb;
}

.feature-card p {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.6;
}

.about-raydew {
  background-color: #0f172a; /* Dark navy */
  padding: 80px 20px;
  color: #e5e7eb;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #f9fafb;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #cbd5f5;
}

.about-values {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #111827;
  padding: 16px 18px;
  border-radius: 10px;
}

.value-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #d1d5db;
}

.value-dot {
  width: 10px;
  height: 10px;
  background-color: #38bdf8; /* Accent color */
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .about-title {
    font-size: 1.8rem;
  }

  .about-raydew {
    padding: 60px 16px;
  }
}

.contact-section {
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 80px 20px;
  font-family: 'Inter', sans-serif;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #ffffff;
}

.contact-info p {
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 32px;
}

.info-item span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
}

.info-item p {
  margin-top: 4px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #e5e7eb;
}

.contact-form {
  background-color: #020617;
  padding: 40px;
  border-radius: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #cbd5f5;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 12px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #38bdf8;
}

.submit-btn {
  background-color: #1e293b;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #334155;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Enable Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
}

/* Background wrapper */
.cta-glass {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.15),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(139, 92, 246, 0.15),
      transparent 40%
    ),
    linear-gradient(135deg, #020617, #0f172a);
}

/* Glass card */
.cta-glass-card {
  max-width: 900px;
  padding: 3.5rem 3rem;
  text-align: center;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.1s ease-out forwards;
}

/* Title */
.cta-glass-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #f8fafc;
}

/* Text */
.cta-glass-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cbd5f5;
  max-width: 720px;
  margin: 0 auto;
}

/* Animation keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .cta-glass-card {
    padding: 2.5rem 1.8rem;
  }

  .cta-glass-title {
    font-size: 1.8rem;
  }

  .cta-glass-text {
    font-size: 1rem;
  }
}

.site-footer {
  background-color: #0f172a; /* Dark navy */
  color: #cbd5e1;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.site-footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #38bdf8; /* Accent blue */
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .site-footer {
    padding: 40px 15px 15px;
  }
}

section {
  position: relative;
  min-height: 120px;
  overflow: hidden;
}

.hero,
.about-section,
.services-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
}

.hero,
.about-section,
.services-section {
  background-color: #0f172a;
}

/* ===== Global Animation Defaults ===== */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in variations */
.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-right {
  transform: translateX(40px);
}

.scale-in {
  transform: scale(0.92);
}

/* Hover micro-interactions */
.service-card:hover,
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  transition: transform 0.3s ease;
}

.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.7s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.8s; }
.services-grid .service-card:nth-child(9) { transition-delay: 0.9s; }

section {
  contain: layout paint;
}