/* Base Styles */
:root {
  --primary-color: #FF6B6B; /* Red - Primary */
  --secondary-color: #4ECDC4; /* Teal - Secondary */
  --tertiary-color: #FFD166; /* Yellow - Tertiary */
  --dark-color: #1A535C;
  --light-color: #F7F9FB;
  --gray-color: #E9ECEF;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --neomorphic-light: rgba(255, 255, 255, 0.7);
  --neomorphic-shadow: rgba(0, 0, 0, 0.07);
  --primary-dark: #FF4757;
  --secondary-dark: #3AA99E;
  --tertiary-dark: #FFC233;
  --transition-speed: 0.3s;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

/* Neomorphic Elements */
.neomorphic-card {
  border-radius: 20px;
  background: var(--light-color);
  box-shadow: 
    8px 8px 16px var(--neomorphic-shadow),
    -8px -8px 16px var(--neomorphic-light);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  padding: 1.75rem;
  margin-bottom: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    12px 12px 20px var(--neomorphic-shadow),
    -12px -12px 20px var(--neomorphic-light);
}

.neomorphic-button, .button.neomorphic-button {
  border-radius: 30px;
  box-shadow: 
    5px 5px 10px var(--neomorphic-shadow),
    -5px -5px 10px var(--neomorphic-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  cursor: pointer;
  text-align: center;
}

.neomorphic-button:hover, .button.neomorphic-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    7px 7px 14px var(--neomorphic-shadow),
    -7px -7px 14px var(--neomorphic-light);
}

.neomorphic-button:active, .button.neomorphic-button:active {
  transform: translateY(1px);
  box-shadow: 
    inset 2px 2px 5px var(--neomorphic-shadow),
    inset -2px -2px 5px var(--neomorphic-light);
}

.neomorphic-input, .neomorphic-textarea, .neomorphic-select {
  border-radius: 15px;
  background: var(--light-color);
  box-shadow: 
    inset 3px 3px 6px var(--neomorphic-shadow),
    inset -3px -3px 6px var(--neomorphic-light);
  border: none;
  padding: 0.75rem 1rem;
  transition: box-shadow var(--transition-speed) ease;
  width: 100%;
  margin-bottom: 1rem;
}

.neomorphic-input:focus, .neomorphic-textarea:focus, .neomorphic-select:focus {
  box-shadow: 
    inset 4px 4px 8px var(--neomorphic-shadow),
    inset -4px -4px 8px var(--neomorphic-light);
  outline: none;
}

/* Buttons */
.button, button, input[type="submit"] {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-align: center;
  font-family: 'Nunito', sans-serif;
}

.button:hover, button:hover, input[type="submit"]:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button.is-secondary {
  background-color: var(--secondary-color);
}

.button.is-secondary:hover {
  background-color: var(--secondary-dark);
}

.button.is-tertiary {
  background-color: var(--tertiary-color);
  color: var(--dark-color);
}

.button.is-tertiary:hover {
  background-color: var(--tertiary-dark);
}

.button.is-light {
  background-color: white;
  color: var(--dark-color);
}

.button.is-light:hover {
  background-color: #f0f0f0;
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: white;
}

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
}

.button.is-small {
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem;
}

.button.is-fullwidth {
  width: 100%;
  display: block;
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-right: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-speed) ease;
}

.read-more:hover {
  color: var(--primary-dark);
  padding-right: 1.75rem;
}

.read-more:hover::after {
  transform: translate(5px, -50%);
}

