:root {
  /* Fonts */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Work Sans', sans-serif;

  /* Core Colors (Complementary: Blue & Orange) */
  --primary-color: #0D47A1; /* Deep Blue for primary actions, backgrounds */
  --primary-color-dark: #002171;
  --primary-color-light: #5472d3;

  --accent-color: #FF8F00; /* Bright Orange for accents, highlights */
  --accent-color-dark: #c56000;
  --accent-color-light: #ffc046;

  /* Neutral Colors */
  --text-color-dark: #222222; /* For text on light backgrounds */
  --text-color-medium: #555555;
  --text-color-light: #FFFFFF; /* For text on dark backgrounds */

  --bg-color-body: #FFFFFF;
  --bg-color-light-section: #f8f9fa; /* Light grey for alternating sections */
  --bg-color-accent-section: var(--primary-color); /* Or a darker shade for contrast */

  /* Brutalist & Volumetric Elements */
  --border-brutalist: 2px solid var(--text-color-dark);
  --shadow-brutalist: 4px 4px 0px rgba(0, 0, 0, 0.15);
  --shadow-volumetric-button: 0px 3px 0px var(--primary-color-dark);
  --shadow-volumetric-button-hover: 0px 4px 0px var(--primary-color-dark);
  --shadow-volumetric-button-active: 0px 1px 0px var(--primary-color-dark);
  --shadow-volumetric-secondary-button: 0px 3px 0px var(--accent-color-dark);
  --shadow-volumetric-secondary-button-hover: 0px 4px 0px var(--accent-color-dark);
  --shadow-volumetric-secondary-button-active: 0px 1px 0px var(--accent-color-dark);
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);


  /* Spacing & Transitions */
  --section-padding-y: 4rem;
  --transition-speed: 0.25s;
  --transition-timing: ease-in-out;
  --border-radius-main: 0.375rem; /* Bootstrap's default */
  --border-radius-sharp: 0px; /* For brutalist edges */
}

/* Global Styles */
body {
  font-family: var(--font-secondary);
  color: var(--text-color-dark);
  background-color: var(--bg-color-body);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-color-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

.section-title {
  margin-bottom: 3rem;
  font-weight: 700;
  color: var(--text-color-dark); /* Ensure high contrast for section titles */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

p {
  margin-bottom: 1rem;
  color: var(--text-color-medium);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-timing);
}

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

/* General Button Styles (Bootstrap .btn is base) */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sharp); /* Brutalist edge */
  transition: all var(--transition-speed) var(--transition-timing);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-width: 2px; /* For a more solid feel */
  border-style: solid;
}

