/* Main Styles for Shared Synergy Website */

:root {
  --primary: #0a2240;
  --secondary: #00a0e3;
  --accent: #00d4b1;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
}

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

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  height: 120px; /* 4x bigger than original */
  width: auto;
}

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

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

.nav-menu a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Dropdown Menu Styles */
.nav-menu .has-submenu {
  position: relative;
}

.nav-menu .has-submenu > a:after {
  content: "▼";
  font-size: 0.7em;
  margin-left: 5px;
  vertical-align: middle;
}

.nav-menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  display: none;
  z-index: 1001;
  border-radius: 4px;
  padding: 10px 0;
}

.nav-menu .has-submenu:hover .submenu {
  display: block;
}

.nav-menu .submenu li {
  margin: 0;
  width: 100%;
}

.nav-menu .submenu a {
  display: block;
  padding: 8px 15px;
  color: var(--primary);
  font-weight: 400;
}

.nav-menu .submenu a:hover {
  background-color: var(--light);
  color: var(--secondary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section Styles */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  margin-top: 90px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1); /* Adjust the last value e.g., 0.1, to change the overlay. */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  color: white;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Add this to your styles.css */

.hero h1,
.hero h2,
.hero p {
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.9);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

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

.btn-primary:hover {
  background-color: #0088c7;
}

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

.btn-secondary:hover {
  background-color: #071a33;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Why Synergy Section */
.why-synergy-section {
  background-color: var(--light);
}

.why-synergy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-synergy-content {
  font-size: 1.1rem;
}

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

.why-synergy-content .no-checkmark {
  margin-bottom: 20px;
}

.why-synergy-content .checkmark-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.why-synergy-content .checkmark-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background-color: var(--secondary);
  border-radius: 50%;
}

.why-synergy-content .checkmark-item:after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 1px;
  color: white;
  font-size: 12px;
}

.why-synergy-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-synergy-cta {
  text-align: center;
  margin-top: 50px;
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
}

.play-button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
}

.video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: var(--gray);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 2001;
}

.modal-content {
  width: 80%;
  max-width: 1000px;
}

.modal-video {
  width: 100%;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s;
}

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

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

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

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 18px;
  color: var(--primary);
  z-index: 10;
}

.carousel-prev {
  left: -20px;
}

.carousel-next {
  right: -20px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

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

.carousel-dot.active {
  background-color: var(--secondary);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: white;
  text-align: center;
}

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

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

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

/* Footer Styles */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 20px;
}

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

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

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

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

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

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

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

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

/* Mobile Styles */
@media (max-width: 768px) {
  .logo {
    height: 60px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .why-synergy-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-prev, .carousel-next {
    display: none;
  }
  
  /* Mobile Dropdown Menu */
  .nav-menu .has-submenu > a:after {
    float: right;
  }
  
  .nav-menu .submenu {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0;
    margin-top: 10px;
    margin-left: 15px;
  }
  
  .nav-menu .has-submenu.active .submenu {
    display: block;
  }
  
  .nav-menu .submenu a {
    padding: 8px 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .section {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .service-card {
    max-width: 350px;
    margin: 0 auto;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

/* For pages with banner */
body.has-banner {
  padding-top: 40px;
}

body.has-banner .hero {
  margin-top: 130px;
}

/* Active navigation link */
.nav-menu a.active {
  color: var(--secondary);
  font-weight: 600;
}
