/*
=================================================================
TECHOMES MAIN STYLESHEET
Modern CSS Architecture for Frontend Redesign
=================================================================
Author: AI Development Team
Date: August 14, 2025
Version: 1.0
=================================================================
*/

/* =================================================================
   CSS CUSTOM PROPERTIES (CSS Variables)
================================================================= */
:root {
  /* Brand Colors */
  --primary-green: #00923F;
  --primary-white: #FFFFFF;
  --primary-black: #000000;
  
  /* Supporting Colors */
  --gray-50: #F8F9FA;
  --gray-100: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #6C757D;
  --gray-700: #495057;
  --gray-900: #212529;
  
  /* Semantic Colors */
  --success: #28A745;
  --warning: #FFC107;
  --danger: #DC3545;
  --info: #17A2B8;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Font Sizes */
  --fs-xs: 0.75rem;      /* 12px */
  --fs-sm: 0.875rem;     /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-lg: 1.125rem;     /* 18px */
  --fs-xl: 1.25rem;      /* 20px */
  --fs-2xl: 1.5rem;      /* 24px */
  --fs-3xl: 1.875rem;    /* 30px */
  --fs-4xl: 2.25rem;     /* 36px */
  --fs-5xl: 3rem;        /* 48px */
  --fs-6xl: 3.75rem;     /* 60px */
  
  /* Line Heights */
  --lh-tight: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.625;
  --lh-loose: 2;
  
  /* Spacing Scale */
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.25rem;    /* 20px */
  --space-6: 1.5rem;     /* 24px */
  --space-8: 2rem;       /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* Container Max Widths - Standard Bootstrap values */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-xxl: 1320px;
}

/* =================================================================
   RESET & BASE STYLES
================================================================= */

/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--font-regular);
  line-height: var(--lh-normal);
  color: var(--gray-900);
  background-color: var(--primary-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove default button styling */
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* Remove default list styling */
ul,
ol {
  list-style: none;
}

/* Remove default link styling */
a {
  color: inherit;
  text-decoration: none;
}

/* Improve media defaults */
img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Remove default form styling */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* =================================================================
   TYPOGRAPHY SYSTEM
================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: var(--font-bold);
  line-height: var(--lh-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--fs-5xl);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-5);
}

h3 {
  font-size: var(--fs-3xl);
}

h4 {
  font-size: var(--fs-2xl);
}

h5 {
  font-size: var(--fs-xl);
}

h6 {
  font-size: var(--fs-lg);
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--lh-relaxed);
}

.lead {
  font-size: var(--fs-lg);
  font-weight: var(--font-regular);
  line-height: var(--lh-relaxed);
  color: var(--gray-700);
}

.text-small {
  font-size: var(--fs-sm);
}

.text-large {
  font-size: var(--fs-lg);
}

/* =================================================================
   LAYOUT SYSTEM
================================================================= */

.container {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--space-3) !important;
  padding-right: var(--space-3) !important;
  box-sizing: border-box !important;
}

@media (min-width: 576px) {
  .container {
    max-width: var(--container-sm) !important;
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md) !important;
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: var(--container-lg) !important;
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container-xl) !important;
    padding-left: var(--space-5) !important;
    padding-right: var(--space-5) !important;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: var(--container-xxl) !important;
    padding-left: var(--space-5) !important;
    padding-right: var(--space-5) !important;
  }
}

/* Fluid container */
.container-fluid {
  width: 100%;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

/* Section spacing */
.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (max-width: 767px) {
  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

/* =================================================================
   GRID SYSTEM
================================================================= */

.row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: calc(var(--space-2) * -1) !important;
  margin-right: calc(var(--space-2) * -1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.col {
  flex: 1 0 0% !important;
  padding-left: var(--space-2) !important;
  padding-right: var(--space-2) !important;
  min-height: 1px !important;
  box-sizing: border-box !important;
}

/* Column widths - Enforced with !important and reduced padding */
.col-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-3 { flex: 0 0 25% !important; max-width: 25% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-6 { flex: 0 0 50% !important; max-width: 50% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-9 { flex: 0 0 75% !important; max-width: 75% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }
.col-12 { flex: 0 0 100% !important; max-width: 100% !important; padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; box-sizing: border-box !important; }

/* Responsive column classes */
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
  .col-md-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
  .col-md-3 { flex: 0 0 25% !important; max-width: 25% !important; }
  .col-md-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
  .col-md-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; }
  .col-md-6 { flex: 0 0 50% !important; max-width: 50% !important; }
  .col-md-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; }
  .col-md-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; }
  .col-md-9 { flex: 0 0 75% !important; max-width: 75% !important; }
  .col-md-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; }
  .col-md-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
  .col-md-12 { flex: 0 0 100% !important; max-width: 100% !important; }
}

