:root{
    --blue:#1F2F5A;
    --brown: #72512E;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    /* text-transform: ; */
    transition: .2s linear;
}



html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    padding-top: 10px;
    overflow-x: hidden;
}

#home,
#about,
#ContactUs,
#OurServices {
  scroll-margin-top: 30rem;
 /* adjust if your header is taller */
}

section::before {
  content: "";
  display: block;
  height: 100px; /* height = header height */
  margin-top: -100px;
  visibility: hidden;
}


.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 1rem;
    background: var(--blue);
    color: #fff;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn:hover{
    background: var(--brown);

}
header{
    position: fixed;
    top:0;left: 0; right:0;
    background: #fff;
    padding:1rem 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    box-shadow: 0.5rem 0.8rem rgba(0,0,0,.1);
}

header .logo{
    font-size: 3rem;
    color: var(--blue);
    gap: 1rem;
    display: flex;
    align-items: center;
    /* margin-right: 100px; */
    margin-left: 10px;
    
}
/* header .logo span{
    color: var(--blue);
} */
 .navbar {
  position: relative;
  display: flex;
  align-items: right;
  gap: 1.5rem;
  padding: 1rem 2rem;
}

.navbar a {
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: 500;
  padding: 0.5rem;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: var(--blue); /* Bright Blue */
  transition: all 0.3s ease;
  border-radius: 3px;
  align-items: right;
}

header .navbar a{
   font-size: 2.5rem;
   padding: 0 1.5rem;
   color:var(--blue);
   /* margin-bottom: 0.2rem;
    margin-top: 1.5rem; */
}
header .logo img{
    width: auto;
    max-height: 9rem;
}
header .navbar a:hover{
    color: var(--brown);

}
header .icons a{
    font-size: 3rem;
    color: #333;
    margin-left: 1.5rem;
}

/* 
header .navbar .contact-btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 1rem;
    background: var(--blue);
    color: #fff;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 2rem;
} */

/* Blue box indicator */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
}

.navbar a {
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: 500;
  padding: 0.5rem;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: var(--blue); /* Bright Blue */
  transition: all 0.3s ease;
  border-radius: 3px;
}


header .navbar .contact-btn:hover{
    background: var(--blue);
    color: #fff;

}
 /* HEADER ENDS HERE */

 /* hOME STARTS HERE */
.home{
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: 10rem;
    margin-bottom: 5rem;
    background:url(bg4.jpg) no-repeat;
    background-size:cover;
    background-position: center;
    color: #fff;
}
.boxed-content {
  background-color: rgba(255, 255, 255, 0.92); /* light box with contrast */
  padding: 2.5rem 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--blue);
  align-content: center;
  max-width: 85rem;
  /* margin-left: 6rem; 
  margin-right: 6rem;match original padding if needed */
  z-index: 10;
}

.boxed-content h3,
.boxed-content span,
.boxed-content p {
  color: var(--blue);
  font-size: 3.2rem; /* instead of 4rem */
  line-height: 1.3;


}

.home .content{
    max-width: 50rem;
    padding-left: 5rem;  
    margin-left: 5rem;
    margin-right: 5rem;
    padding-bottom:4.3rem;
    text-align: left;
}
.home .content h3{
    margin-top: 2rem;
    font-size: 4rem;
    color:var(--blue);
}
.home .content span{
    font-size: 2.5rem;
    color:var(--blue);
    padding:1rem 0;
    line-height: 1.5;
}

.home .content p{
    font-size: 1.9rem;
    color:var(--brown);
    padding:0.8rem 0;
    line-height: 1.5;
}
.home-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.2rem; /* space from paragraph */
}

.sub-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.1rem; /* vertical gap between button and links */
  flex-wrap: wrap; /* wraps on small screens */
}

.btn-primary{
  background: none;
  color: var(--blue); 
  font-size: 1.7rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  margin-top: 2px;
}
.btn-primary::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--blue);
  transition: width 0.3s ease;
}

.btn-primary:hover::after {
  width: 60%; /* adds a hover animation */
  background: var(--brown); /* optional */
}

.btn-secondary{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 1rem;
    background: var(--blue);
    color: #fff;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 1.9rem;
}

