:root {
  --primary-color: #1a4d2e;
  --secondary-color: #e8dfca;
  --accent-color: #4caf50;
  --text-color: #333333;
  --light-text: #ffffff;
  --background-color: #ffffff;
  --section-padding: 80px 20px;
}

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

body {
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);

}

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

/* Header & Navbar*/
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #e8dfca72;
  backdrop-filter: blur(55px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1400px;
  margin: 0 auto;
  
}


.carousel {
  display: none; 
  position: relative;
  width: 100%;
  height: 620px;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}
.carousel-item {
  margin: auto;
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 9999;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.carousel-control-prev:hover,
.carousel-control-next:hover{
  background-color: rgba(26, 77, 46, 0.308);

}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.screenshots-container img {
  display: block; 
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

.logo {
  display: flex;
  flex-direction: row;
}

.logo h2 {
  margin-left: 25px;
  color: var(--primary-color);
}

.scrollBtn {
  margin-left: 15px;
  color: var(--primary-color);
  background-color: #1a4d2e00;
  font-size: 25px;
  font-weight: bold;
  border: none;
  transition: 0.2s;
}

.scrollBtn:hover {
  cursor: pointer;
  color: #37773a;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: var(--section-padding);
  padding-top: 120px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
}

.hero-content {
  margin-left: 15%;

  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 15px 30px;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 8px 8px 10px rgba(26, 77, 46, 0.589);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 10px 10px 20px rgba(26, 77, 46, 0.6);
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup-wrapper {
  margin: auto;
  width: 290px;
  height: 570px;
}

.phone-mockup {
  width: 270px;
  height: 580px;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease-in-out;
  position: relative;
  z-index: 2;
}

.iPhone {
  position: absolute;
  width: 300px; 
  height: 610px;
  z-index: 9999;
  transition: transform 0.3s ease-in-out;
}



.phone-mockup-wrapper:hover .phone-mockup,
.phone-mockup-wrapper:hover .iPhone {
  transform: translateY(-10px) rotate(2deg);
}


/* Features Section */
.features {
  padding: var(--section-padding);
  text-align: center;
  background-color: var(--background-color);
}

.features h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  padding: 30px;
  border-radius: 15px;
  background-color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature p {
  color: var(--text-color);
}

/* Screenshots Section */
.screenshots {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
  text-align: center;
  gap: 30px;
}

.screenshots h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.screenshots-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1400px;
  margin: auto;
}

.screenshot-gallery {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}


.iPhonescreen {
  position: absolute;
  display: block;
  width: 250px; 
  height: 500px;
  z-index: 9999;
  transition: transform 0.5s ease-in-out;
}

.screenshot-zoom{
  transition: 0.3s;
}

.screenshot-zoom:hover{
  transform: scale(1.05);
}

.phone-mockup-screenhot{
  width: 230px;
  height: 477px;
  border-radius: 30px;
}

.phone-mobil-screenshot{
  width: 230px;
  height: 477px;
  border-radius: 30px;
}

.screenshot-gallery{
  margin: auto;
}

.screenshot{
  transition: 0.3s;
  height: 500px;
}

.screenshots img {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  display: flex;
  margin: auto;
  align-items: center;
  transition: transform 0.3s ease;
}

.screenshot img{
  height: 440px;
  width: 210px;
}

.screenshot:hover {
  transform: scale(1.05);
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  color: var(--primary-color-text);
  text-align: center;
  background: linear-gradient(90deg, #ffffff 0%, var(--secondary-color) 100%);
}

.team-content h2{
  margin-bottom: 20px;
}

.team-members {
  display: flex;
  justify-content: center; 
  gap: 40px; 
  flex-wrap: wrap;
}

.team-members span {
  text-align: center; 
  text-decoration: none; 
  color: inherit;
  width: 200px; 
}

.devImg {
  width: 150px;
  height: 150px;
  border-radius: 50%; 
  object-fit: cover;
}
.nameTag {
  font-weight: bold;
}


/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
}

.stats ::selection {
  background-color: #e8dfca;
  color: #1a4d2e;
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Download Section */
.download {
  padding: var(--section-padding);
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, var(--secondary-color) 100%);
}

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

.download h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.download p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-store img,
.play-store img {
  background-color: rgba(192, 192, 192, 0.558);
  border-radius: 6px;
  height: 60px;
  transition: transform 0.2s ease;
}

.app-store img:hover,
.play-store img:hover {
  transform: scale(1.03);
  background-color: rgba(114, 114, 114, 0.301);
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--background-color);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  padding: 30px;
  border-radius: 15px;
  background-color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  position: absolute;
  top: -20px;
  left: -15px;
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 20px 20px 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--light-text);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  font-size: 1.5rem;
  color: var(--light-text);
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 1200px;
  margin: 0 auto;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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


::selection {
  background-color: #1a4d2e;
  color: #e8dfca;
}


::-webkit-scrollbar-thumb {
background: var(--primary-color);

}