* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --patriot-red: #B22234;
  --patriot-white: #FFFFFF;
  --patriot-blue: #3C3B6E;
  --gradient-start: #B22234;
  --gradient-end: #3C3B6E;
  --light-bg: #F8F9FA;
  --dark-text: #212529;
  --medium-text: #495057;
  --accent-blue: #2C5282;
  --accent-red: #C53030;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--patriot-white);
  background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-top: 0;
  width: 100%;
  max-width: 100vw;
}

/* Parallax background elements */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  width: 110%;
  height: 110%;
  background-size: 100px 100px;
  opacity: 0.1;
  left: -5%;
  top: -5%;
}

.parallax-layer-1 {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(255,255,255,0.8)" points="50,10 60,40 90,40 70,60 80,90 50,70 20,90 30,60 10,40 40,40"/></svg>') repeat;
  animation: parallaxFloat1 30s linear infinite;
}

.parallax-layer-2 {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle fill="rgba(178,34,52,0.3)" cx="50" cy="50" r="3"/></svg>') repeat;
  background-size: 150px 150px;
  animation: parallaxFloat2 45s linear infinite reverse;
}

@keyframes parallaxFloat1 {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-200px) translateX(-200px); }
}

@keyframes parallaxFloat2 {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(150px) translateX(150px) rotate(360deg); }
}


/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
  overflow: hidden;
  margin-top: 0;
  width: 100%;
  max-width: 100vw;
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Video Overlay for better text readability */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(178, 34, 52, 0.7) 0%,
    rgba(60, 59, 110, 0.7) 100%);
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(255,255,255,0.1)" points="50,10 60,40 90,40 70,60 80,90 50,70 20,90 30,60 10,40 40,40"/></svg>') repeat;
  background-size: 100px 100px;
  animation: starfield 30s linear infinite;
  opacity: 0.3;
  z-index: 3;
}

@keyframes starfield {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-100px) translateX(-100px); }
}

.hero-content {
  z-index: 4;
  max-width: 800px;
  padding: 2rem;
  position: relative;
  width: 100%;
}

.hero-text {
  max-width: 100%;
}

.widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
}

/* Explicit font sizes for semantic HTML5 elements to avoid deprecation warnings */
article h1, aside h1, nav h1, section h1 {
  font-size: 2.5rem;
}

article h2, aside h2, nav h2, section h2 {
  font-size: 2rem;
}

article h3, aside h3, nav h3, section h3 {
  font-size: 1.5rem;
}

article h4, aside h4, nav h4, section h4 {
  font-size: 1.25rem;
}

article h5, aside h5, nav h5, section h5 {
  font-size: 1.1rem;
}

article h6, aside h6, nav h6, section h6 {
  font-size: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  position: relative;
  color: var(--patriot-white);
}

.hero h1::before,
.hero h1::after {
  content: '★';
  position: absolute;
  color: var(--patriot-white);
  font-size: 2rem;
  top: 50%;
  transform: translateY(-50%);
  animation: starPulse 2s ease-in-out infinite;
}

.hero h1::before {
  left: -3rem;
  animation-delay: 0.5s;
}

