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

.logo-link {
  text-decoration: none;
  color: inherit; /* Keeps same text color */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #d0d0d0;
    background-color: #000000;
}

/* Read Story Button */
.read-story-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.read-story-btn:hover {
    background-color: #717171;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #717171;}

    .btn {
        padding: 15px 30px;
        font-size: 1.2rem;
        background-color: #2c2c2c;
        color: white;
        text-decoration: none;
        border-radius: 25px;
        transition: background-color 0.3s ease;
        border: none; 
        cursor: pointer;
        margin: 15px; 
    }
    
    .btn-primary {
        background-color: #2c2c2c; 
    }
    
    .btn-primary:hover {
        background-color: #717171; 
    }
    
    .btn-secondary {
        background-color: #2c2c2c; 
    }
    
    .btn-secondary:hover {
        background-color: #717171; 
    }

.back-btn:hover {
    background-color: #717171;
}

    /* Navigation Styling */
    .navbar {
      background-color: #191919;
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 10;
    }
    
    .navbar-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 20px;
    }
    
    .nav-links {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    .nav-links li {
      margin-left: 30px;
    }
    
    .nav-links li a {
      text-decoration: none;
      color: #d0d0d0;
      font-weight: 500;
      font-size: 1rem;
      transition: color 0.3s;
    }
    
    .nav-links li a:hover {
      color: #ffffff;
    }
    
    /* Hamburger styles */
    .hamburger {
      display: none;
      font-size: 24px;
      background-color: #2a2a2a;
      border: 1px solid #444;
      padding: 10px 15px;
      color: #fff;
      border-radius: 5px;
      cursor: pointer;
    }
    
    /* Dropdown Styles */
    .dropdown {
      position: relative;
    }
    
    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: -75%;
      background-color: #191919;
      padding: 10px 0;
      display: none;
      flex-direction: column;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      min-width: 180px;
      z-index: 999;
    }
    
    .dropdown-menu li {
      margin: 0;
    }
    
    .nav-links,
    .dropdown-menu {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .dropdown-menu li a {
      padding: 10px 20px;
      display: block;
      color: #d0d0d0;
      text-decoration: none;
    }
    
    .dropdown-menu li a:hover {
      background-color: #2a2a2a;
      color: #fff;
    }
    
    .show-dropdown {
      display: flex;
      flex-direction: column;
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
      .hamburger {
        display: block;
      }
    
      .nav-menu {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        position: absolute;
        width: 100%;
        background-color: #191919;
        top: 100%;
        left: 0;
        border-top: 1px solid #444;
        z-index: 9;
        transition: opacity 0.3s ease, transform 0.3s ease;
      }
    
      .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }
    
      .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 20px;
      }
    
      .nav-links li {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        margin: 10px 0;
      }
    
      .nav-menu.active .nav-links li {
        opacity: 1;
        transform: translateY(0);
      }
    
      /* Staggered animation delays */
      .nav-menu.active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
      .nav-menu.active .nav-links li:nth-child(2) { transition-delay: 0.2s; }
      .nav-menu.active .nav-links li:nth-child(3) { transition-delay: 0.3s; }
      .nav-menu.active .nav-links li:nth-child(4) { transition-delay: 0.4s; }
      .nav-menu.active .nav-links li:nth-child(5) { transition-delay: 0.5s; }
      .nav-menu.active .nav-links li:nth-child(6) { transition-delay: 0.6s; }
      .nav-menu.active .nav-links li:nth-child(7) { transition-delay: 0.7s; }
      .nav-menu.active .nav-links li:nth-child(8) { transition-delay: 0.8s; }
      .nav-menu.active .nav-links li:nth-child(9) { transition-delay: 0.9s; }
    }
    
/* Logo Styling */
.logo-title {
  display: flex;
  align-items: center;
}

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

/* Logo Animation */
body.home-page .logo {
  animation: rollIn 3s ease-out forwards;
}

@keyframes rollIn {
  0% {
    transform: translateX(-200%) rotate(0deg);
  }
  50% {
    transform: translateX(10%) rotate(360deg);
  }
  100% {
    transform: translateX(0) rotate(360deg);
  }
}


/* Sizing */
h1 {
  font-size: px;
  margin: 0;
}
  
/* Hero Section */
.hero {
    padding: 1vh;
    background-color: #000000;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d0d0d0;
    text-align: center;
}

.wrapper {
    height: 10vh;
    display: grid;
    place-items: center;
}

