/* ============================================
   Velvedet - Modern Stylesheet
   ============================================ */

/* Animated Background Elements */
body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating Shapes Animation */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  bottom: 10%;
  left: 20%;
  animation-delay: 10s;
}

.shape-4 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  top: 30%;
  right: 30%;
  animation-delay: 15s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Animated Grid Pattern */
.animated-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(26, 26, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 46, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #0f3460;
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-services: #16213e;
  --border-color: #e9ecef;
  --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 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  width: 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%;
}

* {
  box-sizing: border-box;
}

main {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-slow);
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Header */
.header-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition-base);
}

.header-modern.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background: #000000;
}

.navbar {
  padding: var(--spacing-sm) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  height: 60px;
  cursor: pointer;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: var(--transition-base);
  filter: brightness(0) invert(1);
}

.navbar-brand:hover .logo-img {
  transform: scale(1.05);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .navbar-brand {
    height: 50px;
  }
  
  .logo-img {
    height: 40px;
    max-width: 140px;
  }
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #ffffff;
  padding: var(--spacing-xs) var(--spacing-md);
  margin: 0 var(--spacing-xs);
  position: relative;
  transition: var(--transition-base);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff;
  opacity: 0.9;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) contrast(1.1);
  animation: heroImageZoom 20s ease-in-out infinite;
}

