/* ===============================================
   ETHICAL WOOL FELT STUDIO - MAIN STYLESHEET
   =============================================== */

/* Bootstrap 5 CDN Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* FontAwesome CDN */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ===============================================
   COLOR PALETTE - CSS VARIABLES
   =============================================== */
:root {
  /* Primary Colors */
  --primary-sage: #718f71;
  --primary-cream: #e5e3d2;
  --primary-terracotta: #a45e29;
  --primary-dusty-rose: #cd9998;
  --primary-forest: #455941;
  
  /* Light Shades */
  --light-sage: #c0e8c3;
  --light-cream: #FDFCF8;
  --light-terracotta: #ddaf69;
  --light-dusty-rose: #d5cdcc;
  --light-forest: #7a8079;
  
  /* Dark Shades */
  --dark-sage: #647462;
  --dark-cream: #f1e7d5;
  --dark-terracotta: #9c5014;
  --dark-dusty-rose: #ca9ba3;
  --dark-forest: #2a382a;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --black: #373737;
  --gray-light: #F8F9FA;
  --gray-medium: #555e68;
  --gray-dark: #44494d;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-cream) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-terracotta) 0%, var(--primary-dusty-rose) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-forest) 0%, var(--primary-sage) 100%);
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Conservative Font Sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-max-width: 1200px;
  
  /* 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);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===============================================
   GLOBAL STYLES
   =============================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max-width);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-forest);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: 1rem;
  color: var(--gray-medium);
}

/* Links */
a {
  color: var(--primary-sage);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--dark-sage);
}

/* Buttons */
.btn {
  font-family: var(--font-primary);
  font-weight: 500;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border: 1px solid var(--primary-sage);
}

.btn-primary:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--white);
  border: 1px solid var(--primary-terracotta);
}

.btn-secondary:hover {
  background: var(--primary-terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary-sage);
  border: 2px solid var(--primary-sage);
}

.btn-outline:hover {
  background: var(--primary-sage);
  color: var(--white);
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: var(--font-size-3xl);
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* ===============================================
   HEADER STYLES
   =============================================== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark-forest);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-sage);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-medium);
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-sage);
}

.navbar-nav .nav-link.active {
  color: var(--primary-sage);
  font-weight: 600;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background: none;
  border: none;
}

.navbar-toggler-icon i {
  color: var(--dark-forest);
  font-size: 1.34rem;
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 225px;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.61rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--light-cream);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-desc {
  font-size: var(--font-size-lg);
  color: var(--light-cream);
  margin-bottom: 2.66rem;
  max-width: 500px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

/* Decorative Elements */
.hero-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-dusty-rose);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-blob-1 {
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-blob-2 {
  bottom: 10%;
  left: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===============================================
   ABOUT SECTION
   =============================================== */
.about {
  background: var(--gray-light);
}

.about-features {
  margin-top: 4rem;
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-sage);
  margin-bottom: 1.71rem;
}

.about-feature h4 {
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

.about-feature p {
  color: var(--gray-medium);
  font-size: var(--font-size-small);
}

/* ===============================================
   SERVICES SECTION
   =============================================== */
.services {
  background: var(--white);
}

.services-grid {
  margin-top: 4rem;
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  border: 1px solid var(--light-cream);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 2rem;
}

.service-card h5 {
  color: var(--dark-forest);
  margin-bottom: 1rem;
  font-size: var(--font-size-xl);
}

.service-card p {
  color: var(--gray-medium);
  margin-bottom: 1.72rem;
  font-size: var(--font-size-small);
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--gray-medium);
  font-size: var(--font-size-small);
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-sage);
  margin-right: 0.5rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

/* ===============================================
   FEATURES SECTION
   =============================================== */
.features {
  background: var(--gradient-primary);
  color: var(--white);
}

.features .section-title h2,
.features .section-title p {
  color: var(--white);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
  font-size: 3rem;
  color: var(--light-cream);
  margin-bottom: 1.74rem;
}

.feature-item h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--light-cream);
  font-size: var(--font-size-small);
}

