/* ===================================
   Alpha-Ecostar Ventures - Style.css
   Pure CSS3 - No Dependencies
   Mobile-First Responsive Design
   =================================== */

/* ========== CSS RESET & VARIABLES ========== */
:root {
  /* Color Scheme */
  --primary: #03487f;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --light-bg: #f8fafc;
  --dark-text: #0f172a;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --white: #ffffff;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Sizing */
  --max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
  height: 100vh;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 4vw, 1.875rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* ========== LAYOUT UTILITIES ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}

/* Flexbox Utilities */
.flex {
  display: flex;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* Grid Utilities */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========== SPACING UTILITIES ========== */
.m-0 { margin: 0; }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

/* ========== BUTTONS & LINKS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
  white-space: nowrap;
  gap: 8px;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.w-full {
  width: 100%;
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #02365f;
  color: var(--white);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-primary:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--gray-600);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  background-color: var(--light-bg);
  color: var(--gray-700);
  border-color: var(--gray-400);
}

.btn-secondary:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--spacing-sm);
}

@media (min-width: 768px) {
  .header-container {
    padding: 1rem var(--spacing-lg);
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo:hover {
  text-decoration: none;
  color: var(--secondary);
}

.logo svg {
  width: 32px;
  height: 32px;
}

/* Desktop Navigation */
nav {
  display: none;
  gap: var(--spacing-lg);
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 var(--spacing-xl);
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

nav a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

nav a.active {
  color: var(--primary);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* CTA Button in Header */
.header-cta {
  display: none;
  gap: var(--spacing-sm);
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--spacing-lg);
  flex-direction: column;
  gap: var(--spacing-md);
  box-shadow: var(--shadow-md);
  z-index: 998;
}

.mobile-nav.active {
  display: flex !important;
}

.mobile-nav a {
  color: var(--secondary);
  font-weight: 600;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--spacing-sm);
}

/* ========== HERO SECTION ========== */
.hero {
  padding: var(--spacing-2xl) var(--spacing-sm);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(30, 41, 59, 0.05) 100%);
  margin-top: 60px;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--spacing-2xl) var(--spacing-lg);
    margin-top: 80px;
  }
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h1 {
  color: var(--secondary);
  margin-bottom: var(--spacing-md);
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========== TRUST BADGES ========== */
.trust-section {
  padding: var(--spacing-xl) var(--spacing-sm);
  background-color: var(--light-bg);
}

@media (min-width: 768px) {
  .trust-section {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
}

.trust-badges {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
}

.trust-badge-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

.trust-badge h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--secondary);
}

.trust-badge p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ========== CARDS & SECTIONS ========== */
section {
  padding: var(--spacing-xl) var(--spacing-sm);
}

@media (min-width: 768px) {
  section {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
}

section > .container {
  max-width: var(--max-width);
}

section h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

section > .container > p:first-of-type {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* Service Cards */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--primary);
}

.service-card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-md);
  color: var(--secondary);
}

.service-card p {
  flex-grow: 1;
  margin-bottom: var(--spacing-lg);
  color: var(--gray-600);
}

.service-card .btn {
  align-self: center;
  margin-top: auto;
}

/* Testimonials Carousel */
.testimonials-carousel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .testimonials-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Testimonial Cards */
.testimonial-card {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: block;
  opacity: 1;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ========== LEAD MAGNET SECTION ========== */
.lead-magnet {
  background: linear-gradient(135deg, var(--primary) 0%, #032d57 100%);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-sm);
}

@media (min-width: 768px) {
  .lead-magnet {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }
}

.lead-magnet h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.lead-magnet p {
  color: var(--white) !important;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}

.lead-magnet .btn-outline {
  color: var(--white);
  border-color: var(--white);
  background-color: transparent;
}

.lead-magnet .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* ========== BLOG PREVIEW ========== */
.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--gray-200);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: var(--spacing-sm);
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--secondary);
}

.blog-card p {
  flex-grow: 1;
  margin-bottom: var(--spacing-md);
  color: var(--gray-600);
  font-size: 0.95rem;
}

.blog-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  margin-top: auto;
}

.blog-card a:hover {
  text-decoration: none;
  color: var(--secondary);
}

/* ========== FORMS ========== */
.form-group,
.contact-form .form-group {
  margin-bottom: var(--spacing-md);
}

label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
  color: var(--secondary);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
  color: var(--gray-400);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: var(--spacing-xs);
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.95rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

