/* Nettuno Designs – Global Styles */
:root {
  --color-start: #0a2a6b;
  --color-end: #00d4ff;
  --text-color: #0f172a;

  --muted-text: #505863;
  --bg-color: #ffffff;
  --bg-alt: #f8fafc;
  --gradient: linear-gradient(135deg, var(--color-start) 0%, var(--color-end) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(10,42,107,0.08), rgba(0,212,255,0.08));
  --shadow-lg: 0 20px 40px rgba(10, 42, 107, 0.15);
  --shadow-md: 0 10px 24px rgba(10, 42, 107, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0,212,255,0.6);
  outline-offset: 2px;
  border-radius: 8px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

/* Header */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), backdrop-filter var(--transition-fast);
  background: transparent;
}
header.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 2px 16px rgba(2, 6, 23, 0.08);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.navbar .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: #000000; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: #000000; font-weight: 500; opacity: 1; transition: opacity var(--transition-fast), transform var(--transition-fast); padding: 8px 2px; }
.site-header.on-hero:not(.scrolled) .nav-links a { color: #ffffff; opacity: 0.95; }
.site-header.on-hero:not(.scrolled) .brand { color: #ffffff; }
.nav-links a:hover { opacity: 1; transform: translateY(-1px); }
.nav-links a.active { opacity: 1; position: relative; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--gradient); border-radius: 2px; }
.hamburger { display: none; background: transparent; border: none; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hamburger span, .hamburger::before, .hamburger::after { content: ""; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--transition-fast), opacity var(--transition-fast); }
.hamburger::before { transform: translateY(-6px); }
.hamburger::after { transform: translateY(6px); }
@media (max-width: 960px) {
  .nav-links {
    position: absolute; top: 76px; right: 20px; left: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    flex-direction: column; gap: 12px; display: none;
  }
  .site-header.on-hero:not(.scrolled) .nav-links { background: rgba(10, 10, 10, 0.3); }
  .nav-links.open { display: flex; }
  .hamburger { display: inline-flex; color: #0f172a; }
  .site-header.on-hero:not(.scrolled) .hamburger { color: #ffffff; }
  .site-header.on-hero:not(.scrolled) .nav-links a { color: #ffffff; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 9999px; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast); will-change: transform; }
.btn-gradient { color: white; background: var(--gradient); box-shadow: 0 10px 24px rgba(0, 212, 255, 0.25); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(10, 42, 107, 0.25); }

.btn-gradient-1 { color: white; background: var(--gradient-soft); box-shadow: 0 10px 24px rgba(0, 212, 255, 0.25); }
.btn-gradient-1:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(10, 42, 107, 0.25); }

.btn-outline { background: transparent; color: inherit; border: 2px solid rgba(255,255,255,0.7); }
header.site-header.scrolled .btn-outline { border-color: rgba(2,6,23,0.2); }

/* Hero */
.hero { position: relative; display: grid; align-items: center; min-height: 92vh; color: white; background: var(--gradient); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: -40% -40% 0 -40%; background: radial-gradient(60% 40% at 30% 20%, rgba(255,255,255,0.2) 0, rgba(255,255,255,0) 60%), radial-gradient(40% 40% at 80% 0%, rgba(255,255,255,0.14) 0, rgba(255,255,255,0) 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 40px; text-align: center; }
.hero .logo { width: 500px; margin: 0 auto 16px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25)); }
.hero h1 { font-size: 42px; line-height: 1.2; margin: 8px 0 12px; letter-spacing: -0.02em; }
.hero p.tagline { font-size: 18px; opacity: 0.95; margin-bottom: 22px; }
.hero .cta-group { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: auto; }
@media (max-width: 768px) { .hero h1 { font-size: 32px; } .hero p.tagline { font-size: 16px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Intro */
.intro { text-align: center; }
.intro p { max-width: 800px; margin: 0 auto; color: var(--muted-text); }

/* Section Titles */
.section-title { text-align: center; margin-bottom: 28px; }
.section-title h2 { font-size: 32px; margin: 0 0 10px; letter-spacing: -0.02em; }
.section-title p { margin: 0 auto; max-width: 760px; color: var(--muted-text); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 22px; transition: transform var(--transition-fast), box-shadow var(--transition-fast); border: 1px solid rgba(2,6,23,0.05); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-soft); display: grid; place-items: center; color: var(--color-start); margin-bottom: 12px; }
.card h3 { margin: 8px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted-text); }

/* Testimonials */
.testimonials { background: var(--bg-alt); }
.testimonials .slider { position: relative; overflow: hidden; max-width: 960px; margin: 0 auto; }
.testimonials .slides { display: flex; transition: transform var(--transition-slow); }
.testimonials .slide { flex: 0 0 100%; padding: 20px; }
.testimonial-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 26px; display: grid; gap: 12px; align-items: center; }
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-soft); display: grid; place-items: center; color: var(--color-start); font-weight: 700; }
.testimonial-text { color: var(--muted-text); }
.slider-controls { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(2, 6, 23, 0.2); cursor: pointer; transition: transform var(--transition-fast), background var(--transition-fast); }
.slider-dot.active { background: var(--color-start); transform: scale(1.1); }

/* CTA Banner */
.cta-banner { background: var(--gradient); color: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; display: grid; align-items: center; grid-template-columns: 1fr auto; gap: 16px; }
@media (max-width: 640px) { .cta-banner { grid-template-columns: 1fr; text-align: center; } }

/* Footer */
.site-footer { padding: 40px 0 20px; background: white; border-top: 6px solid; border-image: var(--gradient) 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 120px; }
.footer-brand p { color: var(--muted-text); }
.footer-links a { display: block; color: var(--muted-text); padding: 6px 0; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient-soft); color: var(--color-start); transition: transform var(--transition-fast); }
.footer-social a:hover { transform: translateY(-2px); }

/* Subpage Hero */
.subhero { padding: 140px 0 60px; background: linear-gradient(180deg, rgba(10,42,107,0.08), rgba(255,255,255,0)); }
.subhero h1 { margin: 0; font-size: 36px; }
.breadcrumbs { color: var(--muted-text); font-size: 14px; margin-top: 8px; }

/* About – Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {display: flex; flex-direction: column; justify-content: center; text-align: center; background: white; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 16px; }
.team-card img { border-radius: var(--radius-sm); margin-bottom: 10px; }

/* Services – Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-md); }
.process-step .step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); color: white; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.project-card img { aspect-ratio: 16/10; width: 100%; height: auto; object-fit: cover; }
.project-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%); display: grid; align-items: end; padding: 14px; color: white; }

/* Project Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid img { border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(2,6,23,0.1); outline: none; transition: border var(--transition-fast), box-shadow var(--transition-fast); }
.input:focus { border-color: var(--color-start); box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15); }
.textarea { min-height: 140px; resize: vertical; }
.help { color: var(--muted-text); font-size: 12px; margin-top: 8px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Utilities */
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--gradient-soft); color: var(--color-start); font-weight: 600; font-size: 12px; }


