/* style.css - PT IMS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@500;700&display=swap');

:root {
  --primary-color: #F87D17;
  /* IMS Orange */
  --primary-dark: #cc6008;
  --bg-color: #ffffff;
  --text-main: #4b5563;
  /* Gray */
  --text-slate: #1f2937;
  /* Dark Slate */
  --surface-gray: #f9fafb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-slate);
  font-weight: 700;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

p {
  margin-bottom: 1rem;
}

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

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.py-5 {
  padding: 4rem 0;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(248, 125, 23, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Layout Grid */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

/* Header & Nav */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  text-decoration: none;
}

.brand .ims {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.brand .subtext {
  display: block;
  font-size: 0.85rem;
  color: var(--text-slate);
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-slate);
  font-weight: 600;
  transition: color 0.3s;
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--surface-gray);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  margin-left: 10px;
}

.lang-switcher .lang-btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  color: #9ca3af;
  padding: 4px 10px;
  border-radius: 15px;
  transition: all 0.3s;
}

.lang-switcher .lang-btn:hover {
  color: var(--text-slate);
}

.lang-switcher .lang-btn.active {
  background: var(--primary-color);
  color: white;
}

.lang-switcher .lang-sep {
  color: #d1d5db;
  font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-slate);
}

/* Footer */
footer {
  background-color: var(--text-slate);
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(248, 125, 23, 0.3);
}

/* Section Common */
.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .brand .ims {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
  }

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

  .lang-switcher {
    margin: 10px auto 0;
  }

  .menu-toggle {
    display: block;
  }

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

  .footer-grid {
    flex-direction: column;
  }
}