/* Green Data Center Template - Main CSS */

/* ===== COLOR VARIABLES ===== */
:root {
  /* Primary Green Colors */
  --primary-green: #297d4f;
  --primary-green-light: #49b184;
  --primary-green-dark: #1e5b46;
  
  /* Secondary Colors */
  --accent-blue: #538ab7;
  --accent-blue-light: #95d2ee;
  --accent-blue-dark: #315a82;
  
  /* Neutral Colors */
  --neutral-gray: #7e8e9e;
  --neutral-gray-light: #F8F9FA;
  --neutral-gray-dark: #48525a;
  
  /* Earth Colors */
  --earth-brown: #827557;
  --earth-brown-light: #e0c585;
  --earth-brown-dark: #513b22;
  
  /* Fresh Colors */
  --fresh-mint: #b3ffac;
  --fresh-mint-light: #F0FFF0;
  --fresh-mint-dark: #187519;
  
  /* Text Colors */
  --text-primary: #3d5263;
  --text-secondary: #677884;
  --text-light: #ffffff;
  
  /* Background Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--fresh-mint-light) 0%, var(--neutral-gray-light) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--accent-blue-dark) 50%, var(--earth-brown-dark) 100%);
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--neutral-gray-light);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.56rem;
  color: var(--text-light);
}

h2 {
  font-size: 2rem;
  color: var(--primary-green-dark);
}

h3 {
  font-size: 1.56rem;
  color: var(--accent-blue-dark);
}

h4 {
  font-size: 1.28rem;
  color: var(--text-primary);
}

h5, h6 {
  font-size: 1.23rem;
  color: var(--text-secondary);
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #2196f3;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(11px);
  box-shadow: 0 6px 11px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.53rem;
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-green-dark);
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-green);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../SAF_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section img {
  width: 100%;
  height: auto;
  max-width: 600px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  overflow: hidden;
}

.about-section,
.coreinfo-section {
  background: var(--gradient-secondary);
}

.services-section,
.priceplan-section {
  background: linear-gradient(135deg, var(--fresh-mint-light) 0%, var(--accent-blue-light) 100%);
}

.features-section,
.process-section {
  background: var(--neutral-gray-light);
}

.team-section,
.reviews-section {
  background: linear-gradient(135deg, var(--earth-brown-light) 0%, var(--fresh-mint-light) 100%);
}

.timeline-section,
.career-section {
  background: var(--fresh-mint-light);
}

.casestudy-section,
.blog-section {
  background: var(--neutral-gray-light);
}

.faq-section {
  background: linear-gradient(135deg, var(--accent-blue-light) 0%, var(--fresh-mint-light) 100%);
}

.gallery-section {
  background: var(--neutral-gray-dark);
}

.contact-section {
  background: var(--gradient-secondary);
}

/* ===== CARDS ===== */
.feature-card,
.service-card,
.price-card,
.team-member,
.review-card,
.case-card,
.info-card,
.blog-card,
.faq-item,
.career-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover,
.service-card:hover,
.price-card:hover,
.info-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card {
  text-align: center;
}

.service-image {
  width: 100%;
  height: 200px;
  max-width: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-content li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

.service-content li::before {
  content: '“';
  color: var(--primary-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

.price {
  font-size: 1.62rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 1rem;
}

/* ===== PRICE CARDS ===== */
.price-card {
  position: relative;
}

.price-card.featured {
  border: 3px solid var(--primary-green);
  transform: scale(1.05);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.91rem;
  font-weight: 600;
}

.price-amount {
  font-size: 2.55rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 1rem 0;
}

.price-amount span {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ===== TEAM SECTION ===== */
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-green);
}

/* ===== FEATURES SECTION ===== */
.feature-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateX(5px);
}

.feature-item i {
  color: var(--primary-green);
}

/* ===== PROCESS SECTION ===== */
.process-step {
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.64rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* ===== TIMELINE SECTION ===== */
.timeline-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-green);
}

/* ===== GALLERY SECTION ===== */
.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control {
  border: 2px solid var(--neutral-gray-light);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(37, 118, 83, 0.25);
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.13rem;
}

.contact-info i {
  color: var(--primary-green);
  margin-right: 1rem;
  width: 20px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 118, 81, 0.40);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--neutral-gray-dark);
  color: var(--text-light);
}

.footer h5,
.footer h6 {
  color: var(--fresh-mint);
}

.footer a {
  color: var(--neutral-gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--fresh-mint);
}

.footer hr {
  border-color: var(--neutral-gray);
  margin: 2rem 0 1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILITIES ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  position: relative;
}

.bg-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(62, 145, 106, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(70, 162, 205, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.82rem;
  }
  
  .hero-section {
    padding-top: 100px;
    text-align: center;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.37rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.26rem;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    margin-bottom: 1.75rem;
  }
  
  .gallery-image {
    height: 200px;
  }
}

/* ===== ACCESSIBILITY ===== */
.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;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #0e442d;
    --accent-blue: #2c667d;
    --text-primary: #000000;
    --text-secondary: #313131;
  }
  
  .card,
  .feature-card,
  .service-card,
  .price-card {
    border: 2px solid var(--text-primary);
  }
} 

.hero-section h1 {
    padding-top: 100px;
}


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
