@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* =========================
   GROVENEX TECH — GLOBAL THEME
   ========================= */
:root {
  --navy: #071626;
  --navy-light: #102a42;
  --blue: #008fc9;
  --blue-dark: #0076a6;
  --cyan: #25c4ed;
  --text: #152335;
  --muted: #617185;
  --light: #f3f7fa;
  --white: #ffffff;
  --border: #e2eaf0;
  --shadow: 0 14px 35px rgba(7, 22, 38, 0.08);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
::selection {
  background: #b7eaf8;
  color: var(--navy);
}
.container {
  width: min(1140px, 90%);
  margin-inline: auto;
}

/* =========================
   SHARED NAVIGATION
   ========================= */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}
.navbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-name span {
  color: var(--blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}
.nav-links .nav-contact {
  background: var(--navy);
  color: var(--white) !important;
  padding: 11px 20px;
  border-radius: 7px;
  transition: background 0.2s ease;
}
.nav-links .nav-contact:hover {
  background: var(--blue-dark);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--navy);
  font-size: 27px;
  line-height: 1;
  padding: 8px;
}

/* =========================
   SHARED BUTTONS AND LINKS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 25px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.btn-primary {
  color: var(--white);
  background: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--blue);
  color: var(--blue-dark);
  background: transparent;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  background: #e5f6fc;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.text-link,
.service-card a:not(.btn) {
  display: inline-block;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}
.text-link:hover,
.service-card a:not(.btn):hover {
  text-decoration: underline;
}

/* =========================
   HOME PAGE: HERO
   ========================= */
.hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background:
    radial-gradient(circle at 90% 30%, #164666 0%, transparent 35%),
    linear-gradient(135deg, #061320, #102a42);
  color: var(--white);
}
.hero-content {
  width: min(1140px, 90%);
}
.hero-content h1 {
  max-width: 740px;
  margin: 20px 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -2px;
}
.hero-content h1 span {
  color: var(--cyan);
}
.hero-content p {
  max-width: 620px;
  color: #c3d3e0;
  font-size: 17px;
}
.eyebrow {
  display: inline-block;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--cyan);
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero .btn-outline {
  color: var(--white);
  border-color: #7891a5;
}
.hero .btn-outline:hover {
  color: var(--white);
  border-color: var(--blue);
}

/* =========================
   SHARED SECTIONS
   ========================= */
.section {
  padding: 100px 0;
}
.section-muted {
  background: var(--light);
}
.section h2,
.cta-section h2 {
  margin: 14px 0 24px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -1px;
}
.section p {
  color: var(--muted);
  margin-bottom: 16px;
}
.section-heading {
  max-width: 650px;
  margin: 0 auto 45px;
  text-align: center;
}
.section-heading p {
  margin-inline: auto;
}
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}
.split-layout > * {
  min-width: 0;
}
.feature-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 45px;
  background: var(--light);
  border-radius: 20px;
}
.feature-panel img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
}
.card-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.service-card {
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 10px;
  background: #e6f7fc;
  color: var(--blue-dark);
  font-size: 26px;
}
.service-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.4;
}
.service-card p {
  min-height: 80px;
}
.story-section {
  max-width: 760px;
  text-align: center;
}
.story-section .btn {
  margin-top: 20px;
}
.cta-section {
  padding: 85px 0;
  background: var(--navy);
  text-align: center;
  color: var(--white);
}
.cta-section p {
  color: #b7cada;
  margin-bottom: 25px;
}

/* =========================
   SERVICES PAGE
   ========================= */
.page-hero {
  padding: 85px 0;
  background:
    radial-gradient(circle at 85% 0%, #153e5e, transparent 40%), var(--navy);
  color: var(--white);
  text-align: center;
}
.page-hero h1 {
  margin-top: 8px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.2;
  letter-spacing: -1.5px;
}
.page-hero p {
  max-width: 600px;
  margin: 15px auto 0;
  color: #b7cada;
}
.service-card ul,
.info-panel ul,
.job-card ul {
  margin: 12px 0 20px;
  padding-left: 20px;
  color: var(--muted);
}
.service-card li,
.job-card li {
  margin-bottom: 7px;
}
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
  padding: 40px 0;
}
.service-detail + .service-detail {
  border-top: 1px solid var(--border);
}
.service-detail h3 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 3vw, 32px);
}
.service-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e7f7fd, #dce7f2);
  color: var(--blue-dark);
}

/* =========================
   ABOUT US / TEAM
   ========================= */
