/* State Support Newsletter Service - Main CSS */
:root {
  /* Primary Color Palette - 5 colors plus shades */
  --primary-green: #2e7d5e;
  --primary-blue: #4a6fa5;
  --primary-orange: #d97a35;
  --primary-purple: #8e5394;
  --primary-red: #c44569;
  
  /* Light shades */
  --light-green: #e8f5f0;
  --light-blue: #f0f4f8;
  --light-orange: #fdf2ea;
  --light-purple: #f5f0f6;
  --light-red: #fdf0f2;
  
  /* Dark shades */
  --dark-green: #1e5242;
  --dark-blue: #334a73;
  --dark-orange: #b5612a;
  --dark-purple: #6b3d70;
  --dark-red: #9a3450;
  
  /* Neutral colors */
  --white: #ffffff;
  --black: #333333;
  --gray-light: #f8f9fa;
  --gray-medium: #6c757d;
  --gray-dark: #495057;
  
  /* Typography */
  font-size: 16px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.625rem; }
h5 { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.5rem; }
h6 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }

p { font-size: 1rem; margin-bottom: 1rem; }

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 12px !important;
  font-size: 1.125rem !important;
  font-weight: 600;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-green) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../CAS_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--gray-medium);
  font-size: 1.125rem;
}

/* About Section */
.about-section {
  background-color: var(--gray-light);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  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-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 1rem 0;
}

/* Team Section */
.team-section {
  background-color: var(--gray-light);
}

.team-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 5px solid var(--primary-green);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-red) 100%);
  color: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(46, 125, 94, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-purple);
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
  color: var(--primary-green);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--gray-dark);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--light-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 1rem 0;
  background-color: var(--gray-light);
}

.breadcrumb-img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--gray-light);
}

.gallery-section .row {
  gap: 1rem;
}

.gallery-section .col-md-6,
.gallery-section .col-lg-4 {
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.gallery-section .col-md-6:hover,
.gallery-section .col-lg-4:hover {
  transform: translateY(-5px);
}

.gallery-section img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-section img:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Blog Section Enhancements */
.blog-section {
  background-color: var(--light-orange);
}

#blog_grid .feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#blog_grid .feature-card .btn {
  margin-top: auto;
}

/* Timeline Section with Swiper */
.timeline-swiper .feature-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Career Section */
.career-section {
  background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-red) 100%);
}

.career-section .feature-card small {
  display: block;
  margin-top: 1rem;
  font-style: italic;
  color: var(--primary-purple);
} 