:root {
  --bg-color: #0e1a24;
  --text-color: #f0f0f0;
  --primary-color: #18e06f;
  --card-bg: #162e3b;
  --section-bg: #112430;
  --footer-bg: #0b131a;
  --contact-bg: #0e1a24;
}

.light-mode {
  --bg-color: #f9f9f9;
  --text-color: #1e1e1e;
  --primary-color: #00796b;
  --card-bg: #ffffff;
  --section-bg: #eeeeee;
  --footer-bg: #e0e0e0;
  --contact-bg: #f5f5f5;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  scroll-behavior: smooth;
  transition: background 0.3s, color 0.3s;
}

/* ===== NAVIGATION ===== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--footer-bg);
  border-bottom: 1px solid #1a2a38;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background: linear-gradient(to bottom right, #06121a, var(--bg-color));
  padding: 100px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.hero-content h1 .highlight {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #c9d6df;
}

.hero-btn {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.hero-btn:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

/* ===== WAVE EFFECT ===== */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100px;
  width: 100%;
  background: url('https://svgshare.com/i/xKn.svg') repeat-x;
  background-size: contain;
  animation: waveMove 10s linear infinite;
  z-index: 1;
}

@keyframes waveMove {
  0% { background-position-x: 0; }
  100% { background-position-x: 1000px; }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 80px 20px;
  background: var(--section-bg);
  text-align: center;
}

.services-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.services-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-box {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.service-box p {
  font-size: 0.95rem;
  color: #c9d6df;
  line-height: 1.6;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--bg-color);
  padding: 80px 20px;
  text-align: center;
}

.testimonials-section h2 {
  color: var(--text-color);
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  background: #ffffff;
  color: #000;
  border-radius: 12px;
  padding: 40px 30px;
  margin: 0 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  transform: scale(1);
}

.testimonial-slider .prev,
.testimonial-slider .next {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.testimonial-slider .prev { left: -45px; }
.testimonial-slider .next { right: -45px; }

.dots {
  margin-top: 20px;
}

.dots span {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dots span.active {
  background-color: var(--primary-color);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--section-bg);
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.faq-item {
  border-bottom: 1px solid #444;
  margin-bottom: 20px;
}

.faq-question {
  background: none;
  border: none;
  color: var(--text-color);
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 16px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.open i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: #ccc;
  line-height: 1.6;
}

.faq-answer.show {
  display: block;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--contact-bg);
  padding: 60px 20px;
  text-align: center;
  color: #ccc;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #1a2a38;
}

/* ===== ABOUT PAGE ===== */
.about-dark-section {
  background: var(--bg-color);
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.left-panel {
  background-color: #00bcd4;
  color: white;
  padding: 40px 30px;
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.right-panel {
  flex: 2;
  padding: 40px 30px;
  min-width: 300px;
  background-color: #ffffff;
  color: #333;
}

.profile-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Buttons ===== */
.btn-outline {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border: 2px solid #00bcd4;
  color: #00bcd4;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #00bcd4;
  color: #ffffff;
}

/* ===== BLOG PAGE ===== */
.blog-section {
  background: var(--section-bg);
  padding: 80px 20px;
  text-align: center;
}

.blog-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.blog-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: left;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.blog-card .date {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 15px;
}

.blog-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-card a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
