:root {
  --primary-color: #4A90E2;
  --primary-rgb: 74, 144, 226;
  --secondary-color: #2C7FB2;
  --accent-color: #5A9F77;
  --light-color: #ECF1F1;
  --dark-color: #1D2A3C;
  --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #2C7FB2 100%);
  --gradient-accent: linear-gradient(45deg, #5A9F77, #86B3D1);
  --hover-color: #3D7FA8;
  --background-color: #F8FAFA;
  --text-color: #3A4A5A;
  --text-color-secondary: #5A6A7A;
  --border-color: rgba(74, 144, 226, 0.2);
  --divider-color: rgba(44, 127, 178, 0.1);
  --shadow-color: rgba(44, 127, 178, 0.12);
  --highlight-color: #F2D57F;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-color);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--light-color);
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(44, 127, 178, 0.25);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
}

header img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navigation a {
  color: var(--light-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navigation a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Section - Diagonal Split Style */
.hero-diagonal {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-diagonal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);
  z-index: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  color: white;
  padding: 2rem;
}

.hero-text h1 {
  color: white;
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-text p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image-container {
  position: relative;
  padding: 2rem;
}

.hero-image-container img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.hero-image-container:hover img {
  transform: rotate(0deg) scale(1.02);
}

.floating-stat {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: white;
  padding: 1.8rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

.floating-stat h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.floating-stat p {
  font-size: 0.95rem;
  color: var(--text-color-secondary);
  margin: 0;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Buttons - Gradient Shine Style */
button,
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.3rem 2.8rem;
  border-radius: 28px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

button::before,
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

button:hover::before,
.btn:hover::before {
  transform: translateX(100%);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(74, 144, 226, 0.35);
  background: linear-gradient(135deg, #3D7FA8 0%, #1D5F8F 100%);
  color: #fff;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-color-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Introduction Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-image img {
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
}

.intro-text h2 {
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* Feature Cards - 3D Tilt Style */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #fafafa);
  border-radius: 20px;
  padding: 2.8rem;
  box-shadow: 0 8px 25px var(--shadow-color);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 25px 60px rgba(74, 144, 226, 0.25);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3.5rem;
  margin: 0 auto 1.8rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  color: white;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(360deg);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-color-secondary);
  line-height: 1.7;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-text h2 {
  margin-bottom: 1.5rem;
}

.benefits-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.benefits-image img {
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
}

/* Additional Content */
.additional-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.additional-content h2 {
  margin-bottom: 1.5rem;
}

.additional-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* Testimonials - Card Grid Style */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 2.8rem;
  border-radius: 18px;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(74, 144, 226, 0.2);
  border-color: var(--secondary-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  color: var(--accent-color);
  opacity: 0.15;
  font-family: var(--main-font);
  line-height: 1;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-color);
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial-role {
  color: var(--text-color-secondary);
  font-size: 0.95rem;
}

/* FAQ - Modern Accordion Style */
.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 2.8rem;
  margin: 1.8rem 0;
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--shadow-color);
}

.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.18);
  border-color: var(--secondary-color);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.faq-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3rem;
}

.faq-answer p {
  margin: 0;
  line-height: 1.8;
  color: var(--text-color-secondary);
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.contact-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.2);
}

.contact-item strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item p {
  margin: 0;
  color: var(--text-color);
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

input,
textarea {
  width: 100%;
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.3rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
  transform: translateY(-1px);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px var(--shadow-color);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer .logo {
  margin-bottom: 1rem;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--highlight-color);
}

footer .border-t {
  border-top: 1px solid;
  border-color: var(--divider-color);
  padding-top: 1rem;
  margin-top: 1rem;
}

footer .border-t p {
  text-align: center;
  color: var(--light-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Pattern Background */
.pattern-bg {
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(74, 144, 226, 0.04) 35px, rgba(74, 144, 226, 0.04) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(90, 159, 119, 0.04) 35px, rgba(90, 159, 119, 0.04) 70px);
  background-size: 100% 100%;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-diagonal {
    min-height: 70vh;
  }
  
  .hero-diagonal::before {
    clip-path: none;
    background: var(--gradient-primary);
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-text {
    padding: 1rem;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .floating-stat {
    position: static;
    margin: 2rem auto;
    max-width: 250px;
  }
  
  .intro-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .faq-item {
    padding: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    padding: 1.8rem;
  }
  
  button,
  .btn {
    padding: 1.1rem 2rem;
    font-size: 1rem;
  }
}