/* 
* Dollar Bank USA Blog Styles
* A modern, clean design for a financial blog
*/

/* Base Styles & CSS Reset */
:root {
  --primary-color: #1e4b8d;
  --primary-light: #3467b9;
  --primary-dark: #0e2f5a;
  --secondary-color: #f7b844;
  --secondary-light: #ffd180;
  --secondary-dark: #d49a2a;
  --text-color: #333333;
  --text-light: #666666;
  --text-lightest: #999999;
  --bg-light: #f8f9fa;
  --bg-dark: #1a2030;
  --bg-gray: #eaedf2;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-padding: 60px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2.2rem;
}

h4 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 2rem;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  color: var(--text-color);
}

.btn-cookie {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
  margin-right: 1rem;
}

.btn-cookie.secondary {
  background-color: transparent;
  border: 1px solid var(--white);
}

.btn-cookie.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hidden {
  display: none !important;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
}

nav ul {
  display: flex;
  margin-bottom: 0;
  list-style-type: none;
}

nav ul li {
  margin-left: 3rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.7rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8rem 0;
  text-align: center;
  background-image: linear-gradient(to right, var(--primary-dark), var(--primary-color));
}

.hero h1 {
  font-size: 4.8rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  font-weight: 400;
  color: var(--white);
}

.hero p {
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto 3rem auto;
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.hero .btn:hover {
  background-color: var(--secondary-light);
}

/* Featured Posts Section */
.featured-posts {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.post-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

.post-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
}

.read-more:hover {
  color: var(--primary-light);
}

.view-all {
  text-align: center;
  margin-top: 4rem;
}

/* Blog Page Styles */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  background-image: linear-gradient(to right, var(--primary-dark), var(--primary-color));
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto;
}

.blog-content {
  padding: 6rem 0;
}

.blog-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.search-box {
  display: flex;
  max-width: 400px;
  flex-grow: 1;
}

.search-box input {
  flex-grow: 1;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  border-right: none;
}

.search-box button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.filter-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-categories span {
  color: var(--text-light);
  margin-right: 1rem;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--bg-gray);
  border-radius: var(--border-radius);
  color: var(--text-light);
  font-size: 1.4rem;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-info {
  padding: 2rem 2rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  color: var(--text-lightest);
}

.category {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: var(--border-radius);
  font-size: 1.2rem;
}

.blog-card h2 {
  padding: 0 2rem;
  font-size: 2rem;
  margin-top: 1rem;
}

.blog-card p {
  padding: 0 2rem;
  color: var(--text-light);
}

.blog-card .read-more {
  display: block;
  padding: 0 2rem 2rem;
  font-weight: 600;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--bg-gray);
  color: var(--text-color);
  transition: var(--transition);
}

.pagination a.active,
.pagination a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Blog Post Page Styles */
.blog-post {
  padding: 6rem 0;
}

.post-header {
  margin-bottom: 4rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  color: var(--text-lightest);
  font-size: 1.4rem;
}

.post-featured-image {
  margin-top: 3rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  font-size: 1.7rem;
  line-height: 1.7;
}

