/* ============================================
   INTERCALL - Template 12: Dark & White
   Jost Font | Premium Global Communications
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* --- Root Variables --- */
:root {
  --primary: #1B1B3A;
  --accent: #C0A060;
  --dark: #0F0F22;
  --light-bg: #F5F3EE;
  --white: #ffffff;
  --text-muted: #B0B0C0;
  --font-main: 'Jost', sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* --- Navbar --- */
.custom-navbar {
  background-color: rgba(15, 15, 34, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(192, 160, 96, 0.2);
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.custom-navbar .navbar-brand img {
  height: 3rem;
  border-radius: 4px;
}

.small-radius {
  border-radius: 4px;
}

.custom-navbar .navbar-caption {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white) !important;
  letter-spacing: 0.5px;
}

.custom-navbar .nav-link {
  color: var(--white) !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem !important;
  border-radius: 20px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  background-color: rgba(192, 160, 96, 0.15);
  color: var(--accent) !important;
}

.large-radius {
  border-radius: 20px;
}

.card-wrap {
  border-radius: 4px;
}

.custom-navbar .navbar-toggler {
  border: 1px solid rgba(192, 160, 96, 0.4);
  padding: 0.4rem 0.6rem;
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-buttons .btn {
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--dark) !important;
}

.btn-primary:hover {
  background-color: #a88b4a !important;
  border-color: #a88b4a !important;
}

.btn-black {
  background-color: var(--dark) !important;
  border-color: var(--dark) !important;
  color: var(--white) !important;
}

.btn-black:hover {
  background-color: #2a2a55 !important;
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
}

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

.display-4 { font-size: 1rem; }
.display-5 { font-size: 1.15rem; }
.display-7 { font-size: 0.9rem; }

/* --- Hero Section (Full-screen Parallax) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 34, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-content h1 strong {
  color: var(--accent);
}

.hero-content .hero-desc {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .btn {
  padding: 0.75rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 30px;
}

/* --- Section Common --- */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-title .subtitle {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

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

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

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

.section-light .section-title h2 {
  color: var(--dark);
}

.section-light .section-title .subtitle {
  color: #8b7355;
}

/* --- Decorative Line Divider --- */
.line-divider {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 2rem;
}

/* --- Client Cards (solutionm4 style) --- */
.client-section {
  background-color: var(--dark);
}

.client-card {
  background: linear-gradient(135deg, var(--primary), #252550);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(192, 160, 96, 0.15);
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.client-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(192, 160, 96, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--accent);
}

.client-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.client-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Mission Section --- */
.mission-section {
  background-color: var(--primary);
}

.mission-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.mission-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.mission-image {
  border-radius: 12px;
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  object-fit: cover;
}

/* --- Services Section --- */
.service-card {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  border: 1px solid rgba(192, 160, 96, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.service-card .service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- History / Timeline --- */
.history-item {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.history-item .year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.history-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.history-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- FAQ Accordion --- */
.accordion-item {
  background-color: var(--primary);
  border: 1px solid rgba(192, 160, 96, 0.1);
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.2rem 1.5rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary);
  color: var(--accent);
  box-shadow: none;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  background-color: rgba(27, 27, 58, 0.5);
  color: var(--text-muted);
  padding: 1.2rem 1.5rem;
  line-height: 1.8;
}

/* --- Contact Form --- */
.contact-form {
  background-color: var(--primary);
  border-radius: 16px;
  padding: 3rem;
}

.contact-form .form-control {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(192, 160, 96, 0.2);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-main);
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(192, 160, 96, 0.15);
  background-color: rgba(255,255,255,0.08);
}

.contact-form .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form label {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-form .btn {
  padding: 0.75rem 3rem;
  font-weight: 600;
  border-radius: 30px;
}

/* --- Contact Info Cards --- */
.contact-info-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.contact-info-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(192, 160, 96, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-info-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Map Section --- */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(192, 160, 96, 0.2);
}

/* --- Footer --- */
.footer {
  background-color: var(--dark);
  padding: 3rem 0 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(192, 160, 96, 0.15);
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* --- Page Header (sub pages) --- */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--primary) 0%, var(--dark) 100%);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

.page-header .breadcrumb-nav {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-header .breadcrumb-nav a {
  color: var(--accent);
}

/* --- About Page --- */
.about-image-block {
  border-radius: 12px;
  overflow: hidden;
}

.about-image-block img {
  width: 100%;
  object-fit: cover;
}

/* --- Team Cards --- */
.team-card {
  text-align: center;
  background-color: var(--primary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(192, 160, 96, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card .team-info {
  padding: 1.5rem;
}

.team-card .team-info h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.team-card .team-info .role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Testimonial Cards --- */
.testimonial-card {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  border: 1px solid rgba(192, 160, 96, 0.1);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-card .quote {
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--white);
}

.testimonial-card .author-role {
  font-size: 0.85rem;
  color: var(--accent);
}

/* --- Stats --- */
.stat-box {
  text-align: center;
  padding: 2rem;
}

.stat-box .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-box .stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Legal Pages --- */
.legal-content {
  padding: 6rem 0;
}

.legal-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.legal-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
  line-height: 1.8;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.legal-content table th,
.legal-content table td {
  border: 1px solid rgba(192, 160, 96, 0.3);
  padding: 0.75rem 1rem;
  text-align: left;
}

.legal-content table th {
  background-color: rgba(192, 160, 96, 0.15);
  color: var(--accent);
  font-weight: 600;
}

.legal-content table td {
  color: var(--text-muted);
}

.legal-content a {
  color: var(--accent);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .custom-navbar .nav-link {
    padding: 0.5rem 0.75rem !important;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .hero-desc {
    font-size: 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .custom-navbar .navbar-collapse {
    background-color: rgba(15, 15, 34, 0.98);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(192, 160, 96, 0.2);
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-section {
    min-height: 80vh;
  }
}
