/*
  Theme: Financial Investments in Colombia
  Design System: Brutalism with Hyperrealistic Textures
  Color Scheme: Tetrad
  Animation Style: Parallax
  Fonts: Poppins (headings), Work Sans (body)
*/

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  /* Tetradic Color Scheme */
  --color-primary: #0D5A9C; /* Deep Blue - Main actions, branding */
  --color-secondary: #C73E1B; /* Burnt Orange - Secondary actions, highlights - Adjusted for better contrast/brutalism */
  --color-accent-green: #1A936F; /* Teal Green - Accents, informational elements */
  --color-accent-magenta: #9C1D60; /* Deep Magenta - Contrasting accents, specific highlights - Adjusted */

  /* Neutral Colors */
  --color-text: #222222; /* Main text color on light backgrounds */
  --color-text-light: #FFFFFF; /* Text color on dark backgrounds */
  --color-text-muted: #555555; /* Muted text, subtitles */
  --color-background: #F4F4F4; /* Light, slightly textured default background */
  --color-background-dark: #1A1A1A; /* Dark background for contrast sections */
  --color-border: #000000; /* Brutalist sharp borders */
  --color-border-light: #333333; /* For dark backgrounds if pure black is too harsh */
  --color-card-background: #FFFFFF;
  --color-card-background-dark: #2C2C2C; /* For cards on dark backgrounds */

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

  /* Spacing */
  --spacing-unit: 8px;
  --padding-small: calc(var(--spacing-unit) * 2);  /* 16px */
  --padding-medium: calc(var(--spacing-unit) * 3); /* 24px */
  --padding-large: calc(var(--spacing-unit) * 5);  /* 40px */
  --section-padding: calc(var(--spacing-unit) * 8) 0; /* 64px top/bottom */

  /* Borders & Shadows */
  --border-width: 2px;
  --border-radius-sharp: 0;
  --border-radius-slight: 4px;
  --brutalist-shadow: 4px 4px 0px var(--color-border);
  --brutalist-shadow-secondary: 4px 4px 0px var(--color-secondary);

  /* Transitions */
  --transition-speed: 0.3s;
  --transition-ease: ease-in-out;
}

/*--------------------------------------------------------------
# Base Styles
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevent horizontal scroll from AOS or other effects */
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: var(--padding-medium);
  color: var(--color-text); /* Default heading color */
}

h1 { font-size: 2.8rem; letter-spacing: -1px;} /* ~44.8px */
h2 { font-size: 2.2rem; } /* ~35.2px */
h3 { font-size: 1.6rem; } /* ~25.6px */
h4 { font-size: 1.25rem; } /* ~20px */

p {
  margin-top: 0;
  margin-bottom: var(--padding-small);
}

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

a:hover, a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove bottom space */
  border-style: none; /* Remove border from linked images in IE */
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--padding-medium);
  padding-right: var(--padding-medium);
}

.section-padding {
  padding-top: var(--padding-large);
  padding-bottom: var(--padding-large);
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--padding-large);
  color: var(--color-text); /* Ensure contrast */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--padding-medium);
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.textured-background {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.textured-background .section-title,
.textured-background .section-subtitle,
.textured-background h3,
.textured-background p,
.textured-background label { /* Ensure text on textured dark backgrounds is light */
  color: var(--color-text-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Improve readability */
}

/*--------------------------------------------------------------
# Global Button Styles
--------------------------------------------------------------*/
.btn, button, input[type="submit"], input[type="button"] {
  display: inline-block;
  font-family: var(--font-primary); /* Poppins for buttons */
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: var(--border-width) solid var(--color-border);
  padding: calc(var(--padding-small) - 2px) calc(var(--padding-medium) + 4px); /* Adjusted for chunky feel */
  border-radius: var(--border-radius-sharp);
  transition: all var(--transition-speed) var(--transition-ease);
  box-shadow: var(--brutalist-shadow);
  line-height: 1.5; /* Ensure text is centered vertically */
  min-width: 150px; /* Minimum width for impact */
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover,
.btn:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--brutalist-shadow-offset-x, 4px) + 2px) calc(var(--brutalist-shadow-offset-y, 4px) + 2px) 0px var(--color-border);
  outline: none;
}

