@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333;
  }
  
  h1, h2, h3, p {
    margin: 0 0 10px;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  
  

/* Hero Section */
.hero {
  background: url('img/hero-background-grenderly.png') no-repeat center center/cover; /* Ensure background scales properly */
  color: rgb(255, 255, 255);
  text-align: left; /* Align text for readability */
  padding: 160px 20px;
  display: flex; /* Use flex for positioning */
  justify-content: flex-start; /* Push content to the right */
  align-items: center; /* Vertically center the content */
  height: 200px; /* Default height for larger screens */
}

.hero-content {
  max-width: 750px; /* Restrict width of the content */
  text-align: left;
  padding:50px;
  margin-top: 2.5rem;
  margin-left: 6rem;
  font-family: 'Poppins', sans-serif; /* Use Poppins font */
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  
}

.hero .btn {
  background: #ffd700;
  color: #333;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.hero .btn:hover {
  background: #e6c200;
}

.container {
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* Responsive Design: Tablet and Smaller Screens */
@media (max-width: 1024px) {
  .hero {
    background: url('img/hero-background-grenderly-mobil.png') no-repeat center center/cover; /* Ensure background scales properly */
    padding: 100px 15px; /* Adjust padding for smaller screens */
    justify-content: flex-start; /* Center content */
    height: 250px; /* Adjust height */
  }

  .hero-content {
    max-width: 500px; /* Reduce max width for content */
    text-align: center; /* Center align text */
  }

  .hero h1 {
    font-size: 2rem; /* Reduce font size */
  }

  .hero p {
    font-size: 1rem; /* Reduce font size */
  }

  .hero .btn {
    font-size: 0.9rem; /* Reduce button font size */
  }
}

/* Responsive Design: Mobile Screens */
@media (max-width: 768px) {
  .hero {
    
    padding: 100px 10px; /* Further reduce padding */
    height: 180px; /* Smaller height for mobile */

  }

  .hero-content {
    max-width: 100%; /* Full width for mobile */
    text-align: left; /* Center align content */
    margin-left: 0;
    margin-left: -2rem;

    max-width: 450px; /* Reduce max width for content */
  }

  .hero h1 {
    max-width: 300px;
    font-size: 1.8rem; /* Smaller font size for headline */
    margin-bottom: 10px;

  }

  .hero p {
    font-size: 0.9rem; /* Smaller font size for paragraph */
    margin-bottom: 10px;
    max-width: 250px;
  }

  .hero .btn {
    padding: 8px 15px; /* Reduce button size */
    font-size: 0.8rem; /* Smaller font for button */
  }
}

/* Plan Sections */
.plan-section {
  margin-bottom: 40px;
}

.plan-section h2 {
  font-size: 1.8rem;
  color: #007bff;
}

.plan-section p {
  color: #555;
  margin-bottom: 20px;
}

/* Cards */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.card h3 {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 10px;
}

.card .price {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.card ul li {
  margin-bottom: 10px;
  color: #555;
}

.card .btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.card .btn:hover {
  background: #0056b3;
}


  
/* Plan Section */
.plan-section h2 {
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 1rem;
  margin-top: 6rem;
}

.plan-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Card List (Carousel) */
.card-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  justify-content: flex-start;
}

.card-list::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: calc(25% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 270px;
}



.plan-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 15px;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: auto;
}

ul li {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}

.btn {
  background: #ffd700;
  color: #333;
  padding: 8px 15px; /* Smaller buttons */
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: fit-content; /* Button adjusts to content size */
  margin: 0 auto; /* Center button */
}

.btn:hover {
  background: #e6c200;
}

/* Scroll Indicators */
.scroll-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.scroll-indicators .dot {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.scroll-indicators .dot.active {
  background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card-list {
    gap: 15px;
    justify-content: flex-start; /* Align cards to the left */
    
  }

  .card {
    min-width: calc(60% - 20px); /* Show one card at a time on mobile */
    height: 260px;
  }
  .plan-section h2{
    font-size: 1.5rem;
    margin-top: 4rem;
  }
  .plan-section p{
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
 
}
  
/* Header Styles */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0); /* Initially visible */
  opacity: 1;
  font-family: 'Poppins', sans-serif; /* Use Poppins font */
  
}

/* Scrolled Header Background */
.site-header.scrolled {
  background-color: rgba(19, 133, 255, 0.879); /* Add your preferred background */
}

.site-header.hidden {
  transform: translateY(-100%); /* Slide up when hidden */
  opacity: 0;
}

.site-header.visible {
  transform: translateY(0); /* Slide down when visible */
  opacity: 1;
}

.site-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content:space-between;
  margin-top: -0.5rem;
  margin-bottom: -0.5rem;
  
}
.site-nav > * {
  order: 0; /* Default order for all children */
}



.site-nav ul {
  list-style-type: none;
  display: flex;
  gap: 50px;
  align-items: center;
  font-weight: 500;
  font-size: 12px;


}


.site-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #e6c200;;
}



.logo {
  display: flex;
  align-items: center;
  border: seashell;
  
  
}


.main-content {
  padding-top: 20px; /* Offset for fixed header */
}

.btn {
  margin-top: 20px;
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  animation: flashing 1s infinite;
}

/* General Icon Styles */


