/* ==========================================================================
   SBBJ IT Solutions - Brunei Custom Landing Page Stylesheet
   Theme: Borneo Royal Emerald & Sultanate Gold Luxury
   ========================================================================== */

:root {
  --primary: #047857;
  --primary-dark: #022c22;
  --primary-light: #10b981;
  --gold: #d97706;
  --gold-glow: #f59e0b;
  --gold-light: #fef3c7;
  --bg-dark: #021a14;
  --bg-card: #04271e;
  --bg-card-hover: #06392c;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(217, 119, 6, 0.2);
  --border-glow: rgba(245, 158, 11, 0.4);
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

p {
  text-align: justify;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.main-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  padding: 16px 0;
  z-index: 100;
}

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

.brand-logo img {
  height: 44px;
  width: auto;
}

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

.nav-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--gold);
}

.header-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-glow));
  color: #021a14 !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #1e293b;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(4, 120, 87, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.15) 0%, transparent 45%),
              #021a14;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-glow);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--gold-glow) 0%, #ffffff 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-glow));
  color: #021a14;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: rgba(4, 120, 87, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.btn-secondary:hover {
  background: rgba(4, 120, 87, 0.32);
  color: #ffffff;
}

.hero-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-glow);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(4, 120, 87, 0.2);
}

.floating-accent-box {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(4, 39, 30, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.floating-accent-box i {
  font-size: 2rem;
  color: var(--gold-glow);
}

.floating-accent-box strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.floating-accent-box span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Section Common */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-glow);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services */
.services-section {
  padding: 90px 0;
  background-color: #03211a;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-box:hover {
  transform: translateY(-5px);
  background-color: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-glow);
  margin-bottom: 22px;
}

.service-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.service-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Brunei Wawasan & Strategic Focus */
.wawasan-section {
  padding: 90px 0;
  background: radial-gradient(circle at 20% 50%, rgba(4, 120, 87, 0.15) 0%, transparent 40%),
              #021a14;
}

.wawasan-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.wawasan-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.3;
}

.wawasan-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.advantage-list {
  list-style: none;
  margin-top: 24px;
}

.advantage-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #e5e7eb;
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.advantage-list li i {
  color: var(--gold-glow);
  margin-top: 4px;
}

.rounded-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Industries Section */
.industries-section {
  padding: 90px 0;
  background-color: #03211a;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.ind-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
}

.ind-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-glow);
  background-color: var(--bg-card-hover);
}

.ind-icon {
  font-size: 1.8rem;
  color: var(--gold-glow);
  margin-bottom: 18px;
}

.ind-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.ind-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Process */
.process-section {
  padding: 90px 0;
  background-color: #021a14;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--gold);
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-glow);
  margin-bottom: 14px;
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* FAQ */
.faq-section {
  padding: 90px 0;
  background-color: #03211a;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question i {
  color: var(--gold-glow);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: rgba(2, 26, 20, 0.6);
}

.faq-item.active .faq-answer {
  max-height: 250px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background-color: #021a14;
}

.cta-box {
  background: linear-gradient(135deg, #04271e 0%, #06392c 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cta-tag {
  color: var(--gold-glow);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-glow);
}

.btn-outline:hover {
  background: rgba(217, 119, 6, 0.15);
  color: #ffffff;
}

/* Footer */
.main-footer {
  background-color: #011410;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--gold-glow);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-glow);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
}

.social-row a:hover {
  background: var(--gold);
  color: #021a14;
}

.footer-bottom {
  border-top: 1px solid rgba(217, 119, 6, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Floating Actions */
.floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.float-wa {
  background-color: #25d366;
  color: #ffffff;
}

.float-wa:hover {
  transform: scale(1.08);
}

.float-quote {
  background: linear-gradient(135deg, var(--gold), var(--gold-glow));
  color: #021a14;
}

.float-quote:hover {
  transform: scale(1.08);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 26, 20, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1000;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #04271e;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-tag {
  color: var(--gold-glow);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  margin: 6px 0 10px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #021a14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-glow);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.btn-block {
  width: 100%;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left !important;
  }

  .hero-content {
    text-align: left !important;
  }

  .hero-badge {
    margin-left: 0 !important;
    margin-right: auto !important;
    align-self: flex-start !important;
  }

  .hero-actions {
    justify-content: flex-start !important;
  }

  .hero-stats {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .wawasan-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
  }
  .nav-links .nav-item {
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
  }

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

  .hero-section { padding: 40px 0 45px !important; }
  .services-section, .wawasan-section, .industries-section, .process-section, .faq-section {
    padding: 44px 0 !important;
  }

  .hero-content h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }

  .section-header h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  .hero-content p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .section-header p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  .hero-actions {
    gap: 10px !important;
    flex-direction: column !important;
  }

  .btn {
    padding: 11px 20px !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .services-grid, .industries-grid, .process-timeline, .footer-content {
    grid-template-columns: 1fr !important;
  }

  .service-box, .ind-card, .step-card {
    padding: 22px 18px !important;
  }

  .cta-box { padding: 36px 20px !important; }
  .cta-box h2 { font-size: 1.55rem !important; }

  .float-btn { width: 44px !important; height: 44px !important; font-size: 1.2rem !important; }
  .modal-window { padding: 22px 16px !important; width: 95% !important; }
}

@media (max-width: 480px) {
  .container { padding-left: 14px !important; padding-right: 14px !important; }
  .hero-content h1 { font-size: 1.48rem !important; }
  .section-header h2 { font-size: 1.32rem !important; }
  .hero-badge { font-size: 11px !important; padding: 4px 12px !important; }
  p { font-size: 0.92rem !important; line-height: 1.55 !important; }
}
