﻿/* ========================================
   NexzenSoft Website Styles
   ======================================== */

/* === Color Variables === */
:root {
  --primary-blue: #1A2A6C;
  --accent-orange: #F36C21;
  --neutral-gray: #A0A0A0;
  --white: #FFFFFF;
  --black: #000000;
  --light-bg: #F8F9FA;
  --header-height: 80px;
}

/* === Typography === */
html {
  font-size: 14px;
  scroll-padding-top: var(--header-height);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
}
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--black);
  line-height: 1.6;
  padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-blue);
}

/* === Header & Navigation === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.navbar {
  padding: 0.75rem 0;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  height: 50px;
  min-width: 120px;
  margin-bottom: 0.25rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--neutral-gray);
  font-weight: 300;
margin-left: 2px;
}

.nav-link {
  color: var(--primary-blue) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-orange) !important;
}

.nav-link.active {
  color: var(--accent-orange) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--accent-orange);
}

.nav-link-contact {
  color: var(--accent-orange) !important;
  font-weight: 600;
}

/* === Buttons === */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(243, 108, 33, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-hero {
  margin: 0.5rem;
  font-size: 1.1rem;
}

/* Hero section specific button overrides */
.hero-section .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--white);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-section .btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* === Hero Section === */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4494 100%);
  color: var(--white);
  padding: 8rem 2rem;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::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"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="10" r="0.3" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/>');
  opacity: 0.1;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* Floating elements for hero */