.btn-secondary:hover{
    background: var(--brown);
}
.vertical-line {
  font-size: 2rem;  
  color: var(--blue);
  line-height: 1;
  font-weight: bold;
}

#about{
  scroll-margin-top: 12rem;
  padding-top: 4rem
}

.about{
    /* display: flex; */
    /* padding-left: 6rem; */
    justify-content:center;
   padding: 0.5rem 2rem 4rem 2rem;
/* top | right | bottom | left */
   max-width: 100%;
    box-sizing: border-box;
    display: flex;
    margin-left: 3rem;
    margin-right: 3rem;
}
.about .content{
    max-width: 2000px;
    width: 100%;
    text-align:center;
     margin: 0 auto;
}
.about .content h3{
    font-size: 3rem;
    color: var(--blue);
    text-align: center;
    padding-top: 1.5rem;
    margin-bottom: 2px;
    height: -3rem;
    
}
.about .content p{
    font-size: 1.7rem;
    color: var(--brown);
    /* padding: .5rem 0; */
    padding-top: 2rem;
    line-height: 1.5;
    max-width: 100%;
    

}


/* THE WRITTEN PART */
.service-link {
  text-decoration: none;
  display: block;
}

.service {
  background-color: #ffffff;
  padding: 20px 25px;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--blue);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.service h4 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.service p {
  font-size: 1rem;
  color: var(--brown);
  line-height: 1.6;
  margin: 0;
}

.note {
  margin-top: 30px;
  font-size: 2rem;
  color: var(--brown);
  line-height: 1.7;
  text-align: left;
}
 
/* Our services start here */

.founder-horizontal-box {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5rem;
  background-color: #ffffff;
  border-right: 5px solid #1F2F5A;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  margin-bottom: 1rem;
  margin-left: 5rem;
  margin-right: 5rem;
}

.founder-image-container {
  flex: 0 0 260px;
}

.founder-image-container img {
width: 45rem;
  height: 45rem;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.founder-text, .founder-text1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}

.founder-text h4,.founder-text1 h4 {
  font-size: 3rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.founder-text p ,.founder-text1 p  {
  font-size: 1.7rem;
  line-height: 1.6;
  color: var(--brown);
  margin-bottom: 0.8rem;
}

.founder-name {
  color: var(--blue);
  font-weight: bold;
  font-size: 1.6rem;
  text-align: right;
  margin-top: 10px;
}

/* Keep About the Founder styling as is */
.founder-box {
  background-color: #fff;
  border-left: 5px solid #1F2F5A;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #1F2F5A;
  padding: 3rem;
  margin-left: 5rem;
  margin-right: 5rem;
  margin-bottom: 2rem;
}


/* FAQ Section (Card Style) */
.faq-section {
  padding: 4rem 6rem;
  background-color: #f2f2f2;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 2rem;
}

.faq-title {
  text-align: center;
  font-size: 3.5rem;
  color: var(--blue);
  margin-bottom: 3.5rem;
  font-weight: bold;
  padding-top: 3rem;
}

.faq-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  margin-left: 3.5rem;
  margin-right: 3.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 2.5rem;
  padding: 3rem 3rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-left: 6px solid var(--blue);
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2.1rem;
  font-weight: bold;
  color: var(--blue);
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  margin-right: 1rem;
  font-size: 2.3rem;
}

.faq-toggle {
  font-size: 2.8rem;
  color: var(--brown);
  transition: transform 0.3s ease;
}

.faq-answer {
  font-size: 1.7rem;
  color: var(--brown);
  line-height: 1.6;
  margin-top: 1.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.hidden-faqs {
  display: none;
  transition: all 0.3s ease-in-out;
}
.toggle-faqs-button{
 text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
} 

.see-more-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 0.75rem 1.5rem;
  background-color: var(--blue);
  color: white;
  border: none;
  font-size: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.see-more-btn:hover {
  background-color: var(--brown);
}



/* Expanded state */
.faq-card.active .faq-answer {
  max-height: 1000px; /* ensure it's enough for long answers */
  opacity: 1;
}

/* Toggle rotate from "+" to "×" */
.faq-card.active .faq-toggle {
  transform: rotate(45deg);
}
#ContactUs {
  scroll-margin-top: 100px; /* Adjust based on your header height */
}

