/* ==========================================================================
   iSecure Systems — Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */
:root {
  --primary: #1a2a4a;
  --accent: #2c7be5;
  --dark: #0d1520;
  --white: #ffffff;
  --light-bg: #f5f7fa;
  --text: #333333;
  --text-light: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

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

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

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

.btn-primary:hover {
  background-color: #1a66d4;
  border-color: #1a66d4;
  color: var(--white);
}

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

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

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

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

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: background-color var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 3px;
  transition:
    color var(--transition),
    background-color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.75;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  z-index: 200;
  animation: dropDown 0.2s ease forwards;
  padding-top: 0.5rem;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  width: 100%;
  height: 0.5rem;
}

@keyframes dropDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text) !important;
  background-color: transparent;
  border-radius: 0 !important;
  transition:
    background-color var(--transition),
    color var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--light-bg);
  color: var(--accent) !important;
}

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--accent);
}

.header-phone svg,
.header-phone .phone-icon {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color var(--transition);
  flex-shrink: 0;
}

.hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition),
    width var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   5. Hero Sections
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  padding: 8rem 1.5rem 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 21, 32, 0.82) 0%,
    rgba(26, 42, 74, 0.72) 50%,
    rgba(44, 123, 229, 0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color var(--transition);
}

.hero-phone:hover {
  color: var(--accent);
}

/* Inner page hero (smaller) */
.hero-page {
  min-height: 40vh;
  padding: 7rem 1.5rem 3rem;
  text-align: left;
}

.hero-page .hero-content {
  max-width: var(--max-width);
  margin-inline: 0;
  text-align: left;
}

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

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

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

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* Hero backgrounds */
.hero-home {
  background-image: url('../images/hero-home.jpg');
}

.hero-cctv {
  background-image: url('../images/hero-cctv.jpg');
  background-position: center 15%;
}

.hero-alarms {
  background-image: url('../images/hero-alarms.jpg');
}

.hero-fire {
  background-image: url('../images/hero-fire.jpg');
}

.hero-electrical {
  background-image: url('../images/hero-electrical.jpg');
}

.hero-about {
  background-image: url('../images/hero-about.jpg');
}

.hero-contact {
  background-image: url('../images/hero-contact.jpg');
}

/* ==========================================================================
   6. Section Titles & Shared Layout
   ========================================================================== */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 0.65rem auto 0;
  border-radius: 2px;
}

.section-title p {
  max-width: 620px;
  margin-inline: auto;
  color: #666;
  margin-bottom: 0;
}

/* ==========================================================================
   7. Services Section
   ========================================================================== */
