/* Lookmai Website Styles */

/* Material Symbols Configuration */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Newsreader', serif;
  background-color: #f8f7f6;
  color: #436f9b;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
  background-color: #221d10;
  color: #f6f7f8;
}

/* Typography */
.font-heading {
  font-family: 'Fascinate Inline', system-ui, sans-serif;
}

.font-display {
  font-family: 'Newsreader', serif;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(244, 199, 83, 0.2);
  background-color: rgba(248, 247, 246, 0.8);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease;
}

body.dark header {
  background-color: rgba(34, 29, 16, 0.8);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 640px) {
  .header-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 0 2rem;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-container:hover {
  text-decoration: none;
  color: inherit;
}

.logo-svg {
  height: 2rem;
  width: 2rem;
  color: #F4C753;
}

.logo-video {
  height: 50px;
  width: 180px;
  object-fit: contain;
  border-radius: 0rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
}

/* Navigation */
nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #F4C753;
}

.nav-link.active {
  color: #F4C753;
  font-weight: bold;
}

body.dark .nav-link {
  color: #d1d5db;
}

body.dark .nav-link:hover {
  color: #F4C753;
}

body.dark .nav-link.active {
  color: #F4C753;
}

/* Buttons */
.btn-primary {
  display: none;
  background-color: #F4C753;
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: scale(1.05);
  background-color: rgba(244, 199, 83, 0.9);
}

@media (min-width: 768px) {
  .btn-primary {
    display: inline-block;
  }
}

