/* style.css - Updated & Optimized with Full Responsiveness */

body, header {
  background-color: #fcfaf7;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

.about-full-section, .contact-section, .hero-image-wrapper, .service-card, .testimonials-section, .testimonials-section-container, body {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
  color: #1f2937;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  background-color: #fcfaf7;
}

.header-section-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.lets-talk-btn, .nav-link {
  font-size: 14px;
  text-decoration: none;
}

.logo-text-main { color: #000; }
.logo-dot, .logo-text-accent { color: #b68025; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  color: #374151;
  padding: 8px 16px;
  border-radius: 20px;
  transition: .2s;
  display: block;
}

.active-pill {
  background-color: #f8ebe3;
  color: #92400e;
  font-weight: 600;
}

.nav-link:hover:not(.active-pill) {
  color: #0d1b2a;
  background-color: #f3f4f6;
}

.lets-talk-btn {
  background-color: #0f172a;
  color: #fff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(15,23,42,.15);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  cursor: pointer;
  z-index: 100;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #0d1b2a;
  border-radius: 3px;
  transition: .3s;
}

/* HERO SECTION */
.hero-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-left { max-width: 560px; }

.badge-pill {
  background-color: #f8ebe3;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #0d1b2a;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #0d1b2a;
  line-height: 1.15;
  margin: 0 0 15px;
}

.hero-sub {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 15px 0;
}

.cursive-text {
  font-family: Caveat, cursive;
  font-style: italic;
  font-size: 32px;
  color: #8b5e34;
  font-weight: 600;
}

.hero-desc {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-dark, .btn-light {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-dark {
  background-color: #0d1b2a;
  color: #fff;
  border-radius: 30px;
}

.btn-light {
  background-color: #fff;
  color: #0d1b2a;
  border: 1px solid #d1d5db;
  border-radius: 30px;
}

/* HERO RIGHT & SCOPED FIXES */
.hero-right {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.hero-right .hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.hero-right .person-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  overflow: hidden;
  background-color: #efe8de;
}

.hero-right .person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-right .bg-shape {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.6;
}

.hero-right .shape-top-left {
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background-color: #d2e3de;
}

.hero-right .shape-right-top {
  top: 10px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-color: #f8ebe3;
}

.hero-right .shape-bottom-right {
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background-color: #fce8e2;
}

.hero-right .stat-card {
  position: absolute;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.hero-right .card-top-right {
  top: 10px;
  right: -30px;
}

.hero-right .card-bottom-left {
  bottom: 20px;
  left: -30px;
}

.hero-right .stat-number {
  font-size: 18px;
  font-weight: 700;
  color: #0d1b2a;
}

.hero-right .stat-label {
  font-size: 11px;
  color: #4b5563;
  line-height: 1.2;
}

.hero-right .sparkle-icon {
  position: absolute;
  top: -15px;
  right: -15px;
}

.hero-right .handwriting-box {
  position: absolute;
  z-index: 3;
  font-family: Caveat, cursive;
  font-size: 20px;
  color: #8b5e34;
  line-height: 1.2;
}

.hero-right .left-text {
  top: 30px;
  left: -110px;
  text-align: right;
}

.hero-right .arrow-svg-left {
  margin-top: 5px;
  display: block;
  margin-left: auto;
}

.hero-right .right-text {
  bottom: 20px;
  right: -90px;
}

.hero-right .heart-icon {
  color: #e11d48;
  font-size: 18px;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.social-links { display: flex; align-items: center; gap: 16px; }
.social-item { color: #0d1b2a; font-weight: 700; font-size: 18px; text-decoration: none; }
.availability-badge { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 10px; height: 10px; background-color: #10b981; border-radius: 50%; display: inline-block; }
.status-info { font-size: 12px; line-height: 1.25; }
.status-label { color: #4b5563; display: block; }
.status-value { color: #0d1b2a; font-weight: 700; }

/* ABOUT SECTION */
.about-full-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px;
}

.about-image-col { position: relative; flex: 0 0 280px; width: 280px; height: 310px; }
.mint-bg-shape { position: absolute; bottom: -10px; left: -12px; width: 120px; height: 160px; background-color: #d2e3de; border-radius: 35px 10px 20px 20px; z-index: 1; }
.person-photo-frame { position: relative; width: 100%; height: 100%; background-color: #efece6; border-radius: 30px; overflow: hidden; z-index: 2; }
.person-img-tag { filter: grayscale(100%); width: 100%; height: 100%; object-fit: cover; display: block; }

.about-content-col { flex: 1; padding: 0 10px; }
.badge-box { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: #333; letter-spacing: 1.5px; margin-bottom: 10px; }
.badge-text-bg { background-color: #f6e9e0; padding: 4px 12px; border-radius: 12px; }
.main-heading-text { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: #0d1b2a; line-height: 1.25; margin: 0 0 14px; }
.body-desc-text { font-size: 14px; font-weight: 400; color: #374151; line-height: 1.6; margin-bottom: 22px; }

.about-stats-col { flex: 0 0 280px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.stat-row { display: flex; align-items: center; gap: 15px; background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,.03); border: 1px solid rgba(0,0,0,.05); }
.stat-icon-box { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #b45309; }
.mint-bg { background-color: #e2ece9; }
.peach-bg { background-color: #f8ebe3; }
.light-orange-bg { background-color: #fce8e2; }
.stat-num { font-size: 18px; font-weight: 700; color: #0d1b2a; line-height: 1.1; }
.stat-lbl { font-size: 11px; color: #4b5563; font-weight: 500; margin-top: 2px; }
.cursive-signature-box { margin-top: 5px; text-align: right; font-family: Caveat, cursive; font-size: 20px; font-weight: 600; color: #4a4a4a; position: relative; padding-right: 15px; }
.arrow-up { position: absolute; bottom: -12px; right: 0; }

/* SERVICES & PROJECTS */
.services-section { background: #fff; }
.projects-section-container, .services-section-container { max-width: 1140px; margin: 0 auto; padding: 80px 20px; position: relative; }
.services-header, .testimonials-header { text-align: center; margin-bottom: 40px; position: relative; }
.sub-title, .testimonials-tag { font-size: 12px; font-weight: 700; color: #4b5563; letter-spacing: 2px; display: block; margin-bottom: 6px; }
.main-title, .testimonials-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: #0d1b2a; margin: 0; display: inline-block; position: relative; }
.heading-doodle { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); }
.sparkle-top { position: absolute; top: -10px; right: -30px; }
.outer-doodle { position: absolute; top: 10px; right: 5%; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.service-card:hover, .project-card:hover, .testimonial-card:hover { transform: translateY(-5px); }

.card-peach { background-color: #fff6ee; }
.card-blue { background-color: #f0f7ff; }
.card-green { background-color: #f2f9f4; }
.card-purple { background-color: #f9f5f8; }

.card-icon-box { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 20px; color: #0d1b2a; }
.icon-peach { background-color: #ffeadb; }
.icon-blue { background-color: #e2f0ff; }
.icon-green { background-color: #e1f3e6; }
.icon-purple { background-color: #f3e8ee; }

.card-title { font-size: 18px; font-weight: 700; color: #0d1b2a; margin: 0 0 10px; }
.card-desc { font-size: 13px; color: #4b5563; line-height: 1.5; margin: 0; flex-grow: 1; }

.projects-section { max-width: 1160px; margin: 40px auto; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.project-card { background-color: #faf6ee; border-radius: 20px; padding: 16px; box-shadow: 0 4px 15px rgba(0,0,0,.02); border: 1px solid rgba(0,0,0,.05); }
.project-img-box { width: 100%; height: 220px; border-radius: 14px; overflow: hidden; background-color: #efe8de; }
.project-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-info { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px 4px; }
.project-title { font-size: 16px; font-weight: 700; color: #0d1b2a; margin: 0 0 4px; }
.project-category { font-size: 12px; color: #4b5563; margin: 0; }
.project-arrow { width: 36px; height: 36px; background-color: #fff; color: #0d1b2a; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* TESTIMONIALS SECTION */
.testimonials-section {
  max-width: 1160px;
  margin: 60px auto;
  text-align: center;
}

.testimonials-section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.testimonials-tag {
  font-size: 12px;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.testimonials-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #0d1b2a;
  margin: 0;
  display: inline-block;
  position: relative;
}

.testimonials-grid-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
}

.curved-arrow-left {
  position: absolute;
  left: -35px;
  top: -15px;
  z-index: 2;
}

.testimonial-card {
  background-color: #faf6ee;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #e0e0e0;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.quote-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 16px;
  font-style: italic;
}

.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.client-name {
  font-size: 14px;
  font-weight: 700;
  color: #0d1b2a;
  margin: 0 0 2px;
}

.client-role {
  font-size: 12px;
  color: #6b7280;
  display: block;
}

.star-rating {
  color: #d97706;
  font-size: 12px;
  display: flex;
  gap: 2px;
}

/* CONTACT SECTION */
.contact-section { max-width: 750px; margin: 40px auto; padding: 0 20px; }
.modern-form { background-color: #faf6ee; border-radius: 28px; padding: 35px; box-shadow: 0 10px 30px rgba(0,0,0,.03); border: 1px solid rgba(0,0,0,.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #0d1b2a; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 12px; font-family: Inter, sans-serif; outline: 0; background: #fff; font-size: 14px; color: #1f2937; }
.submit-btn-modern { background-color: #0f172a; color: #fff; padding: 16px 24px; border: none; border-radius: 30px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; transition: background-color .2s; }
.submit-btn-modern:hover { background-color: #1e293b; }

.success-alert { background-color: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 20px; padding: 20px; display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.success-alert i { font-size: 28px; color: #059669; }
.success-alert h4 { margin: 0 0 4px; color: #065f46; font-size: 16px; }
.success-alert p { margin: 0; color: #047857; font-size: 13px; }

/* FOOTER */
footer { max-width: 1160px; margin: 40px auto 20px; padding: 20px; border-top: 1px solid rgba(0,0,0,.08); display: flex; justify-content: space-between; align-items: center; }
.footer-desc { font-size: 12px; color: #4b5563; margin: 5px 0 0; }
.copyright-text { font-size: 12px; color: #4b5563; margin: 0; }

.floating-icons { position: fixed; bottom: 25px; right: 25px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.wa { background-color: #25d366; }
.ph { background-color: #0f172a; }

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .curved-arrow-left { display: none; }
}

@media (max-width: 900px) {
  .about-full-section, .hero-section, footer { flex-direction: column; text-align: center; }
  .projects-grid, .services-grid, .testimonials-grid-wrapper { grid-template-columns: 1fr; }
  .menu-toggle { display: flex; }
  .header-nav { position: absolute; top: 100%; left: 0; width: 100%; background-color: #fcfaf7; max-height: 0; overflow: hidden; transition: max-height .4s ease-in-out; box-shadow: 0 10px 15px rgba(0,0,0,.05); }
  .header-nav.active { max-height: 400px; }
  .nav-list { flex-direction: column; padding: 20px; gap: 12px; align-items: center; }
  .lets-talk-btn { display: none; }
  .outer-doodle { display: none; }

  /* Mobile adjustments for hero absolute cards */
  .hero-right .card-top-right {
    top: 0;
    right: 0;
  }
  .hero-right .card-bottom-left {
    bottom: 0;
    left: 0;
  }
  .hero-right .left-text,
  .hero-right .right-text {
    position: static;
    margin: 15px auto;
    text-align: center;
  }
  .hero-right .arrow-svg-left {
    margin: 5px auto 0;
  }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modern-form { padding: 25px; }
}
@media (max-width: 780px) {
  .bg-shape {
    opacity: 0.3; /* 0 muthal 1 vare values (eg: 0.2, 0.4) koduthu transparency adjust cheyyam */
  }
}
@media (max-width: 480px) {
  .hero-section { padding: 30px 15px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-right .stat-card { padding: 8px 12px; min-width: 90px; }
}