/*! 
 * Dominion Claims Solutions - Main Stylesheet
 * Version: 2.0.0
 * Author: Dominion Claims Solutions
 * License: Proprietary
 */

/*------------------------------------*\
  #CRITICAL-CSS
  Priority styles for above-the-fold content
\*------------------------------------*/

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

/* Hero Section - Critical Styling */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

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

.hero-title {
  font-size: var(--s3);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

/* High-priority elements */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Footer-specific modifications */
.footer-logo .logo-link {
  width: 100%;
  height: 100%;
  margin-left: 6px;
}

/* Reset and Base Styles */
:root {
  /* Color Palette */
  --primary-navy: #1a3558;
  --secondary-gray: #6a8299;
  --accent-gold: #d4a017;
  --neutral-white: #fff;
  --white: #fff;

  /* Critical Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-light) 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-dark) 100%);
  --gradient-footer: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  /* System-based Typography Scale */
  --s-1: clamp(0.875rem, 0.8vw, 1rem);
  --s0: clamp(1rem, 1vw, 1.125rem);
  --s1: clamp(1.25rem, 1.5vw, 1.5rem);
  --s2: clamp(1.5rem, 2vw, 2rem);
  --s3: clamp(2rem, 2.5vw, 2.5rem);
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.5rem;

  /* Color Variations */
  --navy-light: #2d4a6b;
  --navy-dark: #0f1f33;
  --navy-medium: #1f4068;
  --gray-light: #8fa4b8;
  --gray-dark: #556b7f;
  --gold-light: #e6b529;
  --gold-dark: #b8940f;

  /* Semantic Colors */
  --bg-primary: var(--neutral-white);
  --bg-secondary: #f8fafc;
  --bg-accent: #fefcf7;
  --text-primary: var(--primary-navy);
  --text-secondary: var(--secondary-gray);
  --text-accent: var(--accent-gold);

  /* Shadows */
  --shadow-light: 0 2px 4px rgba(26, 53, 88, 0.1);
  --shadow-medium: 0 4px 12px rgba(26, 53, 88, 0.15);
  --shadow-heavy: 0 8px 20px rgba(26, 53, 88, 0.2);
  --shadow-gold: 0 4px 12px rgba(212, 160, 23, 0.3);
}

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

/* Utility Classes */
.no-underline {
  text-decoration: none;
}

.inherit-color {
  color: inherit;
}

.contact-link {
  color: var(--secondary-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent-gold);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background-color: var(--bg-primary);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-navy) 0%,
    var(--accent-gold) 50%,
    var(--primary-navy) 100%
  );
  z-index: 1001;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(26, 53, 88, 0.1);
  box-shadow: var(--shadow-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.logo-container:hover {
  transform: scale(1.02);
}

/* Logo Image Styles */
.logo-image {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(26, 53, 88, 0.1));
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(212, 160, 23, 0.3));
}

.logo-container:hover .logo-text h2 {
  color: var(--text-accent);
}

.logo-container:hover .logo-text p {
  color: var(--text-accent);
}

.hero-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-logo-shield {
  width: 220px;
  height: 220px;
  background: linear-gradient(
    135deg,
    rgba(26, 53, 88, 0.8) 0%,
    rgba(45, 74, 107, 0.6) 50%,
    rgba(26, 53, 88, 0.4) 100%
  );
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--accent-gold);
  box-shadow: 
    0 8px 32px rgba(26, 53, 88, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin: 0 auto 2rem;
  backdrop-filter: blur(10px);
}

.hero-logo-img {
  height: 120px;
  width: auto;
  max-width: 300px;
}

.hero-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 8px 16px rgba(26, 53, 88, 0.2));
}

/* Legacy logo shield styles - keeping for fallback */
.logo-shield {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a3558 0%, #2d4a6b 100%);
  border: 2px solid #d4a017;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(26, 53, 88, 0.2);
}

.logo-shield:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

.logo-shield i {
  color: #d4a017;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.logo-shield:hover i {
  transform: scale(1.1);
}

