/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLING - KARAYIANNI PACKAGING REDESIGN
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Work+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --primary-green: #abbd8b;
  --secondary-burgundy: #3d0612;
  --accent-gold: #f3af2c;
  
  --bg-white: #ffffff;
  --bg-light-blue: #e6f1fe;
  --bg-dark-burgundy: #2e040d;
  
  --text-dark: #111111;
  --text-body: rgba(0, 0, 0, 0.75);
  --text-muted: rgba(0, 0, 0, 0.55);
  --text-light: #ffffff;
  --text-light-muted: rgba(255, 255, 255, 0.7);
  
  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Work Sans', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --transition-speed: 0.3s;
  
  /* Box Shadow */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 4px 20px rgba(171, 189, 139, 0.4);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.25;
}

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

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

h3 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed), background-color var(--transition-speed);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Interactive Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--secondary-burgundy);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--text-light);
  color: var(--secondary-burgundy);
  border-color: var(--secondary-burgundy);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--secondary-burgundy);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.btn-green {
  background-color: var(--primary-green);
  color: var(--text-dark);
  font-weight: 700;
}

.btn-green:hover {
  background-color: var(--text-light);
  color: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-glow);
}

/* Header & Navigation */
header.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-speed), box-shadow var(--transition-speed), position var(--transition-speed);
}

header.site-header.sticky {
  position: fixed;
  background-color: #ABBD8B;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.4s ease forwards;
}

header.site-header.subpage {
  position: sticky;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.logo img {
  height: 50px;
  width: auto;
  transition: transform var(--transition-speed);
}

.logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 35px;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

/* Transparent Header Text Color Override for Hero Subpages */
header:not(.sticky):not(.subpage) .nav-link {
  color: var(--text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sticky Header Link Styles (Visible & Contrast Overrides) */
header.sticky .nav-link {
  color: var(--text-dark);
}

header.sticky .nav-link:hover,
header.sticky .nav-link.active {
  color: var(--secondary-burgundy);
}

header.sticky .nav-link::after {
  background-color: var(--secondary-burgundy);
}

.header-cta {
  display: inline-flex;
}

header:not(.sticky):not(.subpage) .header-cta .btn {
  border-color: var(--text-light);
  color: var(--text-light);
}

header:not(.sticky):not(.subpage) .header-cta .btn:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin-bottom: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

header:not(.sticky):not(.subpage) .mobile-menu-toggle span {
  background-color: var(--text-light);
}

.mobile-menu-toggle span:last-child {
  margin-bottom: 0;
}

.mobile-menu-toggle.open span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-toggle.open span {
  background-color: var(--text-dark) !important;
}

/* Mobile Nav Drawer */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s ease;
    gap: 40px;
    z-index: 999;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-link {
    color: var(--text-dark) !important;
    font-size: 1.5rem;
  }
  
  .header-cta {
    margin-top: 20px;
  }
  
  .header-cta .btn {
    border-color: var(--secondary-burgundy) !important;
    color: var(--secondary-burgundy) !important;
  }
}

/* ==========================================================================
   HOMEPAGE SPECIFIC SECTIONS
   ========================================================================== */

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://i.imgur.com/u1Fhywv.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding-top: var(--header-height);
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* fixes mobile background rendering bugs */
  }
}

.hero-content {
  max-width: 900px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.hero-title {
  color: var(--text-light) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  margin-bottom: 30px;
}

/* About Section */
.about-section {
  background-color: var(--bg-white);
}

.about-grid {
  align-items: center;
}

.about-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-title {
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-body);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

/* Services Section */
.services-section {
  background-color: var(--bg-light-blue);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-green);
}

/* Removed column overrides to respect grid-3 responsiveness */

.service-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-speed);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(171, 189, 139, 0.4);
  line-height: 1;
  margin-bottom: 20px;
}

.service-name {
  margin-bottom: 15px;
}

/* Product Categories Grid */
.products-section {
  background-color: var(--bg-white);
}

