@font-face {
  font-family: 'Bubbleboddy Neue';
  src: url('bubbleboddy_neue/BubbleboddyNeue-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #007fff;
  --primary-light: #eaf6ff;
  --text: #111;
  --bg: #f0faff;
  --white: #fff;
  --radius: 16px;
  --nav-height: 70px;
  --shadow: 0 12px 24px rgba(0,127,255,0.1);
  --shadow-hover: 0 20px 40px rgba(0,127,255,0.15);
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Bubbleboddy Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
}

#loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--primary-light);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  z-index: 1000;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

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

.nav-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  display: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--primary-light);
  border-radius: var(--radius);
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 70%;
    max-width: 300px;
    height: calc(100% - var(--nav-height));
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links {
    transform: translateX(0);
  }
}

.hero {
  padding-top: calc(var(--nav-height) + 2rem);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, var(--primary-light), var(--white));
  text-align: center;
  animation: fadeIn 1s ease;
}

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

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1rem;
  animation: bounceIn 0.9s;
}

@keyframes bounceIn {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

.sub {
  color: #444;
  margin-bottom: 2rem;
}

.btn {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.btn:hover {
  background: rgba(0,127,255,0.8);
}

.hero-animation {
  display: none;
}

@media (min-width: 768px) {
  .hero-animation {
    display: block;
  }
}

.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section.dark {
  background: var(--primary-light);
}

.section h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.service-card,
.work-card,
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 2rem;
  text-align: center;
  transform: translateY(0);
}

.service-card:hover,
.work-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card::before {
  content: attr(data-icon);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-card h3,
.work-card h3,
.testimonial-card strong {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-card p,
.work-card p,
.testimonial-card p {
  color: #333;
  line-height: 1.4;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 200px;
  text-align: left;
  transition: var(--transition);
}

.step:hover {
  transform: scale(1.02);
}

.step strong {
  display: block;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: '+';
  margin-right: 0.5rem;
  transition: var(--transition);
}

.faq-list details[open] summary::before {
  content: '-';
  transform: rotate(180deg);
}

.faq-list p,
.faq-list ul {
  margin-top: 0.75rem;
  color: #333;
}

.faq-list ul {
  padding-left: 1.25rem;
}

.form-section {
  padding-top: calc(var(--nav-height) + 3rem);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .fields-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #444;
}

.field input,
.field textarea {
  padding: 0.75rem;
  border: 1px solid #b3dfff;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  transition: var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,127,255,0.2);
}

footer {
  background: var(--primary-light);
  color: var(--primary);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}
.logo img {
  height: 2.5rem;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
/* ─── Footer ───────────────────────────────────────────────────────────────── */

.footer {
  background: var(--primary-light);
  color: var(--text);
  padding: 3rem 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 240px;
}

.footer-logo img {
  height: 2.5rem;
  object-fit: contain;
  display: block;
}

.footer-copy {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: #555;
}

.footer-brand .footer-plan {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

/* Headings */
.footer-links h3,
.footer-subscribe h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

/* Links list */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 0.4rem 0;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--text);
}

/* Subscribe form */
.footer-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer-form input[type="email"] {
  flex: 1;
  min-width: 160px;
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,127,255,0.2);
  outline: none;
}

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

/* Social line */
.footer-social {
  font-size: 0.9rem;
  color: #555;
}

.footer-social a {
  color: var(--primary);
  text-decoration: none;
}
.footer-social a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-col {
    align-items: center;
  }
  .footer-links ul {
    display: inline-block;
  }
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: top 0.3s;
  z-index: 1000;
}
.skip-link:focus {
  top: 1rem;
}