.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
  transform: translate(2px, 2px); /* Push effect */
  box-shadow: 1px 1px 0px var(--color-border);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: color-mix(in srgb, var(--color-primary) 85%, black);
  color: var(--color-text-light);
  box-shadow: calc(var(--brutalist-shadow-offset-x, 4px) + 2px) calc(var(--brutalist-shadow-offset-y, 4px) + 2px) 0px var(--color-border);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: color-mix(in srgb, var(--color-secondary) 85%, black);
  color: var(--color-text-light);
  box-shadow: calc(var(--brutalist-shadow-offset-x, 4px) + 2px) calc(var(--brutalist-shadow-offset-y, 4px) + 2px) 0px var(--color-border);
}

.btn-tertiary { /* For less prominent actions, like media links */
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 3px 3px 0px var(--color-primary);
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
  box-shadow: 5px 5px 0px var(--color-primary);
}

/* "Read More" link style */
.read-more-link, .blog-post-card .btn-secondary { /* Ensure blog card buttons are styled */
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent-green);
  border: none;
  padding: 8px 0;
  background: none;
  box-shadow: none;
  display: inline-block; /* to allow margin */
  margin-top: var(--padding-small);
}

.read-more-link:hover, .read-more-link:focus,
.blog-post-card .btn-secondary:hover, .blog-post-card .btn-secondary:focus {
  color: var(--color-secondary);
  text-decoration: underline;
  background: none;
  transform: none;
  box-shadow: none;
}


/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.site-header {
  background-color: rgba(26, 26, 26, 0.9); /* Dark, slightly transparent */
  backdrop-filter: blur(5px); /* Glassmorphism touch */
  padding: var(--padding-small) 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: var(--border-width) solid var(--color-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-decoration: none;
}
.logo:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-navigation li {
  margin-left: var(--padding-medium);
}

.main-navigation a {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-speed) var(--transition-ease);
}

.main-navigation a:hover::after,
.main-navigation a:focus::after,
.main-navigation li.active a::after {
  width: 100%;
}
.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--color-primary);
  text-decoration: none;
}


.burger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010; /* Above mobile nav */
}

.burger-menu span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: all var(--transition-speed) var(--transition-ease);
  border-radius: 2px;
}

/* Burger active state (JS will toggle .active class on .burger-menu or body) */
.burger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-navigation {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 15, 15, 0.98); /* Darker for full screen */
  backdrop-filter: blur(10px);
  z-index: 999;
  padding-top: 80px; /* Space for header */
  text-align: center;
  overflow-y: auto;
}

.mobile-navigation.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-navigation li {
  margin-bottom: var(--padding-medium);
}

.mobile-navigation a {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--color-text-light);
  text-decoration: none;
  padding: var(--padding-small) 0;
  display: block;
  transition: color var(--transition-speed) var(--transition-ease);
}

.mobile-navigation a:hover,
.mobile-navigation a:focus {
  color: var(--color-primary);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  position: relative;
  color: var(--color-text-light); /* Enforced by prompt */
  padding: calc(var(--padding-large) * 2.5) 0; /* More padding for hero */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Simple parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh; /* Ensure it's substantial but not overly fixed */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)); /* Darker overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3.2rem; /* Larger for hero */
  font-weight: 700;
  margin-bottom: var(--padding-medium);
  color: var(--color-text-light); /* Enforced by prompt */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Stronger shadow for hero title */
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--padding-large);
  line-height: 1.8;
  color: var(--color-text-light); /* Enforced by prompt */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-section .btn-primary {
  padding: calc(var(--padding-small)) calc(var(--padding-large)); /* Larger hero button */
  font-size: 1.1rem;
  box-shadow: var(--brutalist-shadow-secondary); /* Use secondary color for shadow here */
  border-color: var(--color-secondary);
}
.hero-section .btn-primary:hover, .hero-section .btn-primary:focus {
    box-shadow: 6px 6px 0px var(--color-secondary);
}
.hero-section .btn-primary:active {
  box-shadow: 1px 1px 0px var(--color-secondary);
}


