:root {
  --primary: #232d49;
  --primary-light: #00356b;
  --secondary: #9ee6f9;
  --background: #e7e8e7;
  --white: #ffffff;
  --black: #000000;
  --gray: #f5f5f5;
  --dark-gray: #333333;
  --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 100px;
}

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

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  display: flex;
  align-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo:hover {
  transform: scale(1.1);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.76) !important;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:not(.contact-button):after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-light);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.contact-button {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  transition: var(--transition);
}

.contact-button:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
}

.mobile-menu-button .line {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background-color: var(--white);
}

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

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero .subtitle {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 40px;
}

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

.primary-button,
.secondary-button {
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
}

.primary-button {
  background-color: var(--primary-light);
  color: var(--white);
}

.primary-button:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 53, 107, 0.1);
}

.secondary-button {
  border: 1px solid var(--primary-light);
  color: var(--primary-light);
}

.secondary-button:hover {
  background-color: rgba(0, 53, 107, 0.05);
  transform: translateY(-2px);
}

/* Hero section with video */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  opacity: 0.9;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

/* Text Styling */
.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Button Adjustments for Contrast */
.hero .primary-button {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.hero .secondary-button {
  color: var(--white);
  border: 2px solid var(--white);
  background-color: transparent;
}

.hero .primary-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.hero .secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


/* Marquee Section */
.marquee-section {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 20px 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: scroll 30s linear infinite;
}

.marquee-content span {
  font-size: 18px;
  font-weight: 500;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: #fafafa;
}

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

.about-left img {
  width: 100%;
  border-radius: 8px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trusted-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.about-right h2 {
  font-size: 2rem;
  margin-top: 10px;
  line-height: 1.3;
}

.about-cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.about-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
  flex: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-card h3 {
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background-color: #9ee6f9;
  color: #004c6d;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #73cde0;
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-cards {
    flex-direction: column;
  }
}



/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-header p {
  color: var(--dark-gray);
  font-size: 18px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--background);
  border-radius: 10px;
  padding: 40px;
  transition: var(--transition);
}

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

.card-number {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--secondary);
}

.feature-card p {
  color: var(--white);
}

/* About Section */
#about .feature-cards {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.feature-card {
  position: relative;
  background: url("./images/login-background.png") no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.feature-card * {
  position: relative;
  z-index: 1;
}


/* Contact Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  margin-bottom: 20px;
}


/* Process Section */
.process-section {
  padding: 100px 0;
  background-color: var(--background);
}

.process-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.process-text {
  flex: 1;
}

.process-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--primary);
}

.process-text p {
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.process-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary);
}

.step-content p {
  color: var(--dark-gray);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--white);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--background);
  border-radius: 10px;
  padding: 40px;
}

.quote {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
  color: var(--primary);
  position: relative;
}

.quote:before {
  content: '"';
  font-size: 60px;
  color: var(--secondary);
  position: absolute;
  top: -20px;
  left: -15px;
  opacity: 0.3;
}

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

.author-title {
  color: var(--dark-gray);
  font-size: 14px;
}

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

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.hero-content {
  text-align: center;
}

/* Animated Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: -50px;
  right: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top.active {
  bottom: 20px;
  opacity: 1;
  visibility: visible;
}

.scroll-top__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.scroll-top__link:hover {
  background-color: var(--primary);
  transform: scale(1.1);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

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

.link-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary);
}

.link-column a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.link-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

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

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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


/* SCROLL ANIMATION */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-side {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-side.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-leftside {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-leftside.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scroll-fade {
  opacity: 0;
  transition: opacity 1.1s ease-out;
}

.scroll-fade.in-view {
  opacity: 1;
}

@keyframes scaleFadeIn {
  0% {
    transform: scale(1.25);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.scroll-scale-fade {
  opacity: 0;
  transform: scale(3.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-scale-fade.in-view {
  animation: scaleFadeIn 0.5s ease-out forwards;
}



@media (max-width: 992px) {
  .process-content {
    flex-direction: column;
  }

  .process-text,
  .process-steps {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero .subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 150px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .feature-card {
    padding: 30px;
  }



  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 30px;
  }
}