/* Global CSS Variables & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --bg-primary: #08032f;
  --bg-secondary: #00021c;
  --color-accent: #e64570;
  --color-accent-hover: #f06287;
  
  --color-light: #ffffff;
  --color-dark: #333333;
  --color-muted: #666666;
  --color-border: #e2e2e2;
  
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Base Styles & Normalization */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--bg-primary);
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

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

h4 {
  font-size: 1.25rem;
}

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

a:hover {
  color: var(--color-accent-hover);
}

p {
  margin-bottom: 1.5rem;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-padding {
  padding: 80px 0;
}

.bg-dark-section {
  background-color: var(--bg-primary);
  color: var(--color-light);
}

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
  color: var(--color-light);
}

.bg-gray-section {
  background-color: #f7f9fc;
}

.underline-pink {
  position: relative;
  display: inline-block;
}

.underline-pink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 69, 112, 0.4);
}

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

.btn-outline-white:hover {
  background-color: var(--color-light);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--bg-primary);
  border-color: var(--bg-primary);
}

.btn-outline-dark:hover {
  background-color: var(--bg-primary);
  color: var(--color-light);
  transform: translateY(-2px);
}

.btn-menu {
  background-color: var(--color-accent);
  color: var(--color-light) !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
}

.btn-menu:hover {
  background-color: var(--color-accent-hover);
}

/* Top bar / Sub-Header */
.top-header {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.top-header-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.top-header a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-header a:hover {
  color: var(--color-accent);
}

/* Sticky Header & Navbar */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.main-header {
  padding: 20px 0;
  transition: var(--transition);
}

header.is-sticky {
  position: fixed;
  top: 0;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-md);
  animation: slideDown 0.3s ease-out;
}

header.is-sticky .top-header {
  display: none;
}

header.is-sticky .main-header {
  padding: 12px 0;
}

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

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-light);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-accent);
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-primary);
  min-width: 250px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item a {
  display: block;
  padding: 10px 24px;
  color: var(--color-light);
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 400;
}

.dropdown-item a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-accent);
  padding-left: 28px;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-light);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230, 69, 112, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

/* Intro / Partner Section */
.partner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.partner-text p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.partner-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Solution Highlight Card */
.solution-highlights {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.solution-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.solution-card.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.solution-card.reverse .solution-image-col {
  order: 2;
}

.solution-card.reverse .solution-text-col {
  order: 1;
}

.solution-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.solution-text h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.solution-text p {
  color: var(--color-muted);
  margin-bottom: 25px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: 12px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 69, 112, 0.3);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(230, 69, 112, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: bold;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin: 0;
}

.benefit-card p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Testimonial slider / Grid */
.testimonial-section {
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 250px;
}

.testimonial-slide {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.testimonial-slide.active {
  display: block;
}

.quote-icon {
  width: 50px;
  height: auto;
  margin: 0 auto 20px;
  opacity: 0.2;
}

.testimonial-content {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--color-light);
}

.testimonial-author h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--color-accent);
}

.testimonial-author p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.control-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Checkmark List */
.checklist-container {
  max-width: 700px;
  margin: 40px auto 0;
}

.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.1rem;
}

.checklist-item::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Call to Action Banner */
.cta-banner {
  text-align: center;
  padding: 70px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta-banner .btn {
  margin-top: 20px;
}

/* Footer Styles */
footer {
  background-color: var(--bg-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

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

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-about img {
  height: 36px;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* Inner Page Layout & Heros */
.inner-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.inner-hero h1 {
  margin-bottom: 10px;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 15px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

/* Feature grid for subpages */
.subpage-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.subpage-features img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

/* Form Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-info-card {
  background-color: #f7f9fc;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.info-item-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.info-item h4 {
  margin-bottom: 5px;
}

.contact-form-col {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(230, 69, 112, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Blog list & Post */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 40px;
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.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-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-content p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more-link::after {
  content: '→';
  transition: var(--transition);
}

.read-more-link:hover::after {
  transform: translateX(4px);
}

.post-container {
  max-width: 800px;
  margin: 0 auto;
}

.post-meta {
  display: flex;
  gap: 20px;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

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

.post-content h2,
.post-content h3 {
  margin: 40px 0 20px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  margin-left: 20px;
  margin-bottom: 30px;
}

.post-content li {
  margin-bottom: 8px;
}

/* Animations */
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  
  .hero-content-grid {
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }
  
  .navbar {
    padding: 0 10px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 20px;
    transition: var(--transition);
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-menu.is-active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    width: 100%;
    justify-content: space-between;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 10px 0 10px 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: none;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    margin-top: 5px;
  }
  
  .nav-item-dropdown.is-open .dropdown-menu {
    max-height: 300px;
  }
  
  .dropdown-item a {
    padding: 8px 15px;
  }
  
  .hero-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    gap: 50px;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image {
    display: flex;
    justify-content: center;
  }
  
  .partner-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .partner-image {
    order: -1;
  }
  
  .solution-highlights {
    gap: 60px;
  }
  
  .solution-card,
  .solution-card.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .solution-card.reverse .solution-image-col,
  .solution-card.reverse .solution-text-col {
    order: unset;
  }
  
  .solution-image {
    display: flex;
    justify-content: center;
  }
  
  .subpage-features {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-text h1 {
    font-size: 1.9rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