.services-section {
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(44, 123, 229, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.service-card-icon svg,
.service-card-icon img {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
  flex: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   8. Why Choose Us
   ========================================================================== */
.why-section {
  background-color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.why-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.why-icon svg,
.why-icon img {
  width: 32px;
  height: 32px;
  fill: var(--white);
  color: var(--white);
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.why-item p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* ==========================================================================
   9. About Teaser (Parallax)
   ========================================================================== */
.about-teaser {
  background-image: linear-gradient(135deg, rgba(13, 21, 32, 0.9) 0%, rgba(26, 42, 74, 0.85) 100%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem;
}

.about-teaser h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.about-teaser p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.about-teaser-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

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

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   10. CTA Banner
   ========================================================================== */
.cta-banner {
  background-color: var(--dark);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

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

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 3rem;
}

/* Footer About */
.footer-about .logo {
  margin-bottom: 1rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  transition:
    background-color var(--transition),
    color var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* Footer Links */
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

/* Footer Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.contact-detail .detail-icon {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

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

/* ==========================================================================
   12. Service Page Sections
   ========================================================================== */

/* Service Overview */
.service-overview {
  background-color: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.overview-text h2 {
  margin-bottom: 1rem;
}

.overview-text p {
  color: #555;
}

.overview-text ul {
  list-style: none;
  margin-top: 1rem;
}

.overview-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: #555;
  border-bottom: 1px solid #eee;
}

.overview-text ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.overview-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Features Section */
.features-section {
  background-color: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(44, 123, 229, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg,
.feature-icon img {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  color: var(--accent);
}

.feature-text h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0;
}

/* Brands Section */
.brands-section {
  background-color: var(--white);
  text-align: center;
}

.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity var(--transition);
  filter: grayscale(1);
}

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-placeholder {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* ==========================================================================
   13. About Page
   ========================================================================== */
.about-section {
  background-color: var(--white);
  padding: 80px 20px;
}

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

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

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

.about-content p {
  color: #555;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.value-item {
  padding: 1.25rem;
  background-color: var(--light-bg);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}

.value-item h4 {
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.value-item p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0;
}

/* ==========================================================================
   14. Contact Page
   ========================================================================== */
.contact-section {
  background-color: var(--light-bg);
  padding: 80px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: #666;
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #dde0e8;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--white);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2a4a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

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

.form-group.required label::after {
  content: ' *';
  color: #e53e3e;
}

.form-submit {
  margin-top: 0.5rem;
}

/* Contact Info Panel */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-panel .contact-detail {
  color: var(--text);
}

.contact-info-panel .contact-detail a {
  color: var(--accent);
}

.contact-info-panel .contact-detail a:hover {
  color: var(--primary);
}

.info-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-bg);
}

.info-card .contact-detail {
  margin-bottom: 1rem;
}

.info-card .contact-detail:last-child {
  margin-bottom: 0;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #555;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #eee;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   15. Scroll Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay helpers */
.fade-in[data-delay='100'] {
  transition-delay: 0.1s;
}
.fade-in[data-delay='200'] {
  transition-delay: 0.2s;
}
.fade-in[data-delay='300'] {
  transition-delay: 0.3s;
}
.fade-in[data-delay='400'] {
  transition-delay: 0.4s;
}
.fade-in[data-delay='500'] {
  transition-delay: 0.5s;
}
.fade-in[data-delay='600'] {
  transition-delay: 0.6s;
}

/* ==========================================================================
   16. Utility Classes
   ========================================================================== */
.text-center {
  text-align: center;
}
.text-accent {
  color: var(--accent);
}
.text-white {
  color: var(--white);
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-0 {
  margin-bottom: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--primary) 0%, #243a5e 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

/* ==========================================================================
   17. Responsive — 1024px (Tablet Landscape)
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .overview-grid {
    gap: 2.5rem;
  }
}

/* ==========================================================================
   18. Responsive — 768px (Tablet Portrait / Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  /* Header & Mobile Nav */
  .hamburger {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100dvh;
    background-color: var(--primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5rem 0 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.35);
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* Dropdown on mobile — always show links */
  .nav-dropdown > a::after {
    float: right;
  }

  .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.2);
    animation: none;
    padding-left: 1rem;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.75) !important;
    background-color: transparent;
    padding: 0.65rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
  }

  /* Nav overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
    padding: 7rem 1.25rem 4rem;
  }

  .hero-page {
    min-height: 32vh;
    padding: 6rem 1.25rem 2.5rem;
    text-align: center;
  }

  .hero-page .hero-content {
    text-align: center;
  }

  /* Grids → 1 col */
  .services-grid,
  .features-grid,
  .overview-grid,
  .contact-grid,
  .about-content,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .footer-about {
    grid-column: auto;
  }

  /* Parallax disabled on mobile */
  .about-teaser {
    background-attachment: scroll;
  }

  /* About teaser stats */
  .about-teaser-stats {
    gap: 2rem;
  }

  /* Contact form */
  .contact-form {
    padding: 1.75rem;
  }

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

  /* Sections */
  section {
    padding: 3.5rem 0;
  }

  /* Footer bottom */
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* About values */
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   19. Responsive — 480px (Small Mobile)
   ========================================================================== */
@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    max-width: 280px;
  }

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

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

  .about-teaser-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .brands-grid {
    gap: 1.25rem 1.75rem;
  }

  section {
    padding: 2.75rem 0;
  }

  .contact-form {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   End of stylesheet
   ========================================================================== */
