html, body {
      height: 100%;
      margin: 0;
}

.google-sans-code{
  font-family: "Google Sans Code", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

main {
  padding-top: 70px; 
}


.section {
  padding: 4rem 0;
}

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



#home {
    min-height: 100vh; 
}


.home {
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}


.container.home-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.home-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem 0;
  /*font-weight: 500;*/     
}

.home-text h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 0.75rem 0;
  font-weight: 400;
}

.home-text h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin: 0 0 0.5rem 0;
  font-weight: 300;     
}

.home-text p {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  margin: 0;
  font-weight: 300;     
}

.home-text a{
  text-decoration: none;   
  color: #000;          
}

.story-script-regular {
  font-family: "Story Script", sans-serif;
  font-weight: 400;
  font-style: normal;
}



.home-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}


@media (min-width: 768px) {
  .container.home-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}





#about_page_1 {
    min-height: 100vh; 
}


.about_page_1 {
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}



#about_page_2 {
    min-height: 100vh; 
}


.about_page_2 {
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}



#about_page_3 {
    min-height: 100vh; 
}


.about_page_3 {
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}



#projects {
  min-height: 100vh; 
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*display: flex;*/
  align-items: center; 
}

.projects_title {
  min-height: 30vh;
  display: flex;
  }


.containerpt.home-gridpt {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;

  display: flex;
  justify-content: center;   
  align-items: center;       
}




.projects {
  min-height: 70vh;
  display: flex;

}


.containerp.home-gridp{
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;

  
  grid-template-columns: 1fr;
}


.card {
  background-color: #fff;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
  overflow: hidden;            
  max-width: 500px;            
  margin: 0 auto;
}


.card img {
  width: 100%;
  height: 300px;             
  object-fit: cover;         
  display: block;
}



.card p {
  margin: 0;
  padding: 1rem;
  text-align: center;
}

.card a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
}



@media (min-width: 768px) {
  .containerp.home-gridp {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}


@media (min-width: 1024px) {
  .containerp.home-gridp {
    grid-template-columns: repeat(3, 1fr);
  }
}



#contact {
    min-height: 100vh; /* full screen height */
}

.contact {
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

/* Image styling */

.home-image form {
  width: 100%;
  max-width: clamp(260px, 40vw, 400px);
  padding: clamp(1.5rem, 4vw, 3rem);
  margin: 0 auto;
  background: #7ee8e3;
  border-radius: 30px;
   justify-self: center;
}


.home-image h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.home-image p {
  max-width: 420px;
  line-height: 1.6;
}


.home-image h2 {
  margin-bottom: 1.5rem;
}

.home-image label {
  font-size: 1rem;
}

.home-image input,
.home-image textarea {
  width: 100%;
  margin-bottom: 1.2rem;
  padding: 0.7rem  0.85rem;
  border-radius: 20px;
  border: none;
  box-sizing: border-box;
  font-size: 1rem;
}

.home-image button {
  background: #000;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}


.form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: block;      /* always block to reserve space */
  opacity: 0;          /* start invisible */
  transition: opacity 0.5s ease;
  height: 1.2em;       /* reserve enough space so form doesn't jump */
}

.form-message.success {
  color: green;
}

.form-message.error {
  color: red;
}



.phone-error {
  color: #b00020;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
  margin-right: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}




@media (max-width: 900px) {
  .home-image {
    /*grid-template-columns: 1fr;*/
     grid-template-columns: 1fr 1fr;
     justify-self: center;
  }   
}



.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1500;
}

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

.logo img {
  height: 40px;        
  width: auto;
  transform: scale(3.2);   
  transform-origin: left center;
}




.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  opacity: 0.7;
}


.hamburger {
  display: none;
  font-size: 1.8rem;
  z-index: 2000;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }


@media (max-width: 768px) {
  .logo img {
    height: 50px;
    width: auto;
    transform: scale(2.7);   
    transform-origin: left center;
}
}



  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;          
    width: 75%;            
    height: 100vh;         
    background: #fff;

    flex-direction: column;
    align-items: flex-start;
    padding-top: 4rem;

    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;              
  }

  .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
    border-bottom: none ; 
  }
}


footer {
  background: #7ee8e3;
  padding: 0.1rem 0.1rem;
}

.containerft.home-gridft {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  

  display: flex;
  justify-content: center;   
  align-items: center;       
}