.team-card {
  padding: 45px 25px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.team-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #d8e6ef;
  color: var(--navy);
  font-size: 40px;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  margin-bottom: 4px;
  font-size: 19px;
}
.team-card p {
  margin-bottom: 0;
}
.team-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
}
.team-socials a {
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 14px;
}
.team-socials a:hover {
  text-decoration: underline;
}
.info-panel {
  padding: 35px;
  border-radius: var(--radius);
  background: var(--light);
}
.info-panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.info-panel h3:not(:first-child) {
  margin-top: 24px;
}
.info-panel p {
  overflow-wrap: anywhere;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.value-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.value-card h3 {
  margin-bottom: 10px;
}

/* =========================
   CAREERS PAGE
   ========================= */
.careers-intro {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.job-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(7, 22, 38, 0.04);
}
.job-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.job-card p {
  margin-bottom: 16px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.job-tag {
  display: inline-block;
  padding: 5px 11px;
  background: #e6f7fc;
  color: #075d81;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.no-openings {
  max-width: 760px;
  margin-inline: auto;
  padding: 50px 35px;
  background: var(--light);
  border-radius: var(--radius);
  text-align: center;
}
.no-openings h2,
.no-openings h3 {
  margin-bottom: 15px;
}
.no-openings .btn {
  margin-top: 15px;
}

/* =========================
   CONTACT PAGE
   ========================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 50px;
  align-items: start;
}
.contact-grid > * {
  min-width: 0;
}
.contact-form {
  padding: 35px;
  border-radius: var(--radius);
  background: var(--light);
}
.contact-form h2 {
  margin-top: 0;
  font-size: clamp(26px, 3vw, 34px);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
  display: block;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cfdbe4;
  background: var(--white);
  border-radius: 7px;
  color: var(--text);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #718091;
}
.form-note {
  margin-top: 14px;
  font-size: 13px;
}
.contact-form .btn {
  width: 100%;
}
.contact-info-item {
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child {
  border-bottom: 0;
}
.contact-info-item h3 {
  margin-bottom: 5px;
  font-size: 17px;
}
.contact-info-item a:hover,
.info-panel a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.social-links a {
  color: var(--blue-dark);
  font-weight: 600;
}
.social-links a:hover {
  text-decoration: underline;
}

/* ========================================
   GROVENEX TECH - COMPLETE FOOTER
======================================== */

.footer {
  background: #061320;
  color: #ffffff;
  padding: 65px 0 0;
}

/* Main footer grid */

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 0.8fr;
  gap: 35px;
  padding-bottom: 50px;
}

.footer-column {
  min-width: 0;
}

/* Company branding */

.footer-brand h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: #25c4ed;
}

.footer-brand p {
  color: #b7cada;
  font-size: 14px;
  line-height: 1.7;
}

.footer-description {
  margin-top: 15px;
  max-width: 260px;
}

/* Footer headings */

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
}

/* Navigation links */

.footer-quick-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-quick-links a {
  color: #b7cada;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-quick-links a:hover {
  color: #25c4ed;
}

/* Phone and email */

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact p {
  color: #b7cada;
  font-size: 14px;
  margin: 0;
  overflow-wrap: anywhere;
}

.footer-contact a {
  color: #b7cada;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #25c4ed;
}

/* LinkedIn */

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b7cada;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #25c4ed;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: #008fc9;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

/* Copyright area */

.footer-bottom {
  border-top: 1px solid #243b50;
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  color: #9aabb9;
  font-size: 13px;
  margin: 0;
}

/* Tablet */

