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

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

:root {
  --primary: #1da0d4;
  --primary-dark: #1480ab;
  --primary-light: #e8f6fc;
  --secondary: #4db848;
  --secondary-dark: #389934;
  --secondary-light: #eaf7e9;
  --text-dark: #2d2d2d;
  --text-main: #555;
  --text-light: #888;
  --bg-light: #f4f7f6;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --font-main: 'Inter', sans-serif;
  --font-head: 'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-main); background: var(--bg-white); line-height: 1.6; overflow-x: hidden; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.2; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; border-radius: 50px; font-family: var(--font-head); font-weight: 800; font-size: 0.95rem;
  text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; outline: none;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(29, 160, 212, 0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29, 160, 212, 0.4); }
.btn-secondary { background: var(--secondary); color: white; box-shadow: 0 4px 15px rgba(77, 184, 72, 0.3); }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(77, 184, 72, 0.4); }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ── Navigation ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); transition: all 0.3s;
  display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; height: 80px;
}
.navbar.scrolled { box-shadow: var(--shadow); height: 70px; }
.nav-logo img { height: 50px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-head); font-weight: 700; color: var(--text-dark); text-decoration: none;
  font-size: 0.9rem; transition: color 0.3s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Mobile Menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--text-dark); border-radius: 3px; transition: 0.3s; }
.mobile-menu {
  position: fixed; top: 80px; left: 0; right: 0; background: white; padding: 2rem 5vw;
  box-shadow: var(--shadow); display: none; flex-direction: column; gap: 1.5rem; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-head); font-weight: 700; color: var(--text-dark); text-decoration: none; font-size: 1.1rem; }

@media(max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Footer ── */
.footer { background: var(--text-dark); color: #fff; padding: 4rem 5vw 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer h3 { color: white; margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer p, .footer li { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0.8rem; }
.footer ul { list-style: none; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center;}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ── Layout & Sections ── */
section { padding: 6rem 5vw; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 50px; background: var(--primary-light);
  color: var(--primary); font-family: var(--font-head); font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;
}
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-desc { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ── Hero Section (Index) ── */
.hero {
  min-height: 100vh; padding-top: 80px; display: flex; align-items: center; position: relative;
  background: linear-gradient(135deg, #f4f7f6 0%, #eaf7e9 100%); overflow: hidden;
}
.hero-container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; width: 100%;
}
.hero-content { flex: 1; padding-right: 2rem; z-index: 2; min-width: 300px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { flex: 1; position: relative; height: 80vh; min-height: 500px; z-index: 1; min-width: 300px; }
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg);
}
@media(max-width: 900px) {
  .hero { padding-top: 120px; text-align: center; }
  .hero-container { flex-direction: column; }
  .hero-content { padding-right: 0; margin-bottom: 3rem; }
  .hero-buttons { justify-content: center; }
  .hero-image { width: 100%; height: 400px; min-height: 400px; }
}

/* ── Form Inputs ── */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-dark); font-family: var(--font-head); }
.form-control {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-main); font-size: 1rem; transition: border-color 0.3s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

/* ── Job Cards ── */
.job-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: all 0.3s; cursor: pointer; margin-bottom: 1.5rem; }
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.job-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.job-tag { padding: 0.3rem 0.8rem; background: var(--bg-light); border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.job-details { display: none; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.job-card.active .job-details { display: block; }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 600px; background: white;
  padding: 1.5rem; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 9999; display: none; font-family: var(--font-main); border: 1px solid var(--border);
}
#cookie-banner h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
#cookie-banner p { font-size: 0.9rem; margin-bottom: 1rem; color: var(--text-main); }
.cookie-buttons { display: flex; gap: 1rem; }

/* ── Utility ── */
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* Floating Contact Button */
.floating-contact-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366; /* WhatsApp Green */
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.floating-contact-btn:hover {
  transform: scale(1.1);
}

/* Scroll Fade-In Animations */
.fade-in-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Hover Effects */
.job-card, .bg-light {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-card:hover, .grid-2 > .bg-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