.volumetric-button, .btn-primary { /* Main action button */
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-color-light);
  box-shadow: var(--shadow-volumetric-button), 0 2px 5px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.volumetric-button:hover, .btn-primary:hover {
  background-color: var(--primary-color-light);
  border-color: var(--primary-color-light);
  color: var(--text-color-light);
  box-shadow: var(--shadow-volumetric-button-hover), 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.volumetric-button:active, .btn-primary:active,
.volumetric-button:focus, .btn-primary:focus {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
  color: var(--text-color-light);
  box-shadow: var(--shadow-volumetric-button-active), inset 0 1px 2px rgba(0,0,0,0.2);
  transform: translateY(0px);
}

.volumetric-button-secondary, .btn-secondary { /* Secondary action button */
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-color-light);
  box-shadow: var(--shadow-volumetric-secondary-button), 0 2px 5px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.volumetric-button-secondary:hover, .btn-secondary:hover {
  background-color: var(--accent-color-light);
  border-color: var(--accent-color-light);
  color: var(--text-color-dark); /* Contrast on light orange */
  box-shadow: var(--shadow-volumetric-secondary-button-hover), 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.volumetric-button-secondary:active, .btn-secondary:active,
.volumetric-button-secondary:focus, .btn-secondary:focus {
  background-color: var(--accent-color-dark);
  border-color: var(--accent-color-dark);
  color: var(--text-color-light);
  box-shadow: var(--shadow-volumetric-secondary-button-active), inset 0 1px 2px rgba(0,0,0,0.2);
  transform: translateY(0px);
}

.btn-link {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}
.btn-link:hover {
  color: var(--primary-color-dark);
  text-decoration: underline;
}

/* Modern Form Inputs */
.modern-input {
  background-color: var(--bg-color-body);
  border: var(--border-brutalist);
  border-radius: var(--border-radius-sharp);
  padding: 0.75rem 1rem;
  font-family: var(--font-secondary);
  color: var(--text-color-dark);
  box-shadow: inset 2px 2px 3px rgba(0,0,0,0.05); /* Subtle inset */
  transition: border-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}
.modern-input:focus {
  border-color: var(--primary-color);
  box-shadow: inset 2px 2px 3px rgba(0,0,0,0.05), 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
  outline: none;
}
.modern-input::placeholder {
  color: var(--text-color-medium);
  opacity: 0.7;
}
form label {
    font-weight: 600;
    color: var(--text-color-dark); /* Ensure labels are contrasty */
}
#contactForm label { /* For contact form on dark background */
    color: var(--text-color-light);
}


/* Utility Classes */
.section-padding {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section-bg-light {
  background-color: var(--bg-color-light-section);
}
.section-bg-accent { /* Used for contact section */
  background-color: var(--bg-color-accent-section);
  color: var(--text-color-light); /* Ensure text is light on dark accent bg */
}
.section-bg-accent h1, .section-bg-accent h2, .section-bg-accent h3,
.section-bg-accent h4, .section-bg-accent h5, .section-bg-accent h6,
.section-bg-accent p {
  color: var(--text-color-light);
}
.text-white-link {
  color: var(--text-color-light) !important;
  text-decoration: underline;
}
.text-white-link:hover {
  color: var(--accent-color-light) !important;
}


.volumetric-image {
  border: 3px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1), var(--shadow-brutalist);
  border-radius: var(--border-radius-sharp);
}

/* Animation on Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--transition-timing), transform 0.6s var(--transition-timing);
}
.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: var(--border-brutalist);
}
.site-header .navbar-brand {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}
.site-header .nav-link {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-color-dark);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sharp);
  transition: color var(--transition-speed), background-color var(--transition-speed);
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-color-rgb, 13, 71, 161), 0.1);
}
.navbar-toggler {
    border: 2px solid var(--primary-color);
}
.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(13, 71, 161, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section */
.hero-section {
  min-height: 80vh; /* Flexible height, not fixed */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Parallax effect will be primarily handled by JS if complex, CSS for simple fallback */
  /* background-attachment: fixed; (Can cause issues on mobile, use with caution or JS) */
}
.hero-section h1 {
  color: var(--text-color-light); /* As per prompt */
  font-size: 3.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-section .lead {
  color: rgba(255,255,255,0.9); /* As per prompt */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Card Styles (General) */
.card {
  background-color: var(--bg-color-body);
  border: var(--border-brutalist);
  border-radius: var(--border-radius-sharp);
  box-shadow: var(--shadow-brutalist);
  transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
  overflow: hidden; /* Ensures content respects border-radius */
  display: flex;
  flex-direction: column;
  height: 100%; /* For equal height cards in rows */
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 8px 8px 0px rgba(0,0,0,0.18);
}
.card-image { /* Container for image */
  width: 100%;
  max-height: 250px; /* Fixed height for image container in cards */
  overflow: hidden;
  display: flex; /* Center image within this container */
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color-light-section); /* Placeholder bg for images */
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area, might crop */
  display: block; /* Remove extra space below image */
}
.card-content, .card-body { /* For text content within card */
  padding: 1.5rem;
  text-align: left; /* Default, but can be centered if needed */
  flex-grow: 1; /* Allows card body to expand and push footer down */
  display: flex;
  flex-direction: column;
}
.card-title {
  color: var(--primary-color);
  font-weight: 700;
}
.card-text {
  color: var(--text-color-medium);
  font-size: 0.95rem;
  flex-grow: 1;
}
.card .btn-link {
    margin-top: auto; /* Pushes button to bottom of card content */
    align-self: flex-start;
    color: var(--accent-color);
    font-weight: bold;
}
.card .btn-link:hover {
    color: var(--accent-color-dark);
}

/* Specific Card Types */
.success-card .card-image {
    max-height: 300px;
}
.clientele-card .card-image, .news-card .card-image {
    max-height: 200px;
}

/* Accordion (Bootstrap Customization) */
.accordion-item {
  border: var(--border-brutalist);
  border-radius: var(--border-radius-sharp) !important; /* Override Bootstrap */
  margin-bottom: 1rem;
  box-shadow: var(--shadow-brutalist);
}
.accordion-header {
  border-radius: var(--border-radius-sharp) !important;
}
.accordion-button {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-color-dark);
  background-color: var(--bg-color-light-section);
  border-radius: var(--border-radius-sharp) !important;
  box-shadow: none !important; /* Remove Bootstrap's default shadow */
}
.accordion-button:not(.collapsed) {
  color: var(--text-color-light);
  background-color: var(--primary-color);
}
.accordion-button:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb, 13, 71, 161), 0.25);
}
.accordion-button::after { /* Style Bootstrap's arrow icon */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23222222'%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-button:not(.collapsed)::after {
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%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-body {
    padding: 1.5rem;
    font-size: 0.95rem;
}

/* Carousel (Bootstrap Customization) */
.carousel-item .card.success-card { /* Card within carousel */
    border: none; /* Remove double border */
    box-shadow: none; /* Remove double shadow */
}
.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-sharp);
  width: 12px;
  height: 12px;
  margin: 0 5px;
  opacity: 0.5;
}
.carousel-indicators .active {
  opacity: 1;
  background-color: var(--accent-color);
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5); /* Darker background for visibility */
  border-radius: var(--border-radius-sharp);
  padding: 1.5rem 1rem; /* Make clickable area larger */
  background-size: 50% 50%;
}


