/* Pompano Locksmith Co - Style Sheet */

:root {
  --primary: #2c3e50;
  --accent: #3498db;
  --text: #333333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --font-main: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== RESET / NORMALIZE ===== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
}

/* ===== CONTAINER ===== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SITE HEADER ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  background: linear-gradient(135deg, #1a252f 0%, var(--primary) 60%, #34495e 100%);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 3px solid var(--accent);
}

.site-header::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #1abc9c, var(--accent));
  background-size: 200% 100%;
  animation: shimmerBorder 4s linear infinite;
}

@keyframes shimmerBorder {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.site-header.scrolled {
  height: 68px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #0f1a24 0%, #1a252f 60%, #2c3e50 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .header-inner {
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
}

.site-logo img {
  height: 46px;
  width: auto;
  background-color: var(--white);
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.site-logo:hover img {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 16px rgba(52, 152, 219, 0.35);
}

.site-logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 8px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(52, 152, 219, 0.15);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
  width: 20px;
}

.nav-link.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), #2980b9);
  box-shadow: 0 2px 12px rgba(52, 152, 219, 0.35);
  font-weight: 600;
}

.nav-link.active::after {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: var(--white);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 11px 26px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(39, 174, 96, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #219a52, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(39, 174, 96, 0.45);
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s ease;
}

.menu-toggle:hover span {
  background-color: var(--accent);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 76px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(44, 62, 80, 0.75) 0%,
    rgba(44, 62, 80, 0.6) 50%,
    rgba(44, 62, 80, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 40px 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.35);
}

.hero-cta:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(52, 152, 219, 0.45);
  color: var(--white);
}

/* ===== PAGE HERO (sub-pages) ===== */

.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 76px;
}

.page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(44, 62, 80, 0.75) 0%,
    rgba(44, 62, 80, 0.85) 100%
  );
  z-index: 1;
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 40px 20px;
}

/* ===== SECTION TITLES ===== */

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 1.05rem;
  color: #666;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ===== TRUST BADGES ===== */

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 48px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--light-bg);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(44, 62, 80, 0.08);
  white-space: nowrap;
}

/* ===== SERVICES SECTION ===== */

.services {
  padding: 80px 0;
  background-color: var(--white);
}

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

.service-card {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.08);
  color: var(--accent);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== ABOUT SECTION ===== */

.about {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.about-text {
  text-align: left;
}

.about-text .section-title {
  text-align: left;
}

.about-text .section-desc {
  text-align: left;
  margin-left: 0;
}

.about-text p {
  color: #555;
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */

.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: box-shadow var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 4rem;
  color: rgba(52, 152, 219, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  margin-bottom: 16px;
  color: #f39c12;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

/* ===== SERVICE AREAS ===== */

.service-areas {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-item {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(44, 62, 80, 0.1);
  transition: background-color var(--transition), color var(--transition);
}

.area-item:hover {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ===== CTA BANNER ===== */

.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1a252f 100%);
  text-align: center;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 50px;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(52, 152, 219, 0.3);
}

.cta-btn:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(52, 152, 219, 0.45);
  color: var(--white);
}

/* ===== SITE FOOTER ===== */

.site-footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition), padding-left var(--transition);
}

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

.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== SERVICE DETAIL (services page & homepage) ===== */

.service-detail {
  padding: 80px 0;
}

.service-detail:nth-child(even) {
  background-color: var(--light-bg);
}

.service-detail .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-detail:nth-child(even) .container {
  direction: rtl;
}

.service-detail:nth-child(even) .container > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.service-detail-text {
  text-align: left;
}

.service-detail-text .section-title {
  text-align: left;
}

.service-detail-text .section-desc {
  text-align: left;
  margin-left: 0;
}

.service-detail-text p {
  color: #555;
  line-height: 1.7;
}

.service-detail-text ul {
  margin: 16px 0;
}

.service-detail-text ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #555;
  line-height: 1.6;
}

.service-detail-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* ===== CONTACT PAGE ===== */

.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--light-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  background-color: var(--white);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

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

.form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.form-btn:hover {
  background-color: #2980b9;
  transform: translateY(-1px);
}

.form-success {
  display: none;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  font-weight: 500;
  text-align: center;
}

.form-success.show {
  display: block;
}

.contact-info {
  background-color: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.contact-info ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  color: #555;
}

