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

/* =====================
   THEME VARIABLES
===================== */

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --primary: #1e3a8a;
  --accent: #2563eb;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --shadow: rgba(0,0,0,0.08);
}

[data-theme="dark"] {
  --bg: #0f172a;
  --text: #f1f5f9;
  --primary: #1e40af;
  --accent: #3b82f6;
  --card-bg: #1e293b;
  --border: #334155;
  --shadow: rgba(0,0,0,0.4);
}

/* =====================
   GLOBAL RESET
===================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =====================
   NAVBAR
===================== */

.navbar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: white;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 32px;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  background: #facc15;
  bottom: -6px;
  left: 0;
  transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  transform: translateY(-2px);
}

/* =====================
   NAVBAR SCROLL EFFECT
===================== */

.navbar.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(30, 58, 138, 0.9);
  padding: 12px 0;
  transition: all 0.3s ease;
}


/* =====================
   THEME BUTTON
===================== */

.theme-toggle button {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  margin-left: 20px;
  font-size: 14px;
}

/* =====================
   MOBILE MENU
===================== */

.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* =====================
   HERO SECTION
===================== */

.hero {
  padding: 120px 0;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 54px;
  margin-bottom: 24px;
  text-shadow: 2px 6px 20px rgba(0,0,0,0.08);
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 20px 50px var(--shadow);
}

/* =====================
   BUTTONS
===================== */

.btn-primary {
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* =====================
   SECTION TITLE
===================== */

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
}

/* =====================
   CARDS
===================== */

.card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid var(--border);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow);
  border: 1px solid var(--accent);
}


/* =====================
   GRID
===================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* =====================
   FORM
===================== */

.form-group {
  margin-bottom: 24px;
}

input, textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-size: 16px;
}

textarea {
  resize: none;
  height: 150px;
}

button {
  border: none;
  cursor: pointer;
}

/* =====================
   FOOTER
===================== */

.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

/* =====================
   ANIMATIONS
===================== */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 15px 0;
  }

  .menu-toggle {
    display: block;
  }
}
/* =====================
   BUTTON RIPPLE EFFECT
===================== */

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary span {
  position: relative;
  z-index: 2;
}

.btn-primary::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.4);
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after {
  width: 300px;
  height: 300px;
}
/* =====================
   FLOATING IMAGE
===================== */

.hero img {
  animation: float 4s ease-in-out infinite;
}

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

body {
  opacity: 0;
  animation: pageFade 0.8s ease forwards;
}

@keyframes pageFade {
  to { opacity: 1; }
}

/* =====================
   SERVICES PAGE
===================== */

.services-section {
  background: #eef2f7;
  padding-top: 120px;
  padding-bottom: 120px;
}

.services-subtitle {
  margin-top: 15px;
  font-size: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

.service-block {
  display: flex;
  gap: 50px;
  align-items: center;
  background: rgba(255,255,255,0.6);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 80px;
}

.service-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.service-image img {
  width: 260px;
  border-radius: 15px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-content {
  flex: 2;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.service-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 15px;
}

.service-content p {
  margin-bottom: 20px;
  color: #555;
}

.service-content ul {
  padding-left: 20px;
}

.service-content ul li {
  margin-bottom: 10px;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .service-block {
    flex-direction: column;
    text-align: center;
  }

  .service-content {
    width: 100%;
  }
}

/* =====================
   ABOUT PAGE
===================== */

.about-section {
  background: #f1f4f8;
  padding-top: 120px;
  padding-bottom: 120px;
}

.about-block {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
}

.about-text ul {
  padding-left: 20px;
  margin-top: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* LOCATION CARD */

.location-card {
  margin-top: 40px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .about-block {
    flex-direction: column;
    text-align: center;
  }

  .about-text ul {
    text-align: left;
  }
}

/* =====================
   CAREER PAGE
===================== */

.career-section {
  background: #f4f6fa;
  padding-top: 120px;
  padding-bottom: 120px;
}

.career-intro {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.career-text {
  flex: 1;
}

.career-text p {
  margin-bottom: 20px;
  color: #555;
}

.career-image {
  flex: 1;
}

.career-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* GRID SECTION */

.career-grid {
  display: flex;
  gap: 100px;
  margin-bottom: 80px;
}

.open-positions {
  flex: 1;
}

.open-positions h3 {
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
}

.position {
  display: block;               /* FIX: make it block element */
  padding: 18px 25px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  text-decoration: none;        /* remove underline */
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.position:hover {
  transform: scale(1.05);
}

.green { background: #34c759; }
.red { background: #ff3b30; }
.blue { background: #2f56e0; }

/* WHY WORK */

.why-work {
  flex: 1;
}

.why-work h3 {
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.why-work ul {
  padding-left: 20px;
}

.why-work ul li {
  margin-bottom: 10px;
}

/* APPLY SECTION */

.apply-section {
  margin-top: 40px;
}

.apply-section h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
}

.apply-section a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .career-intro {
    flex-direction: column;
    text-align: center;
  }

  .career-grid {
    flex-direction: column;
    gap: 60px;
  }
}

