@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

:root {
  --primary-color: #7a8a56;
  --dark-grey: #333333;
  --medium-grey: #555555;
  --light-grey: #f4f4f4;
  --background-grey: #464646;
  --text-color: #333;
  --white-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.container-cta h2 {
  font-size: 3.5rem !important;
  color: var(--white-color);
  border: none;
  font-weight: 500 !important;
  margin-bottom: 0px !important;
  text-align: left;
}

.container-cta .highlight {
  font-weight: 700 !important;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  color: var(--dark-grey);
  text-align: center;
  padding-bottom: 10px;
  display: inline-block;
  position: relative;
}

h2.who-we-are-title::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -5px;
  width: 60%;
  height: 5px;
  background-color: var(--primary-color);
}

h2.our-services-title::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -5px;
  width: 70%;
  height: 5px;
  background-color: #fff;
}

h2.founder-title::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -5px;
  width: 32.5%;
  height: 5px;
  background-color: var(--primary-color);
}

h2.why-choose-us-title::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -5px;
  width: 41%;
  height: 5px;
  background-color: #fff;
}

h2.testimonials-title::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 75px;
  width: 61.5%;
  height: 5px;
  background-color: var(--primary-color);
}

.btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-width: fit-content;
  text-align: center;
  background-color: #a0a95e;
  color: var(--white-color);
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Header & Nav */
.header {
  background-color: var(--white-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  max-width: 100%;
  position: relative;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-grey);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-left: auto;
  margin-right: auto;
}

.nav-links li {
  padding: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-grey);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(82, 91, 30, 0.8), rgba(82, 91, 30, 0.1)),
    url("/images/background-image.png") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white-color);
}

.hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Who We Are Section */
.who-we-are {
  padding: 80px 0;
  text-align: center;
}

.who-we-are .section-subtitle {
  max-width: 900px;
  margin: 20px auto 40px;
  font-size: 1.1rem;
  color: var(--medium-grey);
  line-height: 1.8;
  text-align: justify;
  position: relative;
}

.who-we-are {
  position: relative;
  overflow: hidden; /* keeps lines inside */
  background-color: var(--white-color);
}

.who-we-are .line {
  position: absolute;
  bottom: 0; /* all start from bottom */
  left: 0; /* near left corner */
  width: 1.5px;
  height: 120%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  opacity: 0.5;
  transform-origin: bottom left; /* pivot all lines from the corner */
}

/* Angles */
.who-we-are .line1 {
  transform: rotate(10deg);
} /* goes to top */
.who-we-are .line2 {
  transform: rotate(35deg);
} /* goes to top */
.who-we-are .line3 {
  transform: rotate(85deg);
} /* goes to bottom */
.who-we-are .line4 {
  transform: rotate(60deg);
} /* goes to bottom */

.features {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 15px;
}

/* Our Services Section */
.our-services {
  padding: 80px 0;
  background-color: #888e59;
  text-align: center;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  position: relative;
  width: 45%;
  height: 400px;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 100%;
  filter: brightness(0.4);
  object-fit: cover;
  transition: filter 0.3s ease;
}

.service-card:hover img {
  filter: brightness(0.2) blur(2px);
}

.service-card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white-color);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-card:hover .service-card-title {
  transform: translate(-50%, -70%);
  opacity: 0;
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white-color);
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1;
}

.service-card:hover .service-card-overlay {
  transform: translateY(0);
}

.service-card-overlay p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Founder Message Section */
.founder-message {
  padding: 80px 0;
}

.founder-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.founder-image {
  flex-basis: 30%;
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  margin-top: 0px;
}

.founder-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(1px);
  pointer-events: none;
}

.founder-image img {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 10px;
}

.founder-text {
  flex-basis: 55%;
}

.founder-text h2 {
  text-align: left;
}

.founder-text blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--medium-grey);
  padding-left: 20px;
  margin: 30px 0;
  position: relative;
}

.founder-text blockquote::before {
  content: "";
  background-image: url("/images/quotes.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  position: absolute;
  left: -15px;
  top: -15px;
  z-index: 1;
}

.founder-name {
  font-weight: 700;
  font-size: 1.2rem;
}

.founder-title {
  color: var(--medium-grey);
}

.btn-linkedin {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.btn-linkedin:hover {
  background-color: #0077b5;
}

.btn-linkedin i {
  margin-right: 8px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 80px 0;
  background-color: var(--primary-color);
  text-align: center;
}

.why-choose-us h2 {
  color: var(--white-color);
}

.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex: 1 1 250px;
  margin-top: 40px;
}

.reason-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 0px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 45%;
}

@media (max-width: 768px) {
  .reason-card {
    width: 100%;
  }
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.reason-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.reason-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark-grey);
}

.reason-card p {
  color: var(--medium-grey);
}