/*--------------------------------------------------------------
# Generic Card Styles
--------------------------------------------------------------*/
.card {
  background-color: var(--color-card-background);
  border: var(--border-width) solid var(--color-border);
  box-shadow: var(--brutalist-shadow);
  padding: var(--padding-medium);
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  text-align: center; /* Center text within card */
  transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
  height: 100%; /* For equal height cards in a grid */
}

.card:hover {
  transform: translateY(-5px) translateX(-2px);
  box-shadow: calc(var(--brutalist-shadow-offset-x, 4px) + 3px) calc(var(--brutalist-shadow-offset-y, 4px) + 3px) 0px var(--color-border);
}

.card-image { /* Container for the image */
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  overflow: hidden; /* Clip image if it's larger */
  margin-bottom: var(--padding-medium);
  border: var(--border-width) solid var(--color-border); /* Brutalist frame for image */
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop and center image within the container */
  display: block;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes button to bottom if card content varies */
  flex-grow: 1; /* Allows content to take up space and button to align */
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: var(--padding-small);
  color: var(--color-primary); /* Card titles standout */
}
.card-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--padding-medium);
  flex-grow: 1; /* Allows paragraph to expand */
}
.card .btn { /* Ensure buttons in cards are full width or consistently styled */
    margin-top: auto; /* Pushes button to the bottom of the card */
    width: 90%; /* Or specific width if preferred */
}


/*--------------------------------------------------------------
# Our Process Section
--------------------------------------------------------------*/
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--padding-medium);
}
.process-step .card-image { height: 220px; } /* Slightly taller for process steps */
.process-step h3 { color: var(--color-accent-green); }

/*--------------------------------------------------------------
# Statistics Section
--------------------------------------------------------------*/
.statistics-section .section-title,
.statistics-section .section-subtitle {
  color: var(--color-text-light); /* Override for dark background */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--padding-medium);
  text-align: center;
}

.stat-widget {
  background-color: rgba(255, 255, 255, 0.05); /* Subtle glassmorphism on dark bg */
  backdrop-filter: blur(3px);
  padding: var(--padding-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-slight);
}

