/* ===============================
   Alt-Text SaaS Template - Main CSS
   =============================== */

/* Color Palette */
:root {
  --primary-color: #8475fe;
  --primary-light: #90a9ea;
  --primary-dark: #4d3eeb;
  --secondary-color: #0db070;
  --secondary-light: #71fcdc;
  --secondary-dark: #0b8d62;
  --accent-color: #f48c08;
  --accent-light: #f4a114;
  --accent-dark: #d48211;
  --info-color: #3265e8;
  --info-light: #9ccdf7;
  --info-dark: #2b5cbc;
  --warning-color: #ff5f71;
  --warning-light: #ffabb8;
  --warning-dark: #f45b42;
  --text-dark: #17212f;
  --text-light: #80858d;
  --text-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #10152c;
  --border-color: #fbfbfb;
}

/* FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--text-white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.63rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.57rem;
}

h4 {
  font-size: 1.31rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 13px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.53rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
  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;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 200px;
}

.hero h1 {
  font-size: 3.63rem;
  margin-bottom: 1.62rem;
  color: var(--text-white);
}

.hero p {
  font-size: 1.31rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
  background: var(--accent-color);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.52rem;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.18rem;
  color: var(--text-light);
}

/* About Section */
.about {
  background: var(--bg-light);
}

.feature-box {
  text-align: center;
  padding: 2rem;
  background: var(--text-white);
  border-radius: 16px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-9px);
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 80px 0;
}

.service-card {
  background: var(--text-white);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.service-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 1rem 0;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-card ul li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

/* Features Section */
.features {
  background: var(--bg-light);
}

/* Price Plan Section */
.price-plan {
  padding: 80px 0;
}

.price-card {
  background: var(--text-white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.price-card .features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-card .features li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

/* Team Section */
.team {
  background: var(--bg-light);
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--text-white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.team-member h4 {
  color: var(--primary-color);
  margin-bottom: 0.61rem;
}

.team-member p {
  color: var(--text-light);
  font-style: italic;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
}

.review-card {
  background: var(--text-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.review-card .rating {
  color: var(--accent-color);
  font-size: 1.24rem;
  margin-bottom: 1rem;
}

.review-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.review-card .author {
  font-weight: 600;
  color: var(--primary-color);
}

/* FAQ Section */
.faq {
  background: var(--bg-light);
}

.faq-item {
  background: var(--text-white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-light);
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-form {
  background: var(--text-white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.67rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.73rem;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.63rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

/* Form Validation States */
.form-control.is-valid {
  border-color: var(--secondary-color);
}

.form-control.is-invalid {
  border-color: var(--warning-color);
}

.text-danger {
  color: var(--warning-color);
  font-size: 0.96rem;
  margin-top: 0.36rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.59rem;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer .copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Gallery */
.gallery {
  padding: 80px 0;
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lazy Loading States */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* Blog */
.blog {
  background: var(--bg-light);
}

.blog-card {
  background: var(--text-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.blog-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-card .read-more {
  color: var(--accent-color);
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
  border-radius: 15px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.64rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.35rem;
  }
  
  .price-card.featured {
    transform: none;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 


/* 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;
    }
}
