/* SereniSphere Stylesheet - css/style.css */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --sereni-white: #ffffff;
  --sereni-light: #f2efe7;
  --sereni-teal-light: #9acbd0;
  --sereni-teal: #48a6a7;
  --sereni-blue: #2973b2;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Typography */
  --font-primary: 'Quicksand', sans-serif;
  --font-secondary: 'Raleway', sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
  background-color: var(--sereni-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  margin-bottom: var(--space-sm);
  color: var(--sereni-blue);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: var(--space-sm);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--sereni-teal), var(--sereni-blue));
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--sereni-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--sereni-teal);
}

/* Container */
.sereni-sphere-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Header */
.sereni-sphere-header {
  background-color: var(--sereni-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.sereni-sphere-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.sereni-sphere-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 20px;
}

.sereni-sphere-logo {
  height: 50px;
  width: auto;
}

.sereni-sphere-nav {
  display: flex;
  align-items: center;
}

.sereni-sphere-nav-list {
  display: flex;
  list-style: none;
}

.sereni-sphere-nav-item {
  margin-left: var(--space-md);
}

.sereni-sphere-nav-link {
  font-family: var(--font-secondary);
  font-weight: 500;
  position: relative;
}

.sereni-sphere-nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--sereni-teal), var(--sereni-blue));
  transition: width 0.3s ease;
}

.sereni-sphere-nav-link:hover::after {
  width: 100%;
}

.sereni-sphere-mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--sereni-blue);
}

/* Hero Section */
.sereni-sphere-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
      135deg,
      rgba(242, 239, 231, 0.9),
      rgba(154, 203, 208, 0.8)
    ),
    url('../img/hero-bg.jpeg');
  background-size: cover;
  background-position: center;
  margin-top: 70px;
  text-align: center;
}

.sereni-sphere-hero-content {
  max-width: 800px;
  padding: var(--space-md);
  animation: fadeIn 1s ease-in-out;
}

.sereni-sphere-hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

.sereni-sphere-hero-text {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.sereni-sphere-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(to right, var(--sereni-teal), var(--sereni-blue));
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 0;
  outline: none;
}

.sereni-sphere-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Sections */
.sereni-sphere-section {
  padding: var(--space-lg) 0;
}

.sereni-sphere-section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.sereni-sphere-section-title h2 {
  display: inline-block;
}

.sereni-sphere-section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Features */
.sereni-sphere-features {
  background-color: var(--sereni-light);
}

.sereni-sphere-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.sereni-sphere-feature-card {
  background-color: white;
  padding: var(--space-md);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sereni-sphere-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sereni-sphere-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-sm);
}

.sereni-sphere-feature-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

/* Visualization Section */
.sereni-sphere-visualization {
  position: relative;
  overflow: hidden;
}

.sereni-sphere-sphere-container {
  position: relative;
  height: 400px;
  margin: var(--space-md) auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sereni-sphere-sphere {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--sereni-teal-light),
    var(--sereni-teal)
  );
  box-shadow: 0 0 50px rgba(72, 166, 167, 0.5);
  animation: pulse 4s infinite ease-in-out;
}

.sereni-sphere-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(41, 115, 178, 0.3);
}

.sereni-sphere-orbit:nth-child(1) {
  width: 250px;
  height: 250px;
}

.sereni-sphere-orbit:nth-child(2) {
  width: 300px;
  height: 300px;
}

.sereni-sphere-orbit:nth-child(3) {
  width: 350px;
  height: 350px;
}

/* Testimonials */
.sereni-sphere-testimonials {
  background-color: var(--sereni-light);
}

.sereni-sphere-testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.sereni-sphere-testimonial-slide {
  text-align: center;
  padding: var(--space-md);
}

.sereni-sphere-testimonial-content {
  background-color: white;
  padding: var(--space-md);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-md);
  position: relative;
}

.sereni-sphere-testimonial-content::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

.sereni-sphere-testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sereni-sphere-testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sereni-teal);
  margin-bottom: var(--space-xs);
}

.sereni-sphere-testimonial-name {
  font-weight: 600;
  color: var(--sereni-blue);
}

.sereni-sphere-testimonial-role {
  font-size: 0.9rem;
  color: #666;
}

.sereni-sphere-testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.sereni-sphere-testimonial-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--sereni-teal);
  color: white;
  font-size: 1.2rem;
  margin: 0 var(--space-xs);
  transition: background-color 0.3s ease;
}

.sereni-sphere-testimonial-btn:hover {
  background-color: var(--sereni-blue);
}

/* Process */
.sereni-sphere-process-container {
  max-width: 1000px;
  margin: 0 auto;
}

.sereni-sphere-process-timeline {
  position: relative;
  padding: var(--space-md) 0;
}

.sereni-sphere-process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--sereni-teal),
    var(--sereni-blue)
  );
}

.sereni-sphere-process-item {
  position: relative;
  margin-bottom: var(--space-lg);
  display: flex;
}