/* Header & Navigation */
.header {
  padding: 1rem 0;
  background-color: var(--light-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand .title {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-end {
  display: flex;
  align-items: center;
}

.navbar-item {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: color var(--transition-speed) ease;
}

.navbar-item:hover {
  color: var(--primary-color);
}

.navbar-burger {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  margin-top: 70px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero .subtitle {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: white;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.hero .buttons {
  margin-top: 2rem;
}

.hero.is-fullheight {
  height: 100vh;
}

/* Statistics Widgets */
.stats-section {
  background-color: white;
}

.stat-widget {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.stat-widget .title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 3rem;
}

.stat-widget .subtitle {
  color: var(--dark-color);
  font-weight: 600;
}

/* Properties Section */
.properties-section {
  background-color: var(--gray-color);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  text-align: center;
  width: 100%;
}

/* Case Studies Section */
.case-studies-section {
  background-color: white;
}

.timeline {
  margin-top: 2rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 2px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-marker {
  position: absolute;
  top: 5px;
  left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content .heading {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

/* External Resources Section */
.external-resources-section {
  background-color: var(--gray-color);
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.25rem;
  cursor: pointer;
  position: relative;
  background-color: var(--light-color);
  transition: background-color var(--transition-speed) ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform var(--transition-speed) ease;
}

.faq-question.active {
  background-color: var(--primary-color);
  color: white;
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  background-color: var(--light-color);
  display: none;
}

/* Pricing Section */
.pricing-section {
  background-color: var(--gray-color);
}

.pricing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-header {
  width: 100%;
  padding: 2rem 1rem;
  background-color: var(--light-color);
  border-radius: 15px 15px 0 0;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

.pricing-body {
  padding: 2rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  text-align: left;
}

.pricing-features li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
  z-index: 2;
}

/* Events Calendar Section */
.events-section {
  background-color: white;
}

.event-card {
  display: flex;
  margin-bottom: 2rem;
  overflow: hidden;
  text-align: left;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: white;
  padding: 1.5rem;
  min-width: 120px;
  text-align: center;
}

.event-date .month {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.event-date .day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
}

.event-date .year {
  font-size: 1rem;
}

.event-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-content .title {
  margin-bottom: 0.5rem;
}

.event-content .subtitle {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Contact Form Section */
.contact-section {
  background-color: var(--gray-color);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.control {
  position: relative;
  width: 100%;
}

/* Success Page */
.success-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 0;
}

.success-message {
  text-align: center;
  max-width: 600px;
}

.success-icon {
  margin: 0 auto 2rem;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.what-next {
  margin-top: 3rem;
}

.steps {
  margin-top: 2rem;
  text-align: left;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

/* Recommended Properties Section */
.recommended-section {
  background-color: var(--light-color);
  padding: 80px 0;
}

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

.footer .title {
  color: white;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
  color: white;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  margin-right: 1rem;
  transition: color var(--transition-speed) ease;
}

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

/* About Page Styles */
.values-section .value-card {
  text-align: center;
  height: 100%;
}

.value-icon {
  margin: 0 auto 1.5rem;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-section .team-card {
  text-align: center;
  height: 100%;
}

.team-card .card-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}

.team-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card {
  height: 100%;
  text-align: center;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1.5rem;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  line-height: 1;
}

.testimonial-content::before {
  top: -20px;
  left: 0;
}

.testimonial-content::after {
  bottom: -40px;
  right: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin-bottom: 1.5rem;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Contact Page Styles */
.contact-info-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.map-container {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 20px;
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Privacy and Terms Pages */
.privacy-policy-section,
.terms-section {
  padding-top: 170px;
  padding-bottom: 80px;
}

.privacy-content,
.terms-content {
  padding: 2rem;
}

.privacy-content h2,
.terms-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.privacy-content p,
.terms-content p {
  margin-bottom: 1.5rem;
}

.privacy-content ul,
.terms-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

/* Achievements Section */
.achievements-section .timeline {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Columns Layout */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.column {
  padding: 1rem;
  flex: 1 1 0;
  min-width: 0;
}

.column.is-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.column.is-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.column.is-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.column.is-two-thirds {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.column.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.columns.is-centered {
  justify-content: center;
}

.columns.is-multiline {
  flex-wrap: wrap;
}

/* Utility Classes */
.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.is-size-4 {
  font-size: 1.5rem;
}

.is-size-5 {
  font-size: 1.25rem;
}

.has-text-weight-bold {
  font-weight: 700;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.buttons.is-centered {
  justify-content: center;
}

/* Accessibility Improvements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 350px;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  animation: slidein 0.5s ease-out;
}

.cookie-content p {
  margin-bottom: 10px;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
}

@keyframes slidein {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .column.is-4,
  .column.is-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 1rem;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-item {
    padding: 0.75rem 0;
    width: 100%;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .column,
  .column.is-4,
  .column.is-6,
  .column.is-3,
  .column.is-two-thirds,
  .column.is-half {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    border-radius: 15px 15px 0 0;
    padding: 1rem;
    min-width: 100%;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .buttons .button {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .stat-widget .title {
    font-size: 2.5rem;
  }
}