/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.0
*/

/* Import Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* Define global font variables */
:root {
  --font-inter: 'Inter', sans-serif;
  --color-green: #74C215;
  --color-purple: #7a00df;
  --color-purple-light: #a94dff;
  --max-container: 1182px;
}

/* Base Typography */
body {
  font-family: var(--font-inter);
  line-height: 1.6;
  color: #000;
}

a {
  text-decoration: none !important;
}

html {
  scroll-behavior: smooth;
}
/* Shared container */
.container {
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}


/* Base Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  background: transparent;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 20px;
  flex-wrap: nowrap; 
}

/* Left column: logo */
.header-left {
  display: flex;
  align-items: center;
  flex: 1 1 50%; 
  min-width: 0;   
}

/* Right column: nav + hamburger */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 50%; 
  min-width: 0;
}

/* Logo */
.site-logo img {
  max-width: 350px;
  height: auto;
  display: block;
}

/* Hamburger */
.menu-toggle {
  display: none;
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  background: transparent;
  border: none;
  line-height: 1;
  padding: 0 10px;
  display: none; /* hide on desktop */
}

/* Default: hide X, show hamburger on mobile */
.open-btn {
  display: none;
}
.close-btn {
  display: none;
}

/* Navigation Desktop */
.primary-navigation {
  display: flex;
  justify-content: flex-end;
}