.sereni-sphere-process-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.sereni-sphere-process-content {
  width: 45%;
  padding: var(--space-md);
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.sereni-sphere-process-content::after {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
}

.sereni-sphere-process-item:nth-child(odd)
  .sereni-sphere-process-content::after {
  left: -10px;
  transform: rotate(45deg);
  background-color: white;
}

.sereni-sphere-process-item:nth-child(even)
  .sereni-sphere-process-content::after {
  right: -10px;
  transform: rotate(45deg);
  background-color: white;
}

.sereni-sphere-process-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, var(--sereni-teal), var(--sereni-blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 1;
}

/* Contact Section */
.sereni-sphere-contact {
  background-color: var(--sereni-light);
}

.sereni-sphere-contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.sereni-sphere-contact-info {
  display: flex;
  flex-direction: column;
}

.sereni-sphere-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.sereni-sphere-contact-icon {
  width: 24px;
  height: 24px;
  margin-right: var(--space-sm);
  color: var(--sereni-blue);
}

.sereni-sphere-contact-text {
  flex: 1;
}

.sereni-sphere-contact-form {
  background-color: white;
  padding: var(--space-md);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sereni-sphere-form-group {
  margin-bottom: var(--space-sm);
}

.sereni-sphere-form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.sereni-sphere-form-input,
.sereni-sphere-form-textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sereni-sphere-form-input:focus,
.sereni-sphere-form-textarea:focus {
  border-color: var(--sereni-teal);
  box-shadow: 0 0 0 3px rgba(154, 203, 208, 0.3);
  outline: none;
}

.sereni-sphere-form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.sereni-sphere-footer {
  background-color: var(--sereni-blue);
  color: white;
  padding: var(--space-md) 0;
}

.sereni-sphere-footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.sereni-sphere-footer-col {
  padding: 0 var(--space-sm);
}

.sereni-sphere-footer-logo {
  filter: brightness(0) invert(1);
  height: 40px;
  margin-bottom: var(--space-sm);
}

.sereni-sphere-footer-title {
  color: white;
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.sereni-sphere-footer-links {
  list-style: none;
}

.sereni-sphere-footer-link {
  margin-bottom: var(--space-xs);
}

.sereni-sphere-footer-link a {
  color: var(--sereni-teal-light);
  transition: color 0.3s ease;
}

.sereni-sphere-footer-link a:hover {
  color: white;
}

.sereni-sphere-footer-bottom {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Policy Pages */
.sereni-sphere-policy {
  padding: calc(70px + var(--space-lg)) 0 var(--space-lg);
}

.sereni-sphere-policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: var(--space-md);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sereni-sphere-policy-title {
  text-align: center;
  margin-bottom: var(--space-md);
}

.sereni-sphere-policy-section {
  margin-bottom: var(--space-md);
}

.sereni-sphere-policy-section:last-child {
  margin-bottom: 0;
}

.sereni-sphere-policy-section h3 {
  margin-bottom: var(--space-sm);
}

.sereni-sphere-policy-list {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.sereni-sphere-policy-item {
  margin-bottom: var(--space-xs);
}

/* Success Page */
.sereni-sphere-success {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--sereni-light);
}

.sereni-sphere-success-container {
  max-width: 600px;
  padding: var(--space-md);
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease-out;
}

.sereni-sphere-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  color: var(--sereni-teal);
}

.sereni-sphere-success-title {
  color: var(--sereni-teal);
  margin-bottom: var(--space-sm);
}

.sereni-sphere-success-text {
  margin-bottom: var(--space-md);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 30px rgba(72, 166, 167, 0.5);
  }
  50% {
    box-shadow: 0 0 50px rgba(72, 166, 167, 0.8);
  }
  100% {
    box-shadow: 0 0 30px rgba(72, 166, 167, 0.5);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .sereni-sphere-hero-title {
    font-size: 3rem;
  }

  .sereni-sphere-process-timeline::before {
    left: 30px;
  }

  .sereni-sphere-process-item {
    flex-direction: row !important;
  }

  .sereni-sphere-process-content {
    width: 80%;
    margin-left: 60px;
  }

  .sereni-sphere-process-content::after {
    display: none;
  }

  .sereni-sphere-process-number {
    left: 30px;
  }
}

@media (max-width: 768px) {
  .sereni-sphere-nav-list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .sereni-sphere-nav-list.active {
    display: flex;
  }

  .sereni-sphere-nav-item {
    margin: 0;
    text-align: center;
  }

  .sereni-sphere-nav-link {
    display: block;
    padding: var(--space-sm);
  }

  .sereni-sphere-mobile-nav-toggle {
    display: block;
  }

  .sereni-sphere-hero-title {
    font-size: 2.5rem;
  }

  .sereni-sphere-hero-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .sereni-sphere-hero-title {
    font-size: 2.2rem;
  }

  .sereni-sphere-section {
    padding: var(--space-md) 0;
  }

  .sereni-sphere-section-title {
    margin-bottom: var(--space-md);
  }

  .sereni-sphere-process-content {
    width: calc(100% - 60px);
  }

  .sereni-sphere-feature-card {
    padding: var(--space-sm);
  }
}

@media (max-width: 360px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .sereni-sphere-hero-title {
    font-size: 2rem;
  }

  .sereni-sphere-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}
