/* General */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: whitesmoke;
    color: #333;
  }
  
  /* Landing / Hero */
  .landing-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;      /* Full screen */
    text-align: center;
    padding: 60px 20px;
    background: #f7dfe9;
    background: linear-gradient(148deg, rgba(247, 223, 233, 1) 0%, rgba(149, 170, 191, 1) 68%);
  }
  
  .landing-header h1 {
    font-size: 5rem;
    margin: 0 0 50px 0;
    color: #333;
    opacity: 0;
    transform: scale(0.5);
    animation: zoomIn 1s ease-out forwards;
  }
  
  /* Keyframes for zoom in */
  @keyframes zoomIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
  }
  
  /* Menu Grid */
  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    width: 80%;
    max-width: 600px;
    animation: zoomIn 1s ease-out forwards;
    justify-items: center;
  }

  
  .menu-item {
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;      /* smaller for mobile */
    padding: 10px 14px;   /* reduces size to fit */
    background: white;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;   /* center text */
    width: 100%;          /* make it fill the grid cell */
    max-width: none;     /* optional */
  }
  
  .menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  #my-story header {
    margin: 40px;
    padding-top: 50px;
  }
a{
  color: inherit;
}
  .social-links {
  margin: 30px auto;
  max-width: 600px;   
  padding: 0 15px;  
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  font-size: 18px;
}

.social-links a {
  color: inherit;
  text-decoration: underline;
}

.social-links a:hover {
  color: gray;
}

@media (max-width: 480px) {
  .social-links {
    font-size: 14px;  
  }
}


  /* Enable smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
  }  

  .social-links .emoji {
    margin-right: 6px; /* adds space between the emoji and the text */
  }
  
  /* Sections (Latter Part) */
  .section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;          
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
  /* Fade-in class */
  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* About Section */
  .about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .about-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 1 1 300px;
  }
  
  #lia_pic {
    flex: 1 1 200px;
    max-width: 250px;
    border-radius: 12px;
    object-fit: cover;    
  }
  
  /* Projects / Services Grid */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .card {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
  }
  
/* Progress Section */
.progress-container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
  }
  
  .progress-bar {
    width: 100%;
    background: #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #A5CBB0, #6DA285);
    width: 0;
    transition: width 1.5s ease;
  }
  
  .progress-text {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
    color: rgb(229, 218, 218);
  }
  
  .progress-count {
    margin-top: 10px;
    font-size: 1rem;
    color: rgb(229, 218, 218);
  }
  

  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    background: #eee;
    margin-top: 40px;
  }

  @media screen and (max-width: 768px) {
    /* Hero title smaller */
    .landing-header h1 {
      font-size: 3rem;
    }
  
    /* Reduce padding */
    .landing-header {
      padding: 40px 15px;
    }
  
    /* Stack About section vertically */
    .about-container {
      flex-direction: column;
      gap: 20px;
    }
  
    #lia_pic {
      max-width: 180px;
      width: 100%;
      height: auto;
    }
  
    .menu-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
        gap: 15px;
        width: 90%;         
        max-width: 600px;     
        justify-items: center;
      }
      
  
    .projects-grid {
      grid-template-columns: 1fr; 
      gap: 15px;
    }
  
    .section {
      padding: 40px 15px;
    }
  }
  
  .card img {
    width: 100%;             
    height: auto;           
    border-radius: 10px;     
    margin-bottom: 10px;      
    object-fit: cover;        
    display: block;          
}
  #backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none; /* hidden initially */
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
  }
  
  #backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }

  #backToTop svg {
    width: 24px;
    height: 24px;
  }
  

/* Carousel container + slides */
.carousel-container {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    overflow: hidden;
    position: relative;
  }
  
  .carousel {
    display: flex;
    width: 100%;
    will-change: transform;
    transition: transform 0.6s ease;
  }
  
  /* Each slide should take full container width */
  .testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 28px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
  }
  
  /* Content inside slide */
  .stars { font-size: 1.3rem; letter-spacing: 2px; color: #FFD700; margin-bottom: 14px; }
  .testimonial-text { font-size: 1rem; font-style: italic; color: #444; margin-bottom: 12px; }
  .testimonial-name { font-weight: 700; color: #333; font-size: .95rem; }
  
  /* Dots */
  .carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
  }
  .carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: skyblue;
    cursor: pointer;
    padding: 0;
  }
  .carousel-dots button.active {
    background: gray;
  }
  
  /* Pause hint when hovered */
  .carousel-container:hover { cursor: grab; }
  
  /* Responsive tweaks */
  @media (max-width: 600px) {
    .testimonial-slide { padding: 20px; }
    .carousel-container { max-width: 92%; }
  }
  
h2{
    text-align: left;
}
.whitetext{
    text-align: center;
    color: rgb(229, 218, 218);
}

.blacksection{
    background-color: #1f1f1f;
}

/* Form container styling */
form {
    max-width: 1000px;
    margin: 0 auto; 
    padding: 30px;
    background-color: #1f1f1f; 
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Montserrat', sans-serif;
  }
  
  /* Labels */
  form label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: #fff;
    font-size: 16px;
  }
  
  /* Inputs and textarea */
  form input,
  form textarea {
    margin-top: 8px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-family: inherit;
    outline: none;
  }
  
  /* Different background for input fields */
  form input {
    background-color: #f5f5f5;
    color: #333;
  }
  
  form textarea {
    background-color: #f5f5f5;
    color: #333;
    resize: vertical;
    min-height: 80px;
    max-width: 1000px;
  }
  
  /* Submit button */
  form button {
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: #7c6dc1;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  form button:hover {
    background: #6ea889;
    transform: translateY(-2px);
  }
  
  /* Responsive adjustments */
  @media (max-width: 600px) {
    form {
      padding: 20px;
    }
  }
  
  #my-story {
    text-align: left;
    margin: 18;
    padding: 18;
  }

#my-story h1,
#my-story h2,
#my-story p {
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.story-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: left;
}

.story-container h1 {
  margin-bottom: 20px;
}

.story-container h2 {
  margin-bottom: 30px;
}

.story-container p {
  line-height: 1.7;
}

@media (max-width: 600px) {
  .story-container {
    margin: 40px auto;
  }
}
@media (max-width: 480px) {

}
