/* 
   Main Stylesheet for How to Fund Travel
   Author: Melissa
   Description: Modern, clean styling for a travel lifestyle brand
*/

/* Favicon - Applied to all pages */
@import url('data:text/css;base64,LyogRmF2aWNvbiBMaW5rcyAqLw==');

/* 
   CSS Variables for consistent theming
   Based on the fresh, modern, clean brand colors
*/
:root {
  /* Primary Colors */
  --primary-color: #3BAEA0; /* Teal/Turquoise - main brand color */
  --primary-dark: #2A9D8F; /* Darker teal for hover states */
  --primary-light: #8ED1C9; /* Lighter teal for backgrounds */
  
  /* Secondary Colors */
  --secondary-color: #F9C74F; /* Warm yellow/gold - accent color */
  --secondary-dark: #F4A261; /* Orange - for highlights */
  
  /* Neutral Colors */
  --dark: #264653; /* Deep blue - for text */
  --medium: #547B8E; /* Medium blue-gray - for secondary text */
  --light: #F8F9FA; /* Off-white - for backgrounds */
  --white: #FFFFFF; /* Pure white */
  
  /* Functional Colors */
  --success: #2A9D8F;
  --warning: #F9C74F;
  --error: #E76F51;
  --info: #4A8DB7;
  
  /* Additional Colors for Blog */
  --border-color: #E5E7EB;
  --text-color: var(--dark);
  --secondary-light: #FEF3C7;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-xxl: 3rem;    /* 48px */
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* 
   Reset & Base Styles 
   Lightweight reset to ensure cross-browser consistency
*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

img, 
picture,
video {
  max-width: 100%;
  display: block;
  height: auto;
}

input, 
button, 
textarea, 
select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-md);
}

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

a:hover,
a:focus {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: var(--space-md) 0 var(--space-xl);
}

.highlight {
  color: var(--primary-color);
}

/* Animation Utilities */
.animate-fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease-in-out;
}

/* Header scroll behavior */
.site-header.header-hidden {
  transform: translateY(-100%);
  visibility: visible; /* Keep visible for screen readers */
}

.site-header.header-visible {
  transform: translateY(0);
  visibility: visible;
}

/* Ensure header is always visible when mobile menu is open */
body.nav-open .site-header {
  transform: translateY(0) !important;
}

/* Smooth transition for header visibility */
.site-header {
  will-change: transform;
  backface-visibility: hidden; /* Improve performance */
  -webkit-backface-visibility: hidden;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.logo {
  display: block;
  width: 150px;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
  justify-content: center;
}

.nav-links li:not(.cta-button) a {
  color: var(--dark);
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  position: relative;
  font-size: 0.95rem;
}

.nav-links li:not(.cta-button) a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-links li:not(.cta-button) a:hover,
.nav-links li:not(.cta-button) a:focus {
  color: var(--primary-color);
}

.nav-links li:not(.cta-button) a:hover::after,
.nav-links li:not(.cta-button) a:focus::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 280px;
  padding: var(--space-xs) var(--space-md) var(--space-xs) 2.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 25px;
  background-color: #f8f9fa;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 174, 160, 0.1);
}

.search-input::placeholder {
  color: #6c757d;
}

.search-icon {
  position: absolute;
  left: var(--space-sm);
  color: #6c757d;
  pointer-events: none;
}

.subscribe-btn {
  padding: var(--space-xs) var(--space-lg);
  font-size: 0.9rem;
  border-radius: 25px;
  font-weight: 600;
  white-space: nowrap;
}

/* CTA Button in Navigation */
.cta-button {
  margin-left: var(--space-sm);
}

.cta-button .btn {
  padding: var(--space-xs) var(--space-lg);
  font-size: 0.9rem;
  border-radius: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(59, 174, 160, 0.3);
  transition: all var(--transition-normal);
}

.cta-button .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 174, 160, 0.4);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark);
  position: absolute;
  transition: all var(--transition-normal);
}

.hamburger {
  top: 14px;
}

.hamburger::before {
  content: '';
  top: -8px;
}

.hamburger::after {
  content: '';
  top: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0;
    background: url('../images/ocean-shores-transparency.png') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--dark);
    margin-bottom: 0; /* Removed margin to eliminate gap */
}

