/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937; background: #f9fafb; line-height: 1.6;
  min-height: 100vh; display: flex; flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }

/* Force no blur/filter + sharp rendering on portfolio & gallery images */
.gallery img,
.gallery-item img,
.portfolio-strip img,
.spec-images img,
.design-grid img,
.segments-images img {
  filter: none !important;
  -webkit-filter: none !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === COLORS === */
:root {
  --green: #95C238;
  --green-dark: #7aab1e;
  --orange: #EA5E20;
  --blue: #276BB2;
  --white: #fff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --radius: 12px;
}

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.page-section { padding: 40px 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* === CARD === */
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
@media(min-width:768px) { .card { padding: 40px; } }

/* === PAGE TITLE === */
.page-title {
  font-size: 24px; font-weight: 700; color: var(--green);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 3px solid rgba(149,194,56,.2);
}
@media(min-width:768px) { .page-title { font-size: 30px; } }

/* === BUTTONS === */
.btn {
  display: inline-block; padding: 12px 24px; font-weight: 700;
  border-radius: 8px; text-align: center; cursor: pointer;
  border: 2px solid transparent; transition: all .2s; font-size: 14px;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--gray-100); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--gray-900); }

/* ================================================
   HEADER
   ================================================ */
.site-header {
  background: var(--white); box-shadow: var(--shadow);
  position: relative; z-index: 50;
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { height: 50px; width: auto; }
@media(min-width:768px) { .header-logo { height: 60px; } }
.header-links { display: none; gap: 12px; font-size: 13px; color: var(--gray-500); }
.header-links a:hover { color: var(--green); }
@media(min-width:768px) { .header-links { display: flex; } }

/* Menu Toggle Button (mobile) */
.menu-toggle {
  display: flex; align-items: center; gap: 6px;
  background: var(--green); color: var(--white);
  padding: 8px 16px; border-radius: 8px;
  font-weight: 700; font-size: 14px; border: none; cursor: pointer;
}
@media(min-width:768px) { .menu-toggle { display: none; } }

/* ================================================
   DESKTOP NAVIGATION
   ================================================ */
.desktop-nav {
  background: var(--green); display: none;
  position: sticky; top: 0; z-index: 40; box-shadow: var(--shadow);
}
@media(min-width:768px) { .desktop-nav { display: block; } }
.desktop-nav ul {
  max-width: 1100px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
}
.desktop-nav a, .desktop-nav .nav-label {
  display: block; padding: 12px 16px; color: var(--white);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav .nav-label:hover { background: rgba(255,255,255,.2); }
.nav-item { position: relative; }
.nav-label { cursor: default; }
.nav-arrow { width: 10px; height: 10px; display: inline-block; vertical-align: middle; margin-left: 4px; }

/* Dropdown */
.dropdown {
  position: absolute; left: 0; top: 100%;
  background: var(--white); box-shadow: var(--shadow-lg);
  border-radius: 0 0 8px 8px; min-width: 220px;
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
  max-height: 70vh; overflow-y: auto; z-index: 50;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
  color: var(--gray-700); padding: 10px 16px; font-size: 13px; font-weight: 500;
}
.dropdown a:hover { background: var(--gray-50); color: var(--green); }

/* ================================================
   MOBILE NAVIGATION (full-screen overlay)
   ================================================ */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: var(--white); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--green); color: var(--white);
}
.mobile-menu-header span { font-weight: 700; font-size: 18px; }
.mobile-close {
  background: none; border: none; color: var(--white);
  cursor: pointer; padding: 8px; font-size: 24px; line-height: 1;
}
.mobile-nav { padding: 8px 16px; }
.mobile-nav a {
  display: block; padding: 12px; color: var(--gray-800);
  font-weight: 500; border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a:hover { color: var(--green); }
.mobile-sub { padding-left: 16px; border-bottom: 1px solid var(--gray-100); }
.mobile-sub a {
  padding: 8px 12px; font-size: 14px; color: var(--gray-500);
  border-bottom: none;
}
.mobile-section-label {
  padding: 12px; font-size: 12px; font-weight: 700;
  color: var(--green); text-transform: uppercase; letter-spacing: 1px;
}
.mobile-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px; padding: 0 8px 12px;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-grid a {
  padding: 8px 12px; font-size: 13px; color: var(--gray-600);
  background: var(--gray-50); border-radius: 6px; border-bottom: none;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  background: linear-gradient(135deg, var(--gray-900), #2d3748, var(--gray-900));
  color: var(--white); padding: 48px 16px;
}
@media(min-width:768px) { .hero { padding: 80px 16px; } }
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
@media(min-width:768px) { .hero-inner { flex-direction: row; } }
.hero-text { flex: 1; text-align: center; }
@media(min-width:768px) { .hero-text { text-align: left; } }
.hero h1 { font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
@media(min-width:768px) { .hero h1 { font-size: 40px; } }
.hero h1 .green { color: var(--green); }
.hero h1 .orange { color: var(--orange); }
.hero p { color: #cbd5e0; font-size: 16px; margin-bottom: 24px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media(min-width:768px) { .hero-buttons { justify-content: flex-start; } }
.hero-image { flex: 1; max-width: 400px; }
.hero-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ================================================
   SERVICE CARDS
   ================================================ */
.services-section { padding: 48px 16px; }
.section-title { font-size: 24px; font-weight: 700; text-align: center; color: var(--gray-800); margin-bottom: 4px; }
@media(min-width:768px) { .section-title { font-size: 30px; } }
.section-subtitle { text-align: center; color: var(--gray-500); margin-bottom: 40px; font-size: 15px; }
.services-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 24px;
}
@media(min-width:640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:768px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }
.service-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--gray-100); transition: box-shadow .2s;
  text-decoration: none; color: inherit;
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card-img {
  height: 180px; overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 20px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.service-card:hover h3 { color: var(--green); }
.service-card p { font-size: 13px; color: var(--gray-500); }

/* ================================================
   SPECIALIZATIONS
   ================================================ */
.spec-section { background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.spec-inner {
  max-width: 1100px; margin: 0 auto; padding: 48px 16px;
  display: flex; flex-direction: column; gap: 32px;
}
@media(min-width:768px) { .spec-inner { flex-direction: row; gap: 40px; } }
.spec-text { flex: 1; }
.spec-text h2 { font-size: 24px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
@media(min-width:768px) { .spec-text h2 { font-size: 28px; } }
.spec-text > p { color: var(--gray-500); margin-bottom: 20px; font-size: 14px; }
.spec-list {
  display: grid; grid-template-columns: 1fr;
  gap: 8px;
}
@media(min-width:480px) { .spec-list { grid-template-columns: 1fr 1fr; } }
.spec-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-700); }
.spec-check { color: var(--green); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.spec-images {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.spec-images img {
  border-radius: 8px; box-shadow: var(--shadow); width: 100%;
  filter: none; /* No blur/filter - we have consent for all logos */
}

/* ================================================
   PORTFOLIO STRIP
   ================================================ */
.portfolio-section { padding: 48px 16px; }
.portfolio-header {
  max-width: 1100px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.portfolio-header h2 { font-size: 22px; font-weight: 700; color: var(--gray-800); }
.portfolio-header a { color: var(--green); font-weight: 600; font-size: 14px; }
.portfolio-header a:hover { text-decoration: underline; }
.portfolio-strip-wrapper {
  max-width: 1100px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  padding: 16px; overflow: hidden;
}
.portfolio-strip {
  display: flex; gap: 16px; width: max-content;
  animation: scroll-left 30s linear infinite;
}
.portfolio-strip:hover { animation-play-state: paused; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.portfolio-strip img {
  height: 100px; width: auto; border-radius: 6px; box-shadow: var(--shadow); flex-shrink: 0;
  filter: none; /* No blur/filter - we have consent for all logos */
}
@media(min-width:768px) { .portfolio-strip img { height: 140px; } }

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section { background: var(--green); padding: 40px 16px; text-align: center; }
.cta-section h2 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
@media(min-width:768px) { .cta-section h2 { font-size: 28px; } }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; font-size: 15px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ================================================
   GALLERY (portfolio pages)
   ================================================ */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media(min-width:640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  background: var(--gray-50); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow .2s;
}
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%; height: auto; object-fit: contain;
  filter: none; /* No blur/filter - we have consent for all logos */
}

/* ================================================
   CONTENT PAGES (about, services, etc.)
   ================================================ */
.content-text p { margin-bottom: 12px; color: var(--gray-700); font-size: 15px; line-height: 1.7; }
.content-text strong { color: var(--gray-800); }
.content-text ul { margin: 12px 0; padding-left: 20px; }
.content-text li { margin-bottom: 6px; color: var(--gray-700); font-size: 15px; list-style: disc; }
.content-text h2 {
  font-size: 17px; font-weight: 700; color: var(--gray-800);
  text-decoration: underline; margin-top: 28px; margin-bottom: 12px;
}
.text-bold { font-weight: 700; color: var(--gray-800); font-size: 16px; }

/* Specialization checklist on aboutus page */
.check-list { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 12px 0; padding: 0; }
@media(min-width:480px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--gray-700); list-style: none;
}

/* ================================================
   FORM (enquiry page)
   ================================================ */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 680px; margin: 0 auto; }
@media(min-width:640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.form-label .req { color: #ef4444; }
.form-input, .form-textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--gray-300);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(149,194,56,.2); }
.form-textarea { resize: vertical; }
.form-submit { text-align: center; grid-column: 1 / -1; padding-top: 8px; }
.alert-error { background: #fef2f2; color: #b91c1c; padding: 12px 16px; border-radius: 8px; font-size: 14px; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-info { max-width: 500px; margin: 0 auto; text-align: center; color: var(--gray-700); }
.contact-info img { margin: 0 auto 20px; height: 60px; width: auto; }
.contact-info h2 { font-size: 17px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.contact-info p { margin-bottom: 12px; font-size: 15px; line-height: 1.7; }
.contact-info a { color: var(--blue); }
.contact-info a:hover { text-decoration: underline; }

/* ================================================
   SEGMENTS PAGE
   ================================================ */
.segments-images { text-align: center; }
.segments-images img { margin: 0 auto 24px; border-radius: 8px; box-shadow: var(--shadow); }

/* ================================================
   GRAPHIC DESIGN PAGE
   ================================================ */
.design-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media(min-width:768px) { .design-grid { grid-template-columns: repeat(3, 1fr); } }
.design-grid .gallery-item img { width: 100%; }

/* ================================================
   EMAILFORM SUCCESS PAGE
   ================================================ */
.success-page { max-width: 420px; margin: 0 auto; text-align: center; }
.success-icon { width: 64px; height: 64px; color: var(--green); margin: 0 auto 16px; }
.success-page h1 { font-size: 22px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.success-page p { color: var(--gray-600); margin-bottom: 24px; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer { background: var(--gray-800); color: var(--gray-400); margin-top: auto; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 40px 16px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media(min-width:640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media(min-width:768px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; } }
.footer-logo { height: 40px; width: auto; margin-bottom: 12px; filter: brightness(2); }
.footer-text { font-size: 13px; line-height: 1.7; }
.footer-heading { font-size: 12px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--green); }
.footer-contact { font-size: 13px; line-height: 1.7; }
.footer-contact strong { color: var(--gray-300); }
.footer-contact a:hover { color: var(--green); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-700); display: flex; align-items: center;
  justify-content: center; transition: background .2s;
}
.social-icon:hover { background: var(--green); }
.social-icon svg { width: 14px; height: 14px; fill: var(--white); }
.footer-bar { background: var(--orange); padding: 12px; text-align: center; }
.footer-bar p { color: var(--white); font-size: 12px; }

/* ================================================
   UTILITY
   ================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
