@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --primary-hsl: 198, 100%, 22%;    /* Deep Ocean Blue: #004F71 */
  --secondary-hsl: 186, 100%, 32%;  /* Calm Ocean Teal: #008194 */
  --accent-hsl: 25, 76%, 57%;       /* Warm Coral/Gold Accent: #E28743 */
  --bg-primary-hsl: 0, 0%, 100%;     /* Pure White: #FFFFFF */
  --bg-secondary-hsl: 38, 20%, 97%;  /* Soft Sand/Cream: #FAF8F5 */
  
  --primary: hsl(var(--primary-hsl));
  --primary-light: hsl(198, 90%, 35%);
  --primary-dark: hsl(198, 100%, 15%);
  
  --secondary: hsl(var(--secondary-hsl));
  --secondary-light: hsl(186, 75%, 45%);
  
  --accent: hsl(var(--accent-hsl));
  --accent-hover: hsl(25, 85%, 50%);
  
  --bg-primary: hsl(var(--bg-primary-hsl));
  --bg-secondary: hsl(var(--bg-secondary-hsl));
  --bg-card: hsl(var(--bg-primary-hsl));
  
  --text-dark: #2C3E50;
  --text-medium: #4A5568;
  --text-light: #718096;
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --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);
  --shadow-premium: 0 20px 40px rgba(0, 79, 113, 0.08);
  
  /* Fonts */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --nav-height: 160px;
  --container-width: 1200px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-padding {
  padding: 6rem 0;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(0, 79, 113, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 79, 113, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-accent {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(226, 135, 67, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 135, 67, 0.4);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 140px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 140px;
  width: auto;
  transition: all 0.3s ease;
}

.site-header.scrolled .logo img {
  height: 116px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-header);
  font-weight: 550;
  font-size: 1.05rem;
  color: var(--text-white); /* White links on dark hero backgrounds */
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

/* Scrolled states for links */
.site-header.scrolled .nav-links a {
  color: var(--text-dark);
}

.site-header.scrolled .nav-links a::after {
  background-color: var(--secondary);
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active {
  color: var(--secondary);
}

/* Transparent vs Scrolled contact buttons */
.nav-links a.btn-secondary {
  color: var(--text-white) !important;
  border-color: var(--text-white) !important;
}

.nav-links a.btn-secondary:hover {
  background-color: var(--text-white) !important;
  color: var(--primary-dark) !important;
}

.site-header.scrolled .nav-links a.btn-secondary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.site-header.scrolled .nav-links a.btn-secondary:hover {
  background-color: var(--primary) !important;
  color: var(--text-white) !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  outline: none;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-white); /* White hamburger bars by default */
  margin: 5px 0;
  transition: all 0.3s ease;
}

.site-header.scrolled .hamburger span {
  background-color: var(--primary-dark); /* Dark blue hamburger bars when scrolled */
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0d2633;
  color: var(--text-white);
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.9);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 79, 113, 0.8) 0%, rgba(13, 38, 51, 0.4) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  font-size: 3.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero-content .subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  color: #E2E8F0;
  margin-bottom: 1rem;
  font-family: var(--font-header);
}

.hero-content p {
  font-size: 1.15rem;
  color: #CBD5E0;
  margin-bottom: 2rem;
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header .tag {
  text-transform: uppercase;
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--secondary);
  display: inline-block;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 2px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Image grid Home */
.about-home-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  height: 480px;
  position: relative;
}

.collage-img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.collage-img:hover {
  transform: scale(1.03) translateY(-5px);
  z-index: 10 !important;
}

.collage-1 {
  grid-column: 1 / 8;
  grid-row: 1 / 10;
  z-index: 3;
}

.collage-2 {
  grid-column: 7 / 13;
  grid-row: 5 / 12;
  z-index: 2;
}

.collage-3 {
  grid-column: 3 / 8;
  grid-row: 8 / 13;
  z-index: 4;
}

/* Surf Page Two-Image Collage */
.surf-images-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  height: 480px;
  position: relative;
}

.surf-collage-1 {
  grid-column: 1 / 8;
  grid-row: 1 / 11;
  z-index: 2;
}

.surf-collage-2 {
  grid-column: 5 / 13;
  grid-row: 3 / 11;
  z-index: 3;
}


/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0, 79, 113, 0.15);
}