.hero h1::after {
  right: -3rem;
  animation-delay: 1s;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtext {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #6c757d 0%, var(--patriot-blue) 100%);
  color: var(--patriot-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 0.5rem;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--patriot-red), var(--patriot-white), var(--patriot-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: var(--patriot-white);
  animation: borderGlow 1.5s ease-in-out infinite;
}

.cta-button:hover::before {
  opacity: 0.2;
}

@keyframes borderGlow {
  0%, 100% { 
    border-color: var(--patriot-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
  }
  50% { 
    border-color: var(--patriot-red);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(178, 34, 52, 0.5);
  }
}

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--dark-text);
  margin: 0;
  max-width: 100%;
  padding: 6rem 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.section-grey {
  background: linear-gradient(135deg, #e8eaed 0%, #d3d6db 100%);
  color: var(--dark-text);
  margin: 0;
  max-width: 100%;
  padding: 6rem 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
}

.section-grey::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(178,34,52,0.03)" points="50,10 60,40 90,40 70,60 80,90 50,70 20,90 30,60 10,40 40,40"/></svg>') repeat;
  background-size: 80px 80px;
  opacity: 0.4;
}

.section-dark {
  background: linear-gradient(135deg, var(--patriot-blue) 0%, #2d4a87 100%);
  color: var(--patriot-white);
  margin: 0;
  max-width: 100%;
  padding: 6rem 0;
  position: relative;
}

.section-accent {
  background: linear-gradient(135deg, var(--patriot-red) 0%, #d63447 100%);
  color: var(--patriot-white);
  margin: 0;
  max-width: 100%;
  padding: 6rem 0;
  position: relative;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Light section text colors */
.section-light .section-header h2,
.section-light .service-card h3,
.section-light .pricing-card h3,
.section-light .trust-item h3,
.section-light .feature-item h4 {
  color: var(--dark-text);
}

.section-light .section-header p,
.section-light .service-card p,
.section-light .pricing-card .spec-item,
.section-light .trust-item p,
.section-light .feature-item p,
.section-light .use-case {
  color: var(--medium-text);
}

.section-light .section-header h2::before,
.section-light .section-header h2::after {
  color: var(--patriot-red);
}

.section-light .service-card,
.section-light .pricing-card,
.section-light .trust-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-light .service-icon,
.section-light .trust-icon {
  color: var(--patriot-red);
}

.section-light .feature-icon {
  color: var(--patriot-blue);
}

.section-light .price-amount {
  color: var(--patriot-red);
}

/* Grey section styling */
.section-grey .section-header h2,
.section-grey .service-card h3,
.section-grey .pricing-card h3,
.section-grey .trust-item h3,
.section-grey .feature-item h4 {
  color: var(--dark-text);
}

.section-grey .section-header p,
.section-grey .service-card p,
.section-grey .pricing-card .spec-item,
.section-grey .trust-item p,
.section-grey .feature-item p,
.section-grey .use-case {
  color: var(--medium-text);
}

.section-grey .section-header h2::before,
.section-grey .section-header h2::after {
  color: var(--patriot-red);
}

.section-grey .area-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-grey .area-item:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-grey .area-name {
  color: var(--dark-text);
}

.section-grey .area-icon {
  color: var(--patriot-red);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

.section-header h2::before,
.section-header h2::after {
  content: '★';
  position: absolute;
  color: var(--patriot-red);
  font-size: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  animation: starPulse 2s ease-in-out infinite;
}

.section-header h2::before {
  left: -2rem;
}

.section-header h2::after {
  right: -2rem;
  animation-delay: 0.5s;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.disclaimer-full-width {
  grid-column: 1 / -1;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.service-card:hover::before {
  opacity: 1;
  animation: shimmer 1s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: var(--patriot-white);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--patriot-red);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--patriot-white);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--patriot-white);
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.pricing-card.best-deal {
  border: 2px solid var(--patriot-red);
  transform: scale(1.05);
}

.best-deal-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--patriot-red);
  color: white;
  padding: 5px 40px;
  font-weight: bold;
  font-size: 0.8rem;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: var(--patriot-white);
}

.pricing-card.best-deal:hover {
  transform: translateY(-10px) scale(1.05);
}

.price-header {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--patriot-white);
  margin: 1rem 0;
}

.price-amount {
  color: var(--patriot-red);
}

.delivery-note {
  color: var(--patriot-red);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.specs {
  text-align: left;
  margin: 1.5rem 0;
}

.spec-item {
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.perfect-for {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1rem;
  margin-top: 1rem;
}

.perfect-for h4 {
  color: var(--patriot-red);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.use-cases {
  text-align: left;
}

.use-case {
  padding: 0.2rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--patriot-red);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  margin: 1.5rem 0 0.5rem 0;
  transition: all 0.3s ease;
}

.pricing-cta:hover {
  background: #8B1A2B;
  transform: scale(1.02);
}

.call-option {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Trust Elements */
.trust-elements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.trust-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--patriot-red);
}

.trust-item h3 {
  color: var(--patriot-white);
  margin-bottom: 1rem;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Features Section */
.features-section {
  background: rgba(60, 59, 110, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--patriot-red);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  color: var(--patriot-white);
  transform: scale(1.2);
}

/* Service Areas Section */
.service-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.area-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.area-icon {
  color: var(--patriot-red);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.area-name {
  color: var(--patriot-white);
  font-weight: 500;
  font-size: 0.95rem;
}

.section-light .area-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-light .area-item:hover {
  background: rgba(255, 255, 255, 0.95);
}

.section-light .area-name {
  color: var(--dark-text);
}

.section-light .area-icon {
  color: var(--patriot-red);
}

/* Acceptable Items Section */
.items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.items-column {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.items-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.items-header {
  padding: 1.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
}

.acceptable-header {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.non-acceptable-header {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.item-category {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.item-category:last-child {
  border-bottom: none;
}

.item-category:hover {
  background: rgba(0, 0, 0, 0.02);
}

.item-icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.5rem;
}

.acceptable-icon {
  background: #4CAF50;
}

.non-acceptable-icon {
  background: #f44336;
}

.special-icon {
  background: var(--patriot-blue);
}

.item-content h4 {
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.item-content p {
  color: var(--medium-text);
  line-height: 1.5;
  font-size: 0.95rem;
}

.special-notes {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin-top: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.special-notes-header {
  background: linear-gradient(135deg, var(--patriot-blue) 0%, #2d4a87 100%);
  padding: 1.5rem;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.special-note-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

/* Mobile responsiveness for items section */
@media (max-width: 768px) {
  .items-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .item-category {
    padding: 1rem;
  }
  
  .items-header {
    padding: 1rem;
  }
  
  .special-note-item {
    padding: 1rem;
  }
}

/* Contact Section */
.contact-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(178, 34, 52, 0.15) 0%, rgba(60, 59, 110, 0.15) 100%);
  border-radius: 20px;
  padding: 3rem;
  margin: 3rem 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.contact-item h4 {
  color: var(--patriot-red);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--patriot-blue) 0%, #2d4a87 100%);
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-stars {
  font-size: 2rem;
  color: var(--patriot-red);
  margin-bottom: 1rem;
  animation: starPulse 3s ease-in-out infinite;
}

/* Add missing starPulse animation */
@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .hero h1 {
    font-size: 2.5rem;
    padding: 0 1rem;
  }

  .hero h1::before,
  .hero h1::after {
    display: none;
  }

  /* Hide pseudo elements that cause overflow */
  .section-header h2::before,
  .section-header h2::after {
    display: none;
  }

  /* Ensure all sections don't overflow */
  .section,
  .section-light,
  .section-grey,
  .section-dark,
  .section-accent {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Prevent animations from causing overflow */
  .slide-in-left,
  .slide-in-right,
  .feature-item:hover {
    transform: none !important;
  }

  /* Fix parallax layers on mobile */
  .parallax-layer {
    width: 100%;
    left: 0;
  }

  /* Ensure widget container doesn't cause overflow */
  .widget-container {
    right: 10px;
    max-width: calc(100vw - 20px);
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.best-deal {
    transform: none;
  }
  
  .pricing-card.best-deal:hover {
    transform: translateY(-10px);
  }
  
  .trust-elements {
    grid-template-columns: 1fr;
  }

  .features-section {
    padding: 2rem 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
    padding: 0 0.5rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    margin: 0.3rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
    padding: 0 0.5rem;
  }

  /* Extra precautions for small screens */
  * {
    max-width: 100vw !important;
  }
  
  .hero-content {
    padding: 1rem;
    max-width: 100%;
  }
}

/* Advanced scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

.rotate-in {
  opacity: 0;
  transform: rotateY(90deg);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate-in.visible {
  opacity: 1;
  transform: rotateY(0deg);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Counter animation */
.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--patriot-red);
}

/* Typing effect */
.typing-effect {
  overflow: hidden;
  border-right: 3px solid var(--patriot-red);
  white-space: nowrap;
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--patriot-red); }
}

/* Pulse effect for important elements */
.pulse-effect {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Modern gradient text */
.gradient-text {
  background: linear-gradient(45deg, var(--patriot-red), var(--patriot-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Patriotic pulse animation */
.patriotic-pulse {
  animation: patrioticPulse 4s ease-in-out infinite;
}

@keyframes patrioticPulse {
  0%, 100% {
    background: linear-gradient(45deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
  }
  33% {
    background: linear-gradient(45deg, var(--patriot-blue) 0%, var(--patriot-white) 50%, var(--patriot-red) 100%);
  }
  66% {
    background: linear-gradient(45deg, var(--patriot-white) 0%, var(--patriot-red) 50%, var(--patriot-blue) 100%);
  }
}

@keyframes starFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Universal Button Hover Animation */
.animated-button,
button:not(.no-animation),
input[type="submit"]:not(.no-animation),
input[type="button"]:not(.no-animation),
.btn:not(.no-animation) {
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.animated-button:hover,
button:not(.no-animation):hover,
input[type="submit"]:not(.no-animation):hover,
input[type="button"]:not(.no-animation):hover,
.btn:not(.no-animation):hover {
  animation: borderGlowUniversal 2s ease-in-out infinite;
}

@keyframes borderGlowUniversal {
  0%, 100% {
    border-color: var(--patriot-white);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
  }
  25% {
    border-color: var(--patriot-blue);
    box-shadow: 0 0 0 2px rgba(60, 59, 110, 0.4), 0 0 20px rgba(60, 59, 110, 0.3);
  }
  50% {
    border-color: var(--patriot-red);
    box-shadow: 0 0 0 2px rgba(178, 34, 52, 0.4), 0 0 20px rgba(178, 34, 52, 0.3);
  }
  75% {
    border-color: var(--patriot-blue);
    box-shadow: 0 0 0 2px rgba(60, 59, 110, 0.4), 0 0 20px rgba(60, 59, 110, 0.3);
  }
}

/* Patriotic border cycling animation for special buttons */
@keyframes patrioticBorderCycle {
  0% {
    border-color: var(--patriot-red);
    box-shadow: 0 0 0 2px rgba(178, 34, 52, 0.4), 0 0 15px rgba(178, 34, 52, 0.3);
  }
  33% {
    border-color: var(--patriot-white);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6), 0 0 15px rgba(255, 255, 255, 0.4);
  }
  66% {
    border-color: var(--patriot-blue);
    box-shadow: 0 0 0 2px rgba(60, 59, 110, 0.4), 0 0 15px rgba(60, 59, 110, 0.3);
  }
  100% {
    border-color: var(--patriot-red);
    box-shadow: 0 0 0 2px rgba(178, 34, 52, 0.4), 0 0 15px rgba(178, 34, 52, 0.3);
  }
}

/* Apply patriotic cycling to primary action buttons */
.cta-button:hover,
.pricing-cta:hover,
.primary-action:hover {
  animation: patrioticBorderCycle 3s ease-in-out infinite;
}

/* Animated Patriotic Gradient Border */
.patriotic-border-shimmer {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem 3rem;
  display: inline-block;
  margin: 2rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.patriotic-border-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(90deg,
    var(--patriot-red) 0%,
    var(--patriot-white) 25%,
    var(--patriot-blue) 50%,
    var(--patriot-white) 75%,
    var(--patriot-red) 100%);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: patrioticShimmer 3s linear infinite;
  pointer-events: none;
}

@keyframes patrioticShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.patriotic-border-shimmer h3 {
  color: var(--patriot-blue);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-align: center;
}

.patriotic-border-shimmer p {
  color: var(--dark-text);
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
}

/* Mobile responsiveness for shimmer border */
@media (max-width: 768px) {
  .patriotic-border-shimmer {
    padding: 1.5rem 2rem;
    margin: 1.5rem auto;
  }
  
  .patriotic-border-shimmer h3 {
    font-size: 1.5rem;
  }
  
  .patriotic-border-shimmer p {
    font-size: 1rem;
  }
}