/* ===============================================
   PRICE PLAN SECTION
   =============================================== */
.priceplan {
  background: var(--gray-light);
}

.pricing-cards {
  margin-top: 4rem;
}

.pricing-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary-sage);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  background: var(--gradient-accent);
}

.pricing-card h4 {
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-terracotta);
  margin-bottom: 2rem;
}

.pricing-card .price span {
  font-size: var(--font-size-base);
  color: var(--gray-medium);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--gray-medium);
  font-size: var(--font-size-small);
}

.pricing-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-sage);
  margin-right: 0.5rem;
}

/* ===============================================
   TEAM SECTION
   =============================================== */
.team {
  background: var(--white);
}

.team-grid {
  margin-top: 4rem;
}

.team-member {
  text-align: center;
  background: var(--gray-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: var(--transition-normal);
  height: 100%;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.67rem;
  border: 4px solid var(--primary-sage);
}

.team-member h5 {
  color: var(--dark-forest);
  margin-bottom: 0.66rem;
}

.team-member p {
  color: var(--primary-sage);
  font-weight: 500;
  font-size: var(--font-size-small);
}

/* ===============================================
   REVIEWS SECTION
   =============================================== */
.reviews {
  background: var(--gradient-primary);
  color: var(--white);
}

.reviews .section-title h2,
.reviews .section-title p {
  color: var(--white);
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  height: 100%;
}

.review-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.review-text {
  font-style: italic;
  color: var(--light-cream);
  margin-bottom: 1.66rem;
  font-size: var(--font-size-lg);
}

.review-author {
  color: var(--white);
  font-weight: 600;
}

.review-stars {
  color: var(--primary-dusty-rose);
  margin-bottom: 1rem;
}

/* ===============================================
   CASE STUDIES SECTION
   =============================================== */
.casestudy {
  background: var(--gray-light);
}

.casestudy-grid {
  margin-top: 4rem;
}

.casestudy-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
}

.casestudy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.casestudy-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.casestudy-card-body {
  padding: 2rem;
}

.casestudy-card h4 {
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

.casestudy-card p {
  color: var(--gray-medium);
  font-size: var(--font-size-small);
}

/* ===============================================
   PROCESS SECTION
   =============================================== */
.process {
  background: var(--white);
}

.process-steps {
  margin-top: 4rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 50px;
  height: 2px;
  background: var(--primary-sage);
  transform: translateY(-50%);
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h4 {
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--gray-medium);
  font-size: var(--font-size-small);
}

/* ===============================================
   TIMELINE SECTION
   =============================================== */
.timeline {
  background: var(--gray-light);
}

.timeline-container {
  position: relative;
  margin-top: 4rem;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-sage);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  margin: 0 2rem;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: var(--white);
}

.timeline-date {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
  position: relative;
}

.timeline-content h4 {
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--gray-medium);
  font-size: var(--font-size-small);
}

/* ===============================================
   CAREER SECTION
   =============================================== */
.career {
  background: var(--white);
}

.career-grid {
  margin-top: 4rem;
}

