/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Book Antiqua, sans-serif;
  margin: 0;
  padding: 0;
	padding-top: 175px;
}

/* Default (Desktop) Styles */
.mobile-logo {
  display: none;
}
.logo {
  display: block;
  text-align: center;
}
.menu-toggle {
  display: none;
}
.left-menu,
.right-menu {
  list-style-type: none;
  display: flex;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #021010;
  padding: 10px 20px;
	position: fixed; 
	top: 0; 
	left: 0; 
	width: 100%;
	z-index: 1000; /* Stays above other content */
  transition: padding 0.3s ease;

}

.left-menu li,
.right-menu li {
  position: relative;
  margin: 0 15px;
}

.left-menu a,
.right-menu a {
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  letter-spacing: 3px;
}

.left-menu a:hover,
.right-menu a:hover {
  background-color: #9ea998;
  border-radius: 5px;
}

.logo a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

/* Dropdown menu styles */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #677663;
  list-style-type: none;
  padding: 0;
  width: 350px;
  border-radius: 5px;
  z-index: 1000;
  border-color: #021010;
  border-width: 1px;
  border-style: solid;
  
	
}

.dropdown-menu li a {
  padding: 10px;
  color: white;
  text-decoration: none;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #9ea998;
}

/* Hamburger menu */
.menu-toggle {
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 21px;
  justify-content: space-between;
}

.bar {
  height: 4px;
  width: 100%;
  background-color: white;
  border-radius: 5px;
}
/* Adjust padding when scrolled */
.navbar.scrolled {
  padding: 10px 20px;
}

/* Ensure logo resizes */
.navbar.scrolled .logo img {
  width: 100px;
	height: 30px;

}

/* Optional: Swap logo */
.navbar.scrolled .logo img {
   content: url('images/logo-horizontal-small.png'); 
}

/* Tighten menu items */
.navbar.scrolled .left-menu a,
.navbar.scrolled .right-menu a {
  padding: 5px 10px;
}

/* End of Menu CSS ---- Hero section below------------------------------------------------------------------------------------*/


.hero {
  background-color: #9ea998; /* Muted Olive Green */
  padding: 60px 0;
  text-align: center;
}

.title-section h1 {
  font-size: 50px;
  margin-bottom: 20px;
  letter-spacing: 5px;
	color: #fff;
}

.title-section h2 {
  font-size: 24px;
  margin-bottom: 30px;
  letter-spacing: 3px;
}

button {
  background-color: #0c2a1e;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #354e39;
}

/* Services Section ------------------------------------------------------------------------ */
.services {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  font-size: 3.5rem;
  margin-bottom: 40px;
  color: #354e39;
}

/* Service Card Styles */
.service-card {
  width: 300px;
  height: 340px; /* Increased to fit 260px image + h3 + shadow */
  margin: 20px;
  perspective: 1000px;
  display: inline-block;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Flip effect on hover */
.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

/* Card Faces */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Front Side - Image and Title */
.card-front {
  background-color: #021010;
  padding: 20px;
  text-align: center;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Your drop shadow */
}
.card-front h3
{
	color: #9ea998;
	letter-spacing: 5px;
	font-size: 24px;
}

.card-front img {
  width: 260px; /* Fits within 300px width - 40px padding */
  height: 260px; /* Reduced to fit height + shadow */
  object-fit: cover;
  margin-bottom: 10px;
  
}

/* Back Side - Description and Button */
.card-back {
  background-color: #021010;
  color: white;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-back p {
  font-size: 1rem;
  margin-bottom: 20px;
  padding: 0 10px;
  text-align: center;
	letter-spacing: 3px;
	color: #9ea998;
	
}

/* Learn More Button */
.learn-more {
  background-color: #0c2a1e;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.learn-more:hover {
  background-color: #354e39;
}
/* About Section --------------------------------------------------------------------*/
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 20px;
  background: #677663;
	
}

.about-image, .about-text {
  width: 350px;
  height: 350px;
}

.about-image img {

  object-fit: cover;
  border-radius: 8px;
	padding-right:50px;
	width: 300px;
	height: 300px;
}

.about-text {
  display: flex;
  flex-direction: column;
  
}

.about-text h2 {
  font-size: 34px;
  margin-bottom: 10px;
	color: #9ea998;
	text-align: center;
	padding-top:40px;
	letter-spacing: 3px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.5;
	color: #FFFFFF;
	text-align: center;
	letter-spacing: 1.5px;


}
.learn-more-about {
  background-color: #0c2a1e;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
	width: 200px;
	height: auto;
	text-align: center;
	margin: auto;
	
	
}

.learn-more-about:hover {
  background-color: #354e39;
}


/* ------------Responsive Styles ------------------------------------------------------------------- */

/* Mobile styles: max-width 768px ------------ Top Menu --------------------------------*/
@media screen and (max-width: 768px) {
  /* Show mobile logo and hamburger; hide desktop logo */
  .mobile-logo {
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }
 .logo {
    display: none;
  }
  .menu-toggle {
    display: flex;
    position: absolute;
    top: 10px;
    right: 20px;
  }
  

  
  /* Hide menus by default */
  .left-menu,
  .right-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  
  /* When navbar has "active" class, display the menus */
  .navbar.active .left-menu,
  .navbar.active .right-menu {
    display: flex !important;
  }
  
  .left-menu li,
  .right-menu li {
    text-align: center;
    margin: 5px 0;
  }


  .mobile-logo img {
    width: 150px;
    height: auto;
    transition: width 0.3s ease;
  }
 

  
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
  
 

  /* Scrolled state for mobile */
  .navbar.scrolled {
    padding: 5px;
  }

  .navbar.scrolled .mobile-logo img {
    width: 80px;
   content: url('images/logo-horizontal-small.png'); /* Uncomment for mobile swap */
  }


  .navbar.scrolled .left-menu a,
  .navbar.scrolled .right-menu a {
    padding: 5px 0;
  }

  .navbar.scrolled .menu-toggle {
    top: 5px;
  }


/* ---------- Hero Section responsive fix  ---------------- */
	.hero-text h1 {
		font-size: 30px;
	}
	.hero-text h2 {
		font-size: 18px;
		max-width: 95%;
	}

/* Services cards responsive fix */
	
	.services .container h2 {
		font-size: 30px;
	}

  .services .service-card {
    width: 80%;
    margin: 20px auto;
  }
	.about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-image, .about-text {
    width: 100%;
    height: auto;
  }

  .about-image img {
    width: 70%;
    height: auto;
  }
	.about-text p {
  margin-bottom: 50px;

}

.learn-more-about {
 
	text-align: center;
	margin:auto;
	
}
}