.hero-floating-1 {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.hero-floating-2 {
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 1;
}

.hero-floating-3 {
  position: absolute;
  top: 60%;
  right: 5%;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero-tagline {
  font-size: 2rem;
  color: var(--accent-orange);
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s;
  animation-fill-mode: both;
}

.hero-services-preview {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-preview-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInRight 0.8s ease-out 0.8s;
  animation-fill-mode: both;
}

.service-preview-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-preview-1 {
  transform: rotate(-2deg);
  animation-delay: 0.8s;
}

.service-preview-2 {
  transform: rotate(1deg);
  animation-delay: 1s;
}

.service-preview-3 {
  transform: rotate(-1deg);
  animation-delay: 1.2s;
}

.service-preview-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-preview-card h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-preview-card p {
  color: var(--black);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
  transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 6rem 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-services-preview {
    margin-top: 3rem;
  }

  .service-preview-card {
    animation: fadeInUp 0.8s ease-out;
  }

  .service-preview-1,
  .service-preview-2,
  .service-preview-3 {
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-tagline {
    font-size: 1.5rem;
  }
  .hero-section {
    padding: 5rem 1rem;
    text-align: center;
  }

  .hero-services-preview {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
  }

  .service-preview-card {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: 200px;
    padding: 1rem;
  }

  .service-preview-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .service-preview-card h4 {
    font-size: 1rem;
  }

  .service-preview-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .hero-services-preview {
    flex-direction: column;
  }

  .service-preview-card {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1rem;
  }
}

/* === Section Styles === */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.section-lead {
  font-size: 1.5rem;
  text-align: center;
  color: var(--accent-orange);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--black);
  line-height: 1.8;
}

.bg-light {
  background-color: var(--light-bg) !important;
}

/* === Services Section === */
.services-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(26, 42, 108, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(243, 108, 33, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(26, 42, 108, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(26, 42, 108, 0.05), rgba(243, 108, 33, 0.05));
  border-radius: 0 15px 0 100px;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-card:hover::before {
  background: linear-gradient(135deg, rgba(26, 42, 108, 0.1), rgba(243, 108, 33, 0.1));
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(26, 42, 108, 0.3);
  position: relative;
  z-index: 2;
}

.service-title {
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-description {
  color: var(--black);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.service-features li {
  color: var(--neutral-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* === Testimonials Section === */
.testimonials-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F36C21' opacity='0.1'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 60px;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231A2A6C' opacity='0.1'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonial-stat {
  text-align: center;
  font-size: 1.5rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-stat::before {
  content: '"';
  position: absolute;
  left: -20px;
  top: -10px;
  font-size: 4rem;
  color: rgba(243, 108, 33, 0.2);
  font-family: serif;
}

.testimonial-stat::after {
  content: '"';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 4rem;
  color: rgba(243, 108, 33, 0.2);
  font-family: serif;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  height: 100%;
  transition: box-shadow 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 3rem;
  color: rgba(26, 42, 108, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.testimonial-text {
  font-style: italic;
  color: var(--black);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* === About Page === */
.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(26, 42, 108, 0.05), rgba(243, 108, 33, 0.05));
  border-radius: 0 15px 0 80px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.stat-label {
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

/* === Contact Page === */
.contact-info {
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--black);
  margin: 0;
  line-height: 1.5;
}

.contact-form-container {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(26, 42, 108, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.form-title {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  position: relative;
  z-index: 2;
}

/* === Animations === */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Utility Classes === */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--accent-orange);
}

html {
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

/* === Responsive Adjustments === */
@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-top: var(--header-height);
  }

  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .philosophy-card, .testimonial-card {
  margin-bottom: 2rem;
  }
  
  .nav-link {
    margin: 0.25rem 0.5rem;
  }

  .logo {
    height: 35px;
  }
}

@media (max-width: 768px) {
    .footer .col-md-6 {
        margin-bottom: 0.5rem;
        background-color: dimgray;
        color: whitesmoke;
    }

    .footer  {
           background-color: dimgray;
        color: whitesmoke;
    }

    .footer .col-md-6:last-child {
        margin-bottom: 0;
       
    }

  .footer-tagline {
    display: block;
    margin-top: 0.25rem;
    margin-left: 0 !important;
  }

  .footer-divider {
  display: none;
  }


    .footer-link {
        display: block;
        margin-top: 0.5rem;
    }

  .service-card {
    margin-bottom: 2rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .contact-item {
    margin-bottom: 1.5rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  :root {
    --header-height: 65px;
  }

  body {
    padding-top: var(--header-height);
  }

  .btn-hero {
    display: block;
 width: 100%;
    margin: 0.5rem 0;
  }
  
  .logo {
    height: 35px;
  }

  .navbar {
 padding: 0.75rem 0;
  }

  .footer {
  padding: 0.625rem 0;
    margin-top: 2rem;
  }

  .contact-section {
    padding-bottom: 4rem !important;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .contact-form-container {
    padding: 1.5rem 1rem;
    margin-top: 1rem;
  }

  .form-title {
    font-size: 1.25rem;
  }
}

/* === Hero Section Graphics Enhancement === */
.hero-section::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"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="10" r="0.3" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/>');
  opacity: 0.1;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* Floating elements for hero */
.hero-floating-1 {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.hero-floating-2 {
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 1;
}

.hero-floating-3 {
  position: absolute;
  top: 60%;
  right: 5%;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* === Section Dividers === */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange), var(--primary-blue));
  margin: 3rem auto;
  border-radius: 2px;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, transparent, rgba(26, 42, 108, 0.1), transparent);
  border-radius: 4px;
}

/* === Enhanced Button Graphics === */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before, .btn-secondary::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;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
  left: 100%;
}

/* === Card Hover Graphics === */
.service-card, .philosophy-card, .testimonial-card, .stat-card, .contact-item {
  position: relative;
}

.service-card::after, .philosophy-card::after, .testimonial-card::after, .stat-card::after, .contact-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 42, 108, 0.02), rgba(243, 108, 33, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: 1;
}

.service-card:hover::after, .philosophy-card:hover::after, .testimonial-card:hover::after, .stat-card:hover::after, .contact-item:hover::after {
  opacity: 1;
}

/* === Background Pattern for Main Sections === */
.bg-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(26, 42, 108, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(243, 108, 33, 0.03) 0%, transparent 50%);
  background-size: 100px 100px;
}

/* === Enhanced Typography Graphics === */
.section-title {
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  border-radius: 2px;
}

/* === Icon Enhancements === */
.service-icon, .contact-icon {
  position: relative;
}

.service-icon::after, .contact-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-icon:hover::after, .contact-icon:hover::after {
  opacity: 0.3;
}

/* === Responsive Graphics Adjustments === */
@media (max-width: 768px) {
  .hero-floating-1, .hero-floating-2, .hero-floating-3 {
    display: none;
  }

  .expertise-section::before, .expertise-section::after {
    width: 150px;
    height: 150px;
  }

  .testimonials-section::before, .testimonials-section::after {
    width: 40px;
    height: 40px;
  }

  .section-divider {
    margin: 2rem auto;
  }
}

@media (max-width: 576px) {
  .expertise-section::before, .expertise-section::after {
    width: 100px;
    height: 100px;
  }

  .contact-form-container::before {
    width: 100px;
    height: 100px;
  }
}