/* Base styles */
:root {
  --primary-color: #5c67e5;
  --text-color: #333;
  --background-color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, #d7d8ef, white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-x {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0 0.3rem;
  margin-right: 0.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-links .download-btn {
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 32px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-links .download-btn:hover {
  background-color: #4750c7;
  transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
  margin-left: 1rem;
}

.hamburger .line {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger .line:nth-child(1) {
  top: 0;
}

.hamburger .line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger .line:nth-child(3) {
  bottom: 0;
}

/* Hamburger Animation */
.hamburger.active .line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 0.5rem;
  }

  .nav-links .download-btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* Hero Section */
.hero {
  padding: 8rem 4rem 4rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  padding-top: 4rem;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
}

.hero-content h1 br {
  display: block;
}

.hero-content .highlight {
  color: var(--primary-color);
  display: inline-block;
}

.hero-content p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin-bottom: 2rem;
}

.trophy-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trophy {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-content {
    padding-top: 2rem;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin: 0 auto 2rem;
  }

  .trophy-container {
    margin-top: 1rem;
  }

  .trophy {
    max-width: 80%;
  }

  .about-container,
  .features-container,
  .team-container {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 1rem 1.5rem;
  }

  .about-container,
  .features-container,
  .team-container {
    padding: 1.5rem;
  }

  .logo-img {
    height: 32px;
  }
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: white;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.comp_image {
  width: 600px;
  height: 300px;
  border-radius: 15px;
}

.highlight-link {
  color: #5c67e5;
  position: relative;
  text-decoration: none;
  font-family: "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.highlight-link::after {
  content: "";
  position: absolute;
  width: 100%;
  border-top: solid 3px #5c67e5;
  left: 0;
  bottom: -10px;
  height: 7px;
  border-radius: 50%;
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.about-text {
  flex: 1;
}

.about-text p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

.about-image {
  flex: 1;
  height: 300px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: #f8f9fa;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  margin-bottom: 3rem;
}

.ace {
  text-align: center;
  font-size: 48px;
  margin-bottom: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.ace .lightning {
  position: relative;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: none;
  rotate: -4.15deg;
  padding-top: 10px;
  margin-bottom: 3rem;
}

.feature-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.slides {
  position: relative;
  margin: 0 1rem;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.slide-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
}

.slide-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slide-image:hover img {
  transform: scale(1.05);
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slide-text h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.slide-text p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.learn-more {
  align-self: flex-start;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.learn-more:hover {
  background-color: #4850c9;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
  background: #4850c9;
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}

.nav-button i {
  font-size: 1.5rem;
  line-height: 1;
}

.dots {
  position: relative;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  z-index: 10;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(92, 103, 229, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(92, 103, 229, 0.5);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .feature-slider {
    margin: 0 1.5rem;
  }

  .slide-content {
    gap: 2rem;
    padding: 1rem;
  }

  .nav-button {
    width: 36px;
    height: 36px;
  }

  .nav-button i {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .feature-slider {
    padding: 1rem;
    margin: 0 2rem;
  }

  .slide-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .slide-image,
  .slide-text {
    flex: none;
    width: 100%;
  }

  .nav-button {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
  }

  .prev {
    left: -16px;
  }

  .next {
    right: -16px;
  }

  .nav-button i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .feature-slider {
    padding: 0.5rem;
    margin: 0 1.5rem;
  }

  .slide-content {
    padding: 1rem;
  }

  .nav-button {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
  }

  .prev {
    left: -14px;
  }

  .next {
    right: -14px;
  }

  .nav-button i {
    font-size: 1rem;
  }

  .dots {
    gap: 0.6rem;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}

/* Testimonials */
.testimonials {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.testimonial {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 1rem;
}

.user-details h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.time {
  color: #666;
  font-size: 0.9rem;
}

.testimonial p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Team Section */
.team {
  padding: 4rem 2rem;
  background-color: var(--background-color);
}

.team h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--text-color);
  font-weight: 800;
  position: relative;
  display: inline-block;
  width: 100%;
}

.team-title {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #5c67e5, #4750c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.5rem;
  position: relative;
  font-weight: 900;
}

.team-title .spark {
  margin-left: 0.5rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #5c67e5, #4750c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sparkle 2s infinite;
  transform-origin: center;
  display: inline-block;
  vertical-align: middle;
}

@keyframes sparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.8;
  }
}

.team-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #5c67e5, transparent);
  animation: slideRight 2s infinite;
}

@keyframes slideRight {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.team-member {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-info img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #5c67e5;
}

.member-details h4 {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.member-details .role {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .team-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .team h2 {
    font-size: 2rem;
  }
}

/* Footer */
footer {
  background-color: #464b8c;
  color: white;
  padding: 4rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-section p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.4s ease;
}

.social-links a:hover {
  color: white;
}

.social-links i {
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
}

.social-links a:hover i {
  transform: scale(1.2);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-container,
  .hero,
  .about-container,
  .features-container,
  .team-container {
    padding: 0 2rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .trophy-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features h2,
  .about h2,
  .team h2 {
    font-size: 2rem;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-section {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .hero {
    padding: 5rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .feature-slider {
    padding: 0.5rem;
    margin: 0 1rem;
  }

  .nav-button {
    width: 35px;
    height: 35px;
  }

  .about-container,
  .features-container,
  .team-container {
    padding: 2rem 1rem;
  }
}

/* Base font size adjustments for better readability on different devices */
@media (max-width: 320px) {
  html {
    font-size: 14px;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Add smooth transitions for responsive changes */
.hero,
.about-content,
.feature-cards,
.team-grid,
.footer-content {
  transition: all 0.3s ease-in-out;
}

/* Print Styles */
@media print {
  .navbar,
  .slider-btn,
  .slider-dots,
  .learn-more,
  .footer {
    display: none;
  }

  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

.social-icon {
  width: 50px;
  height: auto;
  justify-content: center;
  align-items: center;
  color: #ccc;
}
.social-icon:hover {
  color: white;
  transform: scale(1.2);
  transition: all 0.4s ease;
}
