/* Main Styles for Koel Marketing */
:root {
  --primary: #FFD700;
  --primary-dark: #D4AF37;
  --dark: #0A0F14;
  --dark-secondary: #1A2A3A;
  --light: #FFFFFF;
  --light-secondary: #F5F5F5;
  --accent: #E0115F;
  --text: #333333;
  --text-light: #FFFFFF;
  --success: #28a745;
  --cta: #FFD700;
  --cta-hover: #E6C200;
  --header-bg: #2A3F54; /* New header background color */
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--cta);
  color: var(--dark);
  border: 2px solid var(--cta);
}

.btn-primary:hover {
  background-color: var(--cta-hover);
  border-color: var(--cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Header Styles */
header {
  background-color: var(--header-bg); /* Updated header background */
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(to right, #2A3F54, #1A2A3A); /* Gradient background */
}

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

.logo-container {
  background-color: var(--light); /* White background for logo */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.logo-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
  position: relative;
}

.nav-menu a {
  color: var(--light);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--dark-secondary);
  min-width: 200px;
  padding: 10px 0;
  display: none;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: var(--light);
  font-weight: 400;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu li:hover .dropdown-menu {
  display: block;
}

.header-cta {
  margin-left: 30px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--dark);
  color: var(--light);
  padding: 80px 0;
  position: relative;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-metrics {
  display: flex;
  margin-top: 40px;
  flex-wrap: wrap;
}

.metric {
  margin-right: 40px;
  margin-bottom: 20px;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.metric-label {
  font-size: 1rem;
  color: var(--light-secondary);
}

.hero-video {
  max-width: 500px;
  margin-left: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--light-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  background-color: var(--dark-secondary);
  padding: 30px;
  text-align: center;
}

.service-icon i {
  font-size: 3rem;
  color: var(--primary);
}

.service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.service-content ul {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.service-content ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Programs Section */
.programs {
  padding: 80px 0;
  background-color: var(--dark);
  color: var(--light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.program-card {
  background-color: var(--dark-secondary);
  border-radius: 8px;
  overflow: hidden;
  padding: 30px;
  height: 100%;
}

.program-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.program-card p {
  color: var(--light-secondary);
  margin-bottom: 20px;
}

.program-features {
  list-style: none;
  margin-bottom: 30px;
}

.program-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--light);
}

.program-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.program-card .btn {
  width: 100%;
}

.program-highlight {
  background-color: var(--primary);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
}

.program-highlight.secondary {
  background-color: var(--dark-secondary);
  color: var(--light);
}

/* AI Automation Section */
.ai-automation {
  padding: 80px 0;
  background-color: var(--light);
}

.ai-automation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.ai-automation-content {
  padding-right: 30px;
}

.ai-automation-content h2 {
  margin-bottom: 20px;
  color: var(--dark);
}

.ai-automation-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.ai-automation-features {
  list-style: none;
  margin-bottom: 30px;
}

.ai-automation-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.ai-automation-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.ai-automation-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ai-automation-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--dark-secondary);
  color: var(--light);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 20px;
}

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

.testimonial-content {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content:before,
.testimonial-content:after {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  position: absolute;
  opacity: 0.3;
}

.testimonial-content:before {
  top: -20px;
  left: -15px;
}

.testimonial-content:after {
  bottom: -40px;
  right: -15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-company {
  font-size: 0.9rem;
  color: var(--light-secondary);
}

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

.testimonial-dot {
  width: 12px;
  height: 12px;
  background-color: var(--light-secondary);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.testimonial-dot.active {
  background-color: var(--primary);
}

.testimonial-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.testimonial-video {
  border-radius: 8px;
  overflow: hidden;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-color: var(--primary);
  text-align: center;
}

.cta h2 {
  color: var(--dark);
  margin-bottom: 30px;
}

.cta p {
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

.cta .btn {
  background-color: var(--dark);
  color: var(--light);
  border-color: var(--dark);
}

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

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-links h4 {
  color: var(--primary);
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-secondary);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--dark-secondary);
  color: var(--light);
  border-radius: 50%;
  margin: 0 10px;
  transition: all 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-video {
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .programs-grid,
  .ai-automation-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dark);
    flex-direction: column;
    padding: 20px;
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
  }
  
  .nav-menu li.active .dropdown-menu {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-metrics {
    justify-content: space-between;
  }
  
  .metric {
    margin-right: 0;
    width: 48%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-videos {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-secondary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
