/* Color Variables */
:root {
  --primary: #0f8b4f;
  --primary-light: #2ea66e;
  --primary-dark: #0b3a2a;
  --accent: #f6fff9;
  --text: #333333;
  --text-light: #666666;
  --background: #ffffff;
  --card-bg: #f9f9f9;
}

body.dark-theme {
  --primary: #34c759;
  --primary-light: #2e8b57;
  --primary-dark: #f0f0f0;
  --accent: #1e1e1e;
  --text: #f0f0f0;
  --text-light: #cccccc;
  --background: #121212;
  --card-bg: #1e1e1e;
}

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

body {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
  transition: color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: 15px;
}

/* Floating Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 1000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-50%) scale(1.1);
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

body.dark-theme .theme-toggle {
  background-color: var(--card-bg);
  color: var(--text);
  border-color: var(--text-light);
}

body.dark-theme .theme-toggle:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Splash Screen */
.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #003332, #078f3e);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
  padding: 1rem;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.splash-logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.splash-progress {
  width: 200px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.splash-progress-bar {
  height: 100%;
  width: 0%;
  background-color: green;
  transition: width 0.3s ease;
}

.skip-splash:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.3s ease;
}

body.dark-theme header {
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  width: 100px;
  height: auto;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  background-color: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
  background-color: var(--background);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.hero-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.primary {
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}
.outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-shapes div {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 10s infinite ease-in-out;
}

.hero-bg-shapes .shape-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary);
  top: -50px;
  left: -50px;
}

.hero-bg-shapes .shape-2 {
  width: 200px;
  height: 200px;
  background-color: var(--primary-light);
  bottom: -50px;
  right: -50px;
  animation-delay: 2s;
}

.hero-bg-shapes .shape-3 {
  width: 150px;
  height: 150px;
  background-color: var(--primary-dark);
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  display: inline-block;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-light);
  margin: 0.8rem auto 0;
}

/* Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade-left {
  transform: translateX(-20px);
}

.reveal.fade-right {
  transform: translateX(20px);
}

.reveal.fade-left.active,
.reveal.fade-right.active {
  transform: translateX(0);
}

.reveal.delay-1 {
  transition-delay: 0.2s;
}
.reveal.delay-2 {
  transition-delay: 0.4s;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.values-list {
  list-style: none;
  margin-top: 1.5rem;
}

.values-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  color: var(--text);
}

.values-list li i {
  color: var(--primary-light);
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.founder-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 5px solid var(--primary);
  transition: background-color 0.3s ease;
}

.founder-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: fill;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--primary-light);
  box-shadow: 0 0 0 5px var(--background);
  transition: box-shadow 0.3s ease;
}

.founder-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
}

.founder-title {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.founder-bio {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.founder-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.service-desc {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.learn-more {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.learn-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.learn-more:hover i {
  transform: translateX(5px);
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.filter-btn:hover:not(.active) {
  background-color: var(--primary-light);
  color: white;
}

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

.project-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: fill;
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--primary-light);
  color: white;
  border-radius: 4px;
  font-size: 0.7rem;
  margin-bottom: 0.8rem;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.project-desc {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

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

.project-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(5px);
}

/* Partnerships Section */
.partnerships {
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.background {
  background-color: #ffffff;
  padding: 0.5rem;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.partner-logo {
  width: 150px;
  height: auto;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Impact Section */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.impact-item {
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.impact-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.impact-label {
  font-size: 1rem;
  color: var(--text-light);
}

/* ---------------- TEAM SECTION ---------------- */
.team-section {
  padding: 80px 20px;
  background: var(--background);
  color: var(--text);
}

.team-header {
  text-align: center;
  margin-bottom: 40px;
}

.team-header .eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--card-bg);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.team-header h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 10px 0;
}

.team-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.carousel-container {
  position: relative;
  padding: 0 20px;
}

.team-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-top: 50px;
  padding-bottom: 20px;
}

.team-grid::-webkit-scrollbar {
  display: none;
}

.team-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 70px 18px 18px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  min-height: 280px;
  max-width: 260px;
  flex-shrink: 0;
  width: calc(100% - 40px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.team-card.revealed {
  transform: none;
  opacity: 1;
}

.team-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transform: translateY(-6px);
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 50%;
}

.role {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.bio {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.5;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.socials a:hover {
  background: var(--primary-light);
  color: #fff;
}

.card-decor {
  position: absolute;
  inset: auto 0 -14px 0;
  height: 20px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.carousel-nav {
  position: absolute;
  top: 180px;
  width: calc(100% - 40px);
  display: flex;
  justify-content: space-between;
}

.carousel-nav button {
  background: rgba(0,0,0,0.1);
  color: var(--text);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-nav button:hover {
  background: var(--primary-light);
  color: #fff;
}

@media (min-width: 640px) {
  .team-card {
    width: calc(50% - 10px);
  }
}
@media (min-width: 1000px) {
  .team-card {
    width: calc(33.33% - 14px);
  }
}
@media (min-width: 1400px) {
  .team-card {
    width: calc(25% - 15px);
  }
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 35px;
  height: 35px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
}

.contact-text p,
.contact-text a {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.contact-map {
  width: 100%;
  height: 300px;
  background-color: #eee;
  border-radius: 8px;
  overflow: hidden;
}

.contact-form {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: var(--background);
  color: var(--text);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(15, 139, 79, 0.2);
}

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

.submit-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: linear-gradient(
    to right,
    #003332,
    #078f3e
  ); /* Fixed dark background */
  color: white; /* Fixed light text color */
  padding: 3rem 2rem 1.5rem;
  transition: background-color 0.3s ease;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col {
  padding-bottom: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: white;
}

.footer-about {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: white;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: inherit;
  font-size: 0.9rem;
  background-color: var(--background);
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-btn {
  background-color: var(--primary-light);
  color: white;
  border: none;
  padding: 0 1rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--background);
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

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

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1002;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.2rem;
}

/* Responsive */
/* Responsive Splash Screen */
@media (max-width: 768px) {
  .splash-logo {
    font-size: 1.6rem;
    text-align: center;
    padding: 0 1rem;
  }

  .splash-progress {
    width: 150px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .splash-logo {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .splash-progress {
    width: 120px;
    height: 3px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    justify-content: center;
    margin-top: 2rem;
  }
  .hero-bg-shapes {
    display: none;
  }
  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .hamburger {
    display: flex;
  }
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    padding: 1rem 2rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }
  body.dark-theme nav {
    background-color: #1a1a1a;
  }
  nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin: 0 0 1rem 0;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .theme-toggle {
    right: 1rem;
  }
}

/* click me styling */
.book-page-btn {
  text-align: center;
  margin-top: 2rem;
}
.book-page-btn .btn {
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}


/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #0f8b4f;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

#backToTop:hover {
  background: #0b3a2a;
  transform: translateY(-3px);
}
#backToTop.show {
  display: flex;
}