:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-color: #646afd; /* Indigo - Royal Purple */
  --primary-light: #90a1ef;
  --primary-dark: #2a2ae2;
  
  --secondary-color: #f8358c; /* Pink - Historical Romance */
  --secondary-light: #f0acc6;
  --secondary-dark: #ad0647;
  
  --accent-color: #ddb009; /* Amber - Vintage Gold */
  --accent-light: #e5b30e;
  --accent-dark: #e7a31c;
  
  --neutral-color: #65707c; /* Gray - Sophisticated */
  --neutral-light: #eaeaea;
  --neutral-dark: #262d40;
  
  --success-color: #02a057; /* Emerald - Luxury */
  --success-light: #52d18b;
  --success-dark: #09643c;
  
  /* Background & Text */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #171d23;
  --text-secondary: #7a8089;
  --text-light: #abafb4;
}

/* Base Styles */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Conservative Font Sizes */
.navbar-brand {
  font-size: 1.28rem;
}

h1 {
  font-size: 2.53rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.56rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  backdrop-filter: blur(11px);
  box-shadow: 0 4px 24px rgba(115, 92, 255, 0.10);
  transition: all 0.3s ease;
}

.navbar-scrolled {
  box-shadow: 0 6px 30px rgba(120, 104, 220, 0.20);
}

.navbar-brand {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.navbar-brand:hover {
  color: white;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white;
}

/* Navbar Toggler Styling for Bootstrap 5 */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: none;
  width: 22px;
  height: 22px;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  border-radius: 2px;
}

.navbar-toggler-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.navbar-toggler-icon {
  background: white;
  height: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 19px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 11px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../DIG_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
    padding-top: 200px;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-decorative:nth-child(1) {
  top: 10%;
  right: 10%;
}

.hero-decorative:nth-child(2) {
  bottom: 20%;
  left: 15%;
  width: 150px;
  height: 150px;
}

/* Service Cards */
.service-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(123, 127, 249, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 11px;
  margin-bottom: 1.63rem;
}

.service-price {
  font-size: 1.63rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Feature Items */
.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-light);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-color);
}

/* Gallery */
.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Price Plan Cards */
.price-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.price-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.price-card.featured {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

/* FAQ Card */
.faq-card {
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Contact Form */
.contact-form {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 11px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--neutral-light);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(106, 121, 233, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--neutral-dark), var(--primary-dark));
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section:nth-child(even) {
  background-color: var(--bg-secondary);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 16px;
  height: 16px;
}

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(107, 127, 255, 0.10);
}

/* Process Steps */
.process-step {
  position: relative;
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.58rem;
  margin: 0 auto 1rem;
}

/* Timeline */
.timeline-item {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Career Items */
.career-item {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid var(--neutral-light);
  transition: border-color 0.3s ease;
}

.career-item:hover {
  border-color: var(--primary-color);
}

/* Core Info Grid */
.coreinfo-item {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-3px);
}

/* Blog Cards */
.blog-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Case Study Cards */
.casestudy-item {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-color);
}

/* Form Validation States */
.form-control.is-invalid {
  border-color: #c31f49;
  box-shadow: 0 0 0 0.2rem rgba(231, 44, 73, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.39rem;
  font-size: 0.96rem;
  color: #df435d;
}

/* Animation Classes */
.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading States */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced Hover Effects */
.service-card:hover .service-image {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Accessibility Enhancements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.faq-question:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
