/* ================================================
   FREELANCER FINANCIAL PLANNING - MAIN STYLES
   ================================================ */

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors - High Contrast Pastels */
  --primary-mint: #6ecdef;
  --primary-lavender: #d7c8ff;
  --primary-peach: #fdc99a;
  --primary-sage: #abfdc7;
  --primary-coral: #f1989a;
  
  /* Light Shades */
  --light-mint: #f9fdff;
  --light-lavender: #cccbe7;
  --light-peach: #ffe8b0;
  --light-sage: #ecfdf5;
  --light-coral: #fef2f2;
  
  /* Dark Shades */
  --dark-mint: #0e75ce;
  --dark-lavender: #9450f5;
  --dark-peach: #d24604;
  --dark-sage: #149984;
  --dark-coral: #e64229;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #212b33;
  --gray-light: #f8fafc;
  --gray-medium: #53647f;
  --gray-dark: #2d3847;
}

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Import FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Conservative base font size */
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.61rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.82rem; }
h4 { font-size: 1.54rem; }
h5 { font-size: 1.34rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

/* Header & Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-mint), var(--primary-lavender));
  backdrop-filter: blur(11px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.54rem !important; /* Conservative size */
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--white) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 28px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-mint), var(--light-lavender));
  display: flex;
  align-items: center;
  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 h1 {
  padding-top: 100px !important;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

/* Decorative Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: var(--primary-coral);
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--primary-sage);
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  background: var(--primary-peach);
  top: 50%;
  right: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-22px); }
}

/* Section Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, var(--light-sage), var(--light-peach));
}

.feature-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-mint);
}

.feature-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 27px 40px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 2.61rem;
  color: var(--primary-mint);
  margin-bottom: 1rem;
}

/* Services Section */
.service-card {
  background: linear-gradient(135deg, var(--light-mint), var(--light-lavender));
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.service-card::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.5s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-13px);
  box-shadow: 0 27px 50px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.58rem;
  object-fit: cover;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-mint);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-dark);
}

.service-features li i {
  color: var(--primary-sage);
  margin-right: 0.5rem;
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, var(--light-coral), var(--light-peach));
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-coral);
  object-fit: cover;
}

/* Reviews Section */
.review-card {
  background: linear-gradient(135deg, var(--light-sage), var(--light-mint));
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-sage);
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-sage);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Playfair Display', serif;
}

.review-author {
  font-weight: 600;
  color: var(--dark-sage);
  margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, var(--light-lavender), var(--light-coral));
}

.faq-card {
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  background: linear-gradient(135deg, var(--primary-mint), var(--primary-lavender));
  color: var(--white);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
}

.faq-question:hover {
  background: linear-gradient(135deg, var(--dark-mint), var(--dark-lavender));
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
  color: var(--gray-dark);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--light-peach), var(--light-sage));
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--light-mint);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-mint);
  box-shadow: 0 0 0 0.2rem rgba(119, 199, 250, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-mint), var(--primary-lavender));
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-mint), var(--dark-lavender));
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-mint), var(--gray-medium));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-mint);
  margin-bottom: 1.72rem;
}

.footer a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-mint);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Price Plan */
.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  border: 2px solid var(--light-mint);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: var(--primary-mint);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-mint);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-mint);
  color: var(--gray-dark);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Additional styles for other sections */
.features-section { background: var(--white); }
.priceplan-section { background: linear-gradient(135deg, var(--light-mint), var(--light-sage)); }
.casestudy-section { background: var(--white); }
.process-section { background: linear-gradient(135deg, var(--light-peach), var(--light-coral)); }
.timeline-section { background: var(--white); }
.career-section { background: linear-gradient(135deg, var(--light-lavender), var(--light-mint)); }
.coreinfo-section { background: var(--white); }

/* Additional Page Styles */
.additional-section {
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.additional-section:nth-child(even) {
  background: linear-gradient(135deg, var(--light-sage), var(--light-mint));
}

.additional-section:nth-child(odd) {
  background: linear-gradient(135deg, var(--light-peach), var(--light-coral));
}

.additional-element {
  background: var(--white);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.72rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.additional-element:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Space Page */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--light-mint), var(--light-lavender));
  border-radius: 20px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray-medium);
}

/* Breadcrumb */
.breadcrumb-container {
  background: var(--light-mint);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--dark-mint), var(--dark-lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
