/* ==========================================================================
   DRONE LIGHT-POLLUTION SURVEY SERVICE - MAIN CSS
   Modern 2025 Design with Bootstrap 5 Integration
   ========================================================================== */

/* Custom Properties (CSS Variables) */
:root {
  /* Primary Color Palette - 5 colors with light/dark variants */
  --primary-dark-blue: #182466;
  --primary-blue: #2a3baa;
  --primary-light-blue: #7284dd;
  
  --primary-teal: #007a5e;
  --primary-light-teal: #5ccbb8;
  --primary-dark-teal: #004936;
  
  --primary-purple: #9e1cb9;
  --primary-light-purple: #ba5cd2;
  --primary-dark-purple: #5d1f9b;
  
  --primary-amber: #ea8400;
  --primary-light-amber: #ffd21a;
  --primary-dark-amber: #d85004;
  
  --primary-cyan: #007fac;
  --primary-light-cyan: #44aacc;
  --primary-dark-cyan: #076168;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #fcfdff;
  --dark-gray: #484c4f;
  --black: #22272b;
  
  /* Gradient Combinations */
  --gradient-primary: linear-gradient(135deg, var(--primary-light-cyan) 0%, var(--primary-teal) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-light-teal) 0%, var(--primary-cyan) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-amber) 0%, var(--primary-light-amber) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-teal) 50%, var(--primary-cyan) 100%);
  
  /* Typography */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-max-width: 1200px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
  
  /* Borders */
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark-blue);
}

h1 {
  font-size: 2.54rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.84rem;
}

h4 {
  font-size: 1.55rem;
}

h5 {
  font-size: 1.33rem;
}

h6 {
  font-size: 1.21rem;
}

p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

.lead {
  font-size: 1.18rem;
  font-weight: 300;
  color: var(--primary-teal);
}

/* Header & Navigation */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-size: 1.52rem;
  font-weight: 700;
  color: var(--primary-dark-blue);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-teal);
}

/* Bootstrap 5 Navbar Toggler */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(71, 66, 170, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-nav .nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-teal);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--white);
    padding-top: 175px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.55rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.57rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.12rem;
  margin-bottom: 2.55rem;
  opacity: 0.8;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-dark-blue);
}

.section-subtitle {
  text-align: center;
  color: var(--primary-teal);
  font-weight: 300;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--border-radius);
  background: var(--light-gray);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.about-feature-name {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background: var(--light-gray);
}

.service-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.59rem;
}

.service-item-name {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.service-item-desc {
  color: var(--dark-gray);
  margin-bottom: 1.63rem;
}

.service-item-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.61rem;
}

.service-item-features li {
  padding: 0.25rem 0;
  color: var(--primary-teal);
}

.service-item-features li::before {
  content: '✓';
  color: var(--primary-teal);
  font-weight: bold;
  margin-right: 0.5rem;
}

.service-item-price {
  font-size: 1.59rem;
  font-weight: 700;
  color: var(--primary-purple);
}

/* Features Section */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.feature-item-name {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan {
  background: var(--gradient-secondary);
  color: var(--white);
}

.priceplan .section-title,
.priceplan .section-subtitle,
.priceplan .section-desc {
  color: var(--white);
}

.priceplan-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.priceplan-item:hover {
  transform: translateY(-5px);
}

.priceplan-item-name {
  color: var(--white);
  margin-bottom: 1rem;
}

.priceplan-item-desc {
  margin-bottom: 1.63rem;
  opacity: 0.9;
}

.priceplan-item-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.73rem;
}

.priceplan-item-features li {
  padding: 0.25rem 0;
  opacity: 0.9;
}

.priceplan-item-features li::before {
  content: '✓';
  color: var(--primary-light-amber);
  font-weight: bold;
  margin-right: 0.5rem;
}

.priceplan-item-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light-amber);
}

/* Team Section */
.team {
  background: var(--light-gray);
}

.team-member {
  text-align: center;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-member-name {
  color: var(--primary-dark-blue);
  margin-bottom: 0.66rem;
}

.team-member-role {
  color: var(--primary-teal);
  font-weight: 500;
}

/* Reviews Section */
.review-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.review-item::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light-teal);
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: serif;
}

.review-item-text {
  margin-bottom: 1.56rem;
  font-style: italic;
}