.contact-info ul li:last-child {
  border-bottom: none;
}

.contact-info ul li strong {
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
}

/* ===== ABOUT PAGE — TEAM SECTION ===== */

.team-section {
  padding: 80px 0;
  background-color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--light-bg);
}

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

.team-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.88rem;
  color: #888;
  font-weight: 400;
}

/* ===== ABOUT PAGE — VALUES SECTION ===== */

.values-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

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

.value-card {
  text-align: center;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.08);
  color: var(--accent);
  margin-bottom: 20px;
}

.value-icon svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== ABOUT PAGE — TIMELINE ===== */

.timeline-section {
  padding: 80px 0;
  background-color: var(--white);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 40px;
  border-left: 2px solid rgba(52, 152, 219, 0.2);
  margin-left: 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.6;
}

/* ===== FAQ PAGE ===== */

.faq-section {
  padding: 80px 0;
  background-color: var(--white);
}

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

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--white);
  cursor: pointer;
  text-align: left;
  border: none;
  font-family: var(--font-main);
  transition: background-color var(--transition);
  gap: 16px;
}

.faq-question:hover {
  background-color: var(--light-bg);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

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

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* ===== GALLERY PAGE ===== */

.gallery-section {
  padding: 80px 0;
  background-color: var(--white);
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 8px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}

.gallery-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-filter-btn.active {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-item.hidden {
  display: none;
}

/* ===== SERVICE AREAS PAGE ===== */

.areas-detail-section {
  padding: 80px 0;
  background-color: var(--white);
}

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

.area-card {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.area-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.area-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.area-card-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.area-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

.area-card-link:hover {
  gap: 10px;
}

/* ===== UTILITY CLASSES ===== */

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

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

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

/* ===== RESPONSIVE — TABLET (max-width: 992px) ===== */

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail:nth-child(even) .container {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* ===== RESPONSIVE — MOBILE (max-width: 768px) ===== */

@media (max-width: 768px) {
  .site-header {
    height: 66px;
  }

  .header-inner {
    height: 66px;
  }

  .site-header.scrolled .header-inner {
    height: 62px;
  }

  .site-header.scrolled {
    height: 62px;
  }

  .hero {
    margin-top: 66px;
    min-height: 80vh;
  }

  .page-hero {
    margin-top: 66px;
    min-height: 35vh;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #1a252f 0%, var(--primary) 100%);
    flex-direction: column;
    justify-content: center;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .site-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 90px 24px 32px;
    background: none;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 14px 20px;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: rgba(52, 152, 219, 0.12);
    border-left-color: var(--accent);
    color: var(--white);
    padding-left: 24px;
  }

  .nav-link.active {
    background: rgba(52, 152, 219, 0.2);
    border-left-color: var(--accent);
    box-shadow: none;
    border-radius: var(--radius);
  }

  .nav-cta {
    margin-top: 16px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-cta {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-text .section-title,
  .about-text .section-desc {
    text-align: center;
  }

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

  .trust-badges {
    gap: 10px;
  }

  .badge {
    font-size: 0.82rem;
    padding: 8px 18px;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-btn {
    font-size: 1.05rem;
    padding: 16px 36px;
  }

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

  .footer-bottom {
    margin-top: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .contact-form {
    padding: 28px 24px;
  }

  .contact-info {
    padding: 28px 24px;
  }

  .timeline-item {
    padding-left: 28px;
    margin-left: 10px;
  }

  .services,
  .about,
  .testimonials,
  .service-areas,
  .cta-banner,
  .service-detail,
  .contact-section,
  .team-section,
  .values-section,
  .timeline-section,
  .faq-section,
  .gallery-section,
  .areas-detail-section {
    padding: 56px 0;
  }
}

/* ===== RESPONSIVE — SMALL MOBILE (max-width: 480px) ===== */

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .site-logo-text {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.4rem;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.93rem;
  }

  .faq-answer p {
    padding: 0 18px 16px;
    font-size: 0.9rem;
  }
}

/* ===== ANIMATIONS ===== */

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== OVERLAY FOR MOBILE NAV ===== */

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ===== SCROLLBAR STYLING ===== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* ===== SELECTION STYLING ===== */

::selection {
  background-color: rgba(52, 152, 219, 0.2);
  color: var(--primary);
}