/* Hassan Website - Custom Styles */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #F47629;
  --primary-dark: #d9651f;
  --primary-light: #ff8c42;
  --dark: #303442;
  --darker: #1f222b;
  --dark-soft: #3d4150;
  --light: #f7f6f4;
  --white: #ffffff;
  --text: #2a2c35;
  --muted: #6a6d78;
  --border: #e5e3df;
  --success: #2e7d32;
  --shadow: 0 4px 20px rgba(48, 52, 66, 0.08);
  --shadow-lg: 0 12px 40px rgba(48, 52, 66, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: 'Inter', 'Noto Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 118, 41, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-secondary:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-soft);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: none;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  padding: 1.5rem;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-nav .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 55%, #3a3f52 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(244, 118, 41, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(244, 118, 41, 0.15);
  color: var(--primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--primary);
}

.hero .lead {
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(244, 118, 41, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
}

.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.hero-card p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.service-list-item svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

.section-header p {
  margin-bottom: 0;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(244, 118, 41, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card .link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card .link:hover {
  gap: 0.55rem;
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.why-content .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.why-content h2 {
  margin-bottom: 1rem;
}

.why-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.why-item {
  display: flex;
  gap: 1rem;
}

.why-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(244, 118, 41, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.why-item h4 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.why-item p {
  font-size: 0.9rem;
  margin: 0;
}

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.why-box.accent {
  background: var(--primary);
  color: white;
}

.why-box.accent h3,
.why-box.accent p {
  color: white;
}

.why-box h3 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.why-box p {
  font-size: 0.85rem;
  margin: 0;
}

.why-box:nth-child(2) {
  margin-top: 1.5rem;
}

.why-box:nth-child(3) {
  margin-top: -1.5rem;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  margin: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.testimonial-card .stars {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 160%;
  background: radial-gradient(circle, rgba(244, 118, 41, 0.2) 0%, transparent 70%);
}

.cta-banner h2 {
  color: white;
  margin-bottom: 0.85rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  color: white;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.55);
}

.breadcrumb a {
  color: rgba(255,255,255,0.75);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* About specific */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  background: var(--light);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px dashed var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.value-card h4 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-soft);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(31,34,43,0.85));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(244, 118, 41, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

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

/* Service Detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.sidebar-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}

.sidebar-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.sidebar-card ul {
  margin-bottom: 1.5rem;
}

.sidebar-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

.sidebar-card li:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: var(--darker);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: rgba(255,255,255,0.55);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Utility */
.bg-light {
  background: var(--light);
}

.text-center {
  text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .why-grid,
  .about-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .why-visual {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav,
  .header-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .phone-link {
    display: block;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .header-inner {
    height: 64px;
  }

  .mobile-nav {
    inset: 64px 0 0 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== Enhancements: Animations & Polish ===== */

/* Smooth image handling */
img {
  object-fit: cover;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content {
  animation: fadeInUp 0.7s ease both;
}

.hero-visual {
  animation: fadeInUp 0.7s ease 0.15s both;
}

/* Gallery images */
.gallery-item {
  background-size: cover;
  background-position: center;
  color: transparent;
  border: none;
}

.gallery-item::after {
  opacity: 0;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* About image */
.about-image {
  background-size: cover;
  background-position: center;
  border: none;
  color: transparent;
  min-height: 320px;
}

/* Service card image top */
.service-card-img {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--light);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

/* WhatsApp button accent */
.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Hero image card */
.hero-card {
  overflow: hidden;
}

.hero-card-visual {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating label for gallery */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Section divider accent */
.section-header .eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  margin-right: 8px;
  vertical-align: middle;
}

/* Improved process step connector on desktop */
@media (min-width: 769px) {
  .process-steps {
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(244,118,41,0.3));
    z-index: 0;
  }
  .process-step {
    position: relative;
    z-index: 1;
  }
}

/* Subtle pulse on primary CTA */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 118, 41, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(244, 118, 41, 0); }
}

.btn-primary {
  animation: softPulse 2.5s infinite;
}

.btn-primary:hover {
  animation: none;
}

/* Logo mark refinement */
.logo-mark {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 2px 8px rgba(244, 118, 41, 0.3);
}

/* Sticky header polish */
.site-header {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
}

/* Better testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Page hero subtle pattern */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(244, 118, 41, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Image loading placeholder */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solar badge */
.solar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #f59e0b, #f47629);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ===== Phase 2 Polish, Floating WhatsApp, Professional Footer & CTA ===== */

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 2.8s infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* Professional CTA banner refinement */
.cta-banner {
  background: linear-gradient(135deg, #1a1d26 0%, #303442 50%, #3a3f52 100%);
  padding: 4.5rem 0;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.05rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Professional Footer */
.site-footer {
  background: #16181f;
  padding: 4.5rem 0 0;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2.75rem;
  padding-bottom: 3.25rem;
}

.footer-brand p {
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

.footer-col a {
  padding: 0.35rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  padding-left: 4px;
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  padding: 0;
}

.footer-contact-item a:hover {
  color: var(--primary);
  padding-left: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.35rem 0;
  font-size: 0.82rem;
}

.footer-areas {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* Attractiveness: refined cards & sections */
.service-card {
  box-shadow: 0 1px 3px rgba(48, 52, 66, 0.04);
}

.service-card:hover {
  box-shadow: 0 16px 40px rgba(48, 52, 66, 0.1);
}

.section {
  padding: 5.5rem 0;
}

.hero {
  padding: 5.5rem 0 5rem;
}

/* Subtle section backgrounds alternate feel */
.bg-light {
  background: #f5f4f1;
}

/* Better form focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(244, 118, 41, 0.15);
}

/* Professional badge */
.hero-badge {
  border: 1px solid rgba(244, 118, 41, 0.25);
}

@media (max-width: 768px) {
  .wa-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== FAQ Accordion (SEO + UX) ===== */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.active {
  border-color: rgba(244, 118, 41, 0.35);
  box-shadow: 0 4px 20px rgba(48, 52, 66, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(244, 118, 41, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.faq-answer-inner p {
  margin-bottom: 0.5rem;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* GEO / local trust strip */
.local-strip {
  background: var(--darker);
  color: rgba(255,255,255,0.7);
  padding: 0.85rem 0;
  font-size: 0.88rem;
  text-align: center;
}

.local-strip strong {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.1rem;
  }
  .faq-answer-inner {
    padding: 0 1.1rem 1.1rem;
  }
}