.btn-secondary {
  background-color: #F4C753;
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-secondary:hover {
  transform: scale(1.05);
  background-color: rgba(244, 199, 83, 0.9);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.mobile-menu-btn:hover {
  color: #F4C753;
  background-color: rgba(244, 199, 83, 0.1);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  animation: fadeIn 0.3s ease-out;
}

.mobile-menu-content {
  animation: slideInUp 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Main Content */
main {
  flex-grow: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(34, 29, 16, 0.7);
}

body.dark .hero::before {
  background-color: rgba(34, 29, 16, 0.8);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  font-family: 'Fascinate Inline', system-ui;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero p {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Section Styles */
.section {
  padding: 4rem 0;
  position: relative;
  z-index: 10;
  background-color: #f8f7f6;
}

body.dark .section {
  background-color: #221d10;
}

/* Services Page Specific Styles */
.services-page {
  padding-top: 2rem; /* Reduce top padding */
  padding-bottom: 4rem; /* Keep bottom padding */
}

.services-header {
  margin-bottom: 3rem; /* Add more space between header and cards */
}

@media (min-width: 640px) {
  .section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}

.section-alt {
  background-color: rgba(244, 199, 83, 0.05);
}

body.dark .section-alt {
  background-color: rgba(244, 199, 83, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  margin-top: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  color: rgba(16, 25, 34, 0.7);
}

body.dark .section-subtitle {
  color: rgba(246, 247, 248, 0.7);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .grid-2 {
    gap: 3rem;
  }
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

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

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

.grid-4 {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Ensure team members stay in a row on larger screens */
@media (min-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Team-specific grid for compact layout */
.team-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Team Orbit Design */
.team-orbit-container {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
}

.sphere-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease-in-out;
}

.sphere-container.active .sphere {
  transform: translateX(-150%) scale(0.7);
}

.sphere {
  position: relative;
  width: 384px;
  height: 384px;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -48px;
  margin-left: -48px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  cursor: pointer;
  animation: orbit 20s linear infinite;
}

.orbit-item:nth-child(1) {
  animation-delay: 0s;
}

.orbit-item:nth-child(2) {
  animation-delay: -5s;
}

.orbit-item:nth-child(3) {
  animation-delay: -10s;
}

.orbit-item:nth-child(4) {
  animation-delay: -15s;
}

.orbit-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f8f7f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

body.dark .orbit-item img {
  border-color: #221d10;
}

.orbit-item:hover img {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(244, 199, 83, 0.3);
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(150px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(150px) rotate(-360deg);
  }
}

.team-details-container {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

/* Ensure container is visible on desktop when active */
.team-details-container.active {
  opacity: 1;
  pointer-events: auto;
}

.team-detail-card {
  width: 100%;
  max-width: 28rem;
  padding: 2rem;
  background-color: rgba(248, 247, 246, 0.95);
  border-radius: 1rem;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 199, 83, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: block;
}

body.dark .team-detail-card {
  background-color: rgba(34, 29, 16, 0.95);
  border-color: rgba(244, 199, 83, 0.3);
}

.team-detail-card.active {
  display: block;
}

/* Additional classes to match team.html structure */
.team-details-container.opacity-0 {
  opacity: 0;
  pointer-events: none;
}

.team-detail-card.hidden {
  display: none !important;
}

.team-detail-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.team-detail-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F4C753;
}

.team-detail-info h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #101922;
  margin: 0;
}

body.dark .team-detail-info h3 {
  color: #f6f7f8;
}

.team-detail-info p {
  color: #F4C753;
  font-weight: 600;
  margin: 0.25rem 0 0 0;
}

.team-detail-description {
  color: rgba(16, 25, 34, 0.7);
  line-height: 1.6;
}

body.dark .team-detail-description {
  color: rgba(246, 247, 248, 0.7);
}

@media (max-width: 768px) {
  .team-orbit-container {
    height: 500px;
    position: relative;
  }
  
  .sphere {
    width: 300px;
    height: 300px;
  }
  
  .orbit-item {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
  }
  
  /* Mobile dialogue box - full width bottom dialog */
  .team-details-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    transform: translateZ(0) !important;
    overflow: hidden !important;
  }
  
  .team-details-container.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .team-detail-card {
    width: 100% !important;
    max-width: none !important;
    height: auto;
    min-height: 50vh;
    max-height: 85vh;
    margin: 0 !important;
    padding: 3rem 2rem 2rem 2rem;
    background-color: white;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow-y: auto;
  }
  
  .team-details-container.active .team-detail-card {
    transform: translateY(0);
  }
  
  /* Dark mode for mobile dialogue */
  body.dark .team-detail-card {
    background-color: #1f2937;
    color: #f6f7f8;
  }
  
  /* Mobile dialogue layout - full width */
  .team-detail-card .team-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
  }
  
  .team-detail-card .team-detail-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .team-detail-card .team-detail-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: #1f2937;
  }
  
  body.dark .team-detail-card .team-detail-info h3 {
    color: #f6f7f8;
  }
  
  .team-detail-card .team-detail-info p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
  }
  
  body.dark .team-detail-card .team-detail-info p {
    color: #9ca3af;
  }
  
  .team-detail-card .team-detail-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #374151;
  }
  
  body.dark .team-detail-card .team-detail-description {
    color: rgba(246, 247, 248, 0.8);
  }
  
  /* Close button for mobile dialogue */
  .team-detail-card::before {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
  }
  
  .team-detail-card:hover::before {
    background-color: #e5e7eb;
  }
  
  body.dark .team-detail-card::before {
    background-color: #374151;
    color: #d1d5db;
  }
  
  body.dark .team-detail-card:hover::before {
    background-color: #4b5563;
  }
}

/* Team member container - compact sizing */
.team-member {
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.team-member .relative {
  width: 240px;
  height: 240px;
  margin: 0 auto;
}

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

/* Cards */
.card {
  background-color: white;
  border: 1px solid rgba(244, 199, 83, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.card:hover {
  background-color: rgba(244, 199, 83, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.dark .card {
  background-color: rgba(244, 199, 83, 0.1);
}

body.dark .card:hover {
  background-color: rgba(244, 199, 83, 0.2);
}


.card-icon {
  margin: 0 auto 1.5rem;
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #F4C753;
  color: white;
}

.card-icon .material-symbols-outlined {
  font-size: 1.875rem;
}

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

.card p {
  color: rgba(16, 25, 34, 0.7);
}

body.dark .card p {
  color: rgba(246, 247, 248, 0.7);
}

/* Service Cards */
.service-card {
  background-color: white;
  border: 1px solid rgba(244, 199, 83, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: rgba(244, 199, 83, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.dark .service-card {
  background-color: rgba(55, 65, 81, 0.2);
}

body.dark .service-card:hover {
  background-color: rgba(244, 199, 83, 0.2);
}


.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-icon {
  flex-shrink: 0;
  background-color: rgba(244, 199, 83, 0.1);
  color: #F4C753;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

body.dark .service-icon {
  background-color: rgba(244, 199, 83, 0.2);
}

.service-icon .material-symbols-outlined {
  font-size: 1.875rem;
}

.service-card h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #6b7280;
}

body.dark .service-card p {
  color: #d1d5db;
}

/* Feature Lists */
.feature-list {
  margin-top: 1.5rem;
}

.feature-list h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-list ul {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-check {
  flex-shrink: 0;
  background-color: rgba(244, 199, 83, 0.1);
  color: #F4C753;
  border-radius: 9999px;
  padding: 0.375rem;
}

body.dark .feature-check {
  background-color: rgba(244, 199, 83, 0.2);
}

.feature-check svg {
  height: 1.25rem;
  width: 1.25rem;
}

.feature-list span {
  color: #374151;
}

body.dark .feature-list span {
  color: #d1d5db;
}

/* Testimonials */
.testimonial {
  background-color: white;
  border: 1px solid rgba(244, 199, 83, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

body.dark .testimonial {
  background-color: #221d10;
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.testimonial-avatar {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 9999px;
  object-fit: cover;
}

.testimonial-content p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #F4C753;
}

.testimonial-title {
  font-size: 0.875rem;
  color: rgba(16, 25, 34, 0.7);
}

body.dark .testimonial-title {
  color: rgba(246, 247, 248, 0.7);
}

/* Testimonials Carousel */
.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

/* Full width success stories carousel */
.success-stories-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2rem 0;
  background-color: rgba(244, 199, 83, 0.05);
  overflow: hidden;
}

.success-stories-carousel .carousel-container {
  width: 100%;
  position: relative;
  max-width: none;
  overflow: hidden;
}

body.dark .success-stories-carousel {
  background-color: rgba(244, 199, 83, 0.1);
}

/* Full width home testimonials carousel */
.home-testimonials-carousel {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 2rem 0;
  background-color: rgba(244, 199, 83, 0.05);
  overflow: hidden;
  position: relative;
  max-width: none !important;
}

body.dark .home-testimonials-carousel {
  background-color: rgba(244, 199, 83, 0.1);
}

.home-testimonials-carousel .carousel-container {
  width: 100% !important;
  position: relative;
  max-width: none !important;
  overflow: hidden;
}

/* Home testimonials carousel track for 2 slides */
.home-testimonials-carousel #testimonial-track {
  width: 200%; /* 2 slides */
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Home testimonials slides */
.home-testimonials-carousel .testimonial-slide {
  width: 50%; /* Each slide takes 50% of the track width (100% / 2 slides) */
  flex-shrink: 0;
  padding: 0;
}

/* Home testimonials content positioning */
.home-testimonials-carousel .testimonial-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Home testimonials avatar positioning */
.home-testimonials-carousel .testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  display: block;
}

/* Home testimonials text positioning */
.home-testimonials-carousel .testimonial-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(16, 25, 34, 0.8);
  margin: 0 0 1.5rem 0;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

body.dark .home-testimonials-carousel .testimonial-text {
  color: rgba(246, 247, 248, 0.8);
}

/* Home testimonials author positioning */
.home-testimonials-carousel .testimonial-author {
  font-size: 1.125rem;
  font-weight: 600;
  color: #101922;
  margin: 0 0 0.5rem 0;
}

body.dark .home-testimonials-carousel .testimonial-author {
  color: #f6f7f8;
}

/* Home testimonials title positioning */
.home-testimonials-carousel .testimonial-title {
  font-size: 0.875rem;
  color: #F4C753;
  margin: 0;
  font-weight: 500;
}

/* Success stories content positioning */
.success-stories-carousel .testimonial-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Success stories avatar positioning */
.success-stories-carousel .testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  display: block;
}

/* Success stories text positioning */
.success-stories-carousel .testimonial-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(16, 25, 34, 0.8);
  margin: 0 0 1.5rem 0;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

body.dark .success-stories-carousel .testimonial-text {
  color: rgba(246, 247, 248, 0.8);
}

/* Success stories author positioning */
.success-stories-carousel .testimonial-author {
  font-size: 1.125rem;
  font-weight: 600;
  color: #101922;
  margin: 0 0 0.5rem 0;
}

body.dark .success-stories-carousel .testimonial-author {
  color: #f6f7f8;
}

/* Success stories title positioning */
.success-stories-carousel .testimonial-title {
  font-size: 0.875rem;
  color: #F4C753;
  margin: 0;
  font-weight: 500;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 200%; /* 2 slides for testimonials */
}

/* Success stories carousel with 4 slides */
.success-stories-carousel #success-track {
  width: 400%; /* 4 slides */
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Ensure success stories slides are properly sized for full width */
.success-stories-carousel .testimonial-slide {
  width: 25%; /* Each slide takes 25% of the track width (100% / 4 slides) */
  flex-shrink: 0;
  padding: 0;
}

.testimonial-slide {
  width: 50%; /* Each slide takes half the track width */
  flex-shrink: 0;
  padding: 0;
}

.testimonial-content {
  text-align: center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(16, 25, 34, 0.8);
  margin: 1.5rem 0;
  font-style: italic;
}

body.dark .testimonial-text {
  color: rgba(246, 247, 248, 0.8);
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  background: rgba(244, 199, 83, 0.9);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
  background: #F4C753;
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn .material-symbols-outlined {
  color: white;
  font-size: 1.5rem;
}

.prev-btn {
  margin-left: -1.5rem;
}

.next-btn {
  margin-right: -1.5rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(244, 199, 83, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #F4C753;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(244, 199, 83, 0.6);
}

/* Touch/Swipe Support */
.carousel-track {
  touch-action: pan-y;
}

@media (max-width: 768px) {
  .carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .carousel-btn .material-symbols-outlined {
    font-size: 1.25rem;
  }
  
  .prev-btn {
    margin-left: -1rem;
  }
  
  .next-btn {
    margin-right: -1rem;
  }
}

/* About Section */
.about-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 1.875rem;
  font-weight: bold;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .about-content h2 {
    font-size: 2.25rem;
  }
}

.about-content p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(16, 25, 34, 0.7);
}

body.dark .about-content p {
  color: rgba(246, 247, 248, 0.7);
}

/* Team Section - Updated for compact layout */

/* Timeline */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #e5e7eb;
  transform: translateX(-50%);
}

body.dark .timeline::before {
  background-color: #374151;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
}

.timeline-content {
  width: 50%;
}

.timeline-content.left {
  padding-right: 2rem;
  text-align: right;
}

.timeline-content.right {
  padding-left: 2rem;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  background-color: #F4C753;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
}

.timeline-marker .material-symbols-outlined {
  font-size: 1rem;
}

.timeline-year {
  font-size: 1.125rem;
  font-weight: bold;
}

.timeline-description {
  color: rgba(16, 25, 34, 0.7);
}

body.dark .timeline-description {
  color: rgba(246, 247, 248, 0.7);
}

/* Contact Form */
.contact-form {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

body.dark .contact-form {
  background-color: #221d10;
  border-color: #374151;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(16, 25, 34, 0.7);
  margin-bottom: 0.25rem;
}

body.dark .form-label {
  color: rgba(246, 247, 248, 0.7);
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background-color: rgba(248, 247, 246, 0.5);
  font-size: 0.875rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Select dropdown styling */
.form-input select,
select.form-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  appearance: none;
  cursor: pointer;
}

.form-input:focus {
  outline: none;
  border-color: #F4C753;
  box-shadow: 0 0 0 3px rgba(244, 199, 83, 0.1);
}

body.dark .form-input {
  background-color: rgba(34, 29, 16, 0.5);
  border-color: #374151;
  color: #f6f7f8;
}

body.dark .form-input:focus {
  border-color: #F4C753;
}

/* Dark mode select dropdown styling */
body.dark .form-input select,
body.dark select.form-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23d1d5db' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

/* Contact Info */
.contact-info {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

body.dark .contact-info {
  background-color: #221d10;
  border-color: #374151;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  color: #F4C753;
  margin-top: 0.25rem;
}

.contact-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: rgba(16, 25, 34, 0.7);
}

.contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: #F4C753;
}

body.dark .contact-value {
  color: rgba(246, 247, 248, 0.7);
}

/* Map */
.map-container {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

body.dark .map-container {
  border-color: #374151;
}

.map-iframe {
  width: 100%;
  height: 18.75rem;
  border: 0;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.map-iframe:hover {
  filter: grayscale(0);
}

/* Footer */
footer {
  background-color: rgba(244, 199, 83, 0.05);
  border-top: 1px solid #e5e7eb;
}

body.dark footer {
  background-color: rgba(244, 199, 83, 0.1);
  border-top-color: #374151;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 2rem 2rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .logo-svg {
  height: 2rem;
  width: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(16, 25, 34, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #F4C753;
}

body.dark .footer-nav a {
  color: rgba(246, 247, 248, 0.7);
}

body.dark .footer-nav a:hover {
  color: #F4C753;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(16, 25, 34, 0.7);
  text-align: center;
}

body.dark .footer-copyright {
  color: rgba(246, 247, 248, 0.7);
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #F4C753;
}

body.dark .social-link {
  color: #9ca3af;
}

body.dark .social-link:hover {
  color: #F4C753;
}

.social-link svg {
  height: 1.5rem;
  width: 1.5rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: #F4C753;
}

.bg-primary {
  background-color: #F4C753;
}

.max-w-3xl {
  max-width: 48rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Contact Cards Fix */
  .contact-form {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    padding: 1.5rem;
    box-sizing: border-box;
  }
  
  .contact-info {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    padding: 1.5rem;
    box-sizing: border-box;
  }
  
  .map-container {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 2rem;
    box-sizing: border-box;
  }
  
  .map-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
  }
  
  /* Container adjustments for mobile contact page */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .max-w-6xl {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Mobile Button Visibility */
  .contact-form .btn-primary {
    display: inline-block !important;
    width: 100%;
    margin-top: 1rem;
  }
  
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-content {
    width: 100%;
    text-align: left !important;
    padding: 0 !important;
  }
  
  .timeline-marker {
    left: 1rem;
  }
}

/* Dark Mode Toggle Switch */
.dark-mode-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 80px;
  height: 28px;
  background-color: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark-mode-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.dark-mode-toggle:active {
  transform: scale(0.98);
}

.dark-mode-toggle .toggle-text {
  font-size: 0.6rem;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.dark-mode-toggle .toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background-color: #F4C753;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dark-mode-toggle .toggle-slider .material-symbols-outlined {
  color: white;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

/* Light mode styles */
.dark-mode-toggle.light-mode {
  background-color: #fef3c7;
  border-color: #f59e0b;
}

.dark-mode-toggle.light-mode .toggle-text.day {
  opacity: 1;
  color: #92400e;
}

.dark-mode-toggle.light-mode .toggle-text.night {
  opacity: 0;
}

.dark-mode-toggle.light-mode .toggle-slider {
  transform: translateX(0);
}

/* Dark mode styles */
.dark-mode-toggle.dark-mode {
  background-color: #1f2937;
  border-color: #374151;
}

.dark-mode-toggle.dark-mode .toggle-text.day {
  opacity: 0;
}

.dark-mode-toggle.dark-mode .toggle-text.night {
  opacity: 1;
  color: #d1d5db;
}

.dark-mode-toggle.dark-mode .toggle-slider {
  transform: translateX(52px);
}

/* Contact Buttons Container */
.contact-buttons-container {
  position: fixed;
  bottom: 6rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Contact Buttons */
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.contact-btn:active {
  transform: translateY(0);
}

/* WhatsApp Button */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #20C55A, #0F7A6B);
  color: white;
}

/* Call Button */
.call-btn {
  background: linear-gradient(135deg, #F4C753, #E6B800);
  color: #101922;
}

.call-btn:hover {
  background: linear-gradient(135deg, #E6B800, #CC9900);
  color: #101922;
}

/* Dark mode styles for contact buttons */
body.dark .contact-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

body.dark .call-btn {
  background: linear-gradient(135deg, #F4C753, #E6B800);
  color: #101922;
}

/* WhatsApp Icon Styling */
.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon svg {
  width: 24px;
  height: 24px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .contact-buttons-container {
    bottom: 5rem;
    right: 0.75rem;
    gap: 0.5rem;
  }
  
  .contact-btn {
    width: 3rem;
    height: 3rem;
  }
  
  .contact-btn .material-symbols-outlined {
    font-size: 1.25rem;
  }
  
  .whatsapp-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(244, 199, 83, 0.3);
  border-radius: 50%;
  border-top-color: #F4C753;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* SPA Loading Container */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1rem;
}

.loading-container p {
  color: #F4C753;
  font-weight: 500;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(244, 199, 83, 0.3);
  border-radius: 50%;
  border-top-color: #F4C753;
  animation: spin 1s ease-in-out infinite;
}

/* Page Transition Effects */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Content fade in animation */
.content-fade-in {
  animation: fadeInUp 0.5s ease-out;
}

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

/* Error State */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  gap: 1rem;
}

.error-container h2 {
  color: #dc2626;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.error-container p {
  color: rgba(16, 25, 34, 0.7);
  margin-bottom: 1rem;
}

body.dark .error-container p {
  color: rgba(246, 247, 248, 0.7);
}

/* Success/Error Messages */
.message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

body.dark .message.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

body.dark .message.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}

/* Main Section Card for Why Us Page */
.main-section-card {
  background-color: white;
  border: 1px solid rgba(244, 199, 83, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.main-section-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body.dark .main-section-card {
  background-color: rgba(55, 65, 81, 0.2);
}

/* Benefit Image styling for service cards */
.benefit-image {
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
