@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* 
   Landing page styles for Open Talk
   Modern, clean and classy design
*/

/* Base styling */
.landing-body {
  font-family: 'Nunito', sans-serif;
  color: #333;
  overflow-x: hidden;
  background-color: #fff;
}

/* Animation classes */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.delay-1s {
  animation-delay: 0.5s;
}

.delay-2s {
  animation-delay: 1s;
}

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

.fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(50px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* Navigation styling */
#mainNav {
  padding: 15px 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

#mainNav.navbar-scrolled {
  background-color: #fff;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav.navbar-scrolled .nav-link,
#mainNav.navbar-scrolled .logo-text {
  color: #333 !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
}

.navbar-logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff !important;
  transition: color 0.3s ease;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 15px !important;
  color: #fff !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover::after {
  width: 70%;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 15px;
  background-color: #fff;
  transition: width 0.3s ease;
}

#mainNav.navbar-scrolled .nav-link::after {
  background-color: #228891;
}

/* Header/Hero section */
.masthead {
  position: relative;
  height: 100vh;
  min-height: 700px;
  padding-top: 100px;
  background: rgb(34,136,145);
  background: linear-gradient(135deg, rgba(34,136,145,1) 0%, rgba(34,136,145,0.8) 50%, rgba(34,136,145,0.6) 100%);
  color: #fff;
  overflow: hidden;
}

.masthead::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 800 800"><g fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"><path d="M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63"/><path d="M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764"/><path d="M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880"/><path d="M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382"/><path d="M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269"/></g><g fill="rgba(255,255,255,0.05)"><circle cx="769" cy="229" r="5"/><circle cx="539" cy="269" r="5"/><circle cx="603" cy="493" r="5"/><circle cx="731" cy="737" r="5"/><circle cx="520" cy="660" r="5"/><circle cx="309" cy="538" r="5"/><circle cx="295" cy="764" r="5"/><circle cx="40" cy="599" r="5"/><circle cx="102" cy="382" r="5"/><circle cx="127" cy="80" r="5"/><circle cx="370" cy="105" r="5"/><circle cx="578" cy="42" r="5"/><circle cx="237" cy="261" r="5"/><circle cx="390" cy="382" r="5"/></g></svg>');
  background-size: cover;
  opacity: 0.6;
}

.header-content {
  max-width: 90%;
  margin-top: 50px;
}

.header-content h1 {
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 2.8rem;
  line-height: 1.2;
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.btn-primary {
  background-color: #fff;
  color: #228891;
  border-color: #fff;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  border-color: #fff;
  color: #fff;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Hero image and QR code */
.hero-image-container {
  position: relative;
  padding: 20px;
  margin-top: 20px;
}

.hero-phone {
  max-width: 90%;
  height: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-radius: 25px;
}

.hero-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  color: #228891;
  font-weight: 700;
  padding: 10px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: pulse 2s infinite;
  z-index: 10;
}

.hero-badge span {
  font-size: 1.5rem;
  line-height: 1;
}

.hero-badge small {
  font-size: 0.8rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 136, 145, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 136, 145, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 136, 145, 0);
  }
}

.qr-code {
  position: absolute;
  right: -20px;
  bottom: 30px;
  width: 120px;
  height: 120px;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: rotate(10deg);
}

/* Section general styling */
section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #228891;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Feature section */
.features-section {
  background-color: #f8f9fa;
}

.feature-cards {
  margin-top: 40px;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(34, 136, 145, 0.1);
  color: #228891;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 25px;
}

.feature-card h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* How It Works section */
.how-it-works {
  background-color: #fff;
}

.steps-row {
  margin-top: 40px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #228891;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step-card h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.step-card p {
  color: #666;
  font-size: 1rem;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 29px;
  right: -50px;
  height: 2px;
  width: 100px;
  background-color: rgba(34, 136, 145, 0.2);
  z-index: -1;
}

.steps-row .col-lg-4:last-child .step-card::after {
  display: none;
}

/* Testimonial section */
.testimonial-section {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(34, 136, 145, 0.1);
  border-radius: 50%;
}

.testimonial-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(34, 136, 145, 0.05);
  border-radius: 50%;
}

.testimonial-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin: 20px 0;
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: #228891;
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: #333;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.6;
}

.testimonial-author h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.user-location {
  color: #999;
  font-size: 0.9rem;
}

.testimonial-indicators {
  position: relative;
  bottom: auto;
  margin-top: 30px;
}

.testimonial-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(34, 136, 145, 0.3);
}

.testimonial-indicators li.active {
  background-color: #228891;
}

/* CTA section */
.cta-section {
  background-color: #228891;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  right: -5%;
  top: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: -5%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-section .btn-success {
  background-color: #45d266;
  border-color: #45d266;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
}

.cta-section .btn-success:hover {
  background-color: #3eba5a;
  border-color: #3eba5a;
  transform: translateY(-3px);
}

.cta-section .btn-primary {
  background-color: #fff;
  border-color: #fff;
  color: #228891;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
}

.cta-section .btn-primary:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  transform: translateY(-3px);
}

/* Footer styling */
.site-footer {
  background-color: #f8f9fa;
  padding: 80px 0 40px;
  font-size: 0.95rem;
}

.footer-about {
  margin-bottom: 30px;
}

.footer-logo {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
}

.footer-about h5, .footer-links h5, .footer-contact h5 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  font-size: 1.1rem;
}

.footer-about p {
  color: #666;
  line-height: 1.6;
}

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

.footer-links ul li a {
  color: #666;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #228891;
  text-decoration: none;
}

.footer-contact ul li {
  margin-bottom: 10px;
  color: #666;
  display: flex;
  align-items: center;
}

.footer-contact ul li i {
  margin-right: 10px;
  color: #228891;
}

.footer-contact ul li a {
  color: #666;
  transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
  color: #228891;
  text-decoration: none;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #228891;
  color: #fff;
  text-decoration: none;
}

hr {
  margin: 30px 0;
  border-color: #ddd;
}

.copyright-text {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Responsive styles */

@media (max-width: 1199.98px) {
  .header-content h1 {
    font-size: 2.5rem;
  }
  
  .header-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  .masthead {
    padding-top: 80px;
    height: auto;
  }
  
  .header-content {
    margin-top: 30px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .header-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image-container {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  
  .qr-code {
    right: 0;
  }
  
  .step-card::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .feature-card, .step-card {
    margin-bottom: 30px;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .footer-about, .footer-links, .footer-contact {
    margin-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .header-content h1 {
    font-size: 2rem;
  }
  
  .btn-primary, .btn-outline-light, .btn-success {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .hero-badge {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  
  .testimonial-item {
    padding: 30px 20px;
  }
}