/* ========================================
   COLOURJAM - Main Stylesheet
   ======================================== */

@font-face {
  font-family: 'CenturyGothicWeb';
  src: url('../fonts/CenturyGothic.woff2') format('woff2'),
       url('../fonts/CenturyGothic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

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

/* Prevent browser default h1 sizing in sections (H1UserAgentFontSizeInSection fix) */
/* Browsers reduce h1 size when nested in article, aside, nav, section elements */
h1,
section h1,
article h1,
aside h1,
nav h1,
main h1,
section section h1,
article section h1,
section article h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

body {
  font-family: 'CenturyGothicWeb', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  background: linear-gradient(-45deg, #23d5ab, #23a6d5, #e73c7e, #ee7752);
  background-size: 400% 400%;
  animation: gradient 30s ease infinite;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
  line-height: 1.6;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Flower decorations */
#leftflower, #rightflower {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.88;
  mix-blend-mode: screen;
}
#leftflower { width: 598px; height: 342px; background-image: url("../img/left-flower.png"); left: 0; top: 0; }
#rightflower { width: 632px; height: 395px; background-image: url("../img/right-flower.png"); right: 0; top: 0; }

/* Main layout container */
.container {
  max-width: 1710px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 10;
}

/* ========== HEADER ========== */
header {
  padding: 70px 0 0;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.logo {
  width: 240px;
  z-index: 5;
}

.logo a {
  text-decoration: none;
  display: block;
}

.logo-icon {
  text-align: right;
  margin-bottom: -24px;
}

.logo-icon img {
  width: 56px;
  height: 50px;
}

.logo-text {
  font-size: 50px;
  color: #fff;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.1;
  font-weight: normal;
}

.logo-tagline {
  font-size: 13.4px;
  color: #fff;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
}

/* Navigation */
.nav-wrap {
  margin-top: 43px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav ul li {
  margin-left: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  padding: 10px 0 10px 10px;
  transition: color 0.3s;
  display: block;
  white-space: nowrap;
}

nav a:hover {
  color: #dbdbdb;
}

nav a.active {
  color: #D9FF3F;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  cursor: pointer;
  z-index: 99;
}

.menu-toggle span {
  width: 35px;
  height: 5px;
  background: #fff;
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== COMMON ELEMENTS ========== */

/* Hero Section */
.hero {
  padding: 54px 0 80px;
}

.hero-content {
  max-width: 1100px;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: -1px;
  line-height: 1.13;
  margin-bottom: 28px;
}

.hero-text {
  font-size: 1.13rem;
  line-height: 1.5;
  opacity: 0.96;
  margin-bottom: 32px;
}

/* Page Header - for internal pages */
.page-header {
  padding: 54px 0 24px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-header .lead {
  font-size: 1.2rem;
  opacity: 0.92;
  max-width: 700px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.body-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.body-link:hover {
  text-decoration-color: #D9FF3F;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: #111;
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: rgba(0,0,0,0.35);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(0,0,0,0.5);
}

.btn-accent {
  background: #D9FF3F;
  color: #111;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Section styling */
section {
  padding: 50px 0;
  position: relative;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  margin-top: -25px;
  margin-bottom: 30px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
  scroll-margin-top: 20px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 800px;
  margin-bottom: 40px;
}

/* Glass panel effect */
.glass-panel {
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 40px;
}

.glass-panel-light {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  padding: 40px;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.35s ease;
  text-decoration: none;
  color: #fff;
  display: block;
}

.service-card:hover,
.service-card:visited,
.service-card:active {
  text-decoration: none;
  color: #fff;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent, #23d5ab), var(--accent2, #23a6d5));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
}

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

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

.service-card:nth-child(1) { --accent: #23d5ab; --accent2: #23a6d5; }
.service-card:nth-child(2) { --accent: #23a6d5; --accent2: #e73c7e; }
.service-card:nth-child(3) { --accent: #e73c7e; --accent2: #ee7752; }
.service-card:nth-child(4) { --accent: #ee7752; --accent2: #23d5ab; }
.service-card:nth-child(5) { --accent: #23a6d5; --accent2: #23d5ab; }
.service-card:nth-child(6) { --accent: #e73c7e; --accent2: #23a6d5; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent, #23d5ab), var(--accent2, #23a6d5));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-card h3,
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  display: block;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  color: #D9FF3F;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-link:hover {
  gap: 10px;
}

.service-link::after {
  content: '→';
}

/* Service Detail Card - for services page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.service-detail-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 16px;
}

.service-detail-visual {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
  width: 100%;
}

.service-detail-visual picture {
  width: 100%;
  height: 100%;
  display: block;
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D9FF3F;
  font-weight: bold;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-frame {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.about-image-frame picture {
  width: 100%;
  height: 100%;
  display: block;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.stat-box {
  background: #fff;
  color: #111;
  padding: 20px 16px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.stats-grid-4 .stat-box {
  background: #fff;
  color: #111;
  padding: 24px 16px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-content p {
  margin-bottom: 18px;
  opacity: 0.95;
  font-size: 1.05rem;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.value-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Timeline - for about page */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.2);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D9FF3F;
  border: 3px solid rgba(0,0,0,0.3);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: #D9FF3F;
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ========== PROJECTS/WORK SECTION ========== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.project-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  display: block;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.project-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-image picture {
  width: 100%;
  height: 100%;
  display: block;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-info {
  padding: 20px 24px;
  background: #000;
  color: #fff;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-cats {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Project Detail - for work page */
.project-detail {
  margin-bottom: 80px;
}

.project-hero-image {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  margin-bottom: 40px;
}

.project-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.project-meta-item {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
}

.project-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 6px;
}

.project-meta-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
}

.project-description p {
  margin-bottom: 20px;
}

/* Filter tabs - for work page */
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
  background: #fff;
  color: #111;
}

/* ========== RESOURCES SECTION ========== */
.resources-intro {
  max-width: 700px;
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.resource-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}

.resource-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.resource-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.resource-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.resource-content p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
}

.resource-tag {
  display: inline-block;
  background: #D9FF3F;
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Blog cards - for resources page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: rgba(0,0,0,0.28);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.blog-card-image {
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.blog-card-image picture {
  width: 100%;
  height: 100%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

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

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* Download cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.download-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.download-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #23d5ab, #23a6d5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.download-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.download-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* ========== TESTIMONIALS ========== */
.testimonials-container {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
  min-height: 200px;
}

.ts-slide {
  display: none;
  padding: 20px 0;
}

.ts-slide.is-active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.ts-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.7;
  font-style: italic;
}

.ts-quote mark {
  background: transparent;
  color: #D9FF3F;
  font-weight: 800;
  font-style: normal;
}

.ts-author {
  margin-top: 24px;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.9;
}

.ts-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.ts-dots button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-dots button::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.2s;
}

.ts-dots button:hover::before {
  background: rgba(255,255,255,0.6);
  transform: scale(1.1);
}

.ts-dots button.active::before {
  background: #D9FF3F;
  transform: scale(1.2);
}

/* Large testimonial cards - for about page */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(0,0,0,0.28);
  border-radius: 24px;
  padding: 36px;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
}

.testimonial-card .role {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: 80px 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  overflow: hidden;
}

.contact-info {
  padding: 50px 45px;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-intro {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #D9FF3F;
}

.contact-item span {
  font-size: 0.85rem;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 18px;
  color: #fff;
}

.social-btn svg {
  fill: #fff;
}

.social-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: #fff;
}

.contact-form-wrap {
  padding: 50px 45px;
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 4px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 600;
  opacity: 0.9;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: #222;
  color: #fff;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 20px;
}

.form-note {
  font-size: 0.8rem;
  opacity: 0.7;
  max-width: 280px;
}

.btn-submit {
  background: #D9FF3F;
  color: #111;
  padding: 16px 36px;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* Map placeholder */
.map-container {
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

/* ========== FAQ Section ========== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: rgba(0,0,0,0.35);
  border-radius: 28px;
  padding: 60px;
  text-align: center;
  margin-top: 30px;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
footer {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  padding: 40px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
}


.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-locations {
  opacity: 0.6;
}

/* ========== MOBILE OVERLAY MENU ========== */
#mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,10,14,0.96);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

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

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin: 20px 0;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .container { padding: 0 12px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2rem; }
  .hero-text { font-size: 1rem; }
  #leftflower { width: 320px; height: 180px; }
  #rightflower { width: 350px; height: 200px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .project-meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 950px) {
  .container { padding: 0 3vw; }
  
  header { padding: 18px 0 0; }
  
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .logo { margin: 0 auto; text-align: center; width: 240px; }
  .logo-icon { text-align: right; margin-bottom: -24px; }
  .logo-text { text-align: center; font-size: 50px; }
  .logo-tagline { text-align: center; font-size: 13.4px; }
  
  .nav-wrap {
    width: 100%;
    align-items: center;
    margin: 0 0 16px 0;
    padding-top: 30px;
  }
  
  nav ul {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  nav ul li { margin: 0 10px; }
  nav a { font-size: 22px; padding: 5px 2px; text-align: center; }
  
  .hero { padding: 22px 0 50px; }
  .hero h1 { font-size: 1.30rem; margin-bottom: 18px; }
  .hero-text { font-size: 0.98rem; }
  
  .page-header { padding: 24px 0 12px; }
  .page-header h1 { font-size: 1.8rem; }
  
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .projects-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image { order: -1; }
  
  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-detail:nth-child(even) {
    direction: ltr;
  }
  
  .project-meta { grid-template-columns: 1fr; }
  
  .contact-panel { grid-template-columns: 1fr; }
  .contact-info { padding: 35px 28px; }
  .contact-form-wrap { padding: 35px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; text-align: center; }
  .form-note { max-width: 100%; margin-bottom: 10px; }
  
  .glass-panel { padding: 28px 24px; }
  .cta-banner { padding: 40px 28px; }
  
  section { padding: 30px 0; }
  
  .section-divider { margin-bottom: 20px; }
  
  #rightflower { display: none; }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    gap: 16px 20px;
  }
  
  .menu-toggle { display: none; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.30rem; }
  .hero-text { font-size: 0.98rem; }
  
  .about-stats {
    grid-template-columns: 1fr;
    margin-top: -30px;
    padding: 0 30px;
  }
  
  .stats-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .service-card { padding: 24px 20px; }
  
  #leftflower { width: 280px; height: 160px; opacity: 0.6; }
}

@media (max-width: 400px) {
  header { padding: 12px 0 0; }
  
  .container { padding: 0 4vw; }
  
  .header-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left;
  }
  
  .logo { margin: 0; width: 240px; flex-shrink: 0; }
  .logo a { display: flex; flex-direction: column; align-items: flex-start; }
  .logo-icon { text-align: right; width: 100%; }
  .logo-text { text-align: left; font-size: 50px; }
  .logo-tagline { text-align: left; font-size: 13.4px; }
  
  .nav-wrap { display: none; }
  nav { display: none; }
  
  .menu-toggle { 
    display: flex !important; 
    transform: translateY(13px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========== PROJECT PAGE STYLES ========== */
.project-hero {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.project-hero picture {
  width: 100%;
  display: block;
}

.project-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.project-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.project-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.project-intro .lead {
  font-size: 1.2rem;
  opacity: 0.9;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.project-stat {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.project-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #D9FF3F;
  margin-bottom: 4px;
}

.project-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.project-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #D9FF3F;
}

.project-content p {
  opacity: 0.92;
  margin-bottom: 16px;
  line-height: 1.8;
}

.project-content ul {
  list-style: none;
  margin-top: 16px;
}

.project-content li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.project-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #D9FF3F;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.project-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.project-gallery-item picture {
  width: 100%;
  display: block;
}

.project-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.project-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.project-nav a:hover {
  opacity: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.project-link:hover {
  background: rgba(255,255,255,0.15);
}

@media (max-width: 950px) {
  .project-stats { grid-template-columns: repeat(2, 1fr); }
  .project-content { grid-template-columns: 1fr; gap: 40px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-intro h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .project-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .project-stat { padding: 16px; }
  .project-stat-value { font-size: 1.5rem; }
}

/* ========== BLOG POST STYLES ========== */
.blog-header {
  padding-top: 40px;
}

.blog-header h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.blog-hero-image {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.blog-hero-image picture {
  display: block;
  width: 100%;
}

.blog-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-content h2 {
  font-size: 1.6rem;
  margin-top: 48px;
  margin-bottom: 20px;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-top: 36px;
  margin-bottom: 16px;
}

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.92;
}

.blog-content ul, .blog-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 12px;
  opacity: 0.92;
}

.blog-content blockquote {
  border-left: 4px solid #D9FF3F;
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.15rem;
  opacity: 0.9;
}

.blog-image {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
}

.blog-cta {
  background: rgba(217, 255, 63, 0.1);
  border: 1px solid rgba(217, 255, 63, 0.3);
  border-radius: 12px;
  padding: 32px;
  margin: 48px 0;
  text-align: center;
}

.blog-cta h3 {
  margin-top: 0;
  color: #D9FF3F;
}

.blog-cta p {
  margin-bottom: 20px;
}

.author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px;
  margin-top: 48px;
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box h4 {
  margin-bottom: 8px;
}

.author-box p {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.8;
}

.related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.related-post {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.related-post:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.related-post h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.related-post p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0;
}

.related-post a {
  text-decoration: none;
  color: inherit;
}

/* Form Messages */
.form-message {
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  text-align: center;
}
.form-success {
  background: rgba(35, 213, 171, 0.2);
  border: 2px solid rgba(35, 213, 171, 0.6);
  color: #fff;
}
.form-success strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #23d5ab;
}
.form-error {
  background: rgba(231, 60, 126, 0.2);
  border: 2px solid rgba(231, 60, 126, 0.6);
  color: #fff;
}
.form-error strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #e73c7e;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ========== GOOGLE REVIEWS WIDGET ========== */
#google-reviews .section-label,
#google-reviews .section-title {
  text-align: center;
}

.google-reviews-widget {
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
}

/* Content Pages (Privacy, Terms, etc) */
.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.content-narrow h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  color: #D9FF3F;
}

.content-narrow h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 16px;
}

.content-narrow p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.92;
}

.content-narrow ul {
  margin-bottom: 24px;
  padding-left: 32px;
  list-style-type: disc;
}

.content-narrow li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 12px;
  opacity: 0.92;
  padding-left: 8px;
}

.content-narrow a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 3px;
}

.content-narrow a:hover {
  text-decoration-color: #D9FF3F;
  color: #D9FF3F;
}