/* Financial Literacy Education Platform - Main CSS */

:root {
  /* Primary color palette - High contrast pastels */
  --primary-blue: #5082da;
  --primary-green: #48da83;
  --primary-purple: #8d1aca;
  --primary-orange: #ff7042;
  --primary-teal: #2cb8c8;
  
  /* Light shades */
  --light-blue: #def1ff;
  --light-green: #e8fff6;
  --light-purple: #f4e7ff;
  --light-orange: #ffece4;
  --light-teal: #d0fbff;
  
  /* Dark shades */
  --dark-blue: #1e487c;
  --dark-green: #238349;
  --dark-purple: #402886;
  --dark-orange: #b47c2b;
  --dark-teal: #1c8e85;
  
  /* Neutral colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #5e6b73;
  --dark-gray: #424a4e;
  --black: #000000;
  
  /* Typography */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 600;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 17px;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

h1 {
  font-size: 2.57rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.57rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.38rem;
}

h5 {
  font-size: 1.23rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

/* Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-blue);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  border: none;
  color: var(--white);
  padding: 113px 30px;
  border-radius: 50px;
  font-weight: var(--font-weight-bold);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-teal));
  transform: translateY(-2px);
  box-shadow: 0 16px 21px rgba(78, 144, 220, 0.30);
}

/* Header */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.63rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-gray) !important;
  margin: 0 12px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue), var(--light-teal));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../HUB_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--dark-blue);
  margin-bottom: 1.56rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  color: var(--primary-purple);
  font-size: 1.28rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-desc {
  font-size: 1.20rem;
  color: var(--gray);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

/* Section styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-green);
  font-size: 1.24rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about-section {
  background: var(--light-gray);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--light-purple), var(--light-orange));
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.61rem;
}

.service-price {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-green);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.3rem 0;
  color: var(--gray);
}

/* Features Section */
.features-section {
  background: var(--white);
}

.feature-card {
  padding: 2rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--light-blue), var(--light-green));
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: scale(1.05);
}

/* Price Plan Section */
.priceplan-section {
  background: var(--light-gray);
}

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, var(--light-teal), var(--light-purple));
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Reviews Section */
.reviews-section {
  background: var(--white);
}

.review-card {
  background: var(--light-blue);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-blue);
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.3;
}

/* Case Study Section */
.casestudy-section {
  background: var(--light-green);
}

.case-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process-section {
  background: var(--light-orange);
}

.process-item {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: 1.52rem;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-section {
  background: var(--light-purple);
}

.timeline-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-purple);
}

/* Career Section */
.career-section {
  background: var(--light-teal);
}

.career-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--white);
}

.coreinfo-item {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--light-blue), var(--light-green));
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.71rem;
}

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(86, 133, 205, 0.25);
  outline: none;
}

/* Blog Section */
.blog-section {
  background: var(--light-gray);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
  background: var(--white);
}

.faq-item {
  background: var(--light-blue);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1rem 1.5rem;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--dark-blue);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--dark-gray);
  display: none;
}

/* Gallery Section */
.gallery-section {
  background: var(--light-gray);
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.68rem;
}

.footer a {
  color: var(--light-blue);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-image {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue) !important;
}

.bg-primary {
  background-color: var(--primary-blue) !important;
}

.bg-light {
  background-color: var(--light-gray) !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !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;
    }
}