@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
  .col-lg-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
  .col-lg-3 { flex: 0 0 25% !important; max-width: 25% !important; }
  .col-lg-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
  .col-lg-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; }
  .col-lg-6 { flex: 0 0 50% !important; max-width: 50% !important; }
  .col-lg-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; }
  .col-lg-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; }
  .col-lg-9 { flex: 0 0 75% !important; max-width: 75% !important; }
  .col-lg-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; }
  .col-lg-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
  .col-lg-12 { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* Responsive columns - Enforced with !important */
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-3 { flex: 0 0 25% !important; max-width: 25% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-6 { flex: 0 0 50% !important; max-width: 50% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-9 { flex: 0 0 75% !important; max-width: 75% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-md-12 { flex: 0 0 100% !important; max-width: 100% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
}

@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-3 { flex: 0 0 25% !important; max-width: 25% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-6 { flex: 0 0 50% !important; max-width: 50% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-9 { flex: 0 0 75% !important; max-width: 75% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
  .col-lg-12 { flex: 0 0 100% !important; max-width: 100% !important; padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; box-sizing: border-box !important; }
}

/* =================================================================
   NAVIGATION SYSTEM
================================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: var(--primary-white);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  min-height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: var(--fs-xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  text-decoration: none;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  margin-right: var(--space-3);
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  font-weight: var(--font-medium);
  color: var(--gray-700);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--primary-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  padding: var(--space-2);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--gray-700);
  border-radius: var(--radius-base);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--gray-50);
  color: var(--primary-green);
}

/* Mobile menu toggle */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: var(--space-1);
}

@media (min-width: 992px) {
  .navbar-toggle {
    display: none;
  }
}

.navbar-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--gray-900);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  margin-bottom: 4px;
}

.navbar-toggle span:last-child {
  margin-bottom: 0;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--primary-white);
  border-bottom: 1px solid var(--gray-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all var(--transition-base);
  z-index: var(--z-fixed);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  padding: var(--space-4);
}

.mobile-nav-item {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4) 0;
  font-weight: var(--font-medium);
  color: var(--gray-700);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary-green);
}

/* =================================================================
   FOOTER SYSTEM
================================================================= */

.footer {
  background-color: var(--gray-900);
  color: var(--primary-white);
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
}

/* Footer Logo Styling */
.footer .navbar-brand {
  height: 80px;
  overflow: visible;
  display: flex;
  align-items: center;
}

.footer .navbar-brand img {
  height: 170px;
  width: auto;
  position: relative;
  z-index: 10;
}

.footer-content {
  margin-bottom: var(--space-12);
}

.footer-section {
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer-section {
    margin-bottom: 0;
  }
}

.footer-title {
  font-size: var(--fs-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-4);
  color: var(--primary-white);
}

.footer-link {
  display: block;
  color: var(--gray-300);
  margin-bottom: var(--space-2);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--gray-500);
  font-size: var(--fs-sm);
}

@media (min-width: 768px) {
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .footer-social {
    margin-top: 0;
  }
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-700);
  color: var(--primary-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-green);
  transform: translateY(-2px);
}

/* =================================================================
   RESPONSIVE UTILITIES
================================================================= */

/* Display utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-inline-block { display: inline-block !important; }
}

/* Text alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

@media (min-width: 768px) {
  .text-md-left { text-align: left !important; }
  .text-md-center { text-align: center !important; }
  .text-md-right { text-align: right !important; }
}

@media (min-width: 992px) {
  .text-lg-left { text-align: left !important; }
  .text-lg-center { text-align: center !important; }
  .text-lg-right { text-align: right !important; }
}

/* =================================================================
   ACCESSIBILITY HELPERS
================================================================= */

/* Screen reader only */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-green);
  color: var(--primary-white);
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-base);
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =================================================================
   PRINT STYLES
================================================================= */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .navbar {
    display: none;
  }
}

/* =================================================================
   HERO SECTION DECORATIONS
================================================================= */
.hero__decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero__decoration:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-green), #4CAF50);
    animation-delay: 0s;
}

.hero__decoration:nth-child(2) {
    top: 20%;
    right: 8%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), #81C784);
    animation-delay: 2s;
}

.hero__decoration:nth-child(3) {
    bottom: 20%;
    left: 8%;
    width: 50px;
    height: 50px;
    background: linear-gradient(225deg, var(--primary-green), #66BB6A);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Hero content improvements */
.hero__content {
    position: relative;
    z-index: 2;
}
