/* style.css */

/*--------------------------------------------------------------
# Root Variables & Global Styles
--------------------------------------------------------------*/
:root {
  --primary-color: #007bff; /* Vibrant Blue */
  --primary-color-darker: #0056b3;
  --secondary-color: #ffc107; /* Amber/Yellow - for pop */
  --secondary-color-darker: #d39e00;
  --accent-color: #17a2b8; /* Teal */
  --accent-color-darker: #107585;

  --text-dark: #212529; /* Very Dark Grey - for main text on light backgrounds */
  --text-dark-secondary: #495057; /* Slightly lighter dark grey */
  --text-light: #ffffff; /* White */
  --text-light-secondary: #f8f9fa; /* Off-white */
  --text-muted: #6c757d; /* Muted Grey */

  --bg-light: #f8f9fa; /* Light Grey - for light sections */
  --bg-white: #ffffff;
  --bg-dark: #343a40; /* Dark Grey - for dark sections or footer */
  --bg-neutral-texture: url('image/subtle-neutral-texture.jpg'); /* Placeholder for hyperrealistic texture */

  --border-color: #dee2e6;
  --border-radius: 0.375rem; /* 6px */
  --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  --box-shadow-light: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --transition-speed: 0.3s;
  --cubic-bezier-ease: cubic-bezier(0.25, 0.1, 0.25, 1); /* Non-linear */

  --header-height: 80px;
  --container-padding: 15px;
}

/* Global Resets and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden; /* Prevent horizontal scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
  overflow: hidden; /* Contains floats and margins */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark); /* Default heading color */
  margin-bottom: 0.75em;
  line-height: 1.3;
}

.section-title {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #222222; /* Darker for contrast */
  position: relative;
  padding-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 0.5rem auto 0;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark-secondary);
  margin-bottom: 2rem;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block; /* Removes bottom space */
}

