/* Main CSS for Student Loan Relief Advisory Office */

:root {
  /* Primary Colors */
  --primary-1: #4e8cda; /* Light Blue */
  --primary-2: #f9a826; /* Golden/Amber */
  --primary-3: #58c27d; /* Mint Green */
  --primary-4: #e4637f; /* Coral Pink */
  --primary-5: #9879e9; /* Lavender */

  /* Light/Dark Shades */
  --primary-1-light: #bfd7f2;
  --primary-1-dark: #2c5a9e;
  --primary-2-light: #ffd392;
  --primary-2-dark: #c27c10;
  --primary-3-light: #b8ebc9;
  --primary-3-dark: #306e48;
  --primary-4-light: #f8c2ce;
  --primary-4-dark: #a63e50;
  --primary-5-light: #d6c9f7;
  --primary-5-dark: #5b3cab;

  /* Neutrals */
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --medium-gray: #dfe4ea;
  --dark-gray: #545e6b;
  --black: #2d3436;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-1);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-1-dark);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-1);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-1-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--primary-2);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--primary-2-dark);
  color: var(--white);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-1);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  font-weight: 600;
  color: var(--black);
}

nav ul li a:hover {
  color: var(--primary-1);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-shape {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 50%;
  height: 70%;
  background-color: var(--primary-1-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card-header {
  background-color: var(--primary-1);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.service-card-body {
  padding: 1.5rem;
}

.service-features {
  list-style: none;
  margin: 1rem 0;
}

.service-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.service-features li:before {
  content: "\f00c"; /* FontAwesome check icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
  color: var(--primary-3);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 1rem 0;
}

/* Reviews/Testimonials */
.reviews-slider {
  overflow: hidden;
}

.review-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  text-align: center;
}

.team-member-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.team-member-name {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--primary-1);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-size: 1rem;
}

textarea.form-control {
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  margin-right: 10px;
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

footer a {
  color: var(--medium-gray);
}

footer a:hover {
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Decorative elements */
.blob-shape {
  position: absolute;
  z-index: -1;
}

/* FAQ Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--light-gray);
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: var(--medium-gray);
}

.accordion-body {
  padding: 1rem;
  display: none;
}

.accordion-body.active {
  display: block;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-item {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-item-content {
  padding: 1.5rem;
}

.blog-item-title {
  margin-bottom: 0.5rem;
}

.blog-item-excerpt {
  margin-bottom: 1rem;
}

/* Shapes and decorations */
.shape1 {
  position: absolute;
  top: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background-color: var(--primary-3-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
}

.shape2 {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 250px;
  height: 250px;
  background-color: var(--primary-2-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
} 