/* Policy pages styling */
.policy-main {
  max-width: 720px;
  margin: 64px auto 48px auto;
  padding: 48px 32px 56px 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(122, 35, 40, 0.10);
  color: #232323;
  font-family: 'Montserrat', sans-serif;
}
.policy-main h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #7a2328;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.policy-main h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #a94442;
  margin-top: 32px;
  margin-bottom: 10px;
}
.policy-main p, .policy-main ul {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}
.policy-main ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.policy-main li {
  margin-bottom: 7px;
  list-style: disc inside;
}
.policy-main a {
  color: #7a2328;
  text-decoration: underline;
  transition: color 0.2s;
}
.policy-main a:hover, .policy-main a:focus {
  color: #a94442;
}
.policy-main {
  max-width: 700px;
  margin: 60px auto 0 auto;
  padding: 40px 24px 60px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(122, 35, 40, 0.07);
  color: #222;
}

.policy-main h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #7a2328;
  margin-bottom: 18px;
}

.policy-main p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.quote-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.quote-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: 
  linear-gradient(rgba(122, 35, 40, 0.7), rgba(122, 35, 40, 0.7)),
  url('images/geniuskods_bg.PNG') center/cover no-repeat;
  z-index: 1;
}
.quote-hero-content,
.quote-form-card {
  position: relative;
  z-index: 2;
  left: 4rem;
}