.stat-value {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary); /* Use primary color for stat values */
  margin-bottom: var(--spacing-unit);
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-unit);
}
.stat-description {
  font-size: 0.9rem;
  color: #DDD; /* Lighter gray for description on dark bg */
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--padding-large); /* Wider gap for project showcase */
}
.project-card .card-image { height: 250px; }
.project-tag {
  display: inline-block;
  background-color: var(--color-accent-magenta);
  color: var(--color-text-light);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--border-radius-slight);
  margin-right: var(--spacing-unit);
  margin-top: var(--spacing-unit);
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--padding-medium);
}
.blog-post-card .card-image { height: 200px; }
.blog-post-card h3 { color: var(--color-secondary); }
.post-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Media Section
--------------------------------------------------------------*/
.media-section { /* Textured background already applied via inline style */
  /* Ensure text contrast */
}
.media-section .section-title,
.media-section .section-subtitle,
.media-section h3 {
  color: var(--color-text-light);
}
.media-section p {
    color: #e0e0e0;
}
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--padding-medium);
}
.media-item.card {
  background-color: rgba(0,0,0,0.3); /* Darker cards for this section */
  border-color: var(--color-border-light);
  box-shadow: 4px 4px 0px var(--color-border-light);
}
.media-item .card-image { height: 180px; border-color: var(--color-border-light); }
.media-item .card-content h3 { color: var(--color-primary); } /* Bright title on dark card */
.media-item .card-content p { color: #ccc; }
.media-item .btn-tertiary {
  color: var(--color-accent-green);
  border-color: var(--color-accent-green);
  box-shadow: 3px 3px 0px var(--color-accent-green);
}
.media-item .btn-tertiary:hover {
  background-color: var(--color-accent-green);
  color: var(--color-text-light);
}

/*--------------------------------------------------------------
# External Resources Section
--------------------------------------------------------------*/
.resources-list {
  display: grid;
  grid-template-columns: 1fr; /* Single column for list items */
  gap: var(--padding-medium);
}
.resource-item.card {
  text-align: left; /* Override card default center align for list items */
  align-items: flex-start;
  padding: var(--padding-medium);
  background-color: #fff; /* Ensure readability */
  border-left: 5px solid var(--color-accent-green); /* Accent border */
  box-shadow: 2px 2px 0px var(--color-border); /* More subtle shadow */
}
.resource-item.card:hover {
    box-shadow: 4px 4px 0px var(--color-border);
}

.resource-title a {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.resource-title a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
.resource-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-unit);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: var(--border-width) solid var(--color-border);
  margin-bottom: var(--padding-small);
  background-color: var(--color-card-background);
}
.faq-question {
  background-color: transparent;
  color: var(--color-text);
  cursor: pointer;
  padding: var(--padding-medium);
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.1rem;
  font-family: var(--font-primary);
  font-weight: 600;
  transition: background-color var(--transition-speed);
  position: relative; /* For a_FOS_arrow */
}
.faq-question::after { /* Simple arrow indicator */
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  position: absolute;
  right: var(--padding-medium);
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-speed);
}
.faq-item.active .faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}
.faq-question:hover {
  background-color: #e9e9e9;
}
.faq-answer {
  padding: 0 var(--padding-medium);
  background-color: var(--color-card-background);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer p {
  padding: var(--padding-medium) 0;
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.faq-item.active .faq-answer {
  /* max-height is set by JS, or a large enough value like 500px */
  /* padding will also be set by JS or when class is active */
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section { /* Textured background applied via inline style */ }

.contact-section .section-title,
.contact-section .section-subtitle {
  color: var(--color-text-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--padding-large);
}

@media (min-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 2fr 1fr; /* Form takes more space */
  }
}

.contact-form-container,
.contact-info-container {
  background-color: rgba(0,0,0,0.4); /* Semi-transparent dark bg for form area */
  padding: var(--padding-large);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius-slight);
}

.form-group {
  margin-bottom: var(--padding-medium);
}

.form-group label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  margin-bottom: var(--spacing-unit);
  color: var(--color-text-light); /* Labels on dark bg */
  font-size: 0.9rem;
  text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: var(--padding-small);
  border: var(--border-width) solid var(--color-border);
  background-color: var(--color-background); /* Light input background */
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: 1rem;
  border-radius: var(--border-radius-sharp);
  transition: border-color var(--transition-speed);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-container .btn-submit {
  width: 100%;
  padding-top: var(--padding-small);
  padding-bottom: var(--padding-small);
}

.contact-info-container h3 {
  color: var(--color-primary); /* Standout title */
  margin-bottom: var(--padding-medium);
}
.contact-info-container p {
  color: #DDD; /* Light text for info */
  margin-bottom: var(--padding-small);
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.contact-info-container p img {
  margin-right: var(--spacing-unit);
  filter: brightness(0) invert(1); /* Make icons white if they are dark */
}
.contact-map img {
  border: var(--border-width) solid var(--color-border-light);
  margin-top: var(--padding-medium);
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  background-color: var(--color-background-dark);
  color: #A0A0A0; /* Light gray for footer text */
  padding-top: var(--padding-large);
  border-top: var(--border-width) solid var(--color-border);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--padding-medium);
  padding-bottom: var(--padding-large);
}

.footer-logo .logo {
  color: var(--color-text-light);
  margin-bottom: var(--padding-small);
  display: inline-block;
}
.footer-logo p {
  font-size: 0.9rem;
}

.site-footer h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: var(--padding-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: var(--spacing-unit);
}

.site-footer a {
  color: #A0A0A0;
  text-decoration: none;
  font-size: 0.9rem;
}
.site-footer a:hover, .site-footer a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-social a {
  /* Text-based links are styled like other footer links by default */
  /* If specific styling for social links: */
  font-weight: 500;
}


.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: var(--spacing-unit);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-light);
  padding: var(--padding-medium) 0;
  text-align: center;
  font-size: 0.85rem;
}