.career-card {
  background: var(--gray-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: var(--transition-normal);
  height: 100%;
  border-left: 4px solid var(--primary-sage);
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.career-card h4 {
  color: var(--dark-forest);
  margin-bottom: 0.62rem;
}

.career-role {
  color: var(--primary-sage);
  font-weight: 600;
  margin-bottom: 1rem;
}

.career-card p {
  color: var(--gray-medium);
  font-size: var(--font-size-small);
}

/* ===============================================
   CORE INFO SECTION
   =============================================== */
.coreinfo {
  background: var(--gradient-primary);
  color: var(--white);
}

.coreinfo .section-title h2,
.coreinfo .section-title p {
  color: var(--white);
}

.coreinfo-grid {
  margin-top: 4rem;
}

.coreinfo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  height: 100%;
}

.coreinfo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.coreinfo-card i {
  font-size: 3rem;
  color: var(--light-cream);
  margin-bottom: 1.57rem;
}

.coreinfo-card h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.coreinfo-card p {
  color: var(--light-cream);
  font-size: var(--font-size-small);
}

/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact {
  background: var(--gray-light);
}

.contact-form {
  background: var(--white);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.contact-form .form-group {
  margin-bottom: 2rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--dark-forest);
  margin-bottom: 0.71rem;
}

.contact-form .form-control {
  border: 2px solid var(--light-cream);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
}

.contact-form .form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(129, 157, 123, 0.25);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form .form-check {
  margin-bottom: 2rem;
}

.contact-form .form-check-input {
  border: 2px solid var(--primary-sage);
}

.contact-form .form-check-input:checked {
  background-color: var(--primary-sage);
  border-color: var(--primary-sage);
}

.contact-form .form-check-label {
  font-size: var(--font-size-small);
  color: var(--gray-medium);
}

.contact-info {
  padding: 2rem;
}

.contact-info h4 {
  color: var(--dark-forest);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.69rem;
}

.contact-info-item i {
  font-size: 1.54rem;
  color: var(--primary-sage);
  margin-right: 1rem;
  width: 30px;
}

.contact-info-item p {
  margin: 0;
  color: var(--gray-medium);
}

/* ===============================================
   BLOG SECTION
   =============================================== */
.blog {
  background: var(--white);
}

.blog-grid {
  margin-top: 4rem;
}

.blog-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  border: 1px solid var(--light-cream);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
}

.blog-card h5 {
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

.blog-card p {
  color: var(--gray-medium);
  font-size: var(--font-size-small);
  margin-bottom: 1.71rem;
}

.blog-card .read-more {
  color: var(--primary-sage);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--font-size-small);
}

.blog-card .read-more:hover {
  color: var(--dark-sage);
}

/* ===============================================
   FAQ SECTION
   =============================================== */
.faq {
  background: var(--gray-light);
}

.faq-container {
  margin-top: 4rem;
}

.faq-card {
  background: var(--white);
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--dark-forest);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.faq-question:hover {
  background: var(--gray-light);
}

.faq-question::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-fast);
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--gray-medium);
  font-size: var(--font-size-small);
  line-height: 1.6;
  display: none;
}

/* ===============================================
   GALLERY SECTION
   =============================================== */
.gallery {
  background: var(--white);
  padding: 5rem 0;
}

.gallery-layout {
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
}

/* ===============================================
   FOOTER STYLES
   =============================================== */
.footer {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-section h5, footer p {
  color: var(--white) !important;
  margin-bottom: 1.69rem;
}

.footer-section p {
  color: var(--light-cream);
  font-size: var(--font-size-small);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--light-cream);
  text-decoration: none;
  font-size: var(--font-size-small);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--light-cream);
  font-size: var(--font-size-small);
  margin: 0;
}

/* ===============================================
   BREADCRUMBS
   =============================================== */
.breadcrumbs {
  background: var(--gray-light);
  padding: 1rem 0;
  margin-top: 70px;
}

.breadcrumbs img {
  height: 30px;
  width: auto;
  opacity: 0.7;
}

/* ===============================================
   SPACE PAGE
   =============================================== */
#space {
  min-height: 80vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */
.text-primary { color: var(--primary-sage); }
.text-secondary { color: var(--primary-terracotta); }
.text-muted { color: var(--gray-medium); }
.text-white { color: var(--white); }

.bg-primary { background: var(--primary-sage); }
.bg-secondary { background: var(--primary-terracotta); }
.bg-light { background: var(--gray-light); }
.bg-white { background: var(--white); }

.border-primary { border-color: var(--primary-sage); }
.border-secondary { border-color: var(--primary-terracotta); }

