/* Base Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-light);
  
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--h2-color);
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn.primary.view-more {
  background-color: var(--primary-light);
  color: var(--background-light);
}

.btn.primary.view-more:hover {
  background-color: var(--primary-dark);
}

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

.btn.primary:hover {
  background-color: var(--primary-light);
}

.btn.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid var(--white);
}

.btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn.outline {
  background-color: transparent;
  color: var(--primary-light);
  border: 1px solid var(--primary-light);
}

.btn.outline:hover {
  background-color: rgba(139, 110, 70, 0.05);
}

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

.btn.white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.link {
  color: var(--primary-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.link i {
  margin-left: 0.25rem;
  font-size: 0.875rem;
  transition: var(--transition);
}

.link:hover {
  color: var(--primary-dark);
}

.link:hover i {
  transform: translateX(3px);
}

.center-btn {
  text-align: center;
  margin-top: 2.5rem;
}

/* Hero Section */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    background: var(--background-dark);
    color: var(--text-light);
}

.hero-container {
    position: relative;
    width: 100vw;
    height: 100vh;
      margin-top: 100px;
    
}

/* Background Slideshow */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

/* Slide images */
.slide:nth-child(1) {
    background-image: url('../../HomeImage/rhino.jpeg');
    background-image: url('../../HomeImage/wild\ b.jpg');
}

.slide:nth-child(2) {
    background-image: url('../../HomeImage/itinenary/filming.jpeg');
}

.slide:nth-child(3) {
    background-image: url('../../HomeImage/Mount Kilimanjaro National Park peak.jpg');

}

.slide:nth-child(4) {
    
    background-image: url('../../HomeImage/rhino.jpeg');
}

.slide:nth-child(5) {
    background-image: url('../../HomeImage/itinenary/crater.jpg');
}

.slide:nth-child(6) {
  background-image: url('../../HomeImage/Hotairballon.jpeg');
}

/* Warm overlay for better text contrast */
.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 70, 45, 0.3); /* Semi-transparent warm brown */
    z-index: 2;
}

/* Content Styling */
.content-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 1rem;
}

.hero-content {
    max-width: 1200px;
    width: 90%;
    padding: 2.5rem;
    background: rgba(243, 233, 220, 0.4); /* Light background with transparency */
    border-radius: 1rem;
    border: 1px solid rgba(122, 95, 61, 0.3); /* Primary light border */
    box-shadow: 0 10px 30px rgba(30, 24, 16, 0.2);
    color: var(--text-light);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.title-line-1 {
    color: var(--text-light);
}

.title-line-2 {
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 150px;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--background-light);
    border: 2px solid var(--primary-dark);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(92, 68, 37, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(122, 95, 61, 0.1);
    transform: translateY(-2px);
}

/* Slide Indicators */
.nav-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(243, 233, 220, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-light);
}

.dot.active {
    background: var(--primary-dark);
    transform: scale(1.3);
}

/* Progress Bar */
.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(243, 233, 220, 0.3);
    z-index: 20;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-dark);
    width: 0%;
    transition: width 5s linear;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 1.75rem;
        width: 95%;
        background: rgba(243, 233, 220, 0.4); /* Less transparent on mobile */
    }

    .hero-title {
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }

    .nav-dots {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}



/* Wave Separator */
.wave-separator {
  position: relative;
  height: 70px;
  background-color: var(--background-light);
  margin-top: -1px;
}

.wave-separator svg {
  position: absolute;
  width: 100%;
  height: 70px;
  top: -70px;
}

.wave-separator path {
  fill: var(--background-light);
}

/* Slanted Separator */
.slanted-separator {
  position: relative;
  height: 100px;
  background-color: var(--gray-dark);
}

.slanted-separator::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--background-light);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

/* Parallax Sections */
.parallax {
  background-attachment: fixed;
  background-position: center;
  
  


}

/* Destinations Section */
.destinations {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.destination-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.destination-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.destination-card:hover .destination-img img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
}

.destination-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.location {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.9;
}

.location i {
  margin-right: 0.25rem;
  font-size: 0.75rem;
}

.destination-content {
  padding: 1.5rem;
}

.destination-content p {
  color: var(--p-color);
  margin-bottom: 1rem;
}

.link {
  position: relative;
  color: var(--primary-light); /* Keep your original color */
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
}

.link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine-glow 2s infinite;
}

@keyframes shine-glow {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.link:hover i {
  transform: translateX(3px);
  transition: transform 0.3s ease;
}


/* Tours Section */
.tours {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.tour-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tour-img {
  height: 200px;
  overflow: hidden;
}

.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-content {
  padding: 1.5rem;
}

.tour-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--h2-color);
}

.tour-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

.meta-item i {
  margin-right: 0.25rem;
}

.tour-features {
  margin-bottom: 1.5rem;
}