/* Removed column overrides to respect grid-3 responsiveness */

.product-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.product-image {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-info {
  padding: 25px;
  text-align: center;
  background-color: var(--bg-white);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0;
}

/* Quote Section */
.quote-section {
  background-color: var(--secondary-burgundy);
  color: var(--text-light);
  text-align: center;
}

.quote-container {
  max-width: 900px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-green);
  margin-bottom: 30px;
}

.quote-text {
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
}

.quote-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary-green);
}

.quote-title {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-top: 5px;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-light-blue);
}

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

.faq-item {
  background-color: var(--bg-white);
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-speed);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--transition-speed);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--secondary-burgundy);
  transition: transform var(--transition-speed);
}

/* Plus Horizontal line */
.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

/* Plus Vertical line */
.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

/* Active State */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 30px 25px 30px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Hot Stamping Section */
.hotstamping-section {
  background-color: var(--bg-white);
}

.hotstamping-grid {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.hotstamping-content {
  padding-right: 40px;
}

@media (max-width: 900px) {
  .about-grid,
  .hotstamping-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hotstamping-content {
    padding-right: 0;
  }
}

.hotstamping-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.hotstamping-title {
  margin-bottom: 25px;
}

.hotstamping-text {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.hotstamping-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   SUBPAGES: GALLERY & CONTACT
   ========================================================================== */

/* Page Banner */
.page-banner {
  background-color: var(--secondary-burgundy);
  color: var(--text-light);
  padding: 140px 0 60px 0;
  text-align: center;
}

.page-title {
  margin-bottom: 10px;
}

.page-breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.page-breadcrumbs a:hover {
  color: var(--primary-green);
}

/* Gallery Portfolio Grid */
.gallery-section {
  background-color: var(--bg-white);
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  background-color: #f0f0f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 6, 18, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--text-light);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--primary-green);
}

/* Contact Page Layout */
.contact-section {
  background-color: var(--bg-white);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-title {
  margin-bottom: 25px;
}

.contact-details {
  list-style: none;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-detail-icon {
  width: 45px;
  height: 45px;
  background-color: var(--bg-light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-burgundy);
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-detail-text h5 {
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.contact-detail-text p, .contact-detail-text a {
  color: var(--text-body);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.contact-detail-text a:hover {
  color: var(--primary-green);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all var(--transition-speed);
}

.social-link:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* Map Container */
.map-container {
  height: 350px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form Styling */
.contact-form-container {
  background-color: var(--bg-light-blue);
  padding: 40px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
  .contact-form-container {
    padding: 25px 20px;
  }
}

.contact-form-title {
  margin-bottom: 10px;
}

.contact-form-subtitle {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--bg-white);
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(171, 189, 139, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #d32f2f;
}

.form-group.has-error .form-error {
  display: block;
}

.form-status {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer {
  background-color: var(--bg-dark-burgundy);
  color: var(--text-light-muted);
  padding: 60px 0 30px 0;
  border-top: 5px solid var(--primary-green);
}

.footer-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.footer-brand h4 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
  transition: transform var(--transition-speed);
}

.footer-logo:hover img {
  transform: scale(1.02);
}

.footer-links h5, .footer-contact h5 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  transition: color var(--transition-speed);
}

.footer-menu a:hover {
  color: var(--primary-green);
}

.footer-contact-info p {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-green);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--secondary-burgundy);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* ==========================================================================
   SCROLL ANIMATIONS (IntersectionObserver classes)
   ========================================================================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */
.thankyou-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light-blue);
  padding: 100px 0;
}

.thankyou-card {
  background-color: var(--bg-white);
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  display: inline-block;
}

.thankyou-card h1 {
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.thankyou-card p {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 35px;
}

@media (max-width: 576px) {
  .thankyou-card {
    padding: 40px 20px;
  }
  .thankyou-card h1 {
    font-size: 2rem;
  }
  .thankyou-card p {
    font-size: 1.1rem;
  }
}
