/* ============================================
   Direct IT Services Ltd - Main Stylesheet
   ============================================ */

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

:root {
  --primary: #0b3d91;
  --primary-dark: #062555;
  --primary-light: #1a5bc4;
  --accent: #00a8e8;
  --accent-light: #33c1f5;
  --dark: #1a1a2e;
  --grey-900: #2d2d3f;
  --grey-700: #555;
  --grey-500: #888;
  --grey-300: #ccc;
  --grey-100: #f4f6f9;
  --white: #ffffff;
  --success: #28a745;
  --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-main);
  color: var(--grey-700);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--grey-500); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-divider { width: 60px; height: 4px; background: var(--accent); margin: 0.75rem auto 0; border-radius: 2px; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: all var(--transition);
  border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* --- Header / Navigation --- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0; min-height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.logo span { color: var(--accent); }
.logo-icon {
  width: 40px; height: 40px; background: var(--primary); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-weight: 800; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--grey-700); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

/* --- Nav Dropdown --- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a .dropdown-arrow { display: inline-block; border: solid var(--grey-700); border-width: 0 1.5px 1.5px 0; padding: 2.5px; transform: rotate(45deg); transition: transform var(--transition); margin-top: -2px; }
.nav-dropdown:hover > a .dropdown-arrow { border-color: var(--primary); transform: rotate(-135deg); }
.nav-dropdown-menu {
  display: block; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 220px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 0.75rem 0; opacity: 0; visibility: hidden;
  pointer-events: none; transition: all 0.2s ease; margin-top: 12px; z-index: 100;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  border: 8px solid transparent; border-bottom-color: var(--white); border-top: 0;
}
.nav-dropdown-menu::after {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; margin-top: 8px; }
.nav-dropdown-menu a {
  display: block !important; padding: 0.5rem 1.25rem; color: var(--grey-700) !important; font-size: 0.9rem;
  font-weight: 500; white-space: nowrap; transition: all 0.15s ease;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: var(--grey-100); color: var(--primary) !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 6px 0; transition: all var(--transition); }

/* --- Hero --- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white); overflow: hidden; padding-top: 70px;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 16px;
  border-radius: 50px; font-size: 0.85rem; margin-bottom: 1.5rem; backdrop-filter: blur(5px);
}
.hero h1 { margin-bottom: 1rem; color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-visual { position: relative; z-index: 2; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 2rem;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 800; display: block; color: var(--accent-light); }
.stat-label { font-size: 0.85rem; opacity: 0.8; margin-top: 0.25rem; }

/* --- Features Strip --- */
.features-strip {
  background: var(--white); padding: 2.5rem 0;
  box-shadow: var(--shadow-sm); position: relative; z-index: 10; margin-top: -2rem;
  border-radius: var(--radius); max-width: 1100px; margin-left: auto; margin-right: auto;
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.feature-item { padding: 1rem; }
.feature-icon {
  width: 50px; height: 50px; margin: 0 auto 0.75rem; background: var(--grey-100);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.3rem;
}
.feature-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.8rem; color: var(--grey-500); }

/* --- Services --- */
.services { padding: 5rem 0; background: var(--grey-100); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition); position: relative;
  border-top: 4px solid transparent;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top-color: var(--accent); }
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius); margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white); font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.service-card .learn-more { color: var(--accent); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.service-card .learn-more:hover { gap: 0.7rem; }

/* --- About --- */
.about { padding: 5rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content h2 { margin-bottom: 1rem; }
.about-content p { margin-bottom: 1.25rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.highlight-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.highlight-icon { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.highlight-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.highlight-item p { font-size: 0.82rem; color: var(--grey-500); }

.about-image {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius); padding: 3rem; color: var(--white); position: relative;
  min-height: 400px; display: flex; flex-direction: column; justify-content: center;
}
.about-image h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 1rem; }
.about-image p { opacity: 0.9; margin-bottom: 1.5rem; }
.about-image ul { margin-bottom: 1.5rem; }
.about-image li { padding: 0.4rem 0; opacity: 0.9; display: flex; align-items: center; gap: 0.5rem; }
.about-image li::before { content: '\2713'; font-weight: 700; color: var(--accent-light); }

/* --- Why Choose Us --- */
.why-us { padding: 5rem 0; background: var(--grey-100); }
.reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.reason-card { text-align: center; padding: 2rem 1.5rem; }
.reason-number {
  width: 50px; height: 50px; border-radius: 50%; background: var(--primary);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; margin: 0 auto 1.25rem;
}
.reason-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.reason-card p { font-size: 0.92rem; }

/* --- Testimonials --- */
.testimonials { padding: 5rem 0; background: var(--dark); color: var(--white); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: var(--grey-300); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonial-card {
  background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.08); position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-size: 4rem; color: var(--accent); position: absolute;
  top: 0.5rem; left: 1.5rem; line-height: 1; font-family: Georgia, serif;
}
.testimonial-card p { font-size: 0.95rem; opacity: 0.9; margin-bottom: 1.5rem; line-height: 1.8; padding-top: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--grey-300); }
.stars { color: #f5a623; margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 2px; }

/* --- CTA Banner --- */
.cta-banner {
  padding: 5rem 0; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white); text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Contact --- */
.contact { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grey-100);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.9rem; color: var(--grey-500); }
.contact-item a { color: var(--primary); font-weight: 500; }

.contact-form { background: var(--grey-100); border-radius: var(--radius); padding: 2.5rem; }
.contact-form h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--grey-300);
  border-radius: var(--radius); font-size: 0.95rem; font-family: inherit;
  transition: border-color var(--transition); background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,168,232,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Footer --- */