.build-together-link {
  display: inline-block;
  margin-top: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.build-together-link:hover {
  color: #e0e0e0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--light-grey);
  text-align: center;
}

.testimonials-quote-icon {
  text-align: center;
  margin-bottom: 20px;
}

.testimonials-quote-icon img {
  width: 50px;
  height: 50px;
  opacity: 0.7;
}

.testimonial-carousel-wrapper {
  position: relative;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0px;
  max-width: 1150px;
  margin-left: -20px;
  margin-right: -20px;
  overflow: hidden;
}

.testimonial-carousel {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 960px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.testimonial-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 0px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 300px;
  min-height: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.testimonial-quote-icon {
  text-align: center;
  margin-bottom: 15px;
}

.testimonial-quote-icon img {
  width: 30px;
  height: 30px;
  opacity: 0.6;
}

.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--medium-grey);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto !important;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-grey);
}

.testimonial-author span {
  color: var(--medium-grey);
  font-size: 0.9rem;
}

.testimonial-carousel-btn {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 3;
  margin: 0 -10px;
}

.testimonial-carousel-btn:hover {
  background-color: var(--dark-grey);
  transform: scale(1.1);
}

.testimonial-carousel-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Testimonial Carousel Mobile Responsiveness */
@media (max-width: 1024px) {
  .testimonial-carousel {
    max-width: 640px; /* Show 2 cards on tablet */
  }
}

@media (max-width: 768px) {
  .testimonial-carousel-wrapper {
    gap: 15px;
    padding: 15px;
  }

  .testimonial-carousel {
    gap: 20px;
    max-width: 320px; /* Show 1 card on mobile */
  }

  .testimonial-card {
    flex: 0 0 280px;
    padding: 20px;
    min-height: 180px;
  }

  .testimonial-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-info p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .testimonial-carousel-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-carousel {
    max-width: 300px;
  }

  .testimonial-card {
    flex: 0 0 280px;
  }

  .testimonial-carousel-btn {
    position: relative;
    align-self: center;
  }
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 3.2rem;
  color: var(--white-color);
  border: none;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin: 10px auto 40px;
  opacity: 0.95;
}

.cta-section p::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 100px;
  height: 100px;
  background: url("/images/favicon.png") no-repeat center center;
  background-size: 100px auto;
  position: absolute;
  top: -80px;
  right: 0;
  margin: 10px 10px 0 0;
}
.cta-section {
  position: relative;
}
.cta-section p {
  position: relative;
}

.cta-section .btn {
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white-color);
  color: var(--white-color);
  font-size: 1.1rem;
  padding: 15px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: #f9f9f9;
  padding-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

.footer-logo {
  height: 60px;
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 5px;
  color: var(--medium-grey);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a {
  text-decoration: none;
  color: var(--medium-grey);
  transition: color 0.3s ease;
}

.footer-links ul a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-social a {
  color: var(--dark-grey);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 50px;
  font-size: 0.9rem;
  color: var(--medium-grey);
  text-align: center;
}

/* Animations */
.animated-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(122, 138, 86, 0.8);
  animation: modalFadeIn 0.3s ease-out;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 0;
  border-radius: 0px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.close {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: #333;
}

.modal-header {
  text-align: center;
  padding: 30px 30px 20px;
  background-color: #f8f8f8;
  border-radius: 0px 0px 0 0;
}

.modal-icon {
  margin-bottom: 15px;
}

.modal-icon img {
  width: 40px;
  height: 40px;
}

.modal-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-header h2 img {
  width: 50px;
  height: 50px;
}

.modal-header p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

.modal-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 0px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 0px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  text-transform: uppercase;
}

.submit-btn:hover {
  background-color: #6b7a4a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(122, 138, 86, 0.3);
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(3px);
}