.primary-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.primary-menu li a {
  font-family: "Inter", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-menu li a:hover {
  color: var(--color-green);
  border-bottom: 2px solid var(--color-green);
  padding-bottom: 2px;
}

/* =======================
   Mobile Styles
======================= */
@media (max-width: 998px) {

  /* Hamburger visible */
  .hamburger {
    display: block;
  }

  /* Default: show hamburger, hide X */
  .open-btn { display: block; }
  .close-btn { display: none; }

  /* Toggle hamburger/X */
  .menu-toggle:checked ~ .open-btn { display: none; }
  .menu-toggle:checked ~ .close-btn { display: block; }

.header-right {
  margin-top: -29px;
  margin-left: auto;
}

  /* Mobile nav collapsed */
  .primary-navigation {
    max-height: 0;
    overflow: hidden;
    opacity: 0.3;
    pointer-events: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: max-height 0.5s ease, opacity 0.4s ease,  background-color 0.3s ease ;
    z-index: 999;
}

  /* Show nav when menu open */
  .menu-toggle:checked ~ .primary-navigation {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  /* Default hero */
  .hero-content.container {
    transition: margin-top 0.5s ease-in-out;
    margin-top: 0;

  }

  body:has(#menu-toggle:checked) .hero-content.container { margin-top: 200px; }

  /* Mobile menu items */
  .primary-menu {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .primary-menu li {
    color: var(--color-purple);
    text-align: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Animate menu items */
  .menu-toggle:checked ~ .primary-navigation .primary-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger animation */
  .menu-toggle:checked ~ .primary-navigation .primary-menu li:nth-child(1) { transition-delay: 0.1s; }
  .menu-toggle:checked ~ .primary-navigation .primary-menu li:nth-child(2) { transition-delay: 0.2s; }
  .menu-toggle:checked ~ .primary-navigation .primary-menu li:nth-child(3) { transition-delay: 0.3s; }
  .menu-toggle:checked ~ .primary-navigation .primary-menu li:nth-child(4) { transition-delay: 0.4s; }
  .menu-toggle:checked ~ .primary-navigation .primary-menu li:nth-child(5) { transition-delay: 0.5s; }

}

@media (max-width: 504px){
.site-logo img {
  max-width: 250px;
}

.header-right {
  margin-top: -22px;
  margin-left: auto;
}
.hamburger {
  font-size: 25px;
}

}

@media (max-width: 340px){
.site-logo img {
  max-width: 75%;
}

.header-right {
  margin-top: -18px;
  margin-left: auto;
}
.hamburger {
  font-size: 20px;
}

  body:has(#menu-toggle:checked) .hero-content.container { margin-top: 275px; }

}


/* ---------------- Hero Section ---------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;     
  justify-content: flex-start;
  padding: 120px 20px 0 20px;      
  color: #fff;
  background: url('https://londonbioprocess.com/wp-content/uploads/2025/08/hero_section.jpg')
              no-repeat center center / cover;
  background-attachment: fixed; /
}

.hero-section .overlay {
  position: absolute;
  inset: 0;
  z-index: 1; 
  background: linear-gradient(0deg, #000000 0%, #313131 100%);
  opacity: 0.75;
}

.hero-content {
  position: relative;
  z-index: 1001; 
  margin: 0 auto;
  padding: 0 20px 130px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max-container);
}

/* Hero typography */
.hero-title {
  font-size: 57px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.3;
  letter-spacing: 1.2px;
  color: #FFFFFF;
  margin-bottom: 0px;
  max-width: 81%;
}

.hero-subtitle {
  font-size: 57px;
  font-weight: bold;
  text-transform: capitalize;
  line-height: 1.3;
  letter-spacing: 1.2px;
  color: var(--color-green);
  margin-top: 0; 

  max-width: 81%;
}

.hero-text {
  font-size: 20px;
  line-height: 1.5;
  max-width: 81%;
  color: #ffffff;
  margin-top: 0; 
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {

.hero-section {
  display: flex;
  flex-direction: column; /* stack content vertically */
  justify-content: center; /* vertical centering */
  align-items: center; 
  padding: 20px; /* optional padding around content */
}

.header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav .menu {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }
}
@media (max-width: 491px){
.hero-section .overlay {
 min- height: 100vh;
}
}

/* About Us Section */
.about-us-section {
  background-color: #ffffff;
  padding: 60px 20px;
}

.about-us-wrapper {
  display: flex;
  align-items: stretch; /* make image stretch equal to text height */
  justify-content: space-between;
  max-width: 1182px;
  margin: 80px auto;
  gap: 100px;
  width: fit-content;
}

.about-us-image {
  flex: 1.2; /* slightly bigger */
  max-width: 47%;
  display: flex; /* ensures image fills height */
}

.about-us-image img {
  width: 100%;
  height: 100%; /* fill container height */
  object-fit: cover;
  border-radius: 12px;
}

.about-us-content {
  flex: 1;
  max-width: 53%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center content */
  padding: 50px 0;
}

/* Titles */
.about-us-title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  color: #74C215;
  margin-bottom: 10px; /* space below title */
}

.about-us-divider {
  border: none;
  border-top: 1px solid #74C215; /* green line */
  margin: 0; 
  width: 100%; /* full width */
}

.about-us-subtitle {
  font-family: "Inter", Sans-serif;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.1666em;
  color: #99019B;
  margin-top: 30px;
  margin-bottom: 30px;
}

.about-us-text {
  font-family: "Inter", Sans-serif;
  font-size: 17px;
  line-height: 1.6em;
  word-spacing: 0.05em;
  color: #777777;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  
  .about-us-section {
    padding: 50px 20px;
  }
  .about-us-wrapper {
    flex-direction: column;
    text-align: center;
    margin: 40px auto;
    gap: 40px;
  }

  .about-us-image,
  .about-us-content {
    max-width: 100%;
  }

  .about-us-content {
    text-align: left;
    padding: 20px 0; /* reduce vertical padding */
  }

  .about-us-title {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }

  .about-us-subtitle {
    font-size: 28px; /* smaller for mobile */
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.3em;
  }

  .about-us-text {
    font-size: 16px;
    line-height: 1.5em;
    margin-top: 8px;
    margin-bottom: 8px;
  }
}



/* Services Section */
.services-section {
  background: #E9E9E9;
  padding: 120px 20px;
}

.services-wrapper {
  max-width: 1182px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 100px;
}

/* Left Side */
.services-intro {
  flex: 1;
  max-width: 50%;
}

.services-title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  color: #74C215;
  margin-bottom: 10px;
}

.services-divider {
  border: none;
  border-top: 1px solid #74C215;
  margin: 0 0 20px 0;
  width: 100%;
}

.services-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.2em;
  letter-spacing: 0.5px;
  color: #99019B;
}
/* Right Side (Cards) */
.services-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Card Layout */
.service-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 0.8s ease forwards;
}

/* Stagger delay */
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.5s; }
.service-card:nth-child(3) { animation-delay: 0.8s; }
.service-card:nth-child(4) { animation-delay: 1.1s; }

.service-card-image img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-right: 20px;
}

.service-card-content {
  flex: 1;
}

.service-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #7a00df;
  margin: 0 0 8px;
}

.service-card-text {
  font-size: 16px;
  color: #555;
  margin: 0;
}

/* Animation keyframes */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==================== Responsive ==================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-wrapper {
    gap: 50px;
  }
  .services-subtitle {
    font-size: 32px;
  }
  .service-card-title {
    font-size: 18px;
  }
  .service-card-text {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  
  .services-section {
  padding: 50px 20px;
  }

  .services-wrapper {
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px;
  }
  .services-intro {
    max-width: 100%;
    text-align: left;
  }
  .services-title {
    font-size: 14px;
    letter-spacing: 2px;
  }
  .services-subtitle {
    font-size: 26px;
    line-height: 1.3em;
  }
  .services-cards {
    margin-top: 20px;
  }
  .service-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  .service-card-image img {
    margin: 0 0 15px;
    width: 60px;
    height: 60px;
  }
  .service-card-title {
    font-size: 17px;
  }
  .service-card-text {
    font-size: 16px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .services-subtitle {
    font-size: 22px;
  }
  .services-title {
    font-size: 12px;
    letter-spacing: 1.5px;
  }
  .service-card-title {
    font-size: 16px;
  }
  .service-card-text {
    font-size: 13px;
  }
}


/* Projects Section */
.projects-section {
  background-color: #ffffff;
  padding: 120px 20px;
}

.projects-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1182px;
  margin: 0 auto;
  gap: 100px;
}

