/* Cloud Kitchen Regional Cuisines - Main CSS */
/* Bootstrap 5 Integration */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* FontAwesome Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Color Palette - 5 primary colors with light/dark shades */
:root {
  /* Primary Colors */
  --primary-orange: #ff6b35;
  --primary-orange-light: #ff8b65;
  --primary-orange-dark: #e55a2d;
  
  --primary-green: #4a7c59;
  --primary-green-light: #6b9c78;
  --primary-green-dark: #3a6247;
  
  --primary-cream: #fef5e7;
  --primary-cream-light: #fff9f2;
  --primary-cream-dark: #f0e6d2;
  
  --primary-burgundy: #8b2635;
  --primary-burgundy-light: #a64355;
  --primary-burgundy-dark: #701e2b;
  
  --primary-gold: #f4c430;
  --primary-gold-light: #f6d060;
  --primary-gold-dark: #daa925;
  
  /* Gradients */
  --gradient-warm: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-gold) 100%);
  --gradient-natural: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-cream) 100%);
  --gradient-rich: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-orange) 100%);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Conservative font sizes */
  --fs-logo: 1.5rem;
  --fs-h1: 2.25rem;
  --fs-h2: 1.75rem;
  --fs-h3: 1.5rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
}

/* Base Styles */
body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin-bottom: 1rem;
  max-width: none;
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-cream);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: var(--fs-logo);
  font-weight: 700;
  color: var(--primary-orange) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-orange) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-warm);
  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: white;
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--fs-body);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--primary-orange);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--primary-cream);
}

.about-features {
  margin-top: 3rem;
}

.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.about-feature h4 {
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.about-feature p {
  color: #666;
  margin-bottom: 0;
}

/* Services Section */
.services {
  background: white;
}

.services-grid {
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 450px;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  background: var(--gradient-natural);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  flex-shrink: 0;
}

.service-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-name {
  font-size: var(--fs-h3);
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
  word-wrap: break-word;
  line-height: 1.3;
}

.service-desc {
  color: #666;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 4.5em;
  text-overflow: ellipsis;
}

.service-features {
  margin-bottom: 1.5rem;
  flex: 1;
  word-wrap: break-word;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  max-height: 5.6em;
  text-overflow: ellipsis;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.25rem 0;
  color: #666;
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-green);
  margin-right: 0.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-align: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--primary-cream);
  flex-shrink: 0;
}

/* Features Section */
.features {
  background: var(--primary-cream);
}

.features-grid {
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.feature-item h4 {
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.feature-item p {
  color: #666;
  margin-bottom: 0;
}

/* Price Plan Section */
.priceplan {
  background: white;
}

.priceplan-grid {
  margin-top: 3rem;
}

.priceplan-card {
  background: white;
  border: 2px solid var(--primary-cream);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.priceplan-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
}

.priceplan-card.featured {
  border-color: var(--primary-orange);
  background: var(--gradient-warm);
  color: white;
}

.priceplan-name {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
  word-wrap: break-word;
  line-height: 1.3;
}

.priceplan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.priceplan-card.featured .priceplan-price {
  color: white;
}

.priceplan-features {
  flex: 1;
  word-wrap: break-word;
  line-height: 1.4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.priceplan-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  max-height: 8.4em;
  text-overflow: ellipsis;
}

.priceplan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--primary-cream);
}

.priceplan-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-green);
  margin-right: 0.5rem;
}

/* Team Section */
.team {
  background: var(--primary-cream);
}

.team-grid {
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-natural);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.team-name {
  font-size: var(--fs-h3);
  color: var(--primary-burgundy);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 0;
}

/* Reviews Section */
.reviews {
  background: white;
}

.reviews-slider {
  margin-top: 3rem;
}

.review-card {
  background: var(--primary-cream);
  border-radius: 20px;
  padding: 2rem;
  margin: 0 1rem;
  text-align: center;
}

.review-text {
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-burgundy);
  margin-bottom: 0;
}