/* Remove the dark overlay */
/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
} */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    /* Remove card styling */
    /* background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    color: var(--dark);
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Booking page specific styles */
.booking-section {
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-info {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.booking-info h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.booking-info ul {
    list-style: none;
    padding: 0;
}

.booking-info li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.booking-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.booking-calendar {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.booking-calendar h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* FAQ section styles */
.faq-section {
    padding: 4rem 0;
    background: var(--light);
    margin-bottom: 0;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--medium);
    line-height: 1.6;
}

/* CTA section styles */
.cta-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Responsive design for booking page */
@media (max-width: 768px) {
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-info,
    .booking-calendar {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

.hero-badge svg {
  color: var(--primary-color);
}

.hero-new-title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.highlight-text {
  color: var(--primary-color);
  position: relative;
}

.hero-new-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--medium);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  font-size: 1.5rem;
}

.stat-text {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
  line-height: 1.2;
}

.hero-new-cta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.cta-primary svg {
  transition: transform var(--transition-fast);
}

.cta-primary:hover svg {
  transform: translateX(2px);
}

.cta-secondary {
  color: var(--dark);
  border-color: var(--dark);
}

.cta-secondary:hover {
  background-color: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* Story Section */
.story-section {
  padding: var(--space-xxl) 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xxl);
  align-items: center;
}

.story-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.story-text {
  max-width: 700px;
}

.story-text p {
  margin-bottom: var(--space-md);
}

.story-text strong {
  color: var(--primary-dark);
}

/* Featured Categories */
.featured-categories {
  padding: var(--space-xxl) 0;
  background-color: var(--light);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.section-intro p {
  font-size: 1.125rem;
  color: var(--medium);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.category-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.category-icon {
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.category-card p {
  color: var(--medium);
  margin-bottom: var(--space-lg);
}

.card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.card-link span {
  margin-left: var(--space-xs);
  transition: transform var(--transition-fast);
}

.card-link:hover span {
  transform: translateX(4px);
}

/* Featured Posts */
.featured-posts {
  padding: var(--space-xxl) 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.post-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.post-image {
  display: block;
  height: 220px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-category {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin: var(--space-md);
}

.post-title {
  padding: 0 var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.post-title a {
  color: var(--dark);
}

.post-title a:hover {
  color: var(--primary-color);
}

.post-excerpt {
  padding: 0 var(--space-md);
  color: var(--medium);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.post-meta {
  display: flex;
  padding: var(--space-md);
  color: var(--medium);
  font-size: 0.875rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  justify-content: space-between;
}

.section-footer {
  margin-top: var(--space-xl);
  text-align: center;
}

/* Newsletter Section */
.newsletter-section {
  padding: var(--space-xxl) 0;
  background-color: var(--primary-light);
  position: relative;
}

.newsletter-section .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xxl);
  align-items: center;
}

.newsletter-content {
  max-width: 600px;
}

.newsletter-tagline {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  margin-top: var(--space-xl);
}

.form-group {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form-input {
  flex: 1;
  min-width: 0;
  padding: var(--space-md);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
  color: var(--dark);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 174, 160, 0.1);
}

.form-input::placeholder {
  color: var(--medium);
  opacity: 0.8;
}

.form-privacy {
  color: var(--medium);
  margin-top: var(--space-sm);
  font-size: 0.875rem;
}

.form-privacy a {
  color: var(--primary-color);
  text-decoration: none;
}

.form-privacy a:hover {
  text-decoration: underline;
}

.form-message {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--success);
  border: 1px solid rgba(42, 157, 143, 0.2);
}

.form-message.error {
  background-color: rgba(231, 111, 81, 0.1);
  color: var(--error);
  border: 1px solid rgba(231, 111, 81, 0.2);
}

.newsletter-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Why Choose Section */
.why-choose-section {
  padding: var(--space-xxl) 0;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xxl);
}

.why-choose-text p {
  margin-bottom: var(--space-lg);
}

.cta-box {
  background-color: var(--light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
  text-align: center;
}

.cta-box h3 {
  margin-bottom: var(--space-md);
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.testimonial {
  background-color: var(--light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial p {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial cite {
  color: var(--primary-dark);
  font-weight: 600;
  font-style: normal;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--space-xxl);
  margin-bottom: var(--space-xxl);
}

.footer-brand {
  max-width: 300px;
}

.footer-tagline {
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.7);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-links h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-newsletter h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.footer-newsletter p {
  margin-bottom: var(--space-lg);
  color: rgba(255,255,255,0.7);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.copyright {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* About Me Page Styles */
.about-highlights {
  margin: var(--space-xl) 0;
  display: grid;
  gap: var(--space-lg);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.highlight-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: var(--space-xs);
}

.highlight-content h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.highlight-content p {
  color: var(--medium);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.mission-section {
  background: var(--light);
  padding: var(--space-xxl) 0;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: start;
}

.mission-text p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: var(--space-xxl) 0;
  text-align: center;
  color: var(--white);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
  line-height: 1.6;
}

.cta-section .btn-large {
  font-size: 1.1rem;
  padding: var(--space-md) var(--space-xl);
  background-color: var(--secondary-color);
  color: var(--dark);
  border: none;
  transition: all var(--transition-normal);
}

.cta-section .btn-large:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  .hero .container,
  .story-content,
  .newsletter-section .container,
  .why-choose-content,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    margin-top: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    margin-top: var(--space-xl);
  }
}

@media (max-width: 992px) {
  .main-nav {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  
  .header-actions {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-top: var(--space-sm);
  }
  
  .search-input {
    width: 200px;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .hero-new-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: var(--space-xs) 0;
  }
  
  .logo {
    width: 130px;
    flex-shrink: 0;
  }
  
  .logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  .main-nav {
    gap: var(--space-sm);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--space-xxl);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: 90;
    gap: var(--space-lg);
  }
  
  .nav-links li:not(.cta-button) a {
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
  }
  
  .header-actions {
    order: 2;
    width: auto;
    margin-top: 0;
    flex-shrink: 0;
    overflow: hidden;
  }
  
  .search-container {
    display: none;
  }
  
  .book-call-btn {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
    white-space: nowrap;
    min-width: auto;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Extra small screens */
  @media (max-width: 480px) {
    .book-call-btn {
      font-size: 0.75rem;
      padding: var(--space-xs);
      max-width: 100px;
    }
    
    .logo {
      width: 110px;
    }
    
    .logo img {
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
      transform: translateZ(0);
      backface-visibility: hidden;
    }
    
    .main-nav {
      gap: var(--space-xs);
    }
  }
  
  .hero-new {
    padding: 3rem 0 4rem;
  }
  
  .hero-new-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .hero-new-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  /* Prevent body scroll when mobile menu is open */
  body.nav-open {
    overflow: hidden;
  }
  
  /* Hamburger animation when menu is open */
  .mobile-menu-toggle.open .hamburger {
    background-color: transparent;
  }
  
  .mobile-menu-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .mobile-menu-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .category-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .story-content,
  .why-choose-content {
    gap: var(--space-xl);
  }
  
  .newsletter-section .container {
    gap: var(--space-xl);
    grid-template-columns: 1fr;
  }
  
  .newsletter-image {
    display: none;
  }
  
  .form-group {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .form-input {
    width: 100%;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  /* About page responsive adjustments */
  .about-highlights {
    gap: var(--space-md);
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .highlight-icon {
    margin-top: 0;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  /* CTA Section responsive adjustments */
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1.1rem;
  }
  
  .cta-section .btn-large {
    width: 100%;
    max-width: 300px;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .newsletter-section {
    display: none;
  }
  
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

/* Enhanced Search Functionality Styles */
.search-container.search-focused {
  transform: scale(1.02);
  transition: transform var(--transition-fast);
}

.search-container.search-focused .search-input {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 174, 160, 0.1);
}

.search-icon {
  cursor: pointer;
  pointer-events: auto;
  transition: color var(--transition-fast);
}

.search-icon:hover {
  color: var(--primary-color);
}

/* Search Message Styles */
.search-message {
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.search-message-hiding {
  animation: slideOutRight 0.3s ease;
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Mobile Search Enhancements */
@media (max-width: 768px) {
  .search-container {
    margin-bottom: var(--space-sm);
  }
  
  .search-input {
    width: 100%;
    max-width: 280px;
  }
  
  .search-message {
    top: 80px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
} 