@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .footer {
    padding-top: 45px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 35px;
  }

  .footer-column h4 {
    margin-bottom: 15px;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-bottom {
    padding: 18px 0;
  }
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }
  .split-layout {
    gap: 40px;
  }
  .contact-grid {
    gap: 30px;
  }
  .service-card {
    padding: 27px;
  }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 75px;
  }
  .navbar {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand-name {
    font-size: 20px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px;
  }
  .nav-links .nav-contact {
    margin-top: 10px;
    text-align: center;
  }
  .hero {
    min-height: 500px;
    padding: 75px 0;
  }
  .hero-content h1 {
    letter-spacing: -1px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .section {
    padding: 65px 0;
  }
  .page-hero {
    padding: 65px 0;
  }
  .split-layout,
  .card-grid,
  .team-grid,
  .values-grid,
  .job-grid,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .service-card p {
    min-height: 0;
  }
  .feature-panel {
    min-height: 260px;
    padding: 25px;
  }
  .cta-section {
    padding: 65px 0;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }
  .hero {
    padding: 65px 0;
  }
  .hero-content h1 {
    font-size: clamp(34px, 10vw, 44px);
  }
  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .service-card,
  .info-panel,
  .contact-form,
  .job-card,
  .value-card {
    padding: 24px;
  }
  .team-card {
    padding: 32px 20px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==================================
   GROVENEX TECH - PROJECTS PAGE
   COMPACT DESIGN
================================== */

/* Main project card */

.project-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e2eaf1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(7, 22, 38, 0.06);
  margin-top: 25px;
}

/* ==================================
   LEFT SIDE - PROJECT VISUAL
================================== */

.project-visual {
  background:
    radial-gradient(circle at 75% 20%, #12658d 0%, transparent 45%),
    linear-gradient(140deg, #061320, #123b55);

  color: white;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  text-align: center;
}

.project-visual-content {
  max-width: 300px;
}

/* Project icon */

.project-visual-icon {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Small heading */

.project-visual-content span {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* Project title */

.project-visual-content h3 {
  font-size: 25px;
  line-height: 1.3;
  margin: 10px 0;
}

/* Project subtitle */

.project-visual-content p {
  color: #b8d2e3;
  font-size: 14px;
  margin: 0;
}

/* ==================================
   RIGHT SIDE - PROJECT DETAILS
================================== */

.project-details {
  padding: 25px 30px;
}

/* Project title */

.project-details h2 {
  font-size: clamp(23px, 2.5vw, 28px);
  line-height: 1.3;
  margin: 10px 0 14px;
}

/* Project description */

.project-details > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ==================================
   PROJECT STATUS
================================== */

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #e5f5ff;
  color: #006d9c;
  padding: 5px 11px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Status indicator */

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #008fc9;
  flex-shrink: 0;
}

/* Featured project label */

.project-details .eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
}

/* ==================================
   PROJECT METADATA
================================== */

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  border-top: 1px solid #e1e8ef;
  padding-top: 15px;
  margin-top: 15px;
}

.project-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.project-meta strong {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.project-meta span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* ==================================
   PROJECT BUTTONS
================================== */

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-actions .btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.project-actions .btn:hover {
  transform: translateY(-2px);
}

/* Project disclaimer */

.project-details > .project-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 0;
  color: #7b8b9b;
}

/* ==================================
   TABLET RESPONSIVENESS
================================== */

@media (max-width: 900px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 220px;
    padding: 25px;
  }

  .project-details {
    padding: 25px;
  }

  .project-visual-content h3 {
    font-size: 24px;
  }

  .project-details h2 {
    font-size: 25px;
  }
}

/* ==================================
   MOBILE RESPONSIVENESS
================================== */

@media (max-width: 480px) {
  .project-card {
    border-radius: 12px;
    margin-top: 20px;
  }

  .project-visual {
    min-height: 180px;
    padding: 20px;
  }

  .project-visual-icon {
    font-size: 40px;
    margin-bottom: 8px;
  }

  .project-visual-content h3 {
    font-size: 21px;
    margin: 8px 0;
  }

  .project-visual-content p {
    font-size: 12px;
  }

  .project-details {
    padding: 20px;
  }

  .project-details h2 {
    font-size: 22px;
  }

  .project-details > p {
    font-size: 13px;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-actions {
    margin-top: 15px;
  }

  .project-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* CO-FOUNDER PROFILES */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px 35px;
  border: 1px solid #dce7ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(7, 22, 38, 0.05);
  transition: transform 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-5px);
}

.founder-role {
  color: #617185;
  font-size: 15px;
  margin-top: 8px;
}

.founder-message {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #dce7ef;
  width: 100%;
  text-align: center;
}

.founder-message h4 {
  color: #008fc9;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.founder-message blockquote {
  color: #4b5d70;
  font-size: 15px;
  line-height: 1.9;
  font-style: italic;
  margin: 0;
  border: none;
}

/* MOBILE */

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    padding: 35px 25px;
  }
}

/* ====================================
   FOUNDER CARDS - COMPACT DESIGN
==================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 30px;
  background: #ffffff;
  border: 1px solid #dce7ef;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
}

/* Small circular photos */

.founder-card .team-photo {
  width: 140px;
  height: 140px;
  min-width: 140px;
  flex: 0 0 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid #e2f2f9;
}

.founder-card .team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Founder information */

.founder-card h3 {
  font-size: 21px;
  margin-bottom: 5px;
}

.founder-role {
  font-size: 14px;
  color: #617185;
}

.founder-message {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e8ef;
  width: 100%;
}

.founder-message h4 {
  color: #008fc9;
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.founder-message blockquote {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5d70;
  font-style: italic;
}

/* Adjust cropping for each founder */

.founder-card:nth-child(1) .team-photo img {
  object-position: center 55%;
}

.founder-card:nth-child(2) .team-photo img {
  object-position: center 42%;
}

/* Mobile */

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    padding: 30px 20px;
  }

  .founder-card .team-photo {
    width: 120px;
    height: 120px;
    min-width: 120px;
    flex-basis: 120px;
  }
}

/* ======================================
   GROVENEX TECH - OUR STORY
====================================== */

.our-story-section {
  background: #ffffff;
  padding: 85px 0;
}

.our-story-section .section-heading {
  margin-bottom: 45px;
}

.story-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left introduction */

.story-intro {
  position: sticky;
  top: 115px;
}

.story-intro h2 {
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.25;
  margin: 15px 0 20px;
  color: var(--navy);
}

.story-highlight {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue) !important;
  line-height: 1.7;
}

/* Right story paragraphs */

.story-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 20px;
}

/* Closing quote */

.story-quote {
  background: linear-gradient(135deg, #071626, #123b55);
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
  padding: 28px 30px;
  margin-top: 30px;
}

.story-quote p {
  color: #ffffff;
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Tablet and mobile */

@media (max-width: 900px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .story-intro {
    position: static;
  }

  .our-story-section {
    padding: 65px 0;
  }
}

@media (max-width: 480px) {
  .story-intro h2 {
    font-size: 27px;
  }

  .story-text p {
    font-size: 14px;
    line-height: 1.85;
  }

  .story-quote {
    padding: 22px;
  }

  .story-quote p {
    font-size: 16px;
  }
}

/* Contact inquiry dropdown */

.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cfdbe4;
  border-radius: 7px;
  background: white;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.form-group select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
}