.site-footer { background: var(--dark); color: var(--grey-300); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-about { }
.footer-about .logo { color: var(--white); margin-bottom: 1rem; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-heading { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--grey-300); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.9rem; }
.footer-contact-item svg { flex-shrink: 0; }

.footer-bottom {
  margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem;
}
.footer-bottom a { color: var(--grey-300); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 1.5rem; }

/* --- Service Page Specific --- */
.page-hero {
  padding: 8rem 0 4rem; background: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.85));
  background-size: cover; background-position: center;
  color: var(--white); text-align: center; position: relative;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Service page hero images */
.page-hero--managed-it { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/server-room.jpg'); }
.page-hero--hosted-voice { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/voip-phone.jpg'); }
.page-hero--internet { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/fibre-optic.jpg'); }
.page-hero--mpls { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/network-cables.jpg'); }
.page-hero--cloud { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/cloud-computing.jpg'); }
.page-hero--cyber { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/cyber-security.jpg'); }
.page-hero--about { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/team-office.jpg'); }
.page-hero--contact { background-image: linear-gradient(135deg, rgba(6,37,85,0.88), rgba(11,61,145,0.82)), url('/img/hero-it-support.jpg'); }

/* About page image section */
.about-photo { border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.9rem; opacity: 0.8; }
.breadcrumb a { color: var(--accent-light); }

/* Service intro */
.svc-intro { padding: 4rem 0 3rem; }
.svc-intro .container { max-width: 800px; }
.svc-intro h2 { margin-bottom: 1rem; }
.svc-intro p { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }
.svc-intro .lead { font-size: 1.15rem; color: var(--grey-700); }

/* Service highlights grid */
.svc-highlights { padding: 3rem 0; background: var(--grey-100); }
.svc-highlights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;
}
.svc-highlight-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  border-left: 4px solid var(--accent);
}
.svc-highlight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-highlight-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.svc-highlight-card p { font-size: 0.9rem; color: var(--grey-500); margin: 0; }

/* Service content prose */
.svc-content { padding: 4rem 0; }
.svc-content .container { max-width: 800px; }
.svc-content h2 { margin-top: 3rem; margin-bottom: 1rem; padding-top: 2rem; border-top: 1px solid var(--grey-100); }
.svc-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.svc-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.svc-content p { margin-bottom: 1.25rem; line-height: 1.8; }

/* Service features checklist */
.service-features { list-style: none; margin: 2rem 0; }
.service-features li {
  padding: 0.75rem 0; display: flex; align-items: flex-start; gap: 0.75rem;
  border-bottom: 1px solid var(--grey-100);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* Pricing strip */
.svc-pricing-strip {
  padding: 4rem 0; background: var(--dark); color: var(--white); text-align: center;
}
.svc-pricing-strip h2 { color: var(--white); margin-bottom: 0.5rem; }
.svc-pricing-strip .price { font-size: 3rem; font-weight: 800; color: var(--accent-light); margin: 0.5rem 0; }
.svc-pricing-strip .price-sub { font-size: 1rem; color: var(--grey-300); margin-bottom: 0.5rem; }
.svc-pricing-strip .price-note { font-size: 0.95rem; color: var(--grey-300); max-width: 500px; margin: 0 auto 2rem; }
.svc-pricing-strip .btn-secondary { border-color: var(--accent); color: var(--accent); }
.svc-pricing-strip .btn-secondary:hover { background: var(--accent); color: var(--white); }
.svc-pricing-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Legacy support */
.service-detail { padding: 4rem 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pricing-card {
  background: var(--grey-100); border-radius: var(--radius); padding: 2rem;
  text-align: center; border: 2px solid transparent; transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--accent); }
.pricing-from { font-size: 0.85rem; color: var(--grey-500); margin-bottom: 0.25rem; }
.pricing-amount { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.pricing-period { font-size: 0.85rem; color: var(--grey-500); }

/* --- Map placeholder --- */
.map-container { width: 100%; height: 300px; background: var(--grey-100); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow-md);
  }
  .nav-dropdown { display: block; }
  .nav-dropdown-menu {
    position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible;
    pointer-events: auto; margin-top: 0; padding: 0 0 0 1rem; display: none;
    min-width: auto; background: transparent;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu::before, .nav-dropdown-menu::after { display: none; }
  .nav-dropdown-menu a { padding: 0.4rem 0 !important; }
  .mobile-toggle { display: block; }
  .hero { min-height: 80vh; text-align: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem; }
  .features-strip { margin-top: -1rem; border-radius: 0; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .svc-highlights-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
}

/* --- Blog --- */
.blog-layout { display: grid; grid-template-columns: 1fr 250px; gap: 3rem; align-items: start; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  height: 200px; background-size: cover; background-position: center;
  background-color: var(--grey-100);
}
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--dark); line-height: 1.4; }
.blog-card-body p { font-size: 0.88rem; color: var(--grey-500); margin: 0; line-height: 1.6; }
.blog-card-date { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }

/* Blog sidebar */
.blog-sidebar {
  background: var(--grey-100); border-radius: var(--radius); padding: 1.5rem;
  position: sticky; top: 90px;
}
.blog-sidebar h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--dark); }
.blog-sidebar ul { list-style: none; padding: 0; margin: 0; }
.blog-sidebar li { margin-bottom: 0.5rem; }
.blog-sidebar a { color: var(--grey-700); font-size: 0.88rem; transition: color var(--transition); }
.blog-sidebar a:hover { color: var(--accent); }

/* Blog pagination */
.blog-pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.blog-page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: var(--radius); font-size: 0.9rem; font-weight: 600;
  color: var(--grey-700); background: var(--grey-100); text-decoration: none;
  transition: all var(--transition);
}
.blog-page-link:hover { background: var(--primary); color: var(--white); }
.blog-page-active { background: var(--primary); color: var(--white); }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
.fade-in.visible { opacity: 1; }

/* --- Skip to content (a11y) --- */
.skip-link {
  position: absolute; top: -100%; left: 1rem; padding: 0.75rem 1.5rem;
  background: var(--primary); color: var(--white); z-index: 9999; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
