/* 
  Lakshmint CSS Stylesheet
  Theme: English Learning Platform
  Main colors: 
  - Primary: #4C6EF5 (bright blue)
  - Secondary: #FF9D2E (warm orange)
  - Background: #F8F9FA (light gray)
  - Text: #343A40 (dark gray)
  - Accent: #12B886 (teal green)
*/

/* ===== Base Styles ===== */
:root {
  --primary: #4C6EF5;
  --primary-dark: #3B5BDB;
  --primary-light: #748FFC;
  --secondary: #FF9D2E;
  --secondary-dark: #E68A00;
  --secondary-light: #FFB05C;
  --background: #F8F9FA;
  --background-alt: #E9ECEF;
  --text: #343A40;
  --text-light: #6C757D;
  --white: #FFFFFF;
  --success: #12B886;
  --warning: #FCC419;
  --danger: #FA5252;
  --border: #DEE2E6;
  --shadow: rgba(0, 0, 0, 0.1);
  
  --font-primary: 'Nunito', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-mono: 'Courier New', monospace;
  
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  
  --transition: all 0.3s ease;
}

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

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Nunito:wght@300;400;600;700&display=swap');

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ===== Header & Navigation ===== */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.navbar {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  margin: 0 0.8rem;
}

.navbar a {
  font-weight: 600;
  padding: 0.5rem 0;
  color: var(--text);
  position: relative;
  text-decoration: none;
  transition: var(--transition);
}

.navbar a:hover,
.navbar a.active {
  color: var(--primary);
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background-color: var(--background-alt);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ===== Hero Section ===== */
.hero {
  padding: 5rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, var(--primary-light) 0%, transparent 30%);
  opacity: 0.1;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(2deg);
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--secondary-light);
  z-index: -1;
  opacity: 0.5;
}

/* ===== Features Section ===== */
.features {
  background-color: var(--background-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.feature-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-weight: 600;
}

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

/* ===== Beginners Block ===== */
.beginners-block {
  background-color: var(--white);
  position: relative;
}

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

.beginners-card {
  padding: 2rem;
  background-color: var(--background);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.beginners-card:hover {
  border-color: var(--primary-light);
  background-color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.beginners-card h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.learn-more {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}

.learn-more:hover {
  color: var(--primary-dark);
}

.beginners-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ===== Latest Posts ===== */
.latest-posts {
  background-color: var(--white);
}

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

.post-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
  overflow: hidden;
}

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

.read-more {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}

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

.posts-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== Testimonials ===== */
.testimonials {
  background-color: var(--background-alt);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234c6ef5' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px var(--shadow);
}

.testimonial-text {
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-text::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  color: var(--primary-light);
  opacity: 0.3;
}

.testimonial-text p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

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

/* ===== Blog Page ===== */
.blog-hero {
  padding: 5rem 0 3rem;
  background-color: var(--white);
  background-image: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 0;
}

.blog-hero .container {
  position: relative;
  z-index: 1;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.blog-card {
  margin-bottom: 3rem;
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  display: flex;
  flex-direction: column;
}

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

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

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

.blog-text {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-text h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.blog-text p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-categories {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 5px 15px var(--shadow);
  align-self: start;
  position: sticky;
  top: 100px;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}

.category-list a:hover {
  color: var(--primary);
  text-decoration: none;
  padding-left: 0.5rem;
}

.newsletter {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0;
}

.newsletter-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content h2, 
.newsletter-content p {
  color: var(--white);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
}

/* ===== About Page ===== */
.about-hero {
  padding: 5rem 0 3rem;
  background-color: var(--white);
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, var(--primary-light) 0%, transparent 50%);
  opacity: 0.2;
  z-index: 0;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-story {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-values {
  background-color: var(--background-alt);
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.value-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-light);
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.team-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 0 1.5rem;
}

.team-card p {
  color: var(--text-light);
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

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

.achievements {
  background-color: var(--primary);
  color: var(--white);
  padding: 5rem 0;
}

.achievements .section-header h2,
.achievements .section-header p {
  color: var(--white);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.achievement-card p {
  color: var(--white);
  font-size: 1.1rem;
}

.cta-section {
  background-color: var(--secondary);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2,
.cta-content p {
  color: var(--white);
}

.cta-content h2 {
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.cta-buttons .btn-primary {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--secondary);
}

.cta-buttons .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

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

/* ===== Contact Page ===== */
.contact-hero {
  padding: 5rem 0 3rem;
  background-color: var(--white);
  position: relative;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, var(--primary-light) 0%, transparent 50%);
  opacity: 0.2;
  z-index: 0;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  padding: 5rem 0;
}

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

.contact-info h2 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.contact-info > p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.contact-details {
  margin-bottom: 3rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-detail h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-detail p {
  margin-bottom: 0.25rem;
  color: var(--text);
}

.social-connect h3 {
  margin-bottom: 1.5rem;
}

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

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--background-alt);
  color: var(--text);
  border-radius: 50%;
  transition: var(--transition);
}

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

.contact-form-container {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px var(--shadow);
}

.contact-form-container h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 110, 245, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
}

.checkbox-label input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.contact-form button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.1rem;
}

.map-section {
  padding-top: 0;
  padding-bottom: 5rem;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
}

.map-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.faq-section {
  background-color: var(--background-alt);
  padding: 5rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.faq-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px var(--shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.faq-item p {
  margin-bottom: 0;
}

.thank-you-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

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

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--success);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 2rem;
}

/* ===== Footer ===== */
footer {
  background-color: #2a2a2a;
  color: #f0f0f0;
  padding: 5rem 0 0;
}

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

.footer-about {
  grid-column: span 2;
}

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

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

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

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

.footer-links a,
.footer-social a {
  color: #cccccc;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-contact address,
.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: #cccccc;
}

.footer-contact svg {
  margin-right: 0.5rem;
}

.footer-social .social-icons a {
  background-color: #3a3a3a;
  color: #cccccc;
}

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

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
}

.footer-legal a {
  color: #cccccc;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  width: 90%;
  max-width: 500px;
}

.cookie-content {
  padding: 1.5rem;
}

.cookie-content p {
  margin-bottom: 1.25rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-more {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content,
  .hero-image {
    flex: auto;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .contact-form-container {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .blog-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-categories {
    order: -1;
    margin-bottom: 3rem;
    position: static;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-about {
    grid-column: auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .navbar li {
    margin: 0 0.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .feature-card,
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .modal-content {
    padding: 2rem;
  }
}