.typing-demo {
    margin-bottom: -300px;
    width: 8ch;
    animation: typing 1s steps(10), blink .50s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-family: monospace;
    font-size: 2.5em;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 8;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@media (max-width: 768px) {
  .about-image {
    margin-bottom: -75px; 
    margin-top: -75px;
  }
}


/* Overall Section Styling */
.about-section {
    padding-top: 120px;
    padding: -10px 80px;
    font-family: Arial, sans-serif;
  }
  
  /* Content Layout */
  .about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 350px;
    flex-wrap: wrap;
  }
  
  .about-image img {
    width: 1000%;
    max-width: 500px;
    height: 390px; /* Set a consistent height */
    object-fit: cover; /* Crop the image to fit without distortion */
  }

  /* Text Content */
  .about-info {
    max-width: 505px;
    text-align: left;
  }
  
  .about-info p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
  }


  /* Why Us Section Styling */
.whyus-section {
    padding: -500px 80px;
    padding-top:50px;
    padding-bottom: -200px;
  }
  
  /* Reverse Layout */
  .reverse-layout {
    flex-direction: row-reverse;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 40px;
  }
  
  .box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .custom-checkbox {
    width: 60px;
    height: 60px;
    background-color: #1e1e1e;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .custom-checkbox::before {
    content: "✔";
    color: #2b2b2b;
    background-color: #616161;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
  }
  
  .label-text {
    text-align: center;
    font-size: 16px;
  }

  
/* Overall Section3 Styling */
.about-section1 {
    padding: 10px 80px;
    padding-top: 100px;
    font-family: Arial, sans-serif;
  }
  
  /* Content Layout */
  .about-content1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; /* reduce the gap to a reasonable size */
    flex-wrap: wrap;
  }
  
  /* Image Section */
  .about-image1 img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
  }
  
  /* Text Content */
  .about-info1 {
    max-width: 600px;
    text-align: left;
  }
  
  .about-info1 p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  


/* Get Started Box */
.getstart {
    padding: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.start-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.boxstart {
    background-color: #1a1a1a;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 1px 75px rgba(255, 255, 255, 0.5);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.box-text {
    flex: 1;
    text-align: left;
}

.box-text h2 {
    color: white;
    font-size: rem;
    margin: 0;
}

.box-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.get-start-btn {
    padding: 17px 20px;
    font-size: 1.15rem;
    background-color: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.get-start-btn:hover {
    background-color: #717171;
}


    /* Footer */
    .footer {
      background-color: #333;
      color: white;
      padding: 50px 0;
  }
  
  .footer-container {
      display: flex;
      justify-content: space-between;
      padding: 0 40px;
  }
  
  .footer-links ul, .footer-social ul {
      list-style: none;
  }
  
  .footer-links ul li, .footer-social ul li {
      margin-bottom: 10px;
  }
  
  .footer-links ul li a, .footer-social ul li a {
      color: white;
      text-decoration: none;
      font-size: 1rem;
      transition: color 0.3s;
  }
  
  .footer-links ul li a:hover, .footer-social ul li a:hover {
      color: #a1a1a1;
  }
  
  .footer-copyright {
      text-align: center;
      font-size: 1.1rem;
      color: #ffffff;
  }
    


    /* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .about-content,
  .about-content1,
  .boxstart {
    gap: 60px;
    flex-direction: column;
    align-items: center;
  }

  .box-text {
    text-align: center;
  }

  .box-btn {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .about-section,
  .about-section1,
  .whyus-section,
  .getstart {
    padding: 50px 20px;
  }

  .about-content,
  .about-content1 {
    gap: 40px;
    flex-direction: column;
    align-items: center;
  }

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

  @media (max-width: 768px) {
    .about-image1 {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }
  
    .about-image1 img {
      width: auto;         /* Slightly wider for mobile */
      max-width: 80%;
    }
  }

  .about-info,
  .about-info1 {
    text-align: center;
  }

  .boxstart {
    padding: 50px;
    flex-direction: column;
    gap: 30px;
  }

  .box-text h2 {
    font-size: 1.5rem;
  }

  .get-start-btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-social {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .typing-demo {
    font-size: 1.5em;
    margin-bottom: -200px;
  }

  .read-story-btn,
  .cta-button,
  .btn,
  .get-start-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .boxstart {
    padding: 20px;
  }

  .box-text h2 {
    font-size: 1.3rem;
  }
}