.rounded-lg { border-radius: 1rem; }
.rounded-xl { border-radius: 1.5rem; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ===============================================
   RESPONSIVE DESIGN HELPERS
   =============================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .section-title h2 {
    font-size: var(--font-size-2xl);
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }
  
  .timeline-date {
    width: 60px;
    height: 60px;
  }
  
  .timeline-content {
    margin-left: 90px;
    margin-right: 0;
  }
  
  .timeline-content::before {
    left: -20px;
    border-right-color: var(--white);
    border-left-color: transparent;
  }
  
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: var(--white);
    border-left-color: transparent;
  }
  
  .process-step::before {
    display: none;
  }
}

/* ===============================================
   PREFERS-REDUCED-MOTION
   =============================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-blob-1,
  .hero-blob-2 {
    animation: none;
  }
}

/* ===============================================
   BACK TO TOP BUTTON
   =============================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.31rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.back-to-top:hover {
  background: var(--gradient-accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===============================================
   NOTIFICATION SYSTEM
   =============================================== */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  max-width: 400px;
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary-sage);
  padding: 1rem;
  transform: translateX(100%);
  transition: var(--transition-normal);
  z-index: 1001;
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  border-left-color: #04a47a;
}

.notification-error {
  border-left-color: #d7432b;
}

.notification-info {
  border-left-color: var(--primary-sage);
}

.notification-content {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.notification-content i {
  margin-right: 0.5rem;
  font-size: 1.20rem;
}

.notification-success .notification-content i {
  color: #0dc792;
}

.notification-error .notification-content i {
  color: #f94151;
}

.notification-info .notification-content i {
  color: var(--primary-sage);
}

.notification-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--gray-medium);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: var(--transition-fast);
}

.notification-close:hover {
  background: var(--gray-light);
  color: var(--black);
}

/* ===============================================
   PRELOADER
   =============================================== */
.loading {
  overflow: hidden;
}

.loading::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border: 3px solid var(--light-sage);
  border-top-color: var(--primary-sage);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10000;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===============================================
   SKIP LINK
   =============================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-sage);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  transition: var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* ===============================================
   CHARACTER COUNTER
   =============================================== */
.character-counter {
  font-size: 0.95rem;
  color: var(--gray-medium);
  margin-top: 0.31rem;
  text-align: right;
}

.character-counter.over-limit {
  color: #d73f32;
  font-weight: 600;
}

/* ===============================================
   LOADING STATES
   =============================================== */
.loaded .hero-content,
.loaded .hero-image {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================================
   FORM ENHANCEMENTS
   =============================================== */
.form-floating {
  position: relative;
}

.form-floating label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  pointer-events: none;
  transition: var(--transition-fast);
  color: var(--gray-medium);
}

.form-floating label.active,
.form-floating input:focus + label,
.form-floating textarea:focus + label {
  top: 0.25rem;
  font-size: 0.83rem;
  color: var(--primary-sage);
}

.form-control.is-invalid {
  border-color: #eb462d;
  box-shadow: 0 0 0 0.2rem rgba(227, 103, 85, 0.25);
}

.form-control.is-valid {
  border-color: #25cd7f;
  box-shadow: 0 0 0 0.2rem rgba(27, 187, 159, 0.25);
}

.invalid-feedback {
  display: block;
  color: #ff4247;
  font-size: 0.95rem;
  margin-top: 0.34rem;
}

/* ===============================================
   LAZY LOADING
   =============================================== */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* ===============================================
   IMAGE ERROR HANDLING
   =============================================== */
.image-error {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
  font-size: 0.91rem;
}

.image-error::after {
  content: 'Image not found';
}

/* ===============================================
   PRINT STYLES
   =============================================== */
@media print {
  .navbar,
  .footer,
  .back-to-top,
  .notification {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  * {
    color: var(--black) !important;
    background: var(--white) !important;
  }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