@keyframes heroImageZoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(15, 52, 96, 0.6) 100%);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(26, 26, 46, 0.3) 100%);
  z-index: 1;
}

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

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero {
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  font-size: var(--font-size-base);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline-primary:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Sections */
.section-modern {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.about-section {
  padding-top: var(--spacing-2xl);
  background: linear-gradient(to bottom, #ffffff 0%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at top left, rgba(26, 26, 46, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(15, 52, 96, 0.03) 0%, transparent 50%);
  z-index: 0;
  animation: aboutFloat 12s ease-in-out infinite;
}

@keyframes aboutFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.services-section {
  background: linear-gradient(135deg, var(--bg-services) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: servicesPulse 10s ease-in-out infinite;
  z-index: 0;
}

.services-section::after {
  content: '';
  position: absolute;
  top: -100%;
  right: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  animation: servicesRotate 25s linear infinite;
  z-index: 0;
}

@keyframes servicesPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes servicesRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.clients-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.cv-section {
  background: linear-gradient(to bottom, var(--bg-light) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.cv-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at top right, rgba(26, 26, 46, 0.02) 0%, transparent 50%);
  z-index: 0;
}

.cv-section .container {
  position: relative;
  z-index: 1;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(26, 26, 46, 0.02) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: clientsShimmer 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes clientsShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.clients-section .container {
  position: relative;
  z-index: 1;
}

.contact-section {
  background: linear-gradient(to bottom, #ffffff 0%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(26, 26, 46, 0.02) 0%, transparent 70%);
  animation: contactPulse 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes contactPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

/* Map Container */
.map-container {
  margin-top: var(--spacing-xl);
  text-align: center;
}

.map-title {
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.map-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.map-address {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin-top: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.map-address i {
  color: var(--accent-color);
  margin-right: var(--spacing-xs);
}

@media (max-width: 768px) {
  .map-wrapper iframe {
    height: 350px;
  }

  .map-title {
    font-size: var(--font-size-xl);
  }

  .map-address {
    font-size: var(--font-size-sm);
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .map-wrapper iframe {
    height: 300px;
  }

  .map-container {
    margin-top: var(--spacing-lg);
  }
}

/* PDF Viewer */
.pdf-viewer-container {
  width: 100%;
  margin: var(--spacing-lg) 0;
}

.pdf-viewer-wrapper {
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pdf-viewer {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
  background: #f5f5f5;
  border-radius: var(--radius-md);
}

.pdf-fallback {
  padding: var(--spacing-xl);
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin: var(--spacing-md) 0;
}

.pdf-link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
}

.pdf-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .pdf-viewer {
    height: 700px;
  }
}

@media (max-width: 768px) {
  .pdf-viewer-wrapper {
    padding: var(--spacing-sm);
  }

  .pdf-viewer {
    height: 600px;
  }
}

@media (max-width: 576px) {
  .pdf-viewer-wrapper {
    padding: var(--spacing-xs);
  }

  .pdf-viewer {
    height: 500px;
  }
}

/* Section Titles */
.section-title-modern {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.section-title-light {
  color: var(--text-light);
}

.title-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--accent-color), var(--primary-color));
  margin: 0 auto var(--spacing-lg);
  border-radius: 2px;
}

.title-divider-light {
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.5));
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.section-description-light {
  color: rgba(255, 255, 255, 0.9);
}

/* About Cards */
.about-card {
  background: #ffffff;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition-base);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-card-title {
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: var(--spacing-sm);
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.about-image-wrapper img {
  transition: var(--transition-slow);
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  max-width: 100%;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.value-item {
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-color);
  transition: var(--transition-base);
}

.value-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.value-item strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: var(--spacing-xs);
}

/* Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  height: 100%;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: var(--transition-slow);
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

.service-icon-wrapper {
  margin-bottom: var(--spacing-md);
}

.service-icon {
  font-size: 3rem;
  color: var(--text-light);
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: var(--font-size-xl);
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.service-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: var(--font-size-base);
}

/* Client Cards */
.client-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.client-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.client-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.client-image-wrapper {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.client-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition-base);
}

.client-card:hover .client-image {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.client-name {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

/* Contact Cards */
.contact-info-card {
  background: #ffffff;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition-base);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon-wrapper {
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  transition: var(--transition-base);
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1);
  color: var(--primary-color);
}

.contact-info-title {
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.contact-info-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.contact-link {
  color: var(--accent-color);
  font-weight: 500;
  transition: var(--transition-base);
}

.contact-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Footer */
.footer-modern {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.copyright-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-base);
}

.copyright-text strong {
  color: var(--text-light);
  font-weight: 600;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transition-base);
  z-index: 999;
  text-decoration: none;
  animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  background: #20BA5A;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
  transform: translateY(-3px) scale(1.05);
}

.whatsapp-btn i {
  position: relative;
  z-index: 2;
  animation: whatsappIconPulse 2s ease-in-out infinite;
}

.whatsapp-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes whatsappFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes whatsappIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 998;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 992px) {
  .section-title-modern {
    font-size: var(--font-size-3xl);
  }
  
  .about-card,
  .service-card,
  .contact-info-card {
    margin-bottom: var(--spacing-md);
  }

  .hero-section {
    padding-top: 120px;
    min-height: 70vh;
  }

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

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

@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
    --spacing-2xl: 3rem;
    --spacing-xl: 2rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
  
  .section-modern {
    padding: var(--spacing-xl) 0;
  }
  
  .about-section {
    padding-top: var(--spacing-xl);
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: var(--spacing-xl);
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    padding: 0 15px;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    padding: 0 15px;
  }

  .hero-description {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
    padding: 0 15px;
  }

  .hero-buttons {
    justify-content: center;
    padding: 0 15px;
    gap: var(--spacing-sm);
  }

  .btn-hero {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .navbar {
    padding: var(--spacing-xs) 0;
  }

  .navbar-brand {
    padding: var(--spacing-xs) 0;
  }
  
  .navbar-nav .nav-link {
    padding: var(--spacing-xs) 0;
    margin: 0;
    text-align: center;
  }

  .navbar-nav {
    padding: var(--spacing-md) 0;
  }
  
  .about-card,
  .service-card,
  .contact-info-card {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .client-image-wrapper {
    height: 100px;
    padding: var(--spacing-xs);
  }

  .about-image-wrapper {
    max-width: 100%;
    margin: var(--spacing-md) auto;
  }

  .about-image-wrapper img {
    max-height: 250px;
    width: 100%;
  }

  .section-title-modern {
    padding: 0 15px;
  }

  .section-description {
    padding: 0 15px;
  }
  
  .whatsapp-btn {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top-btn {
    width: 45px;
    height: 45px;
    bottom: 85px;
    right: 20px;
  }

  .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  .row > * {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-section {
    padding-top: 80px;
    min-height: 50vh;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-title {
    font-size: 1.75rem;
    padding: 0 10px;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    padding: 0 10px;
  }

  .hero-description {
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .section-title-modern {
    font-size: var(--font-size-2xl);
    padding: 0 10px;
  }
  
  .title-divider {
    width: 60px;
  }
  
  .about-card-title {
    font-size: var(--font-size-xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 10px;
  }

  .btn-hero {
    width: 100%;
    max-width: 100%;
  }

  .about-card,
  .service-card,
  .contact-info-card {
    padding: var(--spacing-md);
  }

  .section-modern {
    padding: var(--spacing-lg) 0;
  }

  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .row > * {
    padding-left: 10px;
    padding-right: 10px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    bottom: 15px;
    right: 15px;
  }

  .back-to-top-btn {
    width: 40px;
    height: 40px;
    bottom: 75px;
    right: 15px;
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .header-modern,
  .back-to-top-btn,
  #preloader {
    display: none;
  }
  
  .section-modern {
    page-break-inside: avoid;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-color: #000000;
  }
}