.post-content h2 {
  font-size: 2.6rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.post-content h3 {
  font-size: 2.2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content .lead {
  font-size: 2rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  margin: 3rem 0;
  font-style: italic;
  color: var(--text-light);
}

.post-content blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 1rem;
}

.post-content ul,
.post-content ol {
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.post-content li {
  margin-bottom: 1rem;
}

.post-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-tags a {
  display: inline-block;
  background-color: var(--bg-gray);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 1.4rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.post-tags a:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-share span {
  color: var(--text-light);
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background-color: var(--bg-gray);
  color: var(--text-color);
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.author-bio {
  margin-top: 5rem;
  padding: 3rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  display: flex;
  gap: 3rem;
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex-grow: 1;
}

.author-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-lightest);
}

.author-info h4 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background-color: var(--bg-gray);
  color: var(--text-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.related-posts {
  margin-top: 6rem;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 3rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.related-post {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.related-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-post h4 {
  padding: 1.5rem;
  font-size: 1.8rem;
  margin-bottom: 0;
}

/* About Page Styles */
.about-intro {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.feature-list {
  list-style: none;
  margin-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.feature-list li i {
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--success-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.value-card {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.value-icon {
  width: 7rem;
  height: 7rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
  font-size: 3rem;
}

.our-values {
  padding: 6rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.team-section {
  padding: 6rem 0;
}

.team-section h2,
.team-section .section-intro {
  text-align: center;
}

.section-intro {
  max-width: 70rem;
  margin: 0 auto 4rem;
  font-size: 1.8rem;
  color: var(--text-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.team-member {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-member h3 {
  margin: 2rem 0 0.5rem;
  padding: 0 2rem;
}

.team-member p {
  padding: 0 2rem;
  color: var(--text-light);
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member .social-icons {
  justify-content: center;
  margin: 2rem 0;
}

.testimonials {
  padding: 6rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 4rem;
}

.testimonial {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-light);
  max-width: 400px;
  text-align: left;
}

.quote {
  font-style: italic;
  color: var(--text-light);
  position: relative;
  padding-left: 2rem;
}

.quote::before {
  content: """;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 4rem;
  color: var(--primary-light);
  line-height: 1;
}

.author {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.author-info h4 {
  margin-bottom: 0.3rem;
}

.author-info p {
  margin-bottom: 0;
  color: var(--text-lightest);
}

/* Contact Page Styles */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info {
  padding: 3rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius-lg);
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  margin-bottom: 3rem;
}

.icon {
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  font-size: 2rem;
}

.details h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.details p {
  margin-bottom: 0.5rem;
}

.social-connect h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.contact-info .social-icons a:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.contact-form-container {
  padding: 3rem;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
}

.contact-form-container h2 {
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(30, 75, 141, 0.1);
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.form-group.checkbox label {
  font-weight: normal;
  margin-bottom: 0;
}

.map-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.responsive-map {
  width: 100%;
  height: auto;
}

.faq-section {
  padding: 6rem 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 2rem;
}

.toggle-icon {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.faq-answer {
  padding-bottom: 2rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

/* Future Quote Section */
.future-quote {
  padding: 5rem 0;
  background-color: var(--primary-dark);
  color: var(--white);
  text-align: center;
}

.future-quote h2,
.future-quote h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.future-quote blockquote {
  font-size: 2.2rem;
  max-width: 90rem;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
  font-style: italic;
}

.future-quote blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 2rem;
  font-size: 1.8rem;
  opacity: 0.8;
}

.post-content .future-quote {
  margin: 4rem 0;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  text-align: left;
}

.post-content .future-quote blockquote {
  font-size: 1.8rem;
  padding-left: 0;
  border-left: none;
  margin: 0;
}

.info-box {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 3rem 0;
  border-left: 4px solid var(--primary-color);
}

.info-box h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.info-box p {
  margin-bottom: 1rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box ul {
  margin-bottom: 0;
}

/* Poll Section */
.poll-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.poll-section h2 {
  margin-bottom: 3rem;
}

.poll-options {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.poll-option {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  text-align: left;
  transition: var(--transition);
}

.poll-option:hover {
  box-shadow: var(--shadow-medium);
}

.poll-option input {
  margin-right: 1.5rem;
}

.poll-option label {
  font-weight: 600;
  cursor: pointer;
}

#poll-results {
  max-width: 700px;
  margin: 3rem auto 0;
}

.result-bars {
  margin-top: 3rem;
}

.result-item {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.result-item span {
  flex: 1;
  text-align: left;
  font-weight: 600;
}

.result-item .percentage {
  flex: 0 0 5rem;
  text-align: right;
}

.progress-bar {
  flex: 2;
  height: 2rem;
  background-color: var(--bg-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 0 2rem;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
  padding: 6rem 0;
  background-color: var(--secondary-light);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.8rem;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer Styles */
footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: var(--footer-padding);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 2rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.footer-links ul {
  list-style: none;
  margin-left: 0;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--white);
}

.footer-contact h3 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-contact .social-icons {
  margin-top: 2rem;
}

.footer-contact .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-contact .social-icons a:hover {
  background-color: var(--white);
  color: var(--primary-dark);
}

.copyright {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 2rem;
  z-index: 1000;
  box-shadow: var(--shadow-dark);
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 2rem;
  max-width: 80rem;
}

.cookie-buttons {
  margin-bottom: 1.5rem;
}

.cookie-content a {
  color: var(--secondary-light);
}

.cookie-content a:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.8rem;
  cursor: pointer;
  color: var(--text-lightest);
}

.modal-icon {
  font-size: 6rem;
  color: var(--success-color);
  margin-bottom: 2rem;
}

.modal h2 {
  margin-bottom: 1.5rem;
}

.modal p {
  margin-bottom: 3rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  html {
    font-size: 60%;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 58%;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .featured-posts,
  .blog-content,
  .about-intro,
  .our-values,
  .team-section,
  .testimonials,
  .contact-section,
  .map-section,
  .faq-section,
  .newsletter {
    padding: 5rem 0;
  }
  
  .blog-filter {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-box {
    width: 100%;
    max-width: none;
  }
  
  .filter-categories {
    width: 100%;
    justify-content: flex-start;
    margin-top: 1rem;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-bio .social-icons {
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form .btn {
    border-radius: var(--border-radius);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 55%;
  }
  
  header {
    height: auto;
    padding: 2rem 0;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 2rem;
  }
  
  nav ul li {
    margin-left: 2rem;
  }
  
  nav ul li:first-child {
    margin-left: 0;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-share {
    width: 100%;
    justify-content: flex-start;
    margin-top: 2rem;
  }
  
  .result-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .progress-bar {
    width: 100%;
    margin: 1rem 0;
  }
  
  .result-item .percentage {
    text-align: left;
  }
  
  .cookie-content {
    flex-direction: column;
  }
}

/* Icon Styles (for rendering with Font Awesome or similar) */
[class^="icon-"] {
  display: inline-block;
}

.icon-check::before {
  content: "✓";
}

.icon-location::before {
  content: "📍";
}

.icon-phone::before {
  content: "📞";
}

.icon-email::before {
  content: "✉️";
}

.icon-search::before {
  content: "🔍";
}

.icon-arrow-right::before {
  content: "→";
}

.icon-check-circle::before {
  content: "✓";
}

.icon-integrity::before {
  content: "⚖️";
}

.icon-education::before {
  content: "📚";
}

.icon-innovation::before {
  content: "💡";
}

.icon-accessibility::before {
  content: "🌐";
}
