/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #2563eb;
  --dark-blue: #1e40af;
  --light-blue: #dbeafe;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;

  /* Hero overlay opacity - adjust this one value to change darkness */
  --hero-overlay: rgba(0, 0, 0, 0.632);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.site-logo{
    height:45px;
    width:auto;
    display:block;
    transition:.3s;
}

.site-logo:hover{
    transform:scale(1.05);
}

/* .nav-brand h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
} */

.nav-brand .accent {
  color: var(--primary-blue);
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-blue);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ========================================
   HERO SECTION (Home Page)
   ======================================== */
.hero {
  background: url('images/hd image 1.png') center center/cover no-repeat;
  color: var(--white);
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons a {
  position: relative;
  z-index: 1;
}

/* ========================================
   PAGE HERO - UNIFIED SYSTEM
   Pattern: .[page]-dark wrapper > .page-hero[N] > .container
   ======================================== */

/* --- Dark overlay wrappers --- */
.about-dark,
.services-dark,
.testimonials-dark,
.careers-dark,
.contact-dark {
  position: relative;
  overflow: hidden;
}

.about-dark::before,
.services-dark::before,
.testimonials-dark::before,
.careers-dark::before,
.contact-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 1;
}

/* --- Page Hero Base --- */
.page-hero,
.page-hero1,
.page-hero2,
.page-hero3,
.page-hero4 {
  position: relative;
  color: var(--white);
  padding: 110px 24px;
  text-align: center;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Text above overlay */
.page-hero .container,
.page-hero1 .container,
.page-hero2 .container,
.page-hero3 .container,
.page-hero4 .container {
  position: relative;
  z-index: 1;
}

/* --- Individual Page Backgrounds --- */
.page-hero {
  background-image: url('images/Clinic\ Team\ image.jpg');
}

.page-hero1 {
  background-image: url('images/hd image 4.png');
}

.page-hero2 {
  background-image: url('images/nurse\ client\ talk.avif');
}

.page-hero3 {
  background-image: url('images/hd image 2.png');
  min-height: 48vh;
}

.page-hero4 {
  background-image: url('images/hd image 5.png');
}

/* --- Page Hero Typography --- */
.page-hero h1,
.page-hero1 h1,
.page-hero2 h1,
.page-hero3 h1,
.page-hero4 h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-hero p,
.page-hero1 p,
.page-hero2 p,
.page-hero3 p,
.page-hero4 p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-white {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

/* ========================================
   STATS BANNER
   ======================================== */
.stats-banner {
  background: var(--off-white);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-light);
  font-size: 16px;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.intro-section,
.about-intro,
.services-intro,
.testimonials-intro,
.careers-intro,
.contact-intro {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.intro-grid,
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.intro-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   IMAGE PLACEHOLDERS
   ======================================== */
.image-home {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/hd image 7.png') center/cover no-repeat;
}

.image-about {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/hd image 3.png') center/cover no-repeat;
}


/* ===========================================
   SERVICES IMAGES VERTICAL
   ===========================================*/

.image-services {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/skilled\ nursing.jpg') center/cover no-repeat;
}

.image-services1 {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/physical\ therapy.jpg') center/cover no-repeat;
}

.image-services2 {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/Occupational\ therapy.jpg') center/cover no-repeat;
}
  

.image-services3 {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/Speech\ Therapy.jpg') center/cover no-repeat;
}
  

.image-services4 {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('images/Medical\ social\ workers.jpg') center/cover no-repeat;
}


.image-services5 {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/nurse\ home\ aide.jpg') center/cover no-repeat;
}




.image-careers {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('/images/hd image 8.png') center/cover no-repeat;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.mission-vision-section {
  padding: 80px 0;
  background: var(--off-white);
}

.mv-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mv-box {
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.mv-box.mission {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
}

.mv-box.vision {
  background: var(--white);
}

.mv-box h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.mv-box.vision h2 {
  color: var(--primary-blue);
}

.mv-box p {
  line-height: 1.8;
  font-size: 17px;
}

.mv-box.mission p {
  opacity: 0.95;
}

.mv-box.vision p {
  color: var(--text-light);
}

/* ========================================
   VALUES SECTION
   ======================================== */
.values-section {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  background: var(--off-white);
  transition: var(--transition);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary-blue);
}

.value-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.value-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
  padding: 80px 0;
}

.team-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.team-section p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ========================================
   SERVICES PREVIEW
   ======================================== */
.services-preview {
  padding: 80px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-blue);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 15px;
}

.service-link:hover {
  text-decoration: underline;
}

/* ========================================
   SERVICES DETAILED PAGE
   ======================================== */
.services-detailed {
  padding: 80px 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.service-detail p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   CONDITIONS SECTION
   ======================================== */
.conditions-section {
  padding: 80px 0;
  background: var(--off-white);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.condition-card {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.condition-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.condition-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.condition-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-preview {
  padding: 80px 0;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary-blue);
}

.stars {
  color: #fbbf24;
  font-size: 20px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  color: var(--text-dark);
  font-weight: 600;
}

.text-center {
  text-align: center;
}

/* ========================================
   TESTIMONIALS FULL PAGE
   ======================================== */
.testimonials-full {
  padding: 80px 0;
}

.testimonials-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.testimonial-full-card {
  background: var(--white);
  padding: 36px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary-blue);
}

.testimonial-quote {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 16px;
}

/* ========================================
   CAREERS PAGE
   ======================================== */
.why-join-section {
  padding: 80px 0;
  background: var(--off-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.benefit-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary-blue);
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.benefit-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-info-section {
  padding: 80px 0;
  background: var(--off-white);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.contact-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary-blue);
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--primary-blue);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.hours-section {
  padding: 60px 0;
}

.hours-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hours-content p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 17px;
}

/* ========================================
   FORMS
   ======================================== */
.application-section,
.contact-form-section,
.testimonial-form-section {
  padding: 80px 0;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.application-form,
.contact-form,
.testimonial-form {
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-group textarea {
  resize: vertical;
}

form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-300);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.contact-info li {
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 14px;
}


/* ========================================
   ADDITIONAL STYLES - Mission/Vision Cards (index.html)
   ======================================== */
.mission-vision {
  padding: 80px 0;
  background: var(--off-white);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.mv-card {
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.mv-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.mv-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   ADDITIONAL STYLES - Team Image (about.html)
   ======================================== */
.image-team {
  width: 100%;
  padding-bottom: 66.67%;
  border-radius: 12px;
  background: url('images/Clinic\ Team\ Image1.avif') center/cover no-repeat;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    gap: 24px;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Home Hero */
  .hero {
    padding: 100px 20px 60px;
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  /* Page Heroes */
  .page-hero,
  .page-hero1,
  .page-hero2,
  .page-hero3,
  .page-hero4 {
    padding: 80px 20px;
    min-height: 40vh;
  }

  .page-hero h1,
  .page-hero1 h1,
  .page-hero2 h1,
  .page-hero3 h1,
  .page-hero4 h1 {
    font-size: 28px;
  }

  .page-hero p,
  .page-hero1 p,
  .page-hero2 p,
  .page-hero3 p,
  .page-hero4 p {
    font-size: 16px;
  }

  /* Sections */
  .section-header h2 {
    font-size: 28px;
  }

  .service-detail,
  .intro-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse,
  .two-column.reverse {
    direction: ltr;
  }

  .service-detail.reverse > .service-content {
    grid-row: 1;
  }

  .service-detail.reverse > .service-visual {
    grid-row: 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 32px;
  }

  .application-form,
  .contact-form,
  .testimonial-form {
    padding: 32px 24px;
  }

  .mv-box {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  /* Home Hero */
  .hero {
    padding: 80px 16px 50px;
    min-height: 45vh;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  /* Page Heroes */
  .page-hero,
  .page-hero1,
  .page-hero2,
  .page-hero3,
  .page-hero4 {
    padding: 60px 16px;
    min-height: 35vh;
  }

  .page-hero h1,
  .page-hero1 h1,
  .page-hero2 h1,
  .page-hero3 h1,
  .page-hero4 h1 {
    font-size: 24px;
  }

  .page-hero p,
  .page-hero1 p,
  .page-hero2 p,
  .page-hero3 p,
  .page-hero4 p {
    font-size: 14px;
  }

  /* Sections */
  .section-header h2 {
    font-size: 24px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .stat-item h3 {
    font-size: 36px;
  }
}