/* =========================================
   SHINING TITANS — styles.css
   ========================================= */

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

:root {
  --primary:    #06b6d4;
  --primary-dk: #0891b2;
  --secondary:  #0f172a;
  --accent:     #f59e0b;
  --bg:         #ffffff;
  --bg-muted:   #f8fafc;
  --text:       #1e293b;
  --text-muted: #64748b;
  --border:     #e2e8f0;
  --radius:     12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bg-muted { background: var(--bg-muted); }
.hidden { display: none !important; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6,182,212,.35);
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,182,212,.45);
}

.btn-outline-white {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; border-radius: 14px; }

/* --- SECTION COMMON --- */
section { padding: 96px 0; }

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center h2,
.section-header.center p { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.section-header.split p { max-width: 380px; color: var(--text-muted); font-size: 17px; }

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-label.accent { color: var(--accent); }

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.section-header p { font-size: 17px; color: var(--text-muted); line-height: 1.7; }

/* --- GRIDS --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up  { animation: fadeUp 0.7s ease both; }
.animate-fade-in  { animation: fadeIn 1s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 1s; }


/* =========================================
   NAVBAR
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  transition: color 0.3s;
  flex-shrink: 0;
}
#navbar.scrolled .nav-logo { color: var(--secondary); }
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo em { font-style: normal; color: var(--primary); }
#navbar.scrolled .nav-logo em { color: var(--primary); }

#nav-links { display: flex; align-items: center; gap: 36px; }
#nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color 0.2s;
}
#nav-links a:hover { color: var(--primary); }
#navbar.scrolled #nav-links a { color: var(--text-muted); }
#navbar.scrolled #nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: #fff;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--primary); }
#navbar.scrolled .nav-phone { color: var(--secondary); }

/* Hamburger */
#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
#menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
#navbar.scrolled #menu-toggle span { background: var(--secondary); }
#menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow);
}
#mobile-menu.open { display: flex; }

.mobile-link {
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--primary); }

.mobile-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--secondary);
  padding: 14px 0;
  justify-content: center;
}
.mobile-phone svg { width: 16px; height: 16px; color: var(--primary); }

.mobile-cta { margin-top: 4px; width: 100%; justify-content: center; }


/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,23,42,.95) 40%, rgba(15,23,42,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--accent); }

#hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}


/* =========================================
   ABOUT
   ========================================= */
#about { background: var(--bg); }

.feature-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6,182,212,.2);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(6,182,212,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background 0.25s;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--primary); transition: color 0.25s; }
.feature-card:hover .feature-icon { background: var(--primary); }
.feature-card:hover .feature-icon svg { color: #fff; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }


/* =========================================
   SERVICES
   ========================================= */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6,182,212,.25);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s;
}
.service-icon svg { width: 22px; height: 22px; color: #fff; }
.service-card:hover .service-icon { background: var(--primary); }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; transition: color 0.2s; }
.service-card:hover h3 { color: var(--primary); }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }


/* =========================================
   SERVICE AREA
   ========================================= */
#area { background: var(--bg); }

.area-card {
  background: var(--secondary);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
}

.area-content {
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}
.area-content h2 { color: #fff; margin-bottom: 16px; }
.area-content > p { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.7; margin-bottom: 40px; }

.area-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.area-region { display: flex; align-items: flex-start; gap: 16px; }
.area-region-icon {
  width: 40px; height: 40px;
  border-radius: 100%;
  background: rgba(6,182,212,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.area-region-icon svg { width: 18px; height: 18px; color: var(--primary); }
.area-region h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.area-region p  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }

.area-map {
  position: relative;
  min-height: 360px;
}
.area-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-map-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--secondary) 0%, rgba(15,23,42,.3) 50%, transparent 100%);
}

/* Map pins */
.map-pin {
  position: absolute;
  z-index: 2;
}
.map-pin svg { width: 32px; height: 32px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.map-pin { animation: bounce 2s infinite ease-in-out; }

.pin-1 { top: 40%; left: 30%; color: var(--accent); }
.pin-2 { top: 60%; left: 60%; color: var(--primary); animation-delay: .5s; }
.pin-3 { top: 28%; left: 74%; color: #fff; animation-delay: 1s; }
.pin-3 svg { width: 22px; height: 22px; }


/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.stars { display: flex; gap: 4px; margin-bottom: 20px; }
.stars svg { width: 18px; height: 18px; color: var(--accent); }

.testimonial-card p {
  font-size: 16px;
  color: rgba(30,41,59,.8);
  font-style: italic;
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 28px;
}

.testimonial-author { border-top: 1px solid var(--border); padding-top: 20px; }
.testimonial-author strong { display: block; font-size: 15px; font-weight: 700; }
.testimonial-author span { font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 3px; display: block; }


/* =========================================
   CONTACT
   ========================================= */
#contact { background: var(--bg-muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 48px; }

.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-icon svg { width: 22px; height: 22px; color: var(--primary); }
.contact-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-item a  { font-size: 16px; color: var(--text-muted); transition: color 0.2s; }
.contact-item a:hover { color: var(--primary); }
.contact-item p  { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* Form */
.contact-form-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.06);
}
.contact-form-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-muted);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,182,212,.15);
  background: #fff;
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
}
.form-group textarea { resize: vertical; }

.field-error { font-size: 12px; color: #ef4444; font-weight: 500; min-height: 16px; }
.req { color: #ef4444; font-weight: 700; }
.form-note { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.form-success svg { width: 32px; height: 32px; color: #059669; flex-shrink: 0; }
.form-success strong { display: block; font-size: 15px; color: #064e3b; margin-bottom: 2px; }
.form-success p { font-size: 14px; color: #065f46; margin: 0; }


/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--secondary);
  color: rgba(255,255,255,.65);
  padding: 72px 0 32px;
}

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

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800;
  color: #fff; margin-bottom: 16px;
}
.footer-logo em { font-style: normal; color: var(--primary); }
.footer-logo-img {
  width: 34px; height: 34px; object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; margin-bottom: 20px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 100%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  color: #fff;
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--primary); }

.footer-col h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary); }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.contact-list li svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: rgba(255,255,255,.6); transition: color 0.2s; }
.contact-list a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.5); transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-content { padding: 48px 40px; }
  .area-regions { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  #nav-links, .nav-actions { display: none; }
  #menu-toggle { display: flex; }

  #hero { min-height: 100vh; padding: 100px 0 60px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .section-header.split { flex-direction: column; gap: 12px; }

  .area-card { grid-template-columns: 1fr; }
  .area-map { min-height: 280px; order: -1; }
  .area-map-overlay {
    background: linear-gradient(to bottom, var(--secondary) 0%, rgba(15,23,42,.3) 50%, transparent 100%);
  }
  .area-content { padding: 40px 28px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  #hero h1 { font-size: 36px; }
  .btn-lg { padding: 14px 28px; font-size: 16px; }
}
