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

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #fff;
  background-color: #f0e2e4;
  
}

/* NAVIGATION BAR */
nav {
  display: flex;

  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

/* Logo */
nav .logo {
  height: 40px;
  width: 40px;
  background-image: url('new logo check.png');
  border-radius: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Logo with Text Container */
.logo-text-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #A21C1A;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
}

.logo-link .logo-text {
  color: #A21C1A;
}

.logo-link:hover .logo-text {
  text-decoration: none;
}



/* Nav links */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  width: 100%;
  
}

.nav-links a {
  text-decoration: none;
  color: #A21C1A;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  /* Ensure smooth tap feedback */
  touch-action: manipulation;
}

/* HOVER + FOCUS + ACTIVE styles for mobile */
.nav-links a:hover,
.nav-links a:focus,
.nav-links a:active {
  border-color: #A21C1A;
  background-color: rgba(168, 66, 65, 0.05);
  outline: none;
}

/* RESPONSIVE FIXES */
@media (min-width: 601px) {
 
}




/* Center logo box */
.logo-wrapper {
  height: 150px;
  width: 150px;
}

.logocenter {
  height: 100%;
  width: 100%;
  background-image: url('onlylogo1024.png');
  background-size: cover;
  background-position: center;
}

/* HEADER */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: radial-gradient(circle at center, #ad5150 0%, #A21C1A 100%);
  padding: 2rem;
  padding-top: 6rem;
}

header h1 {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

header h2 {
  font-size: 2rem;
  font-weight: normal;
}

.downloadlogo {
  font-size: large;
}

/* Hero Section */
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-download {
  background-color: #A21C1A;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
  box-shadow: #f9f9f9;
}

.btn-download:hover {
  background-color: #8b1816;
  box-shadow: #f9f9f9;
  
}

/* Benefits Section */
.benefits {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  background-color: #f0e2e4;
  
}

.benefit {
  flex: 1 1 250px;
  max-width: 300px;
  margin: 1rem;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  
}

.benefit:hover{ 
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #A21C1A;
}

.benefit h3 {
  margin-bottom: 0.5rem;
  color: #A21C1A;
}

.benefit p {
  color: #333;
}


@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.spacebitween{
  background-color: #ffffff;
  height: 200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  
  
}

.lowerpage{
  background-color: #ffffff;
  
  width: 100%;
  
  display: flex;
  align-items: center;
  justify-content: center;
}




.spacebitween p{
  color: #A21C1A;
  font-size: 2rem;
  
}

/* ABOUT PAGE STYLING */
.about-page {
  padding: 6rem 2rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
  color: #333;
  background-color: #f0e2e4;
}

.intro {
  text-align: center;
  margin-bottom: 3rem;
}

.intro h1 {
  font-size: 2.5rem;
  color: #A21C1A;
  margin-bottom: 1rem;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.intro-img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimony {
  background-color: #f8f8f8;
  padding: 2rem;
  border-left: 6px solid #A21C1A;
  margin-bottom: 3rem;
}

.testimony h2 {
  margin-bottom: 1rem;
  color: #A21C1A;
}

.testimony-box {
  background-color: #fff;
  padding: 1rem;
  border-radius: 6px;
  font-style: italic;
}

.dev-name {
  margin-top: 1rem;
  font-weight: bold;
  text-align: right;
}

.history {
  padding: 1rem 0;
}

.history h2 {
  color: #A21C1A;
  margin-bottom: 0.5rem;
}

/* CONTACT PAGE */
.contact-page {
  background-color: #ffffff;
  color: #A21C1A;
}

.headerbarcontact {
  background-color: #A21C1A;
  height: 200px;
  width: 100%;
}

.connect-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.connect-icons img {
  max-width: 250px;
  height: auto;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  background-color: #000;
  color: #fff;
  padding: 0.8rem;
  border-radius: 50%;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
  background-color: #A21C1A;
}

.contact-section {
  padding: 3rem 2rem;
  background-color: #ffffff;
  max-width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(168, 66, 65, 0.2);
}

.contact-section:last-child {
  border-bottom: none;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #A21C1A;
  border-left: 5px solid #A21C1A;
  padding-left: 0.5rem;
}

.contact-section p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: #333;
}

/* LOGIN PAGE */
.login-page {
  background-color: #ffffff;
  color: #A21C1A;
}

.login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 2rem;
  text-align: center;
}

.login-container h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #A21C1A;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.login-form label {
  text-align: left;
  font-weight: bold;
  color: #A21C1A;
}

.login-form input {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.login-form button {
  background-color: #A21C1A;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-form button:hover {
  background-color: #8b1816;
}

.form-links {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-links a {
  color: #A21C1A;
  text-decoration: none;
}

.form-links a:hover {
  text-decoration: underline;
}

.login-message {
  margin-top: 1rem;
  font-weight: bold;
  color: #A21C1A;
}

.footer {
  text-align: center;
  padding: 1rem;
  background-color: #f1f1f1;
  color: #A21C1A;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
  .benefits {
    flex-direction: column;
    align-items: center;
  }

  .btn-download {
    width: 180px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  
  header h1 {
    font-size: 2.5rem;
  }

  header h2 {
    font-size: 1.5rem;
  }

  .social-icons {
    justify-content: center;
    gap: 0.7rem;
  }

  .social-icons a {
    padding: 0.6rem;
    font-size: 1.2rem;
  }
}
