/* ============================================================
   ACREDITTE - Template 5 "Dark & Crimson"
   Primary: #1a1a2e | Accent: #E94560 | Dark: #0F0F1A | Light: #F5F5FA
   Font: Inter Tight
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100..900&display=swap');

:root {
  --primary: #1a1a2e;
  --accent: #E94560;
  --dark: #0F0F1A;
  --light: #F5F5FA;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #666;
}

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

body {
  font-family: 'Inter Tight', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ============== NAVIGATION ============== */
/* Template 5: NO fixed-top, container-fluid directly on nav */
.custom-navbar {
  background: var(--primary);
  padding: 12px 0;
  position: relative;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.custom-navbar .navbar-brand img {
  height: 3rem;
  width: auto;
}

.custom-navbar .navbar-caption {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white) !important;
  text-decoration: none;
  margin-left: 10px;
}

.custom-navbar .nav-link {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 18px !important;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--accent) !important;
}

.custom-navbar .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 10px;
}

.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-primary {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.navbar-buttons .btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.navbar-buttons .btn-primary i {
  margin-left: 8px;
}

/* ============== HERO ============== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 15, 26, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content .hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 30px;
  font-weight: 400;
  line-height: 1.8;
}

/* Hero separator line (unique to T5) */
.hero-separator {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 30px;
}

.hero-bottom {
  margin-top: 30px;
}

.hero-bottom .hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-bottom .btn-accent {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.hero-bottom .btn-accent:hover {
  background: transparent;
  color: var(--accent);
}

.hero-bottom .btn-accent i {
  margin-left: 8px;
}

/* ============== SECTION STYLES ============== */
.section-padding {
  padding: 90px 0;
}

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

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

.section-white {
  background: var(--white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ============== FEATURE / ADVANTAGE CARDS ============== */
.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--accent);
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

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

/* ============== IMAGE + TEXT SECTIONS ============== */
.img-text-section img {
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.img-text-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.img-text-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.img-text-section .btn-accent {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.img-text-section .btn-accent:hover {
  background: transparent;
  color: var(--accent);
}

.img-text-section .btn-accent i {
  margin-left: 8px;
}

/* ============== EMBLA CAROUSEL (T5 Unique) ============== */
.embla {
  overflow: hidden;
  position: relative;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
}

.embla__container {
  display: flex;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin-left: -20px;
}

.embla__slide {
  position: relative;
  min-width: calc(33.333% - 20px);
  margin-left: 20px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .embla__slide {
    min-width: calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .embla__slide {
    min-width: calc(100% - 20px);
  }
}

.embla__slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.embla__slide h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.embla__slide p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ============== CONTACT FORM ============== */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: var(--light);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.contact-form-wrapper textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-wrapper .btn-submit {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
}

.contact-form-wrapper .btn-submit:hover {
  background: transparent;
  color: var(--accent);
}

/* ============== CONTACT CARDS ============== */
.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card .card-icon {
  width: 65px;
  height: 65px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ============== FAQ ACCORDION ============== */
.accordion-faq .accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.accordion-faq .accordion-button {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  background: var(--white);
  padding: 18px 24px;
  border-radius: 8px !important;
  box-shadow: none;
}

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

.accordion-faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a2e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-faq .accordion-body {
  padding: 18px 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============== MAP ============== */
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--dark);
  padding: 50px 0 30px;
  text-align: center;
}

.footer .footer-links {
  margin-bottom: 20px;
}

.footer .footer-links a {
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0 12px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer .footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer .copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 10px;
}

.footer .footer-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ============== PAGE HERO (sub-pages) ============== */
.page-hero {
  background: var(--primary);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

/* ============== SERVICE CARDS ============== */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
  border-left: 4px solid var(--accent);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

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

/* ============== TESTIMONIAL CARD ============== */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
}

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

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

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

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

/* ============== TEAM CARD ============== */
.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
  text-align: center;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
}

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

.team-card .team-info {
  padding: 25px 20px;
}

.team-card .team-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
}

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

/* ============== BUTTONS ============== */
.btn-accent-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

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

.btn-accent-outline i {
  margin-left: 8px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
}}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-section {
    min-height: 80vh;
  }
  .section-padding {
    padding: 60px 0;
  }
  .contact-form-wrapper {
    padding: 30px 20px;
  }
}

/* ============== PARALLAX SECTION ============== */
.parallax-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
}

.parallax-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 15, 26, 0.8);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.parallax-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}

.parallax-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* ============== STATS ============== */
.stats-item {
  text-align: center;
  padding: 30px;
}

.stats-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

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

.section-dark .stats-item .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* ============== LEGAL PAGE STYLES ============== */
.legal-content {
  max-width: 850px;
}

.legal-content h3.wp-block-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--primary);
}

.legal-content h3.wp-block-heading strong {
  font-weight: 800;
}

.legal-content h4.wp-block-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--primary);
}

.legal-content p {
  line-height: 1.8;
  margin-bottom: 12px;
  color: #333;
}

.legal-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content .container a {
  color: #000000;
  text-decoration: none;
}

.legal-content .container a:hover {
  color: #00008B;
  text-decoration: underline;
}

/* Cookie table black borders */
.cookie-tables-white .wp-block-table table,
.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid black !important;
  border-collapse: collapse !important;
}

.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  padding: 12px 8px !important;
}

.wp-block-table {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th {
  background: var(--light);
  font-weight: 700;
  text-align: left;
}