.review-item-author {
  color: var(--primary-dark-blue);
  font-weight: 600;
}

/* Case Study Section */
.casestudy {
  background: var(--light-gray);
}

.casestudy-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.casestudy-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.casestudy-item-title {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

/* Process Section */
.process-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-item::before {
  content: counter(process-counter);
  counter-increment: process-counter;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.27rem;
}

.process {
  counter-reset: process-counter;
}

.process-item-title {
  margin-top: 3rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

/* Timeline Section */
.timeline {
  background: var(--light-gray);
}

.timeline-item {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-teal);
  border-radius: 50%;
}

.timeline-item-title {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

/* Career Section */
.career-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.career-item-title {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.career-item-role {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Core Info Section */
.coreinfo {
  background: var(--gradient-primary);
  color: var(--white);
}

.coreinfo .section-title,
.coreinfo .section-subtitle,
.coreinfo .section-desc {
  color: var(--white);
}

.coreinfo-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  height: 100%;
  backdrop-filter: blur(10px);
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--primary-light-amber);
  margin-bottom: 1rem;
}

.coreinfo-item-title {
  color: var(--white);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background: var(--light-gray);
}

.contact-form {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-form .form-control {
  border: 2px solid var(--medium-gray);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(69, 69, 164, 0.25);
}

.contact-form .btn {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info {
  padding: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

/* Form Validation Styles */
.form-control.is-valid {
  border-color: var(--primary-teal);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2300695c' d='m2.3 6.73.2.26.49-.49-.25-.25-.24.24-.26-.23zm2.25-.24-.23-.24-.26.24.23.24.26-.24z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
  border-color: var(--primary-purple);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%237b1fa2'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4m0-1.4-1.4 1.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
  display: block;
  color: var(--primary-purple);
  font-size: 0.89rem;
  margin-top: 0.44rem;
}

.valid-feedback {
  display: block;
  color: var(--primary-teal);
  font-size: 0.95rem;
  margin-top: 0.42rem;
}

/* Contact Methods (additional_page3.html) */
.contact-method {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

.contact-method i {
  margin-bottom: 1rem;
}

.contact-method h5 {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.contact-method p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* Blog Section */
.blog-item {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-item-content {
  padding: 2rem;
}

.blog-item-title {
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.blog-item-excerpt {
  color: var(--dark-gray);
  margin-bottom: 1.55rem;
}

.blog-item-link {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 600;
}

.blog-item-link:hover {
  color: var(--primary-dark-teal);
}

/* FAQ Section */
.faq {
  background: var(--light-gray);
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  background: var(--primary-teal);
  color: var(--white);
  padding: 1.5rem;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  position: relative;
}

.faq-question:hover {
  background: var(--primary-dark-teal);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.56rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  color: var(--dark-gray);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Gallery Section */
.gallery {
  padding: 3rem 0;
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--primary-dark-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer a, footer h3 {
  color: var(--primary-light-cyan) !important;
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
}

.footer-brand {
  font-size: 1.58rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-desc {
  margin-bottom: 2rem;
  opacity: 0.8;
}

.footer-section h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  padding: 0.25rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.footer-bottom small {
  opacity: 0.7;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-top: 80px; /* Account for fixed navbar */
}

.breadcrumb ol {
  background: transparent;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
  opacity: 1;
}

/* Image Loading States */
img {
  transition: opacity 0.3s ease;
}

img:not(.loaded) {
  opacity: 0.7;
}

img.loaded {
  opacity: 1;
}

/* Lazy loading fallback */
img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  color: var(--white);
  z-index: 10000;
  max-width: 300px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-success {
  background: var(--primary-teal);
}

.notification-error {
  background: var(--primary-purple);
}

.notification-warning {
  background: var(--primary-amber);
  color: var(--black);
}

.notification-info {
  background: var(--primary-cyan);
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.scale-hover {
  transition: transform 0.3s ease;
}

.scale-hover:hover {
  transform: scale(1.05);
}

/* Space Page Specific */
#space {
  min-height: 60vh;
  background: var(--gradient-hero);
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.23rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.80rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.78rem;
  }
  
  .hero-subtitle {
    font-size: 1.17rem;
  }
  
  .navbar-brand {
    font-size: 1.35rem;
  }
  
  .gallery-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
} 


/* 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;
    }
}
