:root {
  /* Pet Camera Theme Color Palette */
  --primary-color: #2c5aa0;
  --primary-light: #4a7bc8;
  --primary-dark: #1a3d6f;
  
  --secondary-color: #ff6b35;
  --secondary-light: #ff8a5c;
  --secondary-dark: #cc4621;
  
  --accent-color: #28a745;
  --accent-light: #4caf6e;
  --accent-dark: #1e7e34;
  
  --neutral-color: #6c757d;
  --neutral-light: #8e9aaa;
  --neutral-dark: #495057;
  
  --success-color: #17a2b8;
  --success-light: #46b8cc;
  --success-dark: #117a8b;
  
  /* Text and Background */
  --text-dark: #212529;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  
  /* Conservative Font Sizes */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --h1-size: 2.2rem;
  --h2-size: 1.8rem;
  --h3-size: 1.5rem;
  --navbar-brand-size: 1.4rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* 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 {
  font-size: var(--h1-size);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h2 {
  font-size: var(--h2-size);
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
}

h3 {
  font-size: var(--h3-size);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  box-shadow: 0 2px 10px rgba(44, 90, 160, 0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::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-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero-decorative:nth-child(1) {
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-decorative:nth-child(2) {
  bottom: 20%;
  left: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(44, 90, 160, 0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(44, 90, 160, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 1rem 0;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border-left: 4px solid var(--accent-color);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Price Plans */
.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.priceplan-card {
  background: var(--bg-white);
  border: 2px solid var(--bg-light);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.3s ease;
}

.priceplan-card:hover {
  border-color: var(--primary-color);
}

.priceplan-card.featured {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.priceplan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: var(--bg-white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-light);
}

/* Reviews/Testimonials */
.reviews-slider {
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* FAQ Section */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--bg-light);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--bg-light);
  padding: 1.5rem;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-light);
  color: white;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--bg-light);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--neutral-dark) 0%, var(--text-dark) 100%);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer a {
  color: var(--bg-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--bg-light);
}

.breadcrumb-container img {
  max-height: 30px;
  width: auto;
}

/* Utility Classes */
.section-padding {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
} 


/* 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;
    }
}