.tour-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.tour-features i {
  color: var(--primary-light);
  margin-right: 0.5rem;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* price */
.price {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  z-index: 10;
  color: white;
  background-color: rgba(26, 25, 25, 0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  height: 40px;
}

.from-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-right: 4px;
  display: inline-block;
}

/* Make sure tour-card and tour-img have position relative */
.tour-card, .tour-img {
  position: relative;
}


/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  height: 100%;
  min-height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.about-content .lead {
  font-size: 1.125rem;
  color: var(--p-color);
  margin-bottom: 2rem;
}

.features {
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(139, 110, 70, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--h2-color);
}

.feature-content p {
  color: var(--p-color);
  font-size: 0.875rem;
}


/* Blog Section */
/*
.blog {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

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

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.blog-category {
  background-color: rgba(139, 110, 70, 0.1);
  color: var(--primary-light);
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
}

.blog-date {
  color: var(--text-light);
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--h2-color);
}

.blog-content p {
  color: var(--p-color);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
  */

/* Newsletter Section 
.newsletter {
  padding: 5rem 0;
  background-color: var(--primary-light);
  color: var(--white);
  position: relative;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.form-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-note {
  font-size: 0.75rem;
  opacity: 0.8;
}

#form-message {
  margin-top: 1rem;
  font-weight: 500;
}
*/

/*Reviews*/



body {
    background: linear-gradient(to bottom, var(--background-light), var(--background-dark));
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

/* Review section styles */
.review-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-description {
    color: #6b7280;
    max-width: 36rem;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Platform cards grid */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Platform card styles */
.platform-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.platform-card:hover {
    transform: scale(1.02);
}

.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover::after {
    opacity: 1;
}

.tripadvisor-card {
    background: linear-gradient(135deg, #059669, #065f46);
}

.google-card {
    background: linear-gradient(135deg, #e11d48, #be123c);
}

.platform-card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.platform-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.platform-info h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-value {
    color: white;
    font-weight: 500;
}

.stars {
    display: flex;
}

.star {
    color: #fcd34d;
    margin-right: 0.125rem;
}

.star-partial {
    opacity: 0.8;
}

.platform-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.platform-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.review-count a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.2s;
}

.review-count a:hover {
    color: white;
}

.external-link-btn {
    background: transparent;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background-color 0.2s;
    padding: 0;
}

.external-link-btn img {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
}

.external-link-btn:hover img {
    transform: translateX(2px);
}

.tripadvisor-link:hover {
    background-color: #34e0a1;
}

.google-link:hover {
    background-color: #be123d6c;
}

/* Reviews grid */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Review card styles */
.review-card {
    background-color: var(--background-dark);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

.review-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

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

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-platform-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.tripadvisor-icon-bg {
    background-color: #34e0a1;
    
}

.google-icon-bg {
    background-color: #e11d478e;
}

.review-title {
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.review-author {
    font-weight: 500;
}

.review-content {
    padding-left: 3.5rem;
    color: var(--text-dark);
    font-style: italic;
}

/* Show more button */
.show-more-container {
    display: flex;
    justify-content: center;
}

.show-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--background-dark);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.show-more-btn:hover {
    background-color: var(--background-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.show-more-btn:active {
    transform: translateY(1px);
}

.chevron-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s;
}

.chevron-rotate {
    transform: rotate(180deg);
}

/* Hidden reviews (not any more)*/
.review-card.hidden {
    display: block;
}

/* Icons */



/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.scroll-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img {
    height: 400px;
  }

 
}

@media (max-width: 768px) {


  .section-header h2 {
    font-size: 2rem;
  }

  
}

@media (max-width: 576px) {


  .form-group {
    flex-direction: column;
  }

  .form-group input,
  .form-group button {
    width: 100%;
  }

  
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus States for Keyboard Navigation */
:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* Focus-visible for better keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(139, 110, 70, 0.2);
}

/* Improved button focus states */
.btn:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

/* Improved link focus states */
a:focus-visible {
  text-decoration: underline;
}






/* ===== LAZY LOADING STYLES ===== */

/* Skeleton Loading for Images */
.img-skeleton {
  position: relative;
  background-color: #e2e2e2;
  overflow: hidden;
  
 
}

.img-skeleton::before {

  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  
  }
}

/* Ensure images fade in nicely when loaded */
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  
}

.lazy-image.loaded {
  opacity: 1;
}


/* Skip to content link for keyboard users */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-light);
  color: white;
  padding: 8px;
  z-index: 1002;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}

/* ===== COOKIE CONSENT BANNER ===== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-dark);
  color: var(--text-dark);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-content h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.cookie-btn.accept {
  background-color: var(--primary-light);
  color: white;
}

.cookie-btn.accept:hover {
  background-color: var(--primary-dark);
}

.cookie-btn.decline {
  background-color: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
}

.cookie-btn.decline:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.cookie-btn.settings {
  background-color: transparent;
  color: var(--primary-light);
  text-decoration: underline;
  padding: 0.5rem 0;
}

/* Make cookie banner responsive */
@media (min-width: 768px) {
  .cookie-consent {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .cookie-content {
    flex: 1;
  }

  .cookie-buttons {
    flex-shrink: 0;
  }
}
