/* ===== ADD TO TOP OF styles.css ===== */

/* ===== MOBILE HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 200;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Menu Toggle */
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: var(--light);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 150;
  }

  nav ul.active {
    left: 0;
  }

  nav li {
    margin: 1rem 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* ===== CONTACT FORM ===== */
form#contactForm {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

form#contactForm input,
form#contactForm textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

form#contactForm input:focus,
form#contactForm textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

form#contactForm button {
  justify-self: start;
  margin-top: 0.5rem;
}

/* ===== NEWSLETTER FORM ===== */
.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.footer-newsletter button {
  padding: 0 1.5rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.footer-newsletter button:hover {
  background: #0891b2;
}

/* ===== LOTTIE PLAYER ===== */
lottie-player {
  max-width: 100%;
  height: auto;
}

/* ===== OPTIONAL: Disable aos animations in dark mode if needed ===== */
[data-theme="dark"] {
  --primary: #cbd5e1;
  --light: #020617;
  --gray: #1e293b;
  --dark-bg: #020617;
  --dark-text: #f8fafc;
}
/* ===== VARIABLES ===== */
:root {
  --primary: #0F172A;
  --secondary: #06B6D4;
  --accent: #F97316;
  --light: #F8FAFC;
  --gray: #E2E8F0;
  --dark-bg: #020617;
  --dark-text: #cbd5e1;
}

/* Dark Mode */
[data-theme="dark"] {
  --primary: #cbd5e1;
  --light: #020617;
  --gray: #1e293b;
  --dark-bg: #020617;
  --dark-text: #f8fafc;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--primary);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

img { max-width: 100%; }

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

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-text {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary);
  color: white;
}
.btn-primary:hover {
  background-color: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background-color: var(--accent);
  color: white;
}

.btn-outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
}
.btn-outline:hover {
  background-color: var(--secondary);
  color: white;
}

.btn-text {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: underline;
}
.btn-text:hover {
  color: #0891b2;
}

/* ===== HEADER ===== */
header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: var(--light);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover { color: var(--secondary); }

/* Mobile Nav (for later enhancement) */
@media (max-width: 768px) {
  nav ul { display: none; }
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--gray);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  transition: background 0.3s;
}
.dark-mode-toggle:hover { background: var(--secondary); }

/* ===== HERO ===== */
.hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--light) 0%, #f1f5f9 100%);
}

.hero-container h1 {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-cta {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  margin-top: 3rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== SERVICES ===== */
.services {
  background-color: white;
}

.services h2 { text-align: center; }

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

.service-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}
.service-card ul li:before {
  content: "✓ ";
  color: var(--secondary);
  font-weight: bold;
}

.note {
  text-align: center;
  font-style: italic;
  color: #64748b;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  background-color: var(--light);
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.filter-btn {
  background: none;
  border: 2px solid var(--gray);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

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

.portfolio-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.portfolio-item:hover { transform: translateY(-5px); }

.portfolio-info {
  padding: 1.5rem;
  background: white;
}

.tags {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tags span {
  background: var(--gray);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* ===== PROCESS ===== */
.process {
  background: white;
  text-align: center;
}

.timeline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.timeline-item {
  flex: 1;
  min-width: 200px;
  padding: 2rem 1rem;
  text-align: center;
}

.step {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: bold;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--light);
  text-align: center;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  display: none;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  text-align: center;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

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

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-nav {
  margin-top: 2rem;
}

.testimonial-nav button {
  background: var(--gray);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s;
}
.testimonial-nav button:hover {
  background: var(--secondary);
  color: white;
}

/* ===== PRICING ===== */
.pricing {
  background: white;
  text-align: center;
}

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

.pricing-card {
  padding: 3rem 2rem;
  border-radius: 16px;
  background: var(--light);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-10px);
}

.popular {
  border: 2px solid var(--secondary);
  background: #f0fdfd;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: var(--secondary);
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}
.pricing-card ul li {
  padding: 0.5rem 0;
}
.pricing-card ul li strong {
  color: var(--accent);
}

.fine-print {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 2rem;
}

/* ===== FAQ ===== */
.faq {
  background: var(--light);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-header {
  width: 100%;
  padding: 1.2rem;
  background: white;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header:after {
  content: '+';
  font-size: 1.5rem;
}

.accordion-item.active .accordion-header:after {
  content: '−';
}

.accordion-content {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: white;
}
.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 1.2rem;
}

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

.cta-container h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-container p {
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

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

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

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.socials a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}
.socials a:hover { color: white; }

.footer-links h4,
.footer-newsletter h4 {
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-links a:hover { color: white; }

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-newsletter input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  outline: none;
}
.footer-newsletter button {
  padding: 0 1.5rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.footer-newsletter button:hover { background: #0891b2; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom .legal a {
  color: #94a3b8;
  margin: 0 0.5rem;
  text-decoration: none;
}
.footer-bottom .legal a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .timeline { flex-direction: column; }
  .testimonial { padding: 2rem 1rem; }
  nav ul { display: none; } /* Replace with hamburger later */
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-visual {
  animation: float 4s ease-in-out infinite;
}