/* Modal Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Comprehensive Mobile Responsiveness */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .container-cta h2 {
    font-size: 3rem !important;
  }

  .service-cards {
    gap: 20px;
  }

  .founder-content {
    gap: 30px;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .container {
    padding: 0 25px;
  }

  /* Navigation */
  .navbar {
    padding: 0 20px;
  }

  .nav-links li {
    padding: 0 10px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  /* Hero section */
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  /* Services */
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 80%;
    max-width: 500px;
  }

  /* Founder section */
  .founder-content {
    flex-direction: column;
    text-align: center;
  }

  .founder-image {
    flex-basis: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  .founder-text {
    flex-basis: auto;
  }

  .founder-text h2 {
    text-align: center;
  }

  /* Features */
  .features {
    flex-direction: column;
    gap: 20px;
  }

  /* CTA Section */
  .cta-section h2 {
    font-size: 2.5rem;
  }

  .container-cta h2 {
    font-size: 2.5rem !important;
  }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Header */
  .header {
    position: fixed;
  }

  .navbar {
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

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

  .nav-links li {
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: block;
    padding: 10px 20px;
    width: 100%;
  }

  /* Hero section */
  .hero-section {
    height: 70vh;
    padding-top: 120px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  /* Section headings */
  h2 {
    font-size: 1.8rem;
  }

  .container-cta h2 {
    font-size: 2rem !important;
    text-align: center;
  }

  /* Who we are section */
  .who-we-are {
    padding: 60px 20px;
  }

  .who-we-are-title {
    text-align: center !important;
  }

  .who-we-are .section-subtitle {
    font-size: 0.9rem;
    text-align: center;
    padding: 0 20px;
  }

  /* Services */
  .our-services {
    padding: 60px 0;
  }

  .service-card {
    width: 100%;
    height: 300px;
  }

  .service-card-title {
    font-size: 1.5rem;
  }

  .service-card-overlay {
    padding: 20px 15px 15px;
  }

  .service-card-overlay p {
    font-size: 0.85rem;
  }

  /* Founder section */
  .founder-message {
    padding: 60px 0;
  }

  .founder-image img {
    max-height: 300px;
  }

  .founder-text blockquote {
    font-size: 1rem;
    padding-left: 15px;
  }

  .founder-name,
  .founder-title {
    font-size: 0.9rem;
  }

  .founder-text blockquote::before {
    width: 30px;
    height: 30px;
    left: -10px;
    top: -10px;
  }

  /* Why choose us */
  .why-choose-us {
    padding: 60px 0;
  }

  /* CTA section */
  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }

  .cta-section p::before {
    width: 60px;
    height: 60px;
    background-size: 60px auto;
    top: -50px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom p {
    margin: 5px 0;
  }

  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Modal Responsiveness */
  .modal-content {
    margin: 5% auto;
    width: 95%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 25px 20px 15px;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-form {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  /* Header */
  .navbar {
    height: 60px;
    padding: 0 15px;
  }

  .logo img {
    height: 35px;
  }

  .nav-links {
    top: 60px;
    height: calc(100vh - 60px);
    padding-top: 30px;
  }

  .nav-links li {
    padding: 12px 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 8px 15px;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
  }

  /* Hero section */
  .hero-section {
    height: 60vh;
    padding-top: 100px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  /* Section spacing */
  .who-we-are,
  .our-services,
  .founder-message,
  .why-choose-us {
    padding: 40px 0;
  }

  .cta-section {
    padding: 40px 0;
  }

  /* Typography */
  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  .container-cta h2 {
    font-size: 1.7rem !important;
  }

  .cta-section h2 {
    font-size: 1.7rem;
  }

  /* Services */
  .service-card {
    height: 250px;
  }

  .service-card-title {
    font-size: 1.2rem;
  }

  /* Founder section */
  .founder-image img {
    min-height: 250px;
  }

  .founder-text blockquote {
    font-size: 1rem;
  }

  /* Features */
  .feature-item {
    font-size: 0.9rem;
  }

  .feature-item i {
    font-size: 1.5rem;
    margin-right: 10px;
  }

  /* Reason cards */
  .reason-card h3 {
    font-size: 1.2rem;
  }

  .reason-card p {
    font-size: 0.9rem;
  }

  /* Testimonials */
  .testimonial-card p {
    font-size: 0.9rem;
  }

  .testimonial-author h4 {
    font-size: 1rem;
  }

  .testimonial-author span {
    font-size: 0.8rem;
  }

  /* Buttons */
  .btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  /* CTA section adjustments */
  .cta-section p::before {
    width: 50px;
    height: 50px;
    background-size: 50px auto;
    top: -40px;
  }

  /* Footer */
  .footer-logo {
    height: 50px;
  }

  .footer-social a {
    font-size: 1.3rem;
  }

  /* Modal adjustments */
  .modal {
    padding: 10px;
  }

  .modal-content {
    width: 98%;
    margin: 2% auto;
  }

  .modal-header {
    padding: 20px 15px 10px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-header h2 img {
    width: 40px;
    height: 40px;
  }

  .modal-form {
    padding: 15px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.8rem;
  }

  .container-cta h2 {
    font-size: 1.5rem !important;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .service-card-title {
    font-size: 1rem;
  }

  .modal-header h2 {
    font-size: 1.1rem;
  }

  .who-we-are .section-subtitle {
    font-size: 0.8rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .btn:hover,
  .service-card:hover,
  .nav-links a:hover {
    transform: none;
  }

  /* Larger touch targets */
  .nav-links a {
    padding: 15px 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn {
    min-height: 44px;
    padding: 12px 25px;
  }

  .footer-social a {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Improve scrolling performance */
* {
  -webkit-overflow-scrolling: touch;
}

/* Prevent text size adjustment on iOS */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Improve tap highlight */
* {
  -webkit-tap-highlight-color: rgba(122, 138, 86, 0.2);
}

.svg-icon:hover svg {
  fill: var(--primary-color) !important; /* For inline SVGs */
  color: var(--primary-color) !important; /* For font-based icons */
}
.svg-icon:hover svg path {
  fill: var(--primary-color) !important; /* For SVG path elements */
}