.projects-content {
  flex: 1;
  max-width: 50%;
}


.projects-text {
  font-family: "Inter", Sans-serif;
  font-size: 18px;
  line-height: 1.617em;
  word-spacing: 0.1em;
  color: #777777;
  margin-bottom: 10px;
}

.projects-image {
  flex: 1;
  max-width: 50%;
}

.projects-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.projects-link {
  color: #74C215;
  text-decoration: none;
  font-weight: 500;
}

.projects-link:hover {
  color: #99019B;
}


/* Responsive */
@media (max-width: 768px) {
  .projects-section {
    padding: 50px 20px;
  }


  .projects-wrapper {
    flex-direction: column;
    text-align: left;
    margin: 40px auto;
    gap: 40px;
    padding: 0 20px;
  }

  .projects-content,
  .projects-image {
    max-width: 100%;
  }

  .projects-content {
    text-align: left;
    padding: 20px 0; /* reduce vertical padding */
  }

  .projects-content .services-title {
    text-align: left;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }

  .projects-subtitle {
    font-size: 28px; /* match about-us and services for consistency */
    margin: 20px 0;
    line-height: 1.3em;
  }

  .projects-text {
    font-size: 16px;
    line-height: 1.5em;
    margin: 8px 0;
  }
}


/* ===========================
   FOOTER BASE
   =========================== */
.site-footer {
  background: #121212;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1182px;
  margin: 0 auto;
}

/* ===========================
   ROW 1 (Heading)
   =========================== */
.footer-row:first-child {
  text-align: left;
  margin-bottom: 0;
}

.footer-heading {
  font-family: "Inter", Sans-serif;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.1666em;
  color: #FFFFFF;
  margin-bottom: 0;	
}

/* ===========================
   ROW 2 (Form + Right Side Info)
   =========================== */
.footer-row-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Left side (form) */
.footer-left {
  flex: 1 1 300px;
  display: flex;
  justify-content: start;
}

/* Right side (contact/info) */
.footer-right {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: "Inter", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: #FFFFFF;
}

.footer-right span {
  white-space: nowrap;
}

  .footer-right span {
    position: relative;
    padding: 0 10px;
  }

  .footer-right span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -5px;
    color: #99019B; /* same purple divider */
  }

/* ===========================
   CONTACT FORM 7 (Grid Layout)
   =========================== */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
}

/* Email Input Column */
.form-row .column-half:first-child {
  flex: 0 0 65%;
  max-width: 65%;
  padding-right: 8px; /* small gap between input and button */
  box-sizing: border-box;
}

/* Submit Button Column */
.form-row .column-half:last-child {
  flex: 0 0 35%;
  max-width: 35%;
  box-sizing: border-box;
}

.form-row .column-full {
  flex: 1 1 100%;
  box-sizing: border-box;
}

/* ===========================
   FORM FIELDS
   =========================== */

/* Email Input */
.footer-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-input:focus {
  border-color: #0073aa;
  box-shadow: 0 0 5px rgba(0,115,170,0.3);
  outline: none;
}

/* Subscribe Button */
.footer-button {
  width: 100%;
  background: #99019B;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.footer-button:hover {
  background: rgba(153, 1, 155, 0.8);
  transform: translateY(-2px);
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media (max-width: 1017px){
  .footer-row:first-child {
    text-align: center;
    margin-bottom: 0;
  }
  .footer-left {
    justify-content: center;
  }

}

@media (max-width: 768px) {
  .footer-row-form {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-right {
    flex: 1 1 100%;
    justify-content: center;
    font-size: 16px;
    flex-wrap: wrap; /* so items don’t overflow */
    text-align: center;
  }

  .footer-left {
    flex: 1 1 100%;
    justify-content: center;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .footer-heading {
    margin-bottom: 25px;     
  }

  .form-row p {
  margin: 0;
  padding: 0;
  }

  .form-row .column-half:first-child,
  .form-row .column-half:last-child {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0; /* remove extra gap */
    margin-bottom: 0px; /* small spacing between stacked fields */
  }
  .form-row .column-half {
    flex: 1 1 100%;
  }
 
  .wpcf7 form p:last-child {
     margin-bottom: 0;
  }

}

@media (max-width: 633px) {
  .footer-right {
    flex: 1 1 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 15px;
    font-size: 16px;
  }

  .footer-right span::after {
    content: none !important;
  }

  .footer-right span {
    display: block;
    padding-bottom: 8px;
    border-bottom: 1px solid #99019B;
    width: 100%;
  }

  .footer-right span:last-child {
    border-bottom: none;
  }
}