input.error,
textarea.error,
select.error {
  border-color: var(--error);
  background-color: rgba(239, 68, 68, 0.05);
}

input.error ~ .form-error,
textarea.error ~ .form-error,
select.error ~ .form-error {
  display: block;
}

.form-success {
  background-color: #d1fae5;
  color: var(--success);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-md);
  display: none;
}

.form-success.show {
  display: block;
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: var(--spacing-2xl) var(--spacing-sm) var(--spacing-lg);
}

@media (min-width: 768px) {
  footer {
    padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg);
  }
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.footer-section p {
  color: var(--white) !important;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-contact-info {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-contact-info-item {
  flex-grow: 1;
}

.footer-contact-info-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: block;
}

.footer-contact-info-value {
  color: rgba(255, 255, 255, 0.95);
  word-break: break-word;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ========== MODAL ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: slideUp 0.3s ease;
  outline: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close Button - Bulletproof & Accessible */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: transparent;
  border: 2px solid transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 4px;
  flex-shrink: 0;
  z-index: 10;
  touch-action: manipulation;
}

.modal-close:hover {
  background-color: var(--light-bg);
  color: var(--primary);
  border-color: var(--primary);
}

.modal-close:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.modal-close:active {
  transform: scale(0.95);
}

.modal h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  padding-right: 50px;
}

.modal p {
  margin-bottom: var(--spacing-md);
}

/* ========== EXIT INTENT MODAL STYLING ========== */
.exit-modal-content {
  max-width: 450px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.exit-modal-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding-top: var(--spacing-md);
}

.exit-modal-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--spacing-md);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.exit-modal-header h2 {
  margin: 0;
  padding-right: 50px;
  color: var(--secondary);
  font-size: 1.75rem;
  line-height: 1.3;
}

.exit-modal-body {
  flex: 1;
  margin-bottom: var(--spacing-lg);
}

.exit-modal-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.exit-modal-body strong {
  color: var(--primary);
  font-weight: 600;
}

.exit-modal-benefits {
  background-color: var(--light-bg);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  margin: var(--spacing-md) 0;
}

.benefit-item {
  padding: 0.5rem 0;
  color: var(--gray-700);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-item:not(:last-child) {
  margin-bottom: 0.5rem;
}

.exit-modal-footer {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: auto;
}

.btn-block {
  width: 100%;
  padding: 0.875rem var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}

/* Mobile responsiveness for exit modal */
@media (max-width: 640px) {
  .exit-modal-content {
    max-width: 95vw;
  }

  .exit-modal-icon {
    font-size: 2.5rem;
  }

  .exit-modal-header h2 {
    font-size: 1.5rem;
  }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  z-index: 1500;
  flex-wrap: wrap;
  display: none;
}

@media (min-width: 768px) {
  .cookie-banner {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}

.cookie-banner.show {
  display: flex;
}

.cookie-text {
  flex-grow: 1;
  min-width: 200px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: var(--accent);
}

.cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: #16a34a;
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ========== FLOATING BUTTON ========== */
.floating-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 999;
  animation: pulse 2s infinite;
  transition: var(--transition);
}

@media (max-width: 640px) {
  .floating-button {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

.floating-button:hover {
  background-color: #16a34a;
  transform: scale(1.1);
  animation: none;
}

.floating-button svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  background-color: var(--light-bg);
  padding: var(--spacing-md) var(--spacing-sm);
  font-size: 0.9rem;
  margin-top: 70px;
}

@media (min-width: 768px) {
  .breadcrumb {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}

.breadcrumb-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb-item {
  color: var(--gray-600);
}

.breadcrumb-item a {
  color: var(--primary);
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--gray-400);
  margin: 0 var(--spacing-xs);
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--gray-600);
}

.text-white {
  color: var(--white);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-white {
  background-color: var(--white);
}

.rounded {
  border-radius: var(--border-radius);
}

.rounded-lg {
  border-radius: var(--border-radius-lg);
}

.shadow {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.h-auto {
  height: auto;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .trust-badges {
    grid-template-columns: 1fr 1fr;
  }

  .footer-divider {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

.slide-in-down {
  animation: slideInDown 0.6s ease-out;
}

/* ========== PRINT STYLES ========== */
@media print {
  header,
  footer,
  .cookie-banner,
  .floating-button,
  .modal {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
