:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --primary-color: #4caf50;
  --secondary-color: #f1f1f1;
  --transition: 0.3s ease;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --primary-color: #90caf9;
  --secondary-color: #333333;
}

/* General Styles */
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333333;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  transition: background-color var(--transition), color var(--transition);
}

header {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 1rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.98);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  font-family: "Playfair Display", serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: #4caf50;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #2c3e50;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4caf50;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links li a:hover {
  color: #4caf50;
}

.nav-links li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bg-color);
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 5%;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    color: #2c3e50;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links li a {
    font-size: 1.2rem;
  }
}

main {
  padding: 2rem;
}

section {
  margin-bottom: 2rem;
}

.services-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 1rem;
}

button {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition);
}

button:hover {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.service-card,
.testimonial {
  padding: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  background-color: var(--secondary-color);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--bg-color);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #4caf50, #90caf9);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 50%;
  animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-button {
  background-color: #ffffff;
  color: #4caf50;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #90caf9;
  color: #ffffff;
  transform: scale(1.05);
}

.hero-illustration {
  max-width: 40%;
  animation: slideIn 1s ease-in-out;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-illustration {
    max-width: 80%;
    margin-top: 1.5rem;
  }
}

/* Particle background (optional, lightweight CSS-based) */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem;
  background-color: #f5f5f5;
  gap: 2rem;
  overflow: hidden;
}

.about-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-in-out;
}

.about-illustration svg {
  width: 100%;
  max-width: 300px;
  animation: bounce 2s infinite ease-in-out;
}

.about-text {
  flex: 1;
  font-family: "Roboto", sans-serif;
  animation: slideIn 1s ease-in-out;
}

.about-heading {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: #4caf50;
  margin-bottom: 1rem;
}

.about-subheading {
  font-size: 1.5rem;
  color: #333333;
  margin-bottom: 1.5rem;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.about-highlights li {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.about-highlights li::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #4caf50;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.cta-button {
  background-color: #4caf50;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #90caf9;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-illustration {
    margin-bottom: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Our Services section */
.services-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-heading {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.services-subheading {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #90caf9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  margin-bottom: 1.5rem;
  color: #4caf50;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.service-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  color: #4caf50;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  transition: transform 0.3s ease;
}

.service-link:hover {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .services-heading {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #4caf50 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
}

.testimonials-heading {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: #2c3e50;
  margin-bottom: 3rem;
  position: relative;
}

.testimonials-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #90caf9);
  border-radius: 2px;
}

.testimonials-subheading {
  text-align: center;
  color: #6c757d;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #90caf9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.client-avatar svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.client-info {
  flex: 1;
}

.quote-icon,
.company-logo {
  display: none;
}

.client-info {
  flex: 1;
  margin-top: 2rem;
}

.client-name {
  font-size: 1.1rem;
  color: #2c3e50;
  margin: 0;
}

.client-position {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0.2rem 0 0;
}

.testimonial-text {
  color: #4a5568;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-rating {
  color: #ffd700;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.half-star {
  position: relative;
  display: inline-block;
  color: #e0e0e0;
}

.half-star::before {
  content: "★";
  position: absolute;
  color: #ffd700;
  width: 50%;
  overflow: hidden;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .testimonials-heading {
    font-size: 2.2rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  overflow: hidden;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(76, 175, 80, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(144, 202, 249, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-heading {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #4caf50, #90caf9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-subheading {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  width: 100%;
}

.contact-form-container h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4caf50;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-button {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
  background: linear-gradient(135deg, #45a049, #388e3c);
}

.submit-button svg {
  transition: transform 0.3s ease;
}

.submit-button:hover svg {
  transform: translateX(4px);
}

.contact-info-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #4caf50;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-item svg {
  width: 24px;
  height: 24px;
  color: #4caf50;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.info-item p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.social-link {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: #4caf50;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-heading {
    font-size: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form-container,
  .contact-info-container {
    padding: 2rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }
}

/* Footer Section */
.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 4rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #4caf50;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul a:hover {
  color: #4caf50;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #4caf50;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}