.logo-text h2 {
  color: var(--text-primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.2;
  transition: color 0.3s ease;
  font-variant: small-caps;
  letter-spacing: 0.5px;
}

.logo-text p {
  color: var(--text-secondary);
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #1a3558;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a017, #b8940f);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #d4a017;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hamburger:hover {
  transform: scale(1.05);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #1a3558;
  margin: 3px 0;
  transition: all 0.2s ease;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(
    135deg,
    var(--navy-dark) 0%,
    var(--primary-navy) 35%,
    var(--navy-medium) 70%,
    var(--navy-light) 100%
  );
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(212, 160, 23, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(45, 74, 107, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, rgba(26, 53, 88, 0.1) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #d4a017 0%, #b8940f 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b8940f 0%, #a0850e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Services Section */
.services {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a3558;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a017, #b8940f);
  transition: width 0.6s ease;
}

.section-header h2:hover::after {
  width: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(26, 53, 88, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a3558, #6a8299);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(26, 53, 88, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-navy) 0%,
    var(--navy-light) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(26, 53, 88, 0.3);
}

.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a3558;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #d4a017;
}

.service-card p {
  color: #6a8299;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.contact .section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
}

/* Ensure responsive design for contact section header */
@media (max-width: 768px) {
  .contact .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .contact .section-header h2 {
    font-size: 2rem;
  }
}

.services .section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
}

/* Ensure responsive design for services section header */
@media (max-width: 768px) {
  .services .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .services .section-header h2 {
    font-size: 2rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: white;
  padding: 3.5rem 2rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(26, 53, 88, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a3558, #6a8299);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(26, 53, 88, 0.15);
}

.contact-card .contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-navy) 0%,
    var(--navy-light) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(26, 53, 88, 0.3);
}

.contact-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a3558;
  transition: color 0.3s ease;
}

.contact-card:hover h3 {
  color: #d4a017;
}

.contact-card p {
  color: #6a8299;
  line-height: 1.6;
}

/* Contact divider for combined email/phone card */
.contact-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #1a3558, #6a8299);
  margin: 1.5rem auto;
  border-radius: 1px;
}

/* Add extra space above the Phone section */
.contact-divider + .contact-icon {
  margin-top: 1.5rem;
}

/* Map container styles */
.map-container {
  margin-top: 1.5rem;
}

.map-container iframe {
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  transition: box-shadow 0.3s ease;
}

.contact-card:hover .map-container iframe {
  box-shadow: var(--shadow-medium);
}

.map-link {
  margin-top: 0.75rem;
}

.map-link a {
  color: var(--secondary-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.map-link a:hover {
  color: var(--accent-gold);
}

/* Address card specific styling */
.address-card {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
  
  .address-card {
    grid-column: 2;
  }
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    var(--primary-navy) 0%,
    var(--navy-light) 100%
  );
  color: white;
  padding: 60px 0 20px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.footer-logo:hover {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(212, 160, 23, 0.3));
}

.footer-logo .logo-shield {
  width: 35px;
  height: 35px;
  transition: all 0.2s ease;
}

.footer-logo:hover .logo-shield {
  transform: scale(1.05);
}

.footer-logo .logo-text h3 {
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.2;
  transition: color 0.3s ease;
  font-variant: small-caps;
  letter-spacing: 0.5px;
}

.footer-logo .logo-text p {
  color: #6a8299;
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

.footer-section h4 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
  color: white;
  transition: color 0.2s ease;
}

.footer-section h4:hover {
  color: #d4a017;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease;
}

.footer-section ul li:hover {
  transform: translateX(3px);
}

.footer-section ul li a {
  color: #6a8299;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.footer-section ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4a017;
  transition: width 0.2s ease;
}

.footer-section ul li a:hover::after {
  width: 100%;
}

.footer-section ul li a:hover {
  color: #d4a017;
}

.footer-bottom {
  border-top: 1px solid #6a8299;
  padding-top: 2rem;
  text-align: center;
  color: #6a8299;
  transition: color 0.2s ease;
}

.footer-bottom:hover {
  color: #d4a017;
}

/* Social Media Icons */
.footer-social {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #6a8299;
}

.footer-social h4 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1.5rem;
  color: white;
  transition: color 0.2s ease;
}

.footer-social h4:hover {
  color: #d4a017;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-icon::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;
}

.social-icon:hover::before {
  left: 100%;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  background: linear-gradient(135deg, #d4a017 0%, #b8940f 100%);
  border-color: #d4a017;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
  color: white;
}

.social-icon i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  z-index: 1;
  position: relative;
}

.social-icon:hover i {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 27px rgba(26, 53, 88, 0.1);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

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

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

  .section-header h2 {
    font-size: 2rem;
  }

  .logo-text h2 {
    font-size: 1.1rem;
  }

  .logo-text p {
    font-size: 0.6rem;
  }

  .logo-shield {
    width: 35px;
    height: 35px;
  }

  /* Show icon-only logo on very small screens */
  .nav-logo-img {
    height: 35px;
  }

  .hero-logo-img {
    height: 100px;
    max-width: 250px;
  }

  /* Social icons responsive */
  .social-icons {
    gap: 1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon i {
    font-size: 1.1rem;
  }
}

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

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

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .logo-container {
    gap: 8px;
  }

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

  .logo-text p {
    font-size: 0.5rem;
  }

  .logo-shield {
    width: 30px;
    height: 30px;
  }

  .nav-logo-img {
    height: 30px;
  }

  .hero-logo-img {
    height: 80px;
    max-width: 200px;
  }

  /* Social icons responsive for small screens */
  .social-icons {
    gap: 0.75rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-icon i {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  .logo-text {
    display: none;
  }

  .nav-logo-img {
    height: 35px;
  }
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.service-card,
.contact-card {
  animation: fadeInUp 0.5s ease-out forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.contact-card:nth-child(1) {
  animation-delay: 0.1s;
}
.contact-card:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-card:nth-child(3) {
  animation-delay: 0.3s;
}