.contact-section {
  padding: 4rem 6rem;
  background-color: #fff;
  border-top: 5px solid var(--blue);
  max-width: 100%;
  box-sizing: border-box;
}

.contact-container {
  max-width: 800px;
  margin: auto;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 3rem 4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-container h2 {
  font-size: 3rem;
  color: var(--blue);
  margin-bottom: 1rem;
  text-align: center;
}

.contact-container p {
  font-size: 1.7rem;
  color: var(--brown);
  text-align: center;
  margin-bottom: 3rem;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231F2F5A' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;

  padding-right: 3rem; /* Add space to avoid overlap with arrow */
  padding-left: 1.2rem;

  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1.6rem;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  margin-top: 0.5rem;
  width: 100%;
}

.contact-form .form-group {
  margin-bottom: 2rem;
}

.contact-form label {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  resize: vertical;
}

.contact-form select {
  background-color: #fff;
}

.contact-form button.btn {
  background-color: var(--blue);
  color: white;
  padding: 1rem 3rem;
  border-radius: 8px;
  font-size: 1.8rem;
  cursor: pointer;
  border: none;
  transition: #fff 0.3s ease;
}

.contact-form button.btn:hover {
  background-color: var(--brown);
}


.form-message {
  margin-top: 1.5rem;
  font-size: 1.7rem;
  text-align: center;
}

.success-message {
  color: green;
  font-weight: bold;
}

.error-message {
  color: red;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1.6rem;
  margin-top: 0.5rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Responsive fixes and additions */



/* Tablet View */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 10px; /* Adjust based on your mobile navbar height */
  }
  section {
    scroll-margin-top: 90px;
    /* padding-top: 8rem */
  }
}

/* Mobile View */
@media (max-width: 576px) {
  section {
    scroll-margin-top: 80px;
  }
}



@media (max-width: 1200px) {
  .boxed-content {
    padding: 2rem;
  }

  .founder-horizontal-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .founder-image-container img {
    width: 90%;
    height: auto;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56.25%; /* ~9px */
  }

  .home .content,
  .about,
  .founder-horizontal-box,
  .founder-box,
  .faq-section,
  .contact-section {
    margin-left: 2rem;
    margin-right: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  header .navbar a {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .btn,
  .btn-secondary {
    font-size: 1.6rem;
    padding: 0.7rem 2.5rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    /* height: 180px; */
  }

  header .logo {
    margin-bottom: 1rem;
  }

  .home {
    flex-direction: column;
    padding-top: 10rem;
    text-align: center;
  }
  /* section{
    scroll-margin-top: 200px;
  } */
  .home .content,
  .boxed-content {
    margin-left: 0;
    margin-right: 0;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sub-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .vertical-line {
    display: none;
  }

  .faq-question {
    font-size: 1.8rem;
  }

  .faq-answer {
    font-size: 1.6rem;
  }

  .contact-container {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%; /* ~8px */
  }

  .founder-text,
  .founder-text1 {
    text-align: center;
  }

  .btn,
  .btn-secondary,
  .btn-primary {
    font-size: 1.5rem;
  }

  .faq-title {
    font-size: 2.5rem;
  }

  .founder-image-container img {
    width: 100%;
  }
}


/* FOOTERRRRR SECTION */
.footer {
  background-color: var(--blue);
  padding: 1rem;
  color: #fff;
}

.footer .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer .box-container .box {
  flex: 1 1 22rem; /* Shrinks nicely on mobile */
  min-width: 200px;
  text-align: center;
  padding-bottom: 1rem;
}

.footer .box-container .box h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.4rem;
  padding: 0.5rem 0;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.footer .box-container .box a:hover {
  color: var(--brown);
  text-decoration: underline;
}

.site-footer {
  background-color: #f8f8f8;
  padding: 0.5rem 1rem;
  margin: 0;
  text-align: center;
  font-size: 1rem;
  color: #000;

}
.popup-trigger {
  cursor: pointer;
  color: var(--blue);
  text-decoration: underline;
  font-weight: 500;
}

.popup-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.popup-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
  margin-top: 0;
  color: var(--brown);
}

.popup-content p {
  font-size: 14px;
  line-height: 1.6;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--brown);
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