/* Container and Grid System (Simplified) */
.container {
  width: 100%;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(-1 * var(--container-padding));
  margin-left: calc(-1 * var(--container-padding));
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

/* Mobile first: columns are 100% width by default */
@media (min-width: 768px) { /* md breakpoint */
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}
@media (min-width: 992px) { /* lg breakpoint */
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
@media (min-width: 768px) { .text-md-start { text-align: left !important; } }


/* Utility Classes */
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.rounded { border-radius: var(--border-radius) !important; }
.img-fluid { max-width: 100%; height: auto; }
.bg-light { background-color: var(--bg-light) !important; }


/*--------------------------------------------------------------
# Global Button Styles
--------------------------------------------------------------*/
.btn, button, input[type="submit"], input[type="button"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 2px solid transparent;
  padding: 0.65rem 1.5rem; /* Adjusted padding */
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) var(--cubic-bezier-ease);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none; /* Ensure no underline for button-styled links */
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  text-decoration: none; /* Ensure no underline on hover */
}

.btn-primary {
  color: var(--text-light);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  color: var(--text-light);
  background-color: var(--primary-color-darker);
  border-color: var(--primary-color-darker);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
  color: var(--text-light);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-secondary:hover {
  color: var(--text-light);
  background-color: var(--accent-color-darker);
  border-color: var(--accent-color-darker);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary:hover {
  color: var(--text-light);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-link {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  padding: 0;
  border: none;
  background: none;
}
.btn-link:hover {
  color: var(--primary-color-darker);
  text-decoration: underline;
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.15rem;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.site-header {
  background-color: var(--bg-white);
  padding: 0;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow-light);
  transition: height var(--transition-speed) var(--cubic-bezier-ease);
}

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

.logo a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}
.logo a span { color: var(--primary-color); }

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

.main-navigation .nav-list li {
  margin-left: 25px;
}

.main-navigation .nav-list a {
  font-family: var(--font-heading);
  color: var(--text-dark-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color var(--transition-speed) var(--cubic-bezier-ease);
}

.main-navigation .nav-list a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  visibility: hidden;
  transform: scaleX(0);
  transition: all var(--transition-speed) var(--cubic-bezier-ease) 0s;
}

.main-navigation .nav-list a:hover,
.main-navigation .nav-list .active a { /* Assuming an 'active' class for current page */
  color: var(--primary-color);
}
.main-navigation .nav-list a:hover::before,
.main-navigation .nav-list .active a::before {
  visibility: visible;
  transform: scaleX(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001; /* Above nav list */
}

.hamburger {
  display: block;
  position: relative;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  transition: background-color var(--transition-speed) var(--cubic-bezier-ease);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: transform var(--transition-speed) var(--cubic-bezier-ease);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Active state for hamburger */
.menu-toggle.active .hamburger { background-color: transparent; }
.menu-toggle.active .hamburger::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .hamburger::after { transform: translateY(-8px) rotate(-45deg); }

/* Adjust main content for fixed header */
main {
  padding-top: var(--header-height);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  position: relative;
  color: var(--text-light); /* Ensured white text */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* background-attachment: fixed; /* Simple parallax */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height)); /* Full viewport height minus header */
  padding: 4rem var(--container-padding);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)); /* Darker overlay */
  z-index: 1;
}

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

.hero-content h1 {
  font-size: 3.5rem; /* 56px */
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light); /* Ensured white text */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 2rem;
  color: var(--text-light-secondary); /* Ensured light text */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-content .btn-primary {
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
}

/*--------------------------------------------------------------
# Sections General Styling
--------------------------------------------------------------*/
section {
  overflow: hidden; /* For AOS animations */
}

/*--------------------------------------------------------------
# Card Styles (Generic)
--------------------------------------------------------------*/
.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  transition: transform var(--transition-speed) var(--cubic-bezier-ease), box-shadow var(--transition-speed) var(--cubic-bezier-ease);
  display: flex;
  flex-direction: column;
  height: 100%; /* For equal height cards in a row */
  /* align-items: center; This was causing issues with card-content text alignment */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.card-image {
  width: 100%;
  height: 220px; /* Fixed height for card images */
  overflow: hidden;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  margin: 0 auto; /* Center block element */
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area, might crop */
  display: block;
}

.card-content {
  padding: 1.5rem;
  text-align: center; /* Center text content */
  flex-grow: 1; /* Allows card content to expand and push footer items down */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes button to bottom if present */
}

.card-title {
  font-size: 1.4rem; /* 22.4px */
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card-text, .card p {
  color: var(--text-dark-secondary);
  font-size: 0.95rem; /* 15.2px */
  margin-bottom: 1rem;
  flex-grow: 1; /* Make text take available space */
}
.card .btn, .card-content .btn {
  margin-top: auto; /* Push button to the bottom of card-content */
}

/* Specific Card types for different sections */
.innovation-card .card-title { color: var(--primary-color); }
.event-card .event-date { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin: 1rem 0; }
.pricing-card .price-period { font-size: 1rem; color: var(--text-muted); }
.pricing-card ul li { margin-bottom: 0.5rem; }
.pricing-card.popular { border: 2px solid var(--primary-color); position: relative; }
.pricing-card.popular .card-header { background-color: var(--primary-color); color: var(--text-light); }
.pricing-card.popular .badge { position: absolute; top: -15px; right: 15px; background-color: var(--secondary-color) !important; color: var(--text-dark); }
.case-study-card .card-content small { display: block; margin-top: 1rem; color: var(--text-muted); }
.resource-card .card-title a { color: var(--primary-color); font-size: 1.2rem;}
.resource-card .card-title a:hover { color: var(--primary-color-darker); }


/*--------------------------------------------------------------
# Statistics Section
--------------------------------------------------------------*/
#statistics {
  background-color: var(--bg-light);
  /* background-image: var(--bg-neutral-texture); For hyperrealistic texture */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 0;
}
.stat-item {
  text-align: center;
  padding: 1rem;
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1rem;
  color: var(--text-dark-secondary);
}

/*--------------------------------------------------------------
# Community Section
--------------------------------------------------------------*/
.community-gallery-img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  transition: transform var(--transition-speed) var(--cubic-bezier-ease), box-shadow var(--transition-speed) var(--cubic-bezier-ease);
  width: 100%; /* Ensure full width within column */
  height: 250px; /* Fixed height */
  object-fit: cover;
}
.community-gallery-img:hover {
  transform: scale(1.05);
  box-shadow: var(--box-shadow);
}


/*--------------------------------------------------------------
# Pricing Section - Toggle Switch
--------------------------------------------------------------*/
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  vertical-align: middle;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition-speed);
}
.slider-toggle:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-speed);
}
input:checked + .slider-toggle {
  background-color: var(--primary-color);
}
input:focus + .slider-toggle {
  box-shadow: 0 0 1px var(--primary-color);
}
input:checked + .slider-toggle:before {
  transform: translateX(26px);
}
.slider-toggle.round {
  border-radius: 34px;
}
.slider-toggle.round:before {
  border-radius: 50%;
}
.pricing-toggle-label {
  font-weight: 500;
  color: var(--text-dark);
}

/*--------------------------------------------------------------
# FAQ Section - Accordion
--------------------------------------------------------------*/
.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius);
}
.accordion-item:first-of-type { border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); }
.accordion-item:last-of-type { margin-bottom: 0; border-bottom-left-radius: var(--border-radius); border-bottom-right-radius: var(--border-radius); }