/* --- Quote Form Card Styles --- */
.quote-form-card {
  background: #fff;
  border-radius: 2em;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.18);
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  max-width: 420px;
  width: 100%;
  margin: 1.2rem auto 1.2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 92vh;
  overflow-y: auto;
  bottom: 3rem;
}
.quote-form-card h2 {
  color: #7a2328;
  font-size: 1.2rem;
  font-weight: 800;
  /* margin-bottom: 2rem; */
  letter-spacing: 0.5px;
  text-align: center;
}
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 1em 1em 0.7em 1em;
  border-radius: 1em;
  border: 1.5px solid #e2cfcf;
  font-size: 1rem;
  background: #fff;
  color: #7a2328;
  outline: none;
  transition: border 0.2s;
  margin-bottom: 0.2em;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border: 1.5px solid #7a2328;
}
.quote-form textarea {
  min-height: 90px;
  resize: vertical;
}
.quote-budget-row {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 0.5em 0 0.5em 0;
}
.quote-budget-row label {
  color: #7a2328;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 0.5em;
}
.quote-budget-row input[type="range"] {
  flex: 1;
  accent-color: #7a2328;
  height: 4px;
  margin: 0 0.5em;
}
.quote-budget-row span {
  min-width: 80px;
  color: #7a2328;
  font-weight: 700;
  font-size: 1.1rem;
}
.quote-submit-btn {
  background: linear-gradient(90deg, #7a2328 60%, #c6515a 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 2em;
  padding: 0.9em 2em;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(122,35,40,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 10px;
}
.quote-submit-btn:hover {
  background: linear-gradient(90deg, #c6515a 60%, #7a2328 100%);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.18);
}
@media (max-width: 600px) {
  .quote-form-card {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    max-width: 98vw;
  }
}

.quote-h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.15;
}

.quote-p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: #fff;
  opacity: 0.95;
}
.about-redirect-btn {
  display: inline-block;
  margin-bottom: 10rem;
  padding: 12px 32px;
  width: 100%;
  background: linear-gradient(90deg, #7a2328 60%, #a94442 100%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(122, 35, 40, 0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  justify-content: center;
  text-align: center;
}
.about-redirect-btn:hover, .about-redirect-btn:focus {
  background: linear-gradient(90deg, #a94442 60%, #7a2328 100%);
  box-shadow: 0 4px 16px rgba(122, 35, 40, 0.16);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}


/* --- 3D Interactive Animation for Founder Cards (Flex Card Variant) --- */
.founder-flex-card.is-3d-tilt {
  perspective: 1000px;
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
  will-change: transform;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 1.5px 6px rgba(0,0,0,0.08);
  border-radius: 18px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.founder-flex-card.is-3d-tilt:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 3px 12px rgba(0,0,0,0.12);
}
/* --- 3D Interactive Animation for Founder Cards --- */
.founder-card {
  perspective: 1000px;
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
  will-change: transform;
}
.founder-card.is-3d-tilt {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 1.5px 6px rgba(0,0,0,0.08);
  border-radius: 18px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.founder-card.is-3d-tilt:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 3px 12px rgba(0,0,0,0.12);
}
/* --- Contact Page Styles (moved from contact.html) --- */
body {
  background: #fff6f6;
}
.contact-hero {
  text-align: center;
  padding: 3rem 1rem 1.5rem 1rem;
}
.contact-hero h1 {
  font-size: 2.7rem;
  color: #7a2328;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.contact-hero p {
  color: #444;
  font-size: 1.2rem;
}
.contact-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 240px;
}
.contact-card {
  background: #fff;
  border-radius: 1.5em;
  box-shadow: 0 4px 18px 0 rgba(122,35,40,0.10);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.18);
}
.contact-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.7rem;
}
.contact-card h3 {
  color: #7a2328;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.contact-card p {
  color: #444;
  font-size: 1rem;
  margin: 0;
}
.contact-form-wrap {
  flex: 1 1 350px;
  max-width: 420px;
  background: #fff;
  border-radius: 1.5em;
  box-shadow: 0 4px 18px 0 rgba(122,35,40,0.10);
  padding: 2.5rem 2rem;
  margin: 0 1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  position: relative;
  margin-bottom: 1.2rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.1em 1em 0.7em 1em;
  border-radius: 0.8em;
  border: 1.5px solid #e2cfcf;
  font-size: 1rem;
  background: #fff;
  color: #7a2328;
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border: 1.5px solid #7a2328;
}
.form-group label {
  position: absolute;
  left: 1em;
  top: 1.1em;
  color: #a14a4f;
  font-size: 1rem;
  pointer-events: none;
  background: #fff;
  padding: 0 0.2em;
  transition: 0.2s;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label {
  top: -0.7em;
  left: 0.8em;
  font-size: 0.88rem;
  color: #7a2328;
  background: #fff6f6;
}
.contact-submit-btn {
  background: #7a2328;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 2em;
  padding: 0.9em 2em;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(122,35,40,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 10px;
}
.contact-submit-btn:hover {
  background: #c6515a;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.18);
}
.contact-map {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 420px;
  border-radius: 1.5em;
  overflow: hidden;
  box-shadow: 0 4px 18px 0 rgba(122,35,40,0.10);
}
.contact-map iframe {
  width: 100%;
  height: 340px;
  border: none;
}
.contact-social-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0 0 0;
}
.contact-social-row a {
  color: #7a2328;
  font-size: 2rem;
  transition: color 0.2s;
}
.contact-social-row a:hover {
  color: #c6515a;
}
@media (max-width: 900px) {
  .contact-main {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }
  .contact-map,
  .contact-form-wrap {
    max-width: 98vw;
  }
  .contact-info-cards {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .contact-info-cards {
    flex-direction: column;
    gap: 1rem;
  }
  .contact-form-wrap,
  .contact-map {
    padding: 1.2rem;
  }
}
/* --- Services Page Card and Detail Styles (moved from services.html) --- */
.card-hint-anim {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  margin-top: 12px;
  font-family: 'Montserrat',sans-serif;
  animation: card-hint-pulse 1.2s infinite alternate;
  opacity: 0.85;
  letter-spacing: 0.5px;
  user-select: none;
}
.card-hint-arrow {
  display: inline-block;
  animation: card-arrow-bounce 1.2s infinite alternate;
  font-size: 1.2em;
  margin-left: 2px;
}
@keyframes card-hint-pulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}
@keyframes card-arrow-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(7px); }
}
.service-detail-arrow {
  position: absolute;
  top: -28px;
  width: 36px;
  height: 28px;
  z-index: 11;
  pointer-events: none;
  transition: left 0.35s cubic-bezier(.77,0,.18,1);
}
.service-detail-arrow::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 18px solid #fff;
  filter: drop-shadow(0 2px 8px rgba(31,38,135,0.10));
}
.service-detail-card {
  overflow: visible;
  max-width: 1100px;
  margin: 48px auto 0 auto;
  background: rgba(255,255,255,0.98);
  color: #731823;
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 rgba(31,38,135,0.10);
  padding: 48px 40px 40px 40px;
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(.77,0,.18,1), transform 0.35s cubic-bezier(.77,0,.18,1);
  display: none;
}
.service-detail-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  display: block;
}
.service-detail-close {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #c6515a;
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s;
}
.service-detail-close:hover {
  color: #731823;
}
.service-detail-img-title {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 18px;
}
.service-detail-img img {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.service-detail-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  color: #731823;
  font-family: 'Montserrat',sans-serif;
}
.service-detail-desc {
  font-size: 1.18rem;
  margin-top: 12px;
  color: #731823;
}
.service-detail-desc ul {
  margin: 18px 0 0 18px;
  padding: 0 0 0 18px;
}
.service-detail-desc li {
  margin-bottom: 6px;
  font-size: 1.08rem;
}
@media (max-width: 900px) {
  .service-detail-card {
    padding: 32px 10px 24px 10px;
  }
  .service-detail-img-title {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .service-detail-title {
    font-size: 1.3rem;
  }
}
/* Brown overlay for about-footer-content background image */
.about-footer-content {
  position: relative;
  background: url('images/geniuskods_bg.PNG') center center/cover no-repeat;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-footer-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(122, 35, 40, 0.88); /* brown tint */
  z-index: 1;
}
.about-footer-content span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.about-footer-content .line {
  margin-left: 0.5em;
}
/* Footer section color overrides for about.html */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
  border-radius: 0;
  margin-left: 20em;
  margin-bottom: 5em;
}
.index-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
  border-radius: 0;
  margin-left: 20em;
  margin-bottom: 5em;
}
.contact-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
  border-radius: 0;
  margin-left: 20em;
  margin-bottom: 5em;
}
.footer-inner .footer-heading,
.footer-inner .footer-col a {
  color: #fff;
}
.footer-inner .footer-col a:hover {
  color: #c6515a;
}
.footer-bottom-brown {
  background: #8d3c3c;
  color: #fff;
  text-align: center;
  padding: 1.2rem 0 1.1rem 0;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  border-radius: 0;
}
.footer-bottom-brown .line {
  color: #fff;
  margin-left: 0.5em;
}
/* ===== Accenture-Inspired Footer Styles ===== */
.site-footer {
  /* background: #fff; */
  /* background: var(--main-bg); */
  opacity: 0.85;
  color: #fff;
  padding: 3.5rem 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.index-site-footer {
  /* background: #fff; */
  /* background: var(--main-bg); */
  opacity: 0.85;
  color: #fff;
  padding: 3.5rem 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  /* margin-top: 4rem; */
  position: relative;
  overflow: hidden;
  background: url(images/about-image2.PNG);
  background: var(--main-bg);
  overflow: hidden;
  z-index: 1;
}
.contact-site-footer {
  /* background: #fff; */
  background: var(--main-bg);
  opacity: 0.85;
  color: #fff;
  padding: 3.5rem 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.about-site-footer {
  /* background: #fff; */
  /* background: var(--main-bg); */
  opacity: 0.85;
  color: #444;
  padding: 3.5rem 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.about-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-left: 20em;
  margin-bottom: 5em;
}
.about-footer-links {
  display: flex;
  flex: 2 1 500px;
  gap: 3.5rem;
  flex-wrap: wrap;
  color: #444;
}
.about-footer-col {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.about-footer-col a {
  color: #444;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.2s;
}
.about-footer-col a:hover {
  color: #c6515a;
}
.about-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-left: 20em;
  margin-bottom: 5em;
}
.footer-left {
  flex: 1 1 320px;
  min-width: 260px;
}
.index-footer-left {
  flex: 1 1 320px;
  min-width: 260px;
}
.footer-heading {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  letter-spacing: -1px;
  line-height: 1.1;
}
.index-footer-heading {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  letter-spacing: -1px;
  line-height: 1.1;
}
.footer-links {
  display: flex;
  flex: 2 1 500px;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.index-footer-links {
  display: flex;
  flex: 2 1 500px;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.contact-footer-links {
  display: flex;
  flex: 2 1 500px;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.footer-col {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #c6515a;
}
.contact-footer-col {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-footer-col a:hover {
  color: #c6515a;
}
.footer-bottom {
  margin-top: 2.5rem;
  text-align: left;
  font-size: 1rem;
  color: #bbb;
}
@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    gap: 2.2rem;
    align-items: flex-start;
  }
  .footer-links {
    gap: 2.2rem;
  }
}
@media (max-width: 600px) {
  .footer-heading {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  .footer-col {
    min-width: 120px;
    gap: 0.7rem;
  }
  .footer-bottom {
    font-size: 0.95rem;
  }
}
/* Smooth floating left-to-right animation for founder cards */
@keyframes founderFloatRight {
  0% { transform: translateX(0); }
  50% { transform: translateX(30px); }
  100% { transform: translateX(0); }
}
.founder-float-animate {
  animation: founderFloatRight 3.5s ease-in-out infinite;
}
/* 3D Circular Project Carousel */
.project-carousel-3d {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.project-carousel-3d .project-slide {
  position: absolute;
  top: 0;
  left: 50%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1), opacity 0.7s cubic-bezier(.77,0,.18,1);
  opacity: 0;
  z-index: 1;
  width: 370px;
  height: 420px;
  pointer-events: none;
}
.project-carousel-3d .project-slide.active {
  transform: translateX(-50%) translateZ(0px) scale(1.08);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}
.project-carousel-3d .project-slide.left,
.project-carousel-3d .project-slide.right,
.project-carousel-3d .project-slide.back {
  opacity: 0;
  pointer-events: none;
}
/* --- Floating Animation for Project Cards --- */
/* Carousel Animation for Project Cards */
/* --- Smooth Seamless Carousel --- */
.project-caro-outer {
  width: 100vw;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding-bottom: 2.5rem;
}
.project-cards.carousel {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  transition: transform 1.1s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.project-card.carousel-card {
  min-width: 370px;
  max-width: 370px;
  flex: 0 0 370px;
  margin: 0;
}
@media (max-width: 900px) {
  .project-caro-outer {
    max-width: 100vw;
    padding-bottom: 1.2rem;
  }
  .project-cards.carousel {
    gap: 1.2rem;
  }
  .project-card.carousel-card {
    min-width: 95vw;
    max-width: 98vw;
    flex: 0 0 95vw;
  }
}
@media (max-width: 900px) {
  .project-cards.carousel {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .project-card.carousel-card {
    min-width: 95vw;
    max-width: 98vw;
  }
}
/* Ensure project header text is visible on dark background */
.project-header-label,
.project-header-title,
.project-header-desc {
  color: #fff !important;
}
/* Ensure projects section background and content are always visible */
.projects {
  position: relative;
  min-height: 60vh;
  width: 100%;
  z-index: 1;
}
/* --- Founder Flex Card Layout --- */
.founder-flex-card {
  width: 98%;
  max-width: 700px;
  margin: 0 auto 38px auto;
  background: #fff6f6;
  border-radius: 28px;
  /* box-shadow: 0 4px 24px 0 rgba(122,35,40,0.10); */
  padding: 38px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  /* animation: founderFadeIn 1.1s cubic-bezier(.77,0,.18,1) both; */
}
.founder-flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  margin-bottom: 10px;
}
.founder-img-side {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 24px 0 rgba(122, 35, 40, 0.13);
  border: 7px solid #f3eaea;
  background: #fff;
}
.founder-flex-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2em;
}
.founder-flex-info .founder-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #7a2328;
  letter-spacing: 1px;
  margin-bottom: 0.1em;
}
.founder-flex-info .founder-role {
  font-size: 1.13rem;
  color: #a14a4f;
  font-weight: 600;
}
.founder-flex-below {
  margin-top: 0.5em;
}
.founder-flex-below .founder-bio {
  color: #444;
  font-size: 1.07rem;
  margin-bottom: 0.7em;
  margin-top: 0.2em;
  text-align: left;
}
.founder-flex-below .founder-details-card {
  margin-top: 10px;
  width: 100%;
  box-shadow: none;
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px 10px 14px;
}
@media (max-width: 900px) {
  .founder-flex-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .founder-img-side {
    width: 110px;
    height: 110px;
  }
  .founder-flex-info .founder-name {
    font-size: 1.1rem;
  }
  .founder-flex-info .founder-role {
    font-size: 1rem;
  }
  .founder-flex-card {
    padding: 18px 2vw 16px 2vw;
  }
}
@keyframes founderFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* --- Founder Details Card Styling --- */
.founder-details-card {
  width: 100%;
  background: #fff6f6;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(122,35,40,0.07);
  margin-top: 18px;
  padding: 22px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  text-align: left;
}
.founder-details-section {
  width: 100%;
}
.founder-section-title {
  font-size: 1.13rem;
  font-weight: 700;
  color: #7a2328;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.5px;
}
.founder-icon {
  font-size: 1.15em;
  vertical-align: middle;
}
.founder-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 0;
  margin-bottom: 2px;
  color: #444;
}
.founder-details-label {
  font-weight: 600;
  color: #7a2328;
  margin-right: 4px;
}
.founder-exp-list {
  margin: 0 0 0 18px;
  padding: 0;
  color: #444;
  font-size: 1.01rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.founder-tech-list {
  margin: 0 0 0 18px;
  padding: 0;
  color: #444;
  font-size: 1.01rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
@media (max-width: 600px) {
  .founder-details-card {
    padding: 12px 6px 10px 6px;
  }
  .founder-section-title {
    font-size: 1rem;
  }
  .founder-details-grid {
    font-size: 0.98rem;
  }
  .founder-exp-list {
    font-size: 0.97rem;
  }
}
/* --- Founders Floating Animation --- */
.founder-anim-float {
  animation: founder-float 2.8s ease-in-out infinite alternate;
}
@keyframes founder-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-18px); }
}
.founders-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #444;
  margin-top: 0.2em;
  margin-bottom: 1.2em;
}
/* Animated Wheel for About Us Page (about.html) */
.about-success-section {
  position: relative;
}
.about-animated-wheel {
  position: absolute;
  top: 50%;
  left: 0;
  width: 120px;
  height: 120px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="55" fill="none" stroke="%237a2328" stroke-opacity="0.7" stroke-width="4" stroke-dasharray="10,10"/></svg>') center center no-repeat;
  animation: about-wheel-move-rotate 3.5s linear infinite;
}
@keyframes about-wheel-move-rotate {
  0% {
    left: 0;
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    left: calc(100% + 200px);
    transform: translateY(-50%) rotate(360deg);
  }
}
/* Animated Wheel for About Section */

.about.about-modern {
  position: relative;
}
.about-animated-wheel {
  position: absolute;
  top: 50%;
  left: 0;
  width: 120px;
  height: 120px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="55" fill="none" stroke="%237a2328" stroke-opacity="0.7" stroke-width="4" stroke-dasharray="10,10"/></svg>') center center no-repeat;
  animation: about-wheel-move-rotate 3.5s linear infinite;
}

@keyframes about-wheel-move-rotate {
  0% {
    left: 0;
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    left: calc(100% + 200px);
    transform: translateY(-50%) rotate(360deg);
  }
}
/* Services Hero Section Styles */
.services-hero-section {
  position: relative;
  background: #731823;
  color: #fff;
  padding: 80px 0 60px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
/* .services-hero-bg {
    position: relative;
    z-index: 3;
    width: 100%;
    background: #fff6f6;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(122,35,40,0.07);
    margin-top: 18px;
    padding: 22px 18px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
.services-hero-content {
  position: relative;
  z-index: 2;
}
.services-hero-title {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    opacity: 0;
    transform: scale(3) translateY(0);
    animation: about-hero-title-zoom-in 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}
/* --- About Page Hero Section --- */
.top-contact-bar {
  background: #c6515a;
  color: #fff;
  padding: 18px 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}
.top-contact-bar > div {
  display: flex;
  align-items: center;
  gap: 32px;
}
.top-contact-bar span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-contact-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s, color 0.2s;
}
.top-contact-bar a:hover {
  background: #fff;
  color: #c6515a;
}
.top-contact-bar .divider {
  border-left: 1px solid #fff;
  height: 24px;
  margin: 0 16px;
}
@media (max-width: 900px) {
  .top-contact-bar {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
    font-size: 1rem;
  }
  .top-contact-bar > div {
    gap: 16px;
  }
}
.about-hero-section {
  position: relative;
  width: 100vw;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #731823;
  overflow: hidden;
  z-index: 1;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #731823;
  z-index: 1;
}
.about-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg width='1920' height='400' xmlns='http://www.w3.org/2000/svg'><g stroke='%23fff' stroke-opacity='0.18' stroke-width='2'><polyline points='0,300 200,100 400,350 600,50 800,300 1000,100 1200,350 1400,50 1600,300 1800,100 1920,350' fill='none'/><polyline points='0,100 200,350 400,50 600,300 800,100 1000,350 1200,50 1400,300 1600,100 1800,350 1920,50' fill='none'/><circle cx='200' cy='100' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='400' cy='350' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='600' cy='50' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='800' cy='300' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='1000' cy='100' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='1200' cy='350' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='1400' cy='50' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='1600' cy='300' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='1800' cy='100' r='6' fill='%23fff' fill-opacity='0.18'/><circle cx='1920' cy='350' r='6' fill='%23fff' fill-opacity='0.18'/></g></svg>");
  background-size: 1920px 400px;
  background-repeat: repeat-x;
  background-position: 0 center;
  animation: about-hero-bg-lines-move 8s linear infinite;
  @keyframes about-hero-bg-lines-move {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: -1920px;
    }
  }
  opacity: 1;
  z-index: 2;
}
.about-hero-content {
  position: relative;
  z-index: 3;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.about-hero-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0;
  transform: scale(3) translateY(0);
  animation: about-hero-title-zoom-in 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@keyframes about-hero-title-zoom-in {
  0% {
    opacity: 0;
    transform: scale(3);
  }
  40% {
    opacity: 1;
    transform: scale(1.15);
  }
  70% {
    opacity: 1;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* --- Advanced Animations for Service Cards --- */
.service-animate-pop {
  opacity: 0;
  transform: scale(0.7) translateY(60px);
  transition: opacity 1.4s cubic-bezier(.77,0,.18,1), transform 1.4s cubic-bezier(.77,0,.18,1);
}
.service-pop-in {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}
.service-animate-rotate {
  opacity: 0;
  transform: rotate(-12deg) translateY(60px) scale(0.8);
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1);
}
.service-rotate-in {
  opacity: 1 !important;
  transform: rotate(0) translateY(0) scale(1) !important;
}
.service-animate-scale-fade {
  opacity: 0;
  transform: scale(1.25) translateY(80px);
  transition: opacity 0.9s cubic-bezier(.77,0,.18,1), transform 0.9s cubic-bezier(.77,0,.18,1);
}
.service-scale-fade-in {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}
/* (Removed .section-animate-left and .section-animate-right, now using .contact-animate-left/right for all sections) */
html {
  scroll-behavior: smooth;
}
/* --- Contact Section Animations --- */
.contact-animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
.contact-animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
.slide-in-left {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
.slide-in-right {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
/* --- View Services Button Styles --- */
.services-btn-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.view-services-btn {
  display: inline-block;
  padding: 0.8em 2.2em;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 2em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: none;
  font-family: 'Montserrat',sans-serif;
  padding: 0.7em 2.2em;
}
.view-services-btn:hover {
  background: #fff;
  color: #7a2328;
  box-shadow: 0 2px 12px 0 rgba(122,35,40,0.10);
}
/* --- Our Services Section Styles --- */
.services-section {
  position: relative;
  background: url('images/geniuskods_bg.PNG') center/cover no-repeat;
  color: #fff;
  padding: 60px 0 40px 0;
  margin: 0;
  position: relative;
  z-index: 1;
  /* No opacity here, use overlay instead */
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(122,35,40,0.85);
  z-index: 0;
  pointer-events: none;
}
.services-section > * {
  position: relative;
  z-index: 1;
}

.services-header-row {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.services-header-left {
  flex: 1 1 50%;
  min-width: 350px;
  padding: 40px 40px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 3px solid #fff;
}
.services-header-label {
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.services-header-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  font-family: 'Montserrat',sans-serif;
}
.services-header-right {
  flex: 1 1 50%;
  min-width: 350px;
  padding: 40px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.services-header-desc {
  font-size: 1.5rem;
  line-height: 1.4;
  font-family: 'Montserrat',sans-serif;
}
.services-cards-row {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}
.service-card {
  flex: 1 1 50%;
  min-width: 350px;
  padding: 40px 40px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.10);
  border: 2px solid transparent;
  transition: border-radius 0.3s, border-color 0.3s, box-shadow 0.3s, width 0.3s, height 0.3s, background 0.3s;
  background: rgba(122,35,40,0.18);
  overflow: hidden;
}

.service-card:hover {
  border-radius: 24px;
  border-color: #fff;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.18);
  background: rgba(122,35,40,0.28);
}

.service-card-icon {
  display: flex;
  align-items: center;
  gap: 20px;
}
.service-icon-bg {
  display: inline-block;
  background: #fff;
  border-radius: 50%;
  /* padding: px; */
  border: 5px dashed #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.footer-content {
  position: relative;
  z-index: 1;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 35px; */
  padding: 50px 20px;
  background: #fff;
  color: #444;
}
/* .about-footer-content {
  position: relative;
  z-index: 1;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 35px;
  padding: 50px 20px;
  background: rgba(122, 35, 40, 0.88);
  background: #7a2328 url('https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  color: #fff;
  opacity: 0.85;
} */
.line {
  display: block;
}
/* Ensure service section images look perfect */
.service-icon-bg img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
.service-card-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 10px;
  margin-top: 10px;
}
.service-card-desc {
  font-size: 1rem;
  margin: 20px 0 0 0;
  font-family: 'Montserrat',sans-serif;
}
.service-card-link {
  margin-top: 20px;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: underline;
}
/* .scroll-top-fixed {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #e57373;
  color: #fff;
  border: none;
  border-radius: 16px;
  width: 56px;
  height: 56px;
  font-size: 2.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
} */
/* Services Section Header Row Layout */

/* Project Section Layout */
.project-header-row {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.project-header-left {
  flex: 1 1 50%;
  min-width: 350px;
  padding: 40px 40px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 3px solid #fff;
}
.project-header-label {
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.project-header-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  font-family: 'Montserrat',sans-serif;
}
.project-header-right {
  flex: 1 1 50%;
  min-width: 350px;
  padding: 40px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-header-desc {
  font-size: 1.5rem;
  line-height: 1.4;
  font-family: 'Montserrat',sans-serif;
}

.project-modern-btn {
    /* background: #7a2328; */
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.7em 2.2em;
    text-decoration: none;
    box-shadow: 0 4px 18px 0 rgba(122, 35, 40, 0.13);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    border: none;
    outline: none;
    display: inline-block;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 2em;
    margin-bottom: 7em;
    margin-left: 35em;
    /* margin-right: 25em; */
}
/* Project Section Layout */

/* Header Logo Alignment */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
 .company-logo {
  height: 80px;
  width: 80px;
  object-fit: contain;
  border-radius: 12px;
  /* background: linear-gradient(135deg, #fff 70%, #f3e6e7 100%); */
  /* border: 2.5px solid #fff; */
  /* box-shadow: 0 4px 18px 0 rgba(122,35,40,0.18), 0 1.5px 8px 0 rgba(122,35,40,0.10); */
  transition: box-shadow 0.25s, transform 0.25s;
  padding: 4px;
}
.company-logo:hover {
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.28), 0 2px 12px 0 rgba(122,35,40,0.13);
  transform: scale(1.07) rotate(-3deg);
  cursor: pointer;
}
.logo-text {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}
/* Animated Globe Image */

.globe-img {
  width: 400px;
  height: 400px;
  display: block;
  animation: globePopIn 1.6s cubic-bezier(.77,0,.18,1) 0.2s backwards, globeSpin 8s cubic-bezier(.77,0,.18,1) 1.6s infinite;
  filter: drop-shadow(0 0 32px rgba(122,35,40,0.10));
  will-change: transform;
}

@keyframes globeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes globePopIn {
  from { opacity: 0; transform: scale(0.85) rotate(-20deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes globeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes globePopIn {
  from { opacity: 0; transform: scale(0.7) rotate(-30deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
/* Enhanced Hero Section Layout */
.hero-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 400px;
  right: 150px;
}
.hero-agency {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.5em;
  letter-spacing: 2px;
  opacity: 0.9;
}
.hero-main {
  font-size: 2.2rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.2em;
  letter-spacing: 1px;
}
.hero-brand {
  font-size: 3.2rem;
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.2em;
  letter-spacing: 2px;
  /* text-transform: uppercase; */
}
.hero-optimum {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.7em;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-desc {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 2em;
  opacity: 0.95;
}
.hero-cta {
  background: #fff;
  color: #7a2328;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.7em 2em;
  border-radius: 2em;
  text-decoration: none;
  box-shadow: 0 4px 18px 0 rgba(122, 35, 40, 0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  border: none;
  outline: none;
  display: inline-block;
  margin-top: 0.5em;
}
.hero-cta:hover {
  background: #7a2328;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(122, 35, 40, 0.18);
  transform: translateY(-2px) scale(1.04);
}
.hero-globe-graphic {
  position: absolute;
  top: 50%;
  right: 4vw;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 400px;
  min-height: 400px;
  pointer-events: none;
  animation: globeFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.7s backwards;
}
.globe-svg {
  width: 400px;
  height: 400px;
  animation: globeSpin 18s linear infinite;
}
@keyframes globeSpin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
@keyframes globeFadeIn {
  from { opacity: 0; transform: translateY(-50%) scale(0.8);}
  to { opacity: 1; transform: translateY(-50%) scale(1);}
}
/* Hero Globe Graphic */
.hero-globe-graphic {
  position: absolute;
  top: 50%;
  right: 4vw;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 400px;
  min-height: 400px;
  pointer-events: none;
  animation: globeFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.7s backwards;
}

@keyframes globeFadeIn {
  from { opacity: 0; transform: translateY(-50%) scale(0.8);}
  to { opacity: 1; transform: translateY(-50%) scale(1);}
}

.globe {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: none;
  border: 2px solid #fff;
  box-shadow: 0 0 40px 0 rgba(255,255,255,0.12);
  overflow: visible;
  animation: globeSpin 18s linear infinite;
}

@keyframes globeSpin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

.globe-icon {
  position: absolute;
  background: #fff;
  color: #7a2328;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(122,35,40,0.10);
  padding: 0.5em 0.8em;
  font-size: 1.1rem;
  border: 2px solid #fff;
  text-align: center;
  transition: transform 0.3s;
  animation: iconPop 1.2s cubic-bezier(.77,0,.18,1) backwards;
}

@keyframes iconPop {
  from { opacity: 0; transform: scale(0.7);}
  to { opacity: 1; transform: scale(1);}
}

/* Position each icon around the globe */
.globe-icon-php      { top: 20px; left: 180px; }
.globe-icon-sql      { top: 60px; left: 320px; }
.globe-icon-jquery   { top: 120px; left: 360px; }
.globe-icon-laravel  { top: 200px; left: 340px; }
.globe-icon-react    { top: 320px; left: 300px; }
.globe-icon-shopify  { top: 360px; left: 180px; }
.globe-icon-css      { top: 320px; left: 60px; }
.globe-icon-magento  { top: 200px; left: 20px; }
.globe-icon-wordpress{ top: 120px; left: 40px; }
.globe-icon-html     { top: 60px; left: 100px; }
.globe-icon-xd       { top: 100px; left: 250px; }
.globe-icon-ps       { top: 300px; left: 250px; }
.globe-icon-ai       { top: 200px; left: 200px; }

@media (max-width: 900px) {
  .hero-globe-graphic {
    min-width: 220px;
    min-height: 220px;
    right: 2vw;
  }
  .globe {
    width: 220px;
    height: 220px;
  }
  .globe-icon {
    font-size: 0.8rem;
    padding: 0.3em 0.5em;
  }
  /* Adjust icon positions for smaller globe */
  .globe-icon-php      { top: 10px; left: 90px; }
  .globe-icon-sql      { top: 30px; left: 170px; }
  .globe-icon-jquery   { top: 60px; left: 190px; }
  .globe-icon-laravel  { top: 110px; left: 180px; }
  .globe-icon-react    { top: 170px; left: 160px; }
  .globe-icon-shopify  { top: 190px; left: 90px; }
  .globe-icon-css      { top: 170px; left: 30px; }
  .globe-icon-magento  { top: 110px; left: 10px; }
  .globe-icon-wordpress{ top: 60px; left: 20px; }
  .globe-icon-html     { top: 30px; left: 50px; }
  .globe-icon-xd       { top: 50px; left: 120px; }
  .globe-icon-ps       { top: 160px; left: 120px; }
  .globe-icon-ai       { top: 110px; left: 100px; }
}
/* New Our Services Section */
.services-section {
  /* background: rgba(122, 35, 40, 0.85); */
  color: #fff;
  padding: 5rem 0 4rem 0;
  text-align: left;
  animation: fadeIn 1.2s 0.2s backwards;
}
.services-title {
  font-size: 2.4rem;
  /* font-weight: 700; */
  margin-bottom: 2.5rem;
  margin-left: 0;
  letter-spacing: 2px;
  text-align: center;
  width: 100%;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
}
.services-row {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}
.service-col {
  background: rgba(122,35,40,0.15);
  border: 3px solid #fff;
  border-radius: 2.2rem;
  padding: 2.5rem 2rem 2.5rem 2rem;
  min-width: 280px;
  max-width: 340px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
  position: relative;
  margin-bottom: 2rem;
  color: #fff;
  animation: serviceFadeUp 1s cubic-bezier(.77,0,.18,1) forwards;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}
@keyframes serviceFadeUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95);}
  to { opacity: 1; transform: translateY(0) scale(1);}
}
.service-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-col h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-col p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}
.service-col a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.service-col a:hover {
  color: #ffd6d6;
}
@media (max-width: 900px) {
  .services-row {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .service-col {
    max-width: 95vw;
  }
}
:root {
  --main-bg: #7a2328;
  --main-bg-dark: #5a181c;
  --accent: #fff;
  --text: #fff;
  --card-bg: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.15);
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  /* background: var(--main-bg-dark); */
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  width: 100%;
  background: #fff;
  color: var(--main-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 4vw;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 1s cubic-bezier(.77,0,.18,1) 0.2s backwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0;}
  to { transform: translateY(0); opacity: 1;}
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--main-bg);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--main-bg);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--main-bg);
  transition: width .3s;
  position: absolute;
  left: 0;
  bottom: -4px;
}

nav a:hover::after {
  width: 100%;
}

nav .cta {
  background: var(--main-bg);
  color: #fff;
  padding: 0.7em 1.5em;
  border-radius: 2em;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
}

nav .cta:hover {
  background: var(--main-bg-dark);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/images/geniuskods_bg.PNG') center/cover no-repeat;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: var(--main-bg);
  opacity: 0.85;
  z-index: 1;
  animation: fadeIn 1.5s;
}

@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 0.85;}
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: left;
  animation: fadeUp 1.2s cubic-bezier(.77,0,.18,1) 0.5s backwards;
}

@keyframes fadeUp {
  from { transform: translateY(40px); opacity: 0;}
  to { transform: translateY(0); opacity: 1;}
}

.hero-content h2 {
  font-size: 1.7rem;
  color: #fff;
  opacity: 0.8;
  margin-bottom: 0.5em;
  font-weight: 400;
  letter-spacing: 2px;
  animation: fadeIn 1.2s 0.7s backwards;
}

.hero-content h3 {
  font-size: 1rem;
  color: #fff;
  opacity: 0.8;
  margin-bottom: 0.5em;
  font-weight: 400;
  letter-spacing: 2px;
  animation: fadeIn 1.2s 0.7s backwards;
}

.hero-content h1 {
  font-size: 4.9rem;
  font-weight: 700;
  /* margin-bottom: 2em; */
  color: #fff;
  line-height: 1.2;
  letter-spacing: 1px;
  animation: fadeIn 1.2s 0.9s backwards;
}

.hero-content p {
  font-size: 1.0rem;
  color: #fff;
  /* margin-bottom: 2em; */
  margin-top: 200px;
  max-width: 900px;
  animation: fadeIn 1.2s 1.1s backwards;
}

.services {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.service-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 1.5em;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  min-width: 260px;
  flex: 1 1 300px;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  animation: cardPop 1s cubic-bezier(.77,0,.18,1) 1.2s backwards;
}

.service-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: serviceFadeUp 1s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes serviceFadeUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.service-card .icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconBounce 1.2s infinite alternate;
}
.service-card svg {
  display: block;
  width: 48px;
  height: 48px;
}

@keyframes cardPop {
  from { transform: scale(0.8) translateY(40px); opacity: 0;}
  to { transform: scale(1) translateY(0); opacity: 1;}
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03) rotate(-1deg);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
  background: rgba(255,255,255,0.09);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  animation: iconBounce 1.2s infinite alternate;
}

@keyframes iconBounce {
  from { transform: translateY(0);}
  to { transform: translateY(-8px);}
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7em;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 1.2em;
  color: #fff;
  opacity: 0.9;
}

.service-card a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.service-card a:hover {
  color: #ffd6d6;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--main-bg);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 200;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.about-modern {
  background: #fff;
  padding: 4rem 0 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.about-modern-container {
  display: flex;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 2rem;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

/* Animation keyframes */
@keyframes aboutSlideLeft {
  from { transform: translateX(-80px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes aboutSlideRight {
  from { transform: translateX(80px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.about-modern-imgs {
  animation: aboutSlideLeft 1.1s cubic-bezier(.77,0,.18,1) 0.2s backwards;
}
.about-modern-badge {
  animation: aboutSlideLeft 1.2s cubic-bezier(.77,0,.18,1) 0.5s backwards;
}
.about-modern-right {
  animation: aboutSlideRight 1.1s cubic-bezier(.77,0,.18,1) 0.4s backwards;
}
.about-modern-left {
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-modern-imgs {
  position: relative;
  right: 90px;
  width: 340px;
  min-width: 240px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.about-modern-img-main {
  width: 100%;
  height: 65%;
  border-radius: 2em;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
  border: 6px solid #fff;
  position: relative;
  z-index: 2;
}
.about-modern-img-bordered {
  border: 10px solid #fff;
  box-shadow: 0 8px 32px 0 rgba(122, 35, 40, 0.10), 0 2px 8px 0 rgba(31, 38, 135, 0.07);
}
.about-modern-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-modern-img-sub {
  width: 90%;
  height: 48%;
  border-radius: 1.5em;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
  border: 6px solid #fff;
  position: absolute;
  left: 200px;
  bottom: 0;
  z-index: 3;
  background: #fff;
}
.about-modern-btn-wrap {
  margin-top: 2.5em;
  display: flex;
  justify-content: flex-start;
}
.about-modern-btn {
  background: #7a2328;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.7em 2.2em;
  border-radius: 2em;
  text-decoration: none;
  box-shadow: 0 4px 18px 0 rgba(122, 35, 40, 0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  border: none;
  outline: none;
  display: inline-block;
  margin-top: 0.5em;
}
.about-modern-btn:hover {
  background: #5a181c;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(122, 35, 40, 0.18);
  transform: translateY(-2px) scale(1.04);
}
.about-modern-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-modern-badge {
  position: absolute;
  left: 130px;
  width: 150px;
  bottom:120px;
  background: #7a2328;
  color: #fff;
  border-radius: 1em;
  padding: 1.2em 2.2em 1em 2.2em;
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
  font-family: 'Montserrat', Arial, sans-serif;
  animation: cardPop 1.2s 0.5s backwards;
}
.about-modern-badge-big {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.about-modern-badge-small {
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 0.2em;
  opacity: 0.95;
  letter-spacing: 0.5px;
}


.about-modern-right {
  flex: 1 1 420px;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.about-modern-subtitle {
  color: #7a2328;
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  /* margin-bottom: 0.5em; */
  letter-spacing: 1px;
}
.service-modern-subtitle {
  color: #fff;
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
}
.about-modern-title {
  font-size: 2.0rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1em;
  color: #1a1a1a;
  line-height: 1.15;
  letter-spacing: 1px;
}
.services-stitle {
  font-size: 2.0rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 120em;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-left: 1.5em;
  width: 130%;

  line-height: 1.15;
  letter-spacing: 1px;
}
.about-modern-desc {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2em;
  max-width: 600px;
  opacity: 0.95;
}
.about-modern-features {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  width: 100%;
}
.about-modern-feature {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-bottom: 0.2em;
}
.about-modern-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  background: none;
}
.about-modern-feature-icon .fa-lightbulb {
  font-size: 2.5rem;
}
.about-modern-feature-icon .fa-rocket {
  font-size: 2.5rem;
}
.about-modern-feature-title {
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #7a2328;
  margin-bottom: 0.1em;
}
.about-modern-feature-desc {
  font-size: 1.05rem;
  color: #666;
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .about-modern-container {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }
  .about-modern-right {
    align-items: center;
    text-align: center;
  }
  .about-modern-features {
    align-items: center;
  }
}
@media (max-width: 700px) {
  .about-modern-imgs {
    width: 95vw;
    min-width: 0;
    height: 300px;
  }
  .about-modern-img-main {
    height: 60%;
  }
  .about-modern-img-sub {
    width: 60%;
    left: 10px;
    bottom: 0;
  }
  .about-modern-badge {
    left: 10px;
    bottom: 30px;
    padding: 0.8em 1.2em 0.7em 1.2em;
  }
  .about-modern-title {
    font-size: 2rem;
  }
}

/* About Section */
.about {
  /* background: linear-gradient(120deg, var(--main-bg-dark) 60%, #fff0 100%); */
  padding: 5rem 0 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s 0.2s backwards;
}
.about-content {
  display: flex;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.about-text {
  flex: 1 1 320px;
  color: #fff;
  animation: fadeUp 1.2s 0.3s backwards;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}
.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}
.about-text ul {
  list-style: none;
  padding-left: 0;
}
.about-text li {
  margin-bottom: 0.6em;
  font-size: 1rem;
  opacity: 0.95;
  position: relative;
  padding-left: 1.5em;
}
.about-text li::before {
  content: '✔';
  color: #ffd6d6;
  position: absolute;
  left: 0;
  font-size: 1.1em;
}
.about-img {
  flex: 1 1 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cardPop 1.2s 0.5s backwards;
}
.about-img img {
  width: 320px;
  max-width: 100%;
  border-radius: 1.5em;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  transition: transform 0.4s;
}
.about-img img:hover {
  transform: scale(1.04) rotate(-2deg);
}

/* Projects Section */
.projects {
  position: relative;
  background: url('/images/geniuskods_bg.PNG') center/cover no-repeat;
  color: #fff;
  padding: 64px 0 40px 0;
  margin: 0;
  z-index: 1;
}
.projects::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(122,35,40,0.85);
  z-index: 0;
  pointer-events: none;
}
.projects > * {
  position: relative;
  z-index: 1;
}
.projects h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: var(--main-bg);
}
.project-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.project-card {
  background: var(--card-bg);
  border: 1.5px solid var(--main-bg-dark);
  border-radius: 2.2em;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
  overflow: hidden;
  width: 370px;
  min-width: 270px;
  max-width: 98vw;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  animation: cardPop 1.2s;
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 2.2em 2.2em 0 0;
  box-shadow: 0 4px 24px 0 rgba(122,35,40,0.10);
  transition: filter 0.3s, transform 0.3s;
}
.project-card:hover img {
  filter: brightness(0.92) blur(0.5px);
  transform: scale(1.04) rotate(-1deg);
}
.project-info {
  padding: 1.6rem 1.2rem 1.2rem 1.2rem;
  background: #fff;
  color: var(--main-bg-dark);
  text-align: left;
  transition: background 0.3s, color 0.3s;
  border-radius: 0 0 2.2em 2.2em;
  box-shadow: 0 2px 12px 0 rgba(122,35,40,0.06);
}
.project-card:hover .project-info {
  background: var(--main-bg);
  color: #fff;
}
.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
  font-weight: 600;
}
.project-info p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  position: relative;
  background: #fff;
  min-height: 400px;
  padding: 5rem 0 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s 0.2s backwards;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1465101178521-c1a9136a3b43?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}
.contact-content {
  position: relative;
  z-index: 2;
  background: var(--main-bg);
  padding: 2.5rem 2rem;
  border-radius: 1.5em;
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 100%;
  margin: 0 1rem;
  text-align: center;
  color: #fff;
  animation: fadeUp 1.2s 0.3s backwards;
}
.contact-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9em 1em;
  border-radius: 0.8em;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #fff;
  color: var(--main-bg-dark);
  box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.07);
  resize: none;
  transition: box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 4px 16px 0 rgba(122,35,40,0.13);
}
.contact-form button {
  background: #fff;
  color: var(--main-bg);
  font-weight: bold;
  border: none;
  border-radius: 2em;
  padding: 0.8em 1.5em;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 10px;
}
.contact-form button:hover {
  background: var(--main-bg-dark);
  color: #fff;
}

/* Responsive for new sections */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
  .project-cards {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .about-img img {
    width: 100%;
  }
  .contact-content {
    padding: 1.2rem 0.5rem;
  }
}

@media (max-width: 900px) {
  .services {
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero-content {
    padding: 2rem 1rem;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2vw;
  }
  .logo {
    font-size: 1.3rem;
  }
  nav {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .service-card {
    min-width: 180px;
    padding: 1.2rem 0.8rem;
  }
}

/* --- Services Stats Section Styles (EXACT MATCH) --- */
.services-stats-container {
  width: 100%;
  /* height: 10px; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -48px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.services-stats {
  background: #fff;
  height: 250px;
  border-radius: 48px;
  box-shadow: 0 18px 32px 0 rgba(31,38,135,0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 56px 32px 40px 32px;
  gap: 0;
  width: 75vw;
  max-width: 1550px;
  min-width: 320px;
}
.services-stat {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.services-stat-icon {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-stat-icon svg {
  background: none;
  border-radius: 50%;
  box-shadow: none;
}
.services-stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
  font-family: 'Montserrat',sans-serif;
}
.services-stat-label {
  font-size: 1.35rem;
  color: #888;
  font-family: 'Montserrat',sans-serif;
  margin-top: 0;
}
@media (max-width: 1100px) {
  .services-stats {
    flex-direction: column;
    gap: 24px;
    padding: 32px 8px 24px 8px;
    width: 98vw;
    max-width: 98vw;
  }
  .services-stat {
    max-width: 98vw;
    min-width: 0;
  }
}

/* --- Founders Section Styles --- */
.founders-section {
  width: 100%;
  background: #fff;
  padding: 64px 0 56px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.founders-header {
  text-align: center;
  margin-bottom: 40px;
}
.founders-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #7a2328;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 10px;
}
.founders-header p {
  font-size: 1.25rem;
  color: #888;
  font-family: 'Montserrat',sans-serif;
}
.founders-cards-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}
.founder-card {
  background: #faf7f7;
  border-radius: 32px;
  box-shadow: 0 4px 24px 0 rgba(122,35,40,0.08);
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 260px;
  max-width: 340px;
  transition: box-shadow 0.38s cubic-bezier(0.4,0,0.2,1),
              transform 0.38s cubic-bezier(0.4,0,0.2,1),
              background 0.38s cubic-bezier(0.4,0,0.2,1),
              border 0.38s cubic-bezier(0.4,0,0.2,1);
}
.founder-card:hover {
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.16);
  transform: translateY(-6px) scale(1.03);
  background: #7a2328;
  border: 3px solid #888;
}
.founder-card:hover .founder-name,
.founder-card:hover .founder-title {
  color: #fff;
}
.founder-img-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 4px solid #e5d2d2;
  box-shadow: 0 2px 12px 0 rgba(122,35,40,0.10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-img {
  width: 30%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 1/1;
  display: block;
}
.founder-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #7a2328;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 4px;
  margin-top: 6px;
}
.founder-title {
  font-size: 1.1rem;
  color: #888;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .founders-cards-row {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  .founder-card {
    max-width: 95vw;
    min-width: 0;
  }
}

.founder-modern-btn {
    background: #7a2328;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.7em 2.2em;
    border-radius: 2em;
    text-decoration: none;
    box-shadow: 0 4px 18px 0 rgba(122, 35, 40, 0.13);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    border: none;
    outline: none;
    display: inline-block;
    margin-top: 2em;
    /* margin-right: 25em; */
}

/* --- Project Carousel Styles --- */
.project-carousel {
  width: 100%;
  max-width: 1600px;
  margin: 48px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: none;
  min-height: 520px;
}
/* --- Contact Section Styles --- */
.contact-section {
  width: 100%;
  background: #fff;
  padding: 64px 0 56px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.contact-container {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(31,38,135,0.10);
  padding: 18px 40px;
  max-width: 1200px;
  width: 100%;
  gap: 48px;
  /* margin-top: -10em; */
}
.contact-left {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
}
.contact-title {
  font-size: 2rem;
  color: #7a2328;
  font-family: 'Montserrat',Arial, sans-serif;
  margin-bottom: 0.5em;
  opacity: 0.8;
  letter-spacing: 1px;
    font-weight: 700;
}
.contact-desc {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1.5em;
  max-width: 420px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-info-icon {
  min-width: 70px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  border: none;
  padding: 0;
}
.contact-info-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  font-family: 'Montserrat',sans-serif;
}
.contact-info-value {
  font-size: 1.1rem;
  color: #444;
  margin-top: 2px;
}
.contact-right {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-row {
  display: flex;
  gap: 18px;
  width: 100%;
}
.contact-input {
  flex: 1 1 0;
  padding: 1em 1.2em;
  border-radius: 16px;
  border: 1.5px solid #eee;
  font-size: 1.1rem;
  background: #fff;
  color: #222;
  font-family: 'Montserrat',sans-serif;
  box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.07);
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-input:focus {
  border-color: #7a2328;
  box-shadow: 0 4px 16px 0 rgba(122,35,40,0.13);
}
.contact-textarea {
  width: 100%;
  min-height: 100px;
  padding: 1em 1.2em;
  border-radius: 16px;
  border: 1.5px solid #eee;
  font-size: 1.1rem;
  background: #fff;
  color: #222;
  font-family: 'Montserrat',sans-serif;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.07);
  outline: none;
  resize: vertical;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-submit-btn {
  background: #7a2328;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.9em 2.2em;
  border-radius: 2em;
  border: none;
  box-shadow: 0 4px 18px 0 rgba(122,35,40,0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 10px;
}
.contact-submit-btn:hover {
  background: #c6515a;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.18);
}
@media (max-width: 1100px) {
  .contact-container {
    flex-direction: column;
    gap: 32px;
    padding: 32px 12px;
    align-items: stretch;
  }
  .contact-left, .contact-right {
    align-items: flex-start;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .contact-section {
    padding: 32px 0 24px 0;
  }
  .contact-container {
    padding: 16px 2vw;
    border-radius: 18px;
  }
  .contact-title {
    font-size: 2rem;
  }
  .contact-info-label {
    font-size: 1.1rem;
  }
  .contact-info-icon {
    min-width: 48px;
    min-height: 48px;
    padding: 4px;
  }
  .contact-form-row {
    flex-direction: column;
    gap: 10px;
  }
}
 .project-slide {
  min-width: 31%;
  max-width: 31%;
  height: 420px;
  margin: 20px 12px;
  border-radius: 32px;
  overflow: hidden;
  /* background: #fff; */
  box-shadow: 0 4px 24px 0 rgba(122,35,40,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-slide-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 32px 32px 0 0;
  display: block;
}
.project-card-info {
  width: 100%;
  padding: 24px 24px 18px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.project-card-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  /* color: #7a2328; */
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 8px;
}
.project-card-info p {
  font-size: 1.05rem;
  /* color: #444; */
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 0;
}
@media (max-width: 1100px) {
  .project-slide-img {
    height: 180px;
  }
  .project-card-info {
    padding: 16px 12px 12px 12px;
  }
}
.project-card:hover {
  border: 3px solid #fff;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.18);
  background: rgba(255,255,255,0.09);
}

/* --- About Success Section Styles --- */
.about-success-section {
  width: 100%;
  background: #fff;
  padding: 60px 0 0 0;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(122,35,40,0.07);
  margin-bottom: 48px;
}

.about-success-section:nth-child(odd) {
  background: #f8f6f6;
}
.about-success-section:nth-child(even) {
  background: #fff;
}
.about-success-section:not(:last-child) {
  border-bottom: 2px solid #eaeaea;
}
.about-success-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 0 40px;
}
.about-success-left {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.about-success-left::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 40px;
  width: 400px;
  height: 400px;
  background: url('data:image/svg+xml;utf8,<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"><circle cx="200" cy="200" r="180" fill="none" stroke="%237a2328" stroke-opacity="0.7" stroke-width="2" stroke-dasharray="8,12"/><circle cx="200" cy="200" r="120" fill="none" stroke="%237a2328" stroke-opacity="0.7" stroke-width="1" stroke-dasharray="4,8"/></svg>') center center no-repeat;
  opacity: 35;
  pointer-events: none;
  z-index: -1;
  animation: tyre-move-rotate 3.5s linear infinite;
}

@keyframes tyre-move-rotate {
  0% {
    left: 0;
    transform: rotate(0deg);
  }
  100% {
    left: calc(100% + 250px);
    transform: rotate(360deg);
  }
}
.about-success-imgs {
  position: relative;
  width: 520px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 10rem;
}
.about-success-img-main {
  position: relative;
  width: 370px;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.13);
  background: #fff;
  z-index: 2;
  border: 6px solid #fff;
}
.about-success-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-success-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #7a2328;
  color: #fff;
  border-radius: 20px;
  padding: 15px 10px 16px 10px;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.10);
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-success-badge-big {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: 1px;
}
.about-success-badge-small {
  font-size: 1.1rem;
  font-weight: 500;
}
.about-success-img-sub {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.10);
  background: #fff;
  z-index: 1;
  border: 6px solid #fff;
}
.about-success-img-sub1 {
  left: 60px;
  top: 180px;
  width: 320px;
  height: 180px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.13);
  background: #fff;
  z-index: 1;
  border: 6px solid #fff;
}
.about-success-img-sub2 {
  display: none;
}
.about-success-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-success-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  /* padding-left: 10px; */
}
.about-success-label {
  color: #7a2328;
  font-size: 1.4rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  margin-bottom: 12px;
}
.about-success-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #7a2328;
  margin-bottom: 18px;
  font-family: 'Montserrat',sans-serif;
  letter-spacing: 1px;
}
.about-success-desc {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 32px;
  line-height: 1.6;
  font-family: 'Montserrat',sans-serif;
}
.about-success-btn {
  display: inline-block;
  padding: 0.8em 2.2em;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: #7a2328;
  border: none;
  border-radius: 2em;
  text-decoration: none;
  box-shadow: 0 8px 32px 0 rgba(122,35,40,0.10);
   transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.about-success-btn:hover {
  background: #c6515a;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(122,35,40,0.18);
}
@media (max-width: 1100px) {
  .about-success-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 10px;
  }
  .about-success-left, .about-success-right {
    padding-left: 0;
    justify-content: center;
    align-items: center;
  }
  .about-success-right {
    align-items: center;
    text-align: center;
  }
  .about-success-imgs {
    width: 100%;
    min-height: 320px;
  }
  .about-success-img-main {
    width: 320px;
    height: 220px;
  }
  .about-success-img-sub1 {
    left: -20px;
    bottom: 10px;
    width: 120px;
    height: 120px;
  }
  .about-success-img-sub2 {
    right: -10px;
    bottom: -10px;
    width: 150px;
    height: 110px;
  }
}
@media (max-width: 700px) {
  .about-success-container {
    flex-direction: column;
    gap: 24px;
    padding: 0 2px;
  }
  .about-success-imgs {
    min-height: 180px;
  }
  .about-success-img-main {
    width: 180px;
    height: 120px;
  }
  .about-success-img-sub1 {
    left: -10px;
    bottom: 0;
    width: 60px;
    height: 60px;
  }
  .about-success-img-sub2 {
    right: -5px;
    bottom: -5px;
    width: 80px;
    height: 60px;
  }
  .about-success-title {
    font-size: 1.5rem;
  }
  .about-success-desc {
    font-size: 1rem;
  }
}

/* --- Newsletter/CTA Section Styles --- */
.newsletter-section {
  width: 100vw;
  background: #7a2328 url('https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  position: relative;
  /* padding: 60px 0 0 0; */
  margin-bottom: 0;
  border-bottom: none;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.newsletter-bg {
  width: 100vw;
  min-height: 300px;
  background: rgba(122,35,40,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border-bottom: none;
}
.newsletter-content {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  padding: 40px 0 0 0;
}
.newsletter-title {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 60px 0 0;
  line-height: 1.15;
  letter-spacing: 1px;
  flex: 0 0 auto;
}
.newsletter-form {
  display: flex;
  align-items: center;
  width: 600px;
  max-width: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
}
.newsletter-input {
  flex: 1 1 auto;
  border: none;
  outline: none;
  padding: 20px 24px;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #7a2328;
  background: #fff;
}
.newsletter-input::placeholder {
  color: #888;
  opacity: 1;
}
.newsletter-btn {
  background: #fff;
  color: #7a2328;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  padding: 0 36px;
  height: 100%;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.newsletter-btn:hover {
  background: #7a2328;
  color: #fff;
}
@media (max-width: 900px) {
  .newsletter-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 16px 0 16px;
  }
  .newsletter-title {
    margin: 0 0 12px 0;
    font-size: 2rem;
  }
  .newsletter-form {
    width: 100%;
    min-width: 0;
  }
}