/*--------------------------------------------------------------
# Specific Page Styles (success.html, privacy.html, terms.html)
--------------------------------------------------------------*/
/* For content on pages like privacy.html, terms.html to not overlap with fixed header */
.page-content-padding {
  padding-top: 120px; /* Header height + some buffer */
  padding-bottom: var(--padding-large);
}
.page-content-padding .container h1{
    margin-bottom: var(--padding-large);
}
.page-content-padding .container p,
.page-content-padding .container ul,
.page-content-padding .container ol {
    margin-bottom: var(--padding-medium);
    line-height: 1.8;
}
.page-content-padding .container ul,
.page-content-padding .container ol {
    padding-left: 20px;
}


/* success.html specific styling */
.success-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--padding-medium);
  background-color: var(--color-background); /* Or a specific success page background */
}

.success-content {
  background-color: var(--color-card-background);
  padding: var(--padding-large);
  border: var(--border-width) solid var(--color-border);
  box-shadow: var(--brutalist-shadow);
  max-width: 600px;
}
.success-content h1 {
  color: var(--color-accent-green);
  font-size: 2.5rem;
}
.success-content p {
  font-size: 1.1rem;
  margin-bottom: var(--padding-large);
}
.success-content .btn {
  margin-top: var(--padding-medium);
}


/*--------------------------------------------------------------
# Cookie Popup
--------------------------------------------------------------*/
/* Styles for #cookiePopup are inlined in HTML as per prompt, but can be moved here */
/* Example:
#cookiePopup {
  display: none; // Controlled by JS
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.9);
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
#cookiePopup p { margin: 0 0 15px 0; font-size: 14px; }
#acceptCookie {
  background: var(--color-accent-green); // Use theme color
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
}
*/

/*--------------------------------------------------------------
# AOS Animations (Ensure they don't cause layout shifts)
--------------------------------------------------------------*/
[data-aos] {
  /* Default AOS styles are good, just ensure no premature visibility issues */
  /* opacity: 0; */ /* AOS handles this */
}


/*--------------------------------------------------------------
# Media Queries for Responsiveness
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .main-navigation {
    display: none; /* Hide desktop nav */
  }
  .burger-menu {
    display: block; /* Show burger */
  }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }

  .process-grid, .stats-grid, .projects-gallery, .blog-grid, .media-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust minmax for smaller screens */
  }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-section { padding: calc(var(--padding-large) * 1.5) 0; }
  .section-padding {
    padding-top: calc(var(--padding-large) - var(--spacing-unit));
    padding-bottom: calc(var(--padding-large) - var(--spacing-unit));
  }
  .section-title { margin-bottom: var(--padding-medium); }
  .footer-container {
    grid-template-columns: 1fr; /* Stack footer columns */
    text-align: center;
  }
  .footer-container > div {
    margin-bottom: var(--padding-medium);
  }
  .contact-wrapper {
    grid-template-columns: 1fr; /* Stack form and info */
  }
  .contact-form-container, .contact-info-container {
    padding: var(--padding-medium);
  }
}

@media (max-width: 480px) {
  html { font-size: 15px; } /* Slightly smaller base font */
  .container { width: 95%; padding-left: var(--padding-small); padding-right: var(--padding-small); }
  .hero-title { font-size: 1.8rem; }
  .btn, button, input[type="submit"], input[type="button"] {
    padding: calc(var(--padding-small) - 4px) var(--padding-medium);
    font-size: 0.9rem;
    min-width: 120px;
  }
  .card { padding: var(--padding-small); }
  .card-image { height: 160px; }
}