/* 
 * Sktin Club Styles 
 * Modern skincare AI service design
 */

/* ======= Base Styles ======= */
:root {
  --primary-color: #4e54c8;
  --primary-dark: #363795;
  --primary-light: #8286e5;
  --secondary-color: #ff6b6b;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333333;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --body-bg: #ffffff;
  --footer-bg: #151823;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --container-width: 1200px;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--body-bg);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ======= Typography ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

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

section {
  padding: 5rem 0;
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* ======= Buttons ======= */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  line-height: 1.5;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

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

.btn.secondary:hover {
  background-color: #ff5252;
}

.btn.light {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

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

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

/* Glow effect on buttons */
.glow-effect {
  position: relative;
  overflow: hidden;
}

.glow-effect:after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  opacity: 0;
  transition: var(--transition);
}

.glow-effect:hover:after {
  opacity: 1;
  transform: rotate(30deg) translate(-30%, -30%);
}

/* ======= Navigation ======= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

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

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

.nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: var(--transition);
}

/* ======= Hero Section ======= */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eaed 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

/* ======= Features Section ======= */
.features {
  background-color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* ======= How It Works ======= */
.how-it-works {
  background-color: #f8f9fa;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.step {
  flex: 1;
  min-width: 220px;
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--primary-light);
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* ======= Testimonials ======= */
.testimonials {
  background-color: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

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

.quote {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: rgba(78, 84, 200, 0.1);
  font-size: 2rem;
}

.testimonial-card p {
  margin: 1.5rem 0;
  font-style: italic;
}

.user-info {
  display: flex;
  align-items: center;
}

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

.user-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.user-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ======= Recent Posts ======= */
.recent-posts {
  background-color: #f8f9fa;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.post-content h3 a {
  color: var(--dark-color);
}

.post-content h3 a:hover {
  color: var(--primary-color);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-excerpt {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 0.3rem;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(3px);
}

/* ======= CTA Section ======= */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ======= Footer ======= */
.footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

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

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

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-contact h4:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 0.8rem;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ======= Page Header ======= */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 10rem 0 5rem;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ======= About Page ======= */
.about-story {
  background-color: white;
}

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

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.mission-values {
  background-color: #f8f9fa;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

.our-technology {
  background-color: white;
}

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

.tech-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.team {
  background-color: #f8f9fa;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.25rem;
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: var(--primary-color);
  transition: var(--transition);
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ======= Blog Page ======= */
.blog-posts {
  background-color: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.blog-image {
  height: 100%;
  min-height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-content {
  padding: 2rem 2rem 2rem 0;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.blog-category {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-content h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.blog-content h2 a {
  color: var(--dark-color);
  transition: var(--transition);
}

.blog-content h2 a:hover {
  color: var(--primary-color);
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ======= Newsletter ======= */
.newsletter {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  margin-bottom: 1rem;
}

.newsletter-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-main);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-small {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ======= Blog Post ======= */
.blog-post {
  background-color: white;
  padding-top: 8rem;
}

.post-header {
  margin-bottom: 3rem;
}

.post-header .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.post-header h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.post-header .post-image {
  height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.post-header .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.post-content h2, 
.post-content h3, 
.post-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-content ul, 
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content ul li, 
.post-content ol li {
  margin-bottom: 0.5rem;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-image-inline {
  margin: 2.5rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-image-inline img {
  width: 100%;
}

.image-caption {
  background-color: #f8f9fa;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0;
}

.quote-block {
  background-color: #f8f9fa;
  padding: 2rem;
  border-left: 5px solid var(--primary-color);
  margin: 2.5rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.quote-block p {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.quote-block cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.post-tags span {
  font-weight: 600;
  color: var(--dark-color);
}

.post-tags a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: #f8f9fa;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-light);
  color: white;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-share span {
  font-weight: 600;
  color: var(--dark-color);
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: var(--text-light);
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-author-bio {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.author-content h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.author-content h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.author-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 0.8rem;
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: white;
  color: var(--primary-color);
  transition: var(--transition);
}

.author-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

.related-posts {
  margin-top: 4rem;
}

.related-posts h3 {
  margin-bottom: 2rem;
}

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

.related-post {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: var(--transition);
}

.related-post:hover img {
  transform: scale(1.05);
}

.related-post h4 {
  padding: 1rem;
  font-size: 1rem;
  margin-bottom: 0;
}

.related-post a {
  color: var(--dark-color);
}

.related-post a:hover {
  color: var(--primary-color);
}

.related-post .post-meta {
  padding: 0 1rem 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ======= Services Page ======= */
.main-services {
  background-color: white;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.services-intro h2 {
  margin-bottom: 1.5rem;
}

.services-intro p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-light);
}

.service-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: var(--box-shadow);
}

.service-ribbon {
  position: absolute;
  top: 1.5rem;
  right: -5px;
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 3px 0 0 3px;
}

.service-ribbon:before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 5px;
  height: 5px;
  background: var(--primary-dark);
  border-radius: 0 0 0 5px;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2.5rem;
  color: white;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-features {
  text-align: left;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.service-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-features li i {
  color: var(--primary-color);
  margin-top: 0.3rem;
}

.service-price {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.period {
  font-size: 1rem;
  color: var(--text-light);
}

.service-process {
  background-color: #f8f9fa;
}

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

.process-step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.process-step:nth-child(even) {
  grid-template-columns: 1fr 1fr auto;
}

.process-step:nth-child(even) .step-number {
  grid-column: 3;
  grid-row: 1;
}

.process-step:nth-child(even) .step-content {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}

.process-step:nth-child(even) .step-image {
  grid-column: 1;
  grid-row: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.8rem;
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

.step-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.process-step:hover .step-image img {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.technology {
  background-color: white;
}

.tech-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.tech-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.tech-features li i {
  color: var(--primary-color);
  margin-top: 0.3rem;
}

.faq {
  background-color: #f8f9fa;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(78, 84, 200, 0.05);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* ======= Contact Page ======= */
.contact-section {
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.5rem;
  color: white;
}

.info-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

.social-contact {
  margin-top: 3rem;
}

.social-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: var(--text-light);
  margin-right: 0.8rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form-container {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: var(--border-radius);
}

.contact-form-container h2 {
  margin-bottom: 1rem;
}

.contact-form-container > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  grid-column: 1 / -1;
  gap: 0.8rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.9rem;
}

.checkbox-group a {
  color: var(--primary-color);
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.map-section {
  background-color: #f8f9fa;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-mini {
  background-color: white;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: modalFade 0.3s ease-in-out;
}

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary-color);
}

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

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-icon i {
  font-size: 3rem;
  color: white;
}

.modal-body h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.modal-body p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.cookie-more {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.cookie-more a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ======= Responsive Design ======= */
@media (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .post-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .about-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image,
  .tech-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .blog-card {
    grid-template-columns: 1fr;
  }
  
  .blog-image {
    height: 250px;
  }
  
  .blog-content {
    padding: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    grid-template-columns: auto 1fr;
  }
  
  .process-step:nth-child(even) {
    grid-template-columns: auto 1fr;
  }
  
  .process-step:nth-child(even) .step-number {
    grid-column: 1;
    grid-row: 1;
  }
  
  .process-step:nth-child(even) .step-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }
  
  .process-step:nth-child(even) .step-image {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  
  .step-image {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .post-footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin: 0 auto 1.5rem;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .post-header .post-image {
    height: 300px;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .steps {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .logo span {
    display: none;
  }
  
  .feature-grid,
  .testimonial-grid,
  .post-grid,
  .values-grid,
  .team-grid,
  .service-cards {
    grid-template-columns: 1fr;
  }
  
  .cta h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links h4:after,
  .footer-contact h4:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header {
    padding: 8rem 0 4rem;
  }
  
  .step:not(:last-child):after {
    display: none;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
