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

:root {
  /* Ultra-Modern Marketing Palette */
  --primary: #10b981; /* Vibrant Emerald */
  --primary-dark: #064e3b; /* Deep Premium Green */
  --primary-light: #ecfdf5;
  --accent: #f59e0b; /* Amber/Gold for striking contrast */
  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --text-light: #94a3b8;
  --bg-main: #f8fafc; /* Very light cool grey */
  --bg-surface: #ffffff;
  --bg-dark: #020617; /* Slate 950 */
  --border-color: #e2e8f0;
  
  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-colored: 0 20px 25px -5px rgba(16, 185, 129, 0.25);
  
  /* Radii for modern bubbly/premium feel */
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth elegant ease out */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  overflow-wrap: break-word;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography - Modern, bold, tight tracking */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: 4rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.75rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
p { margin-bottom: 1.25rem; color: var(--text-muted); font-size: 1.125rem; }

/* Layout utility */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-bg {
  background-color: var(--bg-surface);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  display: inline-block;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.25rem;
}

/* Announcement Banner */
.announcement-banner {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.announcement-banner .badge {
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Header - Glassmorphism */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-top {
  display: none; /* Hide old top bar for cleaner look, integrate into footer/banner */
}

.header-main {
  padding: 1.25rem 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transform: rotate(-5deg);
  transition: var(--transition);
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.05);
}

.logo h1 {
  font-size: clamp(0.9rem, 4vw, 1.5rem);
  font-weight: 800;
  margin: 0;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: transparent;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-main);
  z-index: 1002;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--text-main);
  color: white;
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-colored);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: var(--text-main);
  color: white;
  transform: translateY(-3px);
}

/* Hero Section - Agency Style */
.hero {
  position: relative;
  background: var(--bg-surface);
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

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

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4.5rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
  display: block;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-floating-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}

.hero-floating-card .icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Page Banner (Other Pages) */
.page-banner {
  background: var(--bg-surface);
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.page-banner h1 {
  font-size: 3.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.page-banner p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards - Premium Glassy/Modern Look */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2.5rem;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-main);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--primary);
  color: white;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* Footer - Dark & Elegant */
.footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 6rem 0 0;
  margin-top: auto;
}

.footer h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0;
}

.footer p {
  color: var(--text-light);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-light);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-contact i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 0.95rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background-color: #25D366;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: var(--shadow-xl);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  color: white;
  box-shadow: 0 20px 25px -5px rgba(37, 211, 102, 0.4);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero .container {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero h1 { font-size: 3.5rem; }
  
  .hero-floating-card {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 3rem 0 3rem;
  }

  /* Make hero image edge-to-edge and flat on mobile */
  .hero-img {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
    border-radius: 0;
    transform: none !important;
    max-width: none;
  }

  .page-banner {
    padding: 4rem 0 3rem;
  }

  /* Swipeable Horizontal Cards on Mobile */
  .card-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .card-grid::-webkit-scrollbar {
    display: none;
  }
  .card {
    min-width: 85%;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  /* Mobile text reduction utilities */
  .hide-on-mobile {
    display: none !important;
  }
  
  .mobile-edge-to-edge {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem) !important;
    border-radius: 0 !important;
    max-width: none !important;
  }

  .announcement-banner {
    flex-direction: column;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .header-top { display: none; }
  
  .nav-links {
    display: flex;
    position: fixed;
    top: 76px; /* Header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 { font-size: 2.75rem; }
  .page-banner h1 { font-size: 2.5rem; }
  
  .btn { width: 100%; }
}