.service-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-info .btn-link {
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-info .btn-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.service-info .btn-link:hover::after {
  transform: translateX(5px);
}

/* Benefits Grid */
.benefits {
  background-color: var(--bg-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.benefit-card {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.benefit-card .icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 79, 113, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Contact Section & Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-block h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-detail-item .icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 129, 148, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-detail-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-detail-item p, .contact-detail-item a {
  font-size: 1rem;
  color: var(--text-medium);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.social-link img {
  width: 20px;
  height: 20px;
  filter: invert(1); /* Ensure black icons are white */
}

/* Form Styles */
.contact-form {
  background-color: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-header);
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.85rem 1.25rem;
  border: 1px solid #CBD5E0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #FAFAFA;
  transition: all 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--secondary);
  background-color: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(0, 129, 148, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  background-color: #C6F6D5;
  color: #22543D;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-family: var(--font-header);
  font-weight: 600;
  text-align: center;
}

/* Footer */
.site-footer {
  background-color: #0D2633;
  color: #E2E8F0;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 180px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: #A0AEC0;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #A0AEC0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
  padding-left: 5px;
}

.footer-contact p {
  color: #A0AEC0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-contact a {
  color: var(--secondary-light);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #718096;
  font-size: 0.85rem;
}

/* Subpages Inner Heros */
.inner-hero {
  position: relative;
  padding: 10rem 0 6rem 0;
  background-color: var(--primary-dark);
  color: var(--text-white);
  text-align: center;
  overflow: hidden;
}

.inner-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 55, 80, 0.95), rgba(13, 38, 51, 0.8));
  z-index: 2;
}

.inner-hero .container {
  position: relative;
  z-index: 3;
}

.inner-hero h1 {
  font-size: 3.25rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.inner-hero p {
  font-size: 1.25rem;
  color: #E2E8F0;
  max-width: 800px;
  margin: 0 auto;
}

/* Surf Therapy Content */
.surf-intro {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
}

.surf-intro p {
  margin-bottom: 1.5rem;
}

.surf-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.surf-for-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.surf-for-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.surf-for-card .img-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem auto;
}

.surf-for-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.surf-for-card h3 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary-dark);
}

/* Surf Benefits list research */
.surf-research-section {
  background-color: var(--bg-secondary);
}

.research-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.research-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.research-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  padding: 10px;
}

.research-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.research-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.research-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.research-point {
  background-color: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
}

.research-point p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.research-point .source {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: block;
}

.research-point .source a {
  text-decoration: underline;
}

/* OT Services List */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-list-item {
  background-color: var(--bg-card);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--secondary);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
}

.service-list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.service-list-item h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-dark);
}

/* About Story Sections */
.about-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-text-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-story-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-story-collage img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* PEO Framework Section */
.peo-framework {
  background-color: var(--bg-secondary);
}

.peo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.peo-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.peo-card {
  background-color: var(--bg-primary);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary);
}

.peo-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.peo-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.peo-card.environment {
  border-left-color: var(--secondary);
}

.peo-card.occupation {
  border-left-color: var(--accent);
}

.peo-diagram {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Venn Diagram style in CSS */
.venn-container {
  position: relative;
  width: 320px;
  height: 320px;
}

.venn-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.25rem;
  mix-blend-mode: multiply;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.venn-circle.person {
  background-color: rgba(0, 79, 113, 0.75);
  top: 0;
  left: 60px;
}

.venn-circle.environment {
  background-color: rgba(0, 129, 148, 0.75);
  bottom: 0;
  left: 0;
}

.venn-circle.occupation {
  background-color: rgba(226, 135, 67, 0.75);
  bottom: 0;
  right: 0;
}

.venn-overlap {
  position: absolute;
  z-index: 10;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
  background-color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  pointer-events: none;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-features.reverse {
  direction: rtl;
}

.about-features.reverse .about-text-content {
  direction: ltr;
}

.about-feature-img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  height: 380px;
}

.about-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reveal Scroll Animations */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-links a {
    color: var(--text-dark) !important;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--secondary) !important;
  }
  
  .nav-links a.btn-secondary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
  }
  
  .nav-links a.btn-secondary:hover {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
  }
  
  .hamburger.open span {
    background-color: var(--text-dark) !important;
  }
  
  /* hamburger morphing */
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .about-home-block,
  .peo-grid,
  .about-story,
  .about-features,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-features.reverse {
    direction: ltr;
  }
  
  .about-images-collage,
  .surf-images-collage {
    height: 350px;
  }
  
  .services-grid,
  .benefits-grid,
  .surf-for-grid,
  .services-list-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .research-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .research-icon {
    margin: 0 auto;
  }

  /* Mobile Header Override */
  .site-header {
    height: 100px !important;
  }
  .logo img {
    height: 85px !important;
  }
  .site-header.scrolled {
    height: 90px !important;
  }
  .site-header.scrolled .logo img {
    height: 75px !important;
  }
}
