/* Main CSS for Micro-Loan Platform Template */

:root {
  /* Primary Color Palette - Pastel High-Contrast Colors for Finance */
  --primary-blue: #4A90E2;
  --primary-green: #7ED321;
  --primary-orange: #F5A623;
  --primary-purple: #9013FE;
  --primary-coral: #FF6B6B;
  
  /* Light and Dark Shades */
  --light-blue: #E3F2FD;
  --dark-blue: #1565C0;
  --light-green: #F1F8E9;
  --dark-green: #2E7D32;
  --light-orange: #FFF8E1;
  --dark-orange: #E65100;
  --light-purple: #F3E5F5;
  --dark-purple: #4A148C;
  --light-coral: #FFEBEE;
  --dark-coral: #C62828;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

/* Global Typography - Conservative Font Sizes */
body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue);
}

h1 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--dark-blue);
}

h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--dark-blue);
}

h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-blue);
}

h4 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-blue);
}

p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--primary-coral);
  border-radius: 50%;
  opacity: 0.1;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--primary-purple);
  border-radius: 50%;
  opacity: 0.1;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-price {
  background: var(--primary-green);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
}

/* Features Section */
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

/* Price Plan Cards */
.price-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 2px solid var(--light-blue);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
}

.price-featured {
  border-color: var(--primary-green);
  background: var(--light-green);
}

.price-value {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue);
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--light-blue);
}

/* Review Cards */
.review-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  border-left: 4px solid var(--primary-orange);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.review-stars {
  color: var(--primary-orange);
  margin-bottom: 15px;
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--light-blue);
  margin-bottom: 15px;
  padding: 20px;
  transition: border-color 0.3s ease;
}

.faq-card:hover {
  border-color: var(--primary-blue);
}

.faq-question {
  font-weight: var(--font-weight-medium);
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.faq-answer {
  color: #666;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--light-blue);
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.btn-primary {
  background: var(--primary-blue);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: var(--font-weight-medium);
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--dark-blue);
}

.btn-success {
  background: var(--primary-green);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: var(--font-weight-medium);
}

.btn-success:hover {
  background: var(--dark-green);
}

/* Footer */
footer {
  background: #0e3964;
  color: #ffffff;
  padding: 50px 0 20px;
}

footer h5 {
  color: #8FE543;
  margin-bottom: 20px;
  font-weight: var(--font-weight-bold);
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: var(--font-weight-medium);
}

footer a:hover {
  color: #8FE543;
  text-decoration: underline;
}

/* Section Spacing */
section {
  padding: 80px 0;
}

/* Gallery Grid */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px 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;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 20px;
  position: relative;
}

.process-number {
  width: 50px;
  height: 50px;
  background: var(--primary-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  margin: 0 auto 20px;
}

/* Case Study Cards */
.case-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 20px 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

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

.hero-content {
    padding-top: 275px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
