/* Base Styles */
:root {
  --primary: #1A7B88;
  --secondary: #F4A261;
  --tertiary: #2A9D8F;
  --bg-light: #F8F9FA;
  --bg-secondary: #E9ECEF;
  --text-primary: #212529;
  --text-secondary: #495057;
  --accent: #E76F51;
  --dark-accent: #264653;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 0;
  color: var(--dark-accent);
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: var(--tertiary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
}

strong {
  font-weight: 500;
  color: var(--text-primary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--tertiary);
}

.brand-logo {
  display: block !important;
  position: relative !important;
}

/* Layout Components */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  display: inline-block;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Split Screen Layout */
.split-screen {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .split-screen {
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
  }
  
  .split-screen-left,
  .split-screen-right {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
  }
  
  .split-screen-left {
    background-color: var(--primary);
    color: var(--white);
  }
  
  .split-screen-right {
    background-color: var(--bg-light);
  }
}

/* Navigation */
.navbar {
  padding: 20px 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  height: 100px;
}

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

.logo {
  height: 40px;
}

.menu-toggle {
  display: block;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-menu {
  position: fixed;
  top: 80px;
  left: -100%;
  width: 80%;
  height: calc(100vh - 80px);
  background-color: var(--white);
  transition: var(--transition);
  z-index: 999;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.nav-menu.active {
  left: 0;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav-menu li {
  margin-bottom: 15px;
}

.nav-menu a {
  display: block;
  padding: 10px 0;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 1px solid var(--bg-secondary);
}

.nav-menu a:hover {
  color: var(--primary);
  padding-left: 10px;
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
  
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    overflow-y: visible;
  }
  
  .nav-menu ul {
    display: flex;
    flex-direction: row;
  }
  
  .nav-menu li {
    margin: 0 15px;
  }
  
  .nav-menu a {
    border-bottom: none;
    position: relative;
    padding: 10px 0;
  }
  
  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
  }
  
  .nav-menu a:hover {
    padding-left: 0;
  }
  
  .nav-menu a:hover::after {
    width: 100%;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: var(--dark-accent);
  color: var(--white);
  overflow: hidden;
}

.hero > .container {
  display: flex;
  flex-direction: row-reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero {
    height: 80vh;
  }
  
  .hero-content {
    padding: 0 40px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 500;
  text-align: center;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  height: auto;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--tertiary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(26, 123, 136, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(244, 162, 97, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-text {
  margin-bottom: 15px;
}

.card-link {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
}

.card-link:hover {
  color: var(--tertiary);
}

/* Features Section */
.features {
  background-color: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Infographic */
.infographic {
  margin: 50px 0;
  position: relative;
}

.infographic-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.infographic-content {
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-top: -40px;
  position: relative;
  z-index: 2;
  box-shadow: var(--box-shadow);
}

@media (min-width: 768px) {
  .infographic-content {
    margin-top: 0;
    position: absolute;
    bottom: 40px;
    right: 40px;
    max-width: 350px;
  }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-item {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  color: var(--dark-accent);
  margin-bottom: 15px;
}

.service-text {
  flex-grow: 1;
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 123, 136, 0.2);
  outline: none;
}

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

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Map Section */
.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

/* Contact Info */
.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 5px;
}

/* Footer */
.footer {
  background-color: var(--dark-accent);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--tertiary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-text {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  display: none;
}

.cookie-settings-modal.show {
  display: flex;
}

.cookie-settings-content {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-category {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-secondary);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-title {
  font-weight: 500;
  color: var(--text-primary);
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.cookie-category-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-settings-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Unique Split Screen Dynamic Layout */
.dynamic-content-container {
  position: relative;
}

.dynamic-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--bg-light);
}

.dynamic-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

@media (min-width: 992px) {
  .dynamic-content-container {
    display: flex;
    min-height: calc(100vh - 80px);
  }
  
  .dynamic-left {
    width: 45%;
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    background-color: var(--primary);
  }
  
  .dynamic-left-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: var(--white);
  }
  
  .dynamic-right {
    width: 55%;
    margin-left: 45%;
    min-height: calc(100vh - 80px);
  }
  
  .dynamic-right-content {
    padding: 60px 40px;
  }
}

/* Custom hexagon grid */
.hexagon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .hexagon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hexagon-item {
  position: relative;
  width: 100%;
  padding-bottom: 115%; /* Maintain aspect ratio */
  overflow: hidden;
}

.hexagon-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15%;
  color: var(--white);
  transition: var(--transition);
}

.hexagon-item:nth-child(2n) .hexagon-inner {
  background-color: var(--tertiary);
}

.hexagon-item:nth-child(3n) .hexagon-inner {
  background-color: var(--secondary);
}

.hexagon-item:hover .hexagon-inner {
  transform: scale(1.05);
}

.hexagon-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hexagon-title {
  font-size: 1rem;
  font-weight: 500;
}

/* Wave divider */
.wave-divider {
  position: relative;
  height: 70px;
  margin-top: -1px;
}

.wave-divider svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Diagonal sections */
.diagonal-section {
  position: relative;
  padding: 100px 0;
  margin: 60px 0;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  transform: skewY(-3deg);
  transform-origin: 100%;
  z-index: -1;
}

/* Timeline component */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  top: 15px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--primary);
  z-index: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -12px;
}

.timeline-content {
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-date {
  color: var(--primary);
  font-weight: 500;
}

@media screen and (max-width: 600px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::after {
    left: 19px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0%;
  }
}

/* Slanted card design */
.slanted-card {
  position: relative;
  padding: 40px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  margin: 40px 0;
  z-index: 1;
}

.slanted-card::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 100%;
  background-color: var(--primary);
  transform: skewY(-2deg);
  z-index: -1;
}

/* Interactive button with ripple effect */
.ripple-button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Materialize customization */
.btn-custom {
  background-color: var(--primary);
  border-radius: var(--border-radius);
}

.btn-custom:hover {
  background-color: var(--tertiary);
}

.collection {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: none;
  box-shadow: var(--box-shadow);
}

.collection .collection-item {
  border-bottom: 1px solid var(--bg-secondary);
}

.collection .collection-item:last-child {
  border-bottom: none;
}

.input-field input:focus,
.input-field textarea:focus {
  border-bottom: 1px solid var(--primary) !important;
  box-shadow: 0 1px 0 0 var(--primary) !important;
}

.input-field input:focus + label,
.input-field textarea:focus + label {
  color: var(--primary) !important;
}

.dropdown-content li > a, 
.dropdown-content li > span {
  color: var(--primary);
}

/* Custom animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* Thank you page styles */
.thank-you-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 20px;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-message {
  max-width: 600px;
  margin-bottom: 30px;
}

/* International Phone Input Custom Styles */
.iti {
  width: 90%;
}

.iti__flag-container {
  z-index: 10;
}

/* Cookie Policy Page Styles */
.policy-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-date {
  margin-bottom: 30px;
  font-style: italic;
  color: var(--text-secondary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--tertiary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Unique Design Elements */
.diagonal-box {
  position: relative;
  padding: 30px;
  background-color: var(--white);
  margin: 50px 0;
  z-index: 1;
}

.diagonal-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: skewY(-2deg);
  transform-origin: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
  z-index: -1;
  border-radius: var(--border-radius);
}

.shape-outside-circle {
  float: left;
  shape-outside: circle(50%);
  width: 200px;
  height: 200px;
  margin-right: 20px;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--tertiary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.dotted-pattern {
  position: relative;
}

.dotted-pattern::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 12px 12px;
  z-index: -1;
}

.circle-clip-path {
  clip-path: circle(50% at center);
}

.diamond-clip-path {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Interactive Elements */
.tilt-on-hover {
  transition: transform 0.3s ease;
}

.tilt-on-hover:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

.reveal-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Border animation */
.border-animation {
  position: relative;
}

.border-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  transition: all 0.5s ease;
}

.border-animation:hover::before {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Advanced grid layouts */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: minmax(100px, auto);
  grid-auto-flow: dense;
  gap: 20px;
  margin: 40px 0;
}

.masonry-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.masonry-item.wide {
  grid-column: span 2;
}

.masonry-item.tall {
  grid-row: span 2;
}

@media (max-width: 767px) {
  .masonry-item.wide {
    grid-column: span 1;
  }
}

/* Custom SVG background */
.custom-bg {
  position: relative;
  background-color: var(--bg-light);
}

.custom-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231a7b88' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--tertiary));
  z-index: 9999;
  transition: width 0.2s ease;
}