/* Progress Bar (Bootstrap Customization) */
.progress {
  height: 25px !important; /* Thicker progress bar */
  border-radius: var(--border-radius-sharp);
  background-color: var(--bg-color-light-section);
  border: var(--border-brutalist);
  box-shadow: var(--shadow-brutalist);
}
.progress-bar {
  font-weight: 600;
  color: var(--text-color-light);
  background-color: var(--primary-color) !important; /* Override Bootstrap theme colors for consistency */
  border-radius: 0; /* Sharp edge for the fill */
}
.progress-bar.bg-success { background-color: var(--accent-color) !important; } /* Use accent for success */
.progress-bar.bg-info { background-color: var(--primary-color-light) !important; }
.progress-bar.bg-warning { background-color: var(--secondary-color-light, #ffc046) !important; color: var(--text-color-dark) !important;}


/* External Resources Section */
#external-resources .list-group-item {
    border: var(--border-brutalist);
    border-radius: var(--border-radius-sharp);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-brutalist);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}
#external-resources .list-group-item:hover {
    background-color: var(--bg-color-light-section);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.18);
}
#external-resources .list-group-item h5 {
    color: var(--primary-color);
}
#external-resources .list-group-item p {
    font-size: 0.9rem;
    color: var(--text-color-medium);
}
#external-resources .list-group-item small {
    color: var(--text-color-medium);
    opacity: 0.8;
}

/* Contact Section */
#contact { /* Already has .section-bg-accent styling */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#contact h3 {
    font-weight: 600;
}
#contact p strong {
    font-weight: 600;
}
#contact img {
    border: 3px solid var(--text-color-light);
    box-shadow: var(--shadow-brutalist);
}


/* Footer */
.site-footer {
  background-color: var(--text-color-dark);
  color: rgba(255,255,255,0.7);
  padding-top: var(--section-padding-y);
  padding-bottom: calc(var(--section-padding-y) / 2);
  border-top: 3px solid var(--primary-color);
}
.site-footer .footer-title {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-color-light);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.site-footer p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.site-footer .footer-links li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.3rem 0;
  display: inline-block;
  transition: color var(--transition-speed), padding-left var(--transition-speed);
}
.site-footer .footer-links li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
  text-decoration: none;
}
.site-footer .copyright-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2rem;
}
.site-footer hr {
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Specific Page Styles */
/* success.html */
.success-page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-color-light-section);
}
.success-page-container h1 {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 1rem;
}
.success-page-container p {
  font-size: 1.2rem;
  color: var(--text-color-medium);
  margin-bottom: 2rem;
}
.success-page-container .btn {
    min-width: 200px;
}


/* privacy.html, terms.html */
.legal-page-content {
  padding-top: 120px; /* Space for fixed header */
  padding-bottom: var(--section-padding-y);
}
.legal-page-content .container {
    max-width: 800px; /* Constrain width for readability */
}
.legal-page-content h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}
.legal-page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--text-color-dark);
    border-bottom: 2px solid var(--primary-color-light);
    padding-bottom: 0.5rem;
}
.legal-page-content p, .legal-page-content ul li {
    color: var(--text-color-medium);
    line-height: 1.8;
}
.legal-page-content ul {
    list-style-type: disc;
    padding-left: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .hero-section .lead {
    font-size: 1.1rem;
  }
  .site-header .nav-link {
    margin: 0.5rem 0;
    display: block; /* Stack links in mobile menu */
    text-align: center;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0; /* Add some padding for smaller screens */
    min-height: 60vh;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section .lead {
    font-size: 1rem;
  }
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .card-image {
    max-height: 200px;
  }
  .success-page-container h1 {
    font-size: 2.2rem;
  }
  .success-page-container p {
    font-size: 1rem;
  }
  .volumetric-button, .volumetric-button-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Cookie Popup (already styled inline in HTML, this is just for reference/override if needed) */
/*
#cookiePopup {
    // Styles are inline in HTML as per prompt
}
#acceptCookie {
    // Styles are inline in HTML as per prompt
}
*/