/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", Arial, sans-serif;
  background: #f6f8fb;
  color: #222;
  line-height: 1.6;
}

body, html {
  margin: 0;
  padding: 0;
}


/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 20, 30, 0.06);
  position: fixed;
  width: 100%;
  z-index: 1000;
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75em 2em;
}


/* Logo */
.logo-link {
  display: flex;
  align-items: center;
}
.logo {
  width: 55px;
  height: auto;
}


/* Desktop Menu */
.desktop-menu {
  display: flex;
  list-style: none;
}
.desktop-menu li {
  margin-left: 2em;
}
.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #222;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  padding: 0.5em 0.4em;
  display: block;
}
.nav-link:hover,
.nav-link.active {
  color: #b19360;
}


/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}
.menu-toggle span {
  display: block;
  height: 4px;
  width: 28px;
  background: #222;
  margin: 4px 0;
  border-radius: 3px;
  transition: 0.3s;
}


/* Mobile Nav (Slide-out Panel) */
.mobile-nav {
  display: none;
}


/* Mobile-specific styles */
@media (max-width: 950px) {
  .navbar-container {
    padding: 0.5em 1em;
  }
}
@media (max-width: 768px) {
  .navbar-container {
    padding: 0.5em 1em;
  }
  .logo {
    width: 42px;
  }
  .desktop-menu {
    display: none !important;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.09);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-logo {
    text-align: center;
    padding: 2.2em 1em 1.2em 1em;
    border-bottom: 1px solid #f1e9c9;
    background: #f8f7f2;
  }
  .mobile-logo img {
    width: 56px;
    height: auto;
    display: inline-block;
  }
  .mobile-nav .nav-menu {
    display: flex;
    flex-direction: column;
    padding: 1em 2em;
    width: 100%;
  }
  .mobile-nav .nav-link {
    margin: 0.7em 0;
    font-size: 1.15em;
    padding: 0.7em 1em;
    text-align: left;
    border-radius: 5px;
    background: none;
    width: 100%;
    min-width: 0;
    max-width: 99%;
    white-space: normal;
    overflow-wrap: break-word;
  }
}


/* Sections */
.section {
  padding: 5em 0;
  background: #fff;
}
.section-alt {
  background: #f3f3fa;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5em;
}
h1,
h2 {
  margin-bottom: 1em;
  font-weight: 800;
  color: #223348;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
p {
  margin-bottom: 1em;
}


/* Hero Section */
.hero-section {
   padding-top: 57px; /* Adjust this to the height of your top menu */
  /* background: url("../images/header.jpg") center center/cover no-repeat;
  min-height: 480px; /* increased from 420px 
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden; */


background-image: url("../images/header2.jpg");
  background-repeat: no-repeat;       /* Prevents tiling */
  background-position: center center; /* Centers image horizontally and vertically */
  /*background-origin: content-box;       Makes sure background positioning uses content box */
  background-clip: border-box;         /* Clips background within border box */

  background-size: cover;


background-origin: border-box;



}


.heading-text {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 1.5em;
}


.subheading-text {
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 200;
  font-size: 1.0em !important;
}


.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
 
}
.hero-content {
  padding: 3.5em 0.5em;
  text-align: center !important;
  margin-left: 84%;
  transform: translateX(-40%);
  max-width: 100% !important;
  color: #fff;
  position: relative;
}




.hero-content h1,
.hero-content p,
.hero-btn {
  position: relative;
  z-index: 2;
}
.hero-btn {
  font-size: 1.1em;
  font-weight: 700;
  display: inline-block;
  padding: 0.85em 2em;
  color: #fff;
  background: #b19360;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.25s;
}
.hero-btn:hover {
  background: #685533;
}


/* Hero content shown below image container on mobile */
.hero-content-mobile {
  display: none;
  max-width: 630px;
  margin: 2em auto 4em auto;
  padding: 2.5em 3em;
  background: rgba(35, 35, 65, 0.48);
  border-radius: 10px;
  color: #fff;
  text-align: center;
}
.hero-content-mobile h1,
.hero-content-mobile p,
.hero-content-mobile .hero-btn {
  position: relative;
  z-index: 2;
}


/* Contact Button */
.contact-btn {
  font-size: 1em;
  font-weight: 700;
  display: inline-block;
  background: #b19360;
  color: #fff;
  padding: 0.75em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 1em;
  transition: background 0.2s;
}
.contact-btn:hover {
  background: #ad822f;
}


/* Footer */
footer {
  padding: 2em 0 1em 0;
  background: #22293f;
  color: #fff;
  text-align: center;
}
footer .container {
  padding: 0;
}


/* Utility */
.active {
  color: #b19360;
}


/* Mobile view specific overrides */
@media (max-width: 768px) {
  .hero-section {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: 400px !important;
    min-height: 400px !important;
    position: relative;
    
    margin-bottom: -2.5em;
    padding-bottom: 0;
    
  }
  .hero-overlay {
    display: none !important; /* hide overlay on mobile */
    
  }
  .hero-content {
    display: none !important; /* hide absolute content on mobile */
  }
  .hero-content-mobile {
  display: block !important;
  position: relative;
  max-width: 90%;
  margin: 1em auto 3em auto; /* reduced top margin for less gap */
  padding: 1em 1.5em; /* consistent padding retained */
  background: rgba(35, 35, 65, 0.48);
  border-radius: 10px;
  color: #fff;
  text-align: center;
  z-index: 2;
   margin-top: 0.5em !important; /* minimal top margin */
    padding-top: 1em; /* keep padding for readability */
}


  .container {
    padding-top: 0; /* in case container adds extra padding */
  }

}
/* } */




/* Added Styles for New Content Areas & Images */

/* Flex container to align image and text side by side */
.flex-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;
}

/* Text content in flex sections should be flexible and max-width limited */
.text-content {
  flex: 1 1 400px;
  min-width: 280px;
}

/* Placeholder image container */
.section-image-placeholder {
  flex: 1 1 350px;
  max-width: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 1.5em;
}

/* Responsive image style */
.section-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Why Coventure list style */
.why-list {
  list-style-type: disc;       /* explicitly set bullet type */
  list-style-position: outside; /* default, make bullet visible */
  padding-left: 40px;          /* enough left padding to show bullets */
  margin-top: 0.5em;
  color: #444;
  font-weight: 500;
}

.why-list li {
  margin-bottom: 1.5em;        /* add spacing between bullets */
}


/* Services list style */
.services-list {
  list-style-type: disc;       /* explicitly set bullet type */
  list-style-position: outside; /* default, make bullet visible */
  padding-left: 40px;          /* enough left padding to show bullets */
  margin-top: 0.5em;
  color: #444;
  font-weight: 500;
}

.services-list li {
  margin-bottom: 1.5em;        /* add spacing between bullets */
}


/* Contact info buttons styling */
.contact-info {
  margin: 1em 0;
}

.phone-btn {
  display: inline-block;
  margin-top: 0.4em;
}

/* Responsive flex stack on narrower screens */
@media (max-width: 750px) {
  .flex-section {
    flex-direction: column;
  }
  .section-image-placeholder {
    max-width: 100%;
    margin-top: 1em;
  }
}