.review-stars {
  color: var(--primary-gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Case Studies Section */
.casestudy {
  background: var(--primary-cream);
}

.casestudy-grid {
  margin-top: 3rem;
}

.casestudy-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.casestudy-title {
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.casestudy-desc {
  color: #666;
  margin-bottom: 0;
}

/* Process Section */
.process {
  background: white;
}

.process-steps {
  margin-top: 3rem;
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-right: 2rem;
  flex-shrink: 0;
}

.process-content h4 {
  color: var(--primary-burgundy);
  margin-bottom: 0.5rem;
}

.process-content p {
  color: #666;
  margin-bottom: 0;
}

/* Timeline Section */
.timeline {
  background: var(--primary-cream);
}

.timeline-items {
  margin-top: 3rem;
  position: relative;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-orange);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 45%;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 5%;
}

.timeline-date {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: var(--fs-small);
}

.timeline-title {
  color: var(--primary-burgundy);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: #666;
  margin-bottom: 0;
}

/* Career Section */
.career {
  background: white;
}

.career-grid {
  margin-top: 3rem;
}

.career-card {
  background: var(--primary-cream);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
}

.career-title {
  color: var(--primary-burgundy);
  margin-bottom: 0.5rem;
}

.career-role {
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 1rem;
}

.career-desc {
  color: #666;
  margin-bottom: 0;
}

/* Core Info Section */
.coreinfo {
  background: var(--primary-cream);
}

.coreinfo-grid {
  margin-top: 3rem;
}

.coreinfo-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.coreinfo-card i {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.coreinfo-title {
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.coreinfo-desc {
  color: #666;
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  background: white;
}

.contact-form {
  background: var(--primary-cream);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 3rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-control {
  border: 2px solid var(--primary-cream-dark);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: var(--fs-body);
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .form-check-input {
  margin-top: 0.25rem;
}

.contact-form .form-check-label {
  font-size: var(--fs-small);
  color: #666;
}

.btn-primary {
  background: var(--gradient-warm);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-info {
  margin-top: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

.contact-info-item p {
  margin-bottom: 0;
  color: #666;
}

/* Blog Section */
.blog {
  background: var(--primary-cream);
}

.blog-grid {
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  background: var(--gradient-natural);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  background: white;
}

.faq-items {
  margin-top: 3rem;
}

.faq-item {
  background: var(--primary-cream);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: white;
  border: none;
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-burgundy);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-cream-light);
}

.faq-question::after {
  content: '\f067';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  float: right;
  color: var(--primary-orange);
}

.faq-question.active::after {
  content: '\f068';
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Gallery Section */
.gallery {
  background: var(--primary-cream);
  padding: 4rem 0;
}

.gallery-grid {
  margin-top: 3rem;
}

.gallery-item {
  margin-bottom: 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: var(--primary-burgundy);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom small {
  color: rgba(255,255,255,0.7);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--primary-cream);
  padding: 1rem 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb-nav img {
  max-height: 40px;
  width: auto;
}

/* Utilities */
.text-primary { color: var(--primary-orange) !important; }
.text-secondary { color: var(--primary-burgundy) !important; }
.bg-primary { background: var(--primary-orange) !important; }
.bg-secondary { background: var(--primary-burgundy) !important; }
.bg-gradient { background: var(--gradient-warm) !important; }

/* Lightbox2 customizations */
.lightbox {
  border-radius: 10px;
}

/* Space page specific */
#space {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-cream);
  font-size: 2rem;
  color: var(--primary-burgundy);
  text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-warm);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    color: white;
    text-decoration: none;
}

/* Slider controls for testimonials */
.reviews-slider {
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-orange);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-cream);
    border-top: 3px solid var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form validation states */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: var(--primary-green);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Testimonial slider dots */
.slider-dots {
    text-align: center;
    margin-top: 2rem;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-cream-dark);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-orange);
}

/* Image lazy loading effects */
.lozad {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lozad.loaded {
    opacity: 1;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print improvements */
@media print {
    .back-to-top,
    .slider-btn {
        display: none !important;
    }
} 


/* 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;
    }
}

/* Дополнительные правила для переноса слов */
.service-card *, .priceplan-card * {
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

.service-card h3, .priceplan-card h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