/* Hover Effect */
.hamburger:hover,
.exit:hover {
  color:#e6c200; /* Change color on hover */
  transform: scale(1.1); /* Slightly enlarge icon on hover */
}

.hamburger{
  display: none;
}

.hamburger svg {
  width: 35px;
  height: 35px;
  stroke: #ffffff;
  border: none;
  color: white;
}


.overlay-menu ul {
  list-style-type: none;
  text-align: center;
}
.hamburger,
.exit {
  font-size: 1.6rem; /* Larger size for better visibility */
  color: #ffffff; /* Neutral modern color */
  cursor: pointer; /* Show pointer on hover */
  transition: transform 0.3s ease, color 0.3s ease; /* Smooth effects */
  z-index: 1001; /* above other content */
  margin-bottom: -0.d5rem;
  background: none;
  border: none;

}
.exit{
  margin-left: -2rem;
}

.contact-button{
  background: #ffd700;
  color: #333;
  padding: 6px 12px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: .9rem;
  cursor: pointer;
  transition: background 0.3s;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .site-nav{
    justify-content: space-between;
  }

  
  
    .hamburger {
      order: -1; /* Move the hamburger icon to appear first */
    }
  
    .logo {
      order: 0; /* Keep the logo in its original position */

    }
  
    .overlay-menu {
      order: 1; /* Keep the overlay menu in its original position */
    }
  
    .contact-button {
      order: 2; /* Ensure the contact button is last */
    }
  

  .logo-and-hamberger
{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}


  .site-nav ul {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 8rem;
    gap: 0;

  }

  .site-nav li {
    margin-top: 10px;
    gap: 0;
  }

  .monetization-info {
  font-size: 16px;
  }

  .overlay-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color:#1877f2;

    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
   
}

.overlay-menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  text-align: center;
  
}




}
/* Hide the menu (ul) on mobile */
@media (max-width: 768px) {

  .hamburger {
    display: block;
    margin-left: -1.9rem;
    
  }
}

 




/* Testimonials Section */
.testimonials-section {
  text-align: center;
  padding: 40px 20px;
  background: url('img/Testinonial-background.png') no-repeat center center/cover;
}

.section-title {
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 2rem;
  font-weight: bold;
  margin-top: 18rem;
}

/* Testimonial Carousel Wrapper */
.testimonial-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

/* Testimonial Carousel */
.testimonial-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Smooth transition for scrolling */
  will-change: transform; /* Improve performance */
  overflow-x: scroll; /* Allow horizontal scrolling */
  scroll-snap-type: x mandatory; /* Enable scroll snapping */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

/* Testimonial Card */
.testimonial-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
  flex: 0 0 calc(100% - 20px); /* Full width on smaller devices */
}

/* Image Styling */
.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
}

/* Text and Ratings */
.name-tab {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 5px;
  color: #333;
}

.stars {
  font-size: 1rem;
  color: #f4c150; /* Gold color for stars */
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

/* Scroll Indicators */
.testimonial-indicator {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.testimonial-indicator .dot {
  width: 12px;
  height: 12px;
  background: #0056b3;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.testimonial-indicator .dot.active {
  background: #ffffff;
  border: 2px solid #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 120px 10px;
    background: url(img/Testinonial-mobil-background.png)no-repeat center center/cover;
  }
  .section-title{
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 15px;
    margin: 0 5px;
    flex: 0 0 calc(90%); /* Slightly narrower cards */
  }

  .testimonial-img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
  }

  .name-tab {
    font-size: 0.9rem;
  }

  .testimonial-text {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .testimonial-indicator .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 20px 10px;
  }

  .testimonial-card {
    flex: 0 0 calc(100%); /* Full width on extra small screens */
    padding: 10px;
    border-radius: 8px;
  }

  .testimonial-img {
    width: 35px;
    height: 35px;
  }

  .name-tab {
    font-size: 0.8rem;
  }

  .testimonial-text {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .testimonial-indicator .dot {
    width: 8px;
    height: 8px;
  }
}




.about-section {
  padding: 5rem 0;
  text-align: center;
  color: #444;
}

.about-section h1 {
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 3rem;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
}

.about-text {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  padding: 0 1.5rem;
}

.about-image {
  text-align: center;
  padding: 0 1.5rem;
}

.about-image img {
  image-resolution: 10px;
  width: 100%;
  max-width: 400px;
  height: auto;
}


/* Responsive adjustments */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text, .about-image {
    padding: 0;
  }

  .about-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .about-section h2 {
    font-size: 2.2rem;
  }

  .about-image img {
    max-width: 60%;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 4rem 0;
  }

  .about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }
}








/* Footer Styling */
.site-footer {
  background-color: #1a1a1a;
  color: #f1f1f1;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
  border-bottom: 2px solid #f1c40f;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  color: #f1f1f1;
  text-decoration: none;
}

.footer-section a:hover {
  color: #f1c40f;
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section ul li a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #f1c40f;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: #f1c40f;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-section {
    text-align: center;
    min-width: 100%;
  }

  .footer-section h3 {
    font-size: 1.5rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 1rem;
  }

  .footer-bottom {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 20px 15px;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

.close-popup {
  background: #0056b3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.close-popup:hover {
  background: #004090;
}