/* 
Quick Academic Help - Modern Academic Support Platform (UK)
Design System and Stylesheet
*/

:root {
  /* Colors */
  --primary-color: #0d233a;
  /* Deep Navy */
  --secondary-color: #20c997;
  /* Modern Teal */
  --accent-color: #daa520;
  /* Royal Gold */
  --light-bg: #f8f9fa;
  --dark-text: #212529;
  --muted-text: #6c757d;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
}

/* Navbar Customization */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--primary-color) !important;
  margin: 0 10px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.bg-light-soft {
  background-color: var(--light-bg);
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0d233a 0%, #1a3c5a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  background-color: #1abc9c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(32, 201, 151, 0.4);
}

.btn-outline-custom {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 5px;
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Card Styling */
.card-custom {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  background: var(--white);
}

.card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(32, 201, 151, 0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Service Page Specifics */
.service-header {
  padding: 100px 0 60px;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: var(--secondary-color);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* FAQ Accordion */
.accordion-item {
  border-radius: 10px !important;
  border: 1px solid #eee;
  margin-bottom: 15px;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(32, 201, 151, 0.05);
  color: var(--primary-color);
}

/* Footer */
footer {
  background: #081421;
  color: #aeb4b9;
  padding: 60px 0 20px;
}

footer h5 {
  color: var(--white);
  margin-bottom: 25px;
}

footer a {
  color: #aeb4b9;
  text-decoration: none;
  transition: var(--transition-smooth);
}

footer a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }
}