@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #2980B9;
  --secondary-color: #3498DB;
  --accent-color: #F1C40F;
  --light-color: #ECF0F1;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  --hover-color: #1ABC9C;
  --background-color: #F8F9FA;
  --text-color: #34495E;
  --border-color: rgba(52, 152, 219, 0.25);
  --divider-color: rgba(41, 128, 185, 0.12);
  --shadow-color: rgba(41, 128, 185, 0.18);
  --highlight-color: #E67E22;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.8;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Header Styles */
header {
  background: var(--dark-color);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 20px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header .logo img {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

header nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

header nav a:hover::before {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .logo {
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 2rem;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 2px solid var(--accent-color);
  }

  header nav ul {
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 500px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.85) 0%, rgba(52, 152, 219, 0.7) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: white;
  font-size: 3.5rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.hero-section p {
  font-size: 1.35rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  margin: 0 auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
section {
  padding: 10dvh 0;
}

.content-section {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.content-section img {
  width: 40%;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  border: 3px solid var(--accent-color);
}

.content-section img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.content-text {
  width: 60%;
}

@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
  }
  
  .content-section img,
  .content-text {
    width: 100%;
  }
}

/* Section Divider */
.section-divider {
  position: relative;
  text-align: center;
  padding: 4rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 0;
}

.section-divider h2 {
  position: relative;
  display: inline-block;
  padding: 0 2.5rem;
  background: var(--background-color);
  z-index: 1;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(41, 128, 185, 0.8);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 1.5px;
}

.cta-section p {
  font-size: 1.35rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  position: relative;
}

.feature-item {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 10px 10px 25px var(--shadow-color), -10px -10px 25px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: rotate(45deg);
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 15px 15px 35px var(--shadow-color), -10px -10px 25px rgba(255, 255, 255, 1);
  border-color: var(--accent-color);
}

.feature-item:hover::before {
  opacity: 0.05;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
  transition: all 0.3s ease;
}

.feature-item:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.feature-item h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.testimonial-item {
  background: white;
  padding: 2.5rem;
  border-radius: 18px;
  border: 3px solid var(--border-color);
  box-shadow: 8px 8px 20px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-item::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 6rem;
  color: var(--accent-color);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 30px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 1);
  border-color: var(--accent-color);
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  width: 40%;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 5px 5px 15px var(--shadow-color);
}

.contact-info i {
  color: var(--accent-color);
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.contact-form {
  width: 60%;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem;
  border: 3px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 5px 5px 10px var(--shadow-color), inset -5px -5px 10px rgba(255, 255, 255, 0.6);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(241, 196, 15, 0.2);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: white;
  padding: 1.25rem 3rem;
  border: none;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 15px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 20px var(--shadow-color);
  background: linear-gradient(135deg, #1ABC9C 0%, #2980B9 100%);
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form {
    width: 100%;
  }
}

/* FAQ Section */
.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  border: 3px solid var(--border-color);
  box-shadow: 6px 6px 18px var(--shadow-color), -6px -6px 18px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 10px 10px 25px var(--shadow-color), -6px -6px 18px rgba(255, 255, 255, 1);
  border-color: var(--accent-color);
}

.faq-item:hover::before {
  width: 100%;
  opacity: 0.08;
}

.faq-question {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-question i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.faq-answer {
  color: var(--text-color);
  line-height: 1.9;
  padding-left: 2.5rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

footer .logo img {
  height: 45px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

footer nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

footer nav a:hover {
  color: var(--accent-color);
}

footer nav a:hover::after {
  width: 100%;
}

footer p {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(241, 196, 15, 0.3);
  opacity: 0.85;
}

footer p a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
  
  footer nav ul {
    justify-content: center;
  }
}