.accordion-header { margin-bottom: 0; }

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-align: left;
  background-color: var(--bg-white);
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color var(--transition-speed) ease-in-out, background-color var(--transition-speed) ease-in-out, border-color var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out, border-radius var(--transition-speed) ease;
  font-family: var(--font-heading);
  font-weight: 500;
}
.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: #e7f1ff; /* Lighter primary color */
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.accordion-button.collapsed { border-radius: var(--border-radius); } /* Ensure radius when collapsed */
.accordion-item:first-of-type .accordion-button.collapsed { border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); }


.accordion-button::after { /* Custom icon */
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%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");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out;
}
.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='%230c63e4'%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");
  transform: rotate(-180deg);
}
.accordion-button:focus {
  z-index: 3;
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, .25);
}
.accordion-collapse.collapse { display: none; }
.accordion-collapse.collapse.show { display: block; }
.accordion-body {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  background-color: var(--bg-white);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}
.accordion-body strong { color: var(--text-dark); }

/*--------------------------------------------------------------
# Contact Form Section
--------------------------------------------------------------*/
#contact-form-section {
  background-color: var(--bg-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
#contact-form-section::before { /* Overlay for background image if any */
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: rgba(248, 249, 250, 0.85); /* Light overlay if bg image is dark */
    z-index: 0;
}
#contact-form-section .container {
    position: relative;
    z-index: 1;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark-secondary);
  background-color: var(--bg-white);
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  appearance: none; /* For select */
  border-radius: var(--border-radius);
  transition: border-color var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out;
}
.form-control:focus {
  color: var(--text-dark-secondary);
  background-color: var(--bg-white);
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, .25);
}
.form-control::placeholder {
  color: #adb5bd;
  opacity: 1;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light-secondary);
  padding: 3rem 0;
  font-size: 0.9rem;
}
.site-footer .footer-title {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 500;
}
.site-footer p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.site-footer .footer-links li {
  margin-bottom: 0.5rem;
}
.site-footer .footer-links a,
.site-footer .footer-social-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-speed) var(--cubic-bezier-ease);
}
.site-footer .footer-links a:hover,
.site-footer .footer-social-links a:hover {
  color: var(--text-light);
  text-decoration: underline;
}
.site-footer .footer-social-links li {
  margin-bottom: 0.5rem; /* For text links */
}

/*--------------------------------------------------------------
# Specific Page Styles (Privacy, Terms, Success)
--------------------------------------------------------------*/
.content-page main { /* For privacy.html, terms.html */
  padding-top: calc(var(--header-height) + 2rem); /* Header height + extra space */
  padding-bottom: 3rem;
}
.content-page .container h1 { /* Main title on these pages */
    margin-bottom: 2rem;
    font-size: 2.5rem;
}
.content-page .container h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Success page styling */
body.success-page-body { /* Add this class to body tag of success.html */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--bg-light);
    padding: 2rem;
}
.success-page-body h1 {
    color: var(--primary-color);
    font-size: 3rem;
}
.success-page-body p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 991.98px) { /* Medium devices and down */
  .section-title { font-size: 2.2rem; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-content p { font-size: 1.1rem; }

  .pricing-card .price { font-size: 2rem; }
}

@media (max-width: 767.98px) { /* Small devices (tablets and large phones, 768px and down) */
  .site-header { height: auto; min-height: 60px; } /* Adjust header height for mobile */
  .header-container { flex-direction: row; align-items: center; padding: 10px var(--container-padding); }
  .logo a { font-size: 1.5rem; }
  
  .menu-toggle { display: block; } /* Show hamburger */

  .main-navigation .nav-list {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
  }
  .main-navigation .nav-list.active {
    display: flex; /* Show when active */
  }
  .main-navigation .nav-list li {
    margin-left: 0;
    width: 100%;
  }
  .main-navigation .nav-list a {
    display: block;
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }
  .main-navigation .nav-list li:last-child a { border-bottom: none; }
  .main-navigation .nav-list a::before { display: none; } /* Hide underline effect on mobile dropdown */
  
  main { padding-top: 60px; } /* Adjust main content padding for smaller header */
  .content-page main { padding-top: calc(60px + 1.5rem); }


  .hero-section { min-height: auto; padding: 3rem var(--container-padding); }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }

  .section-title { font-size: 1.8rem; }
  .lead { font-size: 1rem; }

  .py-5 { padding-top: 2.5rem; padding-bottom: 2.5rem; }

  /* Ensure cards stack nicely */
  .row > [class*="col-"] {
    margin-bottom: 1.5rem; /* Add space between stacked cards */
  }
  .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
  .card-image { height: 200px; } /* Adjust card image height if needed */
}

/* Background with fixed attachment parallax effect (can be jittery on mobile) */
/*
.parallax-bg {
  background-attachment: fixed;
}
@media (max-width: 767px) {
  .parallax-bg {
    background-attachment: scroll; // Disable fixed attachment on mobile for performance
  }
}
*/

/* AOS Overrides if needed */
[data-aos] {
  /* Custom default AOS settings if needed */
}