*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 40px
}

header{
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
}

.logo{
    width: 40px;
    cursor: pointer;
}

.brand-name{
    font-weight: bold;
    position: absolute;
    left: 47%;
}

li, a, button{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: black;
    text-decoration: none;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
    z-index: 100000000;
}

.nav_links{
    list-style: none;
    margin-right: 580px;
}

.nav_links li{
    display: inline-block;
    padding: 0px 20px;
}

.nav_links li a{
    transition: all 0.3s ease 0s;
}

.nav_links li a:hover{
    color: #388004;
    text-decoration-line: underline;
}

button{
    padding: 15px 25px;
    background-color: #274317;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

button:hover{
    background-color: #4e872f;
}

/*
.banner{
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner::before{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #ffffff, transparent);
    z-index: 10000;
}

.banner::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff, transparent;
    z-index: 10000;
    mix-blend-mode: color;
}

.banner img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

#houses{
    z-index: 2;
}
*/

#text{
    position: relative;
    top: -50px;
    color: rgb(22, 87, 41);
    font-size: 3.5em;
    font-weight: bolder;
    z-index: 1;
}

.banner {
    position: relative;
    width: 100%;
    height: 70vh;              /* makes it fill most of the screen */
    overflow: hidden;
}

.banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;        /* ensures the image covers without stretching */
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 82, 37, 0.5); 
    z-index: 1; 
} 

.banner h2 {
    position: relative;
    color: white;             /* so text stands out */
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);  /* vertically centers text */
    z-index: 1000000;
}

.services{
    text-align: center;
    padding: 70px 20px;
}

.services h5{
    margin-bottom: 30px;
    font-size: 35px;
    font-weight: bold;
}

.services p{
    margin-bottom: 20px;
    line-height: 1.5;
}

.services button{
    padding: 15px 70px;
    background: #274317;;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.services button:hover{
    background-color: #4e872f;
}

.browser-card{
    width: min(900px, 90%);
    margin: 50px auto 0;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    background: #fff;
}
  
.browser-card__topbar{
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f5f5f7;
    border-bottom: 1px solid #eee;
}
  
.dot{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
  
.dot--red{ background:#ff5f57; }
.dot--yellow{ background:#febc2e; }
.dot--green{ background:#28c840; }
  
.browser-card__body{
    background: #fafafa;
}
  
.browser-card__body img{
    display: block;
    width: 100%;
    height: auto;           
    object-fit: cover;       
}


.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;                 /* space between text and card */
    padding: 80px 10%;
    margin-bottom: 30px;
}
  
.about-text {
    flex: 1;                  
}
  
.about-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
  
.about-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
  
.about-card {
    flex: 1;                   
    display: flex;
    justify-content: flex-end;
}
  
.browser-card.small {
    width: 600px;              /* smaller version */
}
  
.main-title h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.meet-team h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    margin-bottom: 50px; /* increased space between heading and cards */
}

/* Card Container */
.card-container {
    padding: 3rem;
}

/* Cards Section */
.cards {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Card Styles */
.card {
    width: 300px;
    height: 400px;
    perspective: 1000px; 
    border-radius: 15px; 
    overflow: hidden; 
    transition: transform 0.3s ease; 
}

.card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    position: relative;
}


.card-inner.flipped {
    transform: rotateY(180deg);
}

.card { cursor: pointer; }


/* Card Front and Back */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
    border-radius: 15px; 
}

/* Card Front Image */
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Card Back Content */
.card-pink .card-back{
    background-color: #b6cbaf; 
}

.card-back {
    display: flex;
    justify-content: center;  
    align-items: center;    
    flex-direction: column;
    padding: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: rotateY(180deg); 
    text-align: center; 
    height: 100%;
}


.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 15px;
}

.card-back p {
    font-size: 1rem;
}

.card-back h3, .card-back p {
    font-size: clamp(1rem, 4vw, 1rem); 
}

.cards {
    display: flex;
    justify-content: center; /* center all rows */
    flex-wrap: wrap;         /* allow multiple rows */
    gap: 6rem;               /* spacing between cards horizontally & vertically */
}

.contact h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.media-icons {
    margin-top: 100px;
    margin-bottom: 100px;
    text-align: center;
  }
  
  .icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px; /* equal space between icons */
    margin-top: 60px;
  }
  
  .media-icons a {
    color: #388004;
    font-size: 2em;
    transition: color 0.3s ease;
  }
  
  .media-icons a:hover {
    color: #2a5d02;
  }
