/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f6f5;
}

/* Header Section */
header {
    background: #d81c38;
    color: white;
    /* padding: 1rem; */
    position: sticky;
    box-shadow: hsla(0 0% 0% / 0.1) 0 0.5rem 1rem;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* .logo {
    font-size: 1.5rem;
    font-weight: bold;
} */

.logo {
    /* Adjust size as needed */
    width: 10em; /* Example using em */
    height: auto; /* Maintain aspect ratio */
  
    /* Other styling options */
    display: block; 
  }

nav {
    display: none;
}

nav.active {
    display: block;
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    background: #d81c38;
    opacity: 90%;
    padding: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0.5rem 1rem;
    display: block;
    font-size: 1rem;
    text-align: center;
}



.hamburger {
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    padding-right: 15px;
}

.cta-btn {
    background: #f58220;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: #ffffff;
    padding: 2rem 1rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero First Subsection */
.hero-first {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.hero-left h1 {
    font-size: 2rem;
    color: #d81c38;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-left p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.hero-right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Hero Second Subsection (Tools) */
.hero-tools {
    text-align: center;
}

.hero-tools h2 {
    font-size: 1.8rem;
    color: #d81c38;
    margin-bottom: 1.5rem;
}

.tools-grid {
    display: grid;
    gap: 1.5rem;
}

.tool-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card i {
    font-size: 2rem;
    color: #f58220;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.2rem;
    color: #d81c38;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: #666;
}

.tool-card .cta-btn {
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Footer Section */
footer {
    background: #d81c38;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

footer a {
    color: #f58220;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Mobile-First Media Queries */
@media (min-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
    }

    nav {
        display: flex;
        position: static;
        background: none;
        padding: 0;
    }

    nav a {
        margin: 0 1rem;
        display: inline;
    }

    .hamburger {
        display: none;
    }

    .hero-first {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .hero-left, .hero-right {
        flex: 1;
    }

    .hero-left h1 {
        font-size: 3rem;
    }

    .hero-left p {
        font-size: 1.4rem;
    }

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

@media (min-width: 1024px) {
    header, footer {
        padding: 0.5rem;
    }

    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tools */

.container{
    width: 800px;
    margin: 0 auto;
}

/* Disclaimer Topbar Message */
/* Disclaimer Banner */
.disclaimer-banner {
    background-color: #f58220; /* Orange background to match your theme */
    color: white;
    padding: .4rem 0 0;
    font-size: 0.9rem;
    text-align: center;
    /* position: sticky; */
    top: 0;
    z-index: 101; /* Ensure it appears above the header */
}

.disclaimer-banner marquee {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .logo {
        width: 6em;
    }

    #install-btn {
        font-size: 0.7rem;
        padding:6px ;
       }
}

@media (max-width: 480px) {
   html , body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
   }

   #install-btn {
    font-size: 0.6rem;
    padding:5px ;
   }
}

@media (max-width: 360px) {
    .#install-btn {
        font-size: 0.6rem;
        padding:5px ;
    }
}

/* Share Icon with Pulsating Effect */
.share-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f58220;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background 0.3s, transform 0.3s;
    animation: pulse 2s infinite; /* Pulsating animation */
}

.share-icon:hover {
    background: #d81c38;
    transform: scale(1.1); /* Slightly enlarge on hover */
    animation: none; /* Stop pulsating on hover */
}

.share-icon i {
    font-size: 1.5rem;
}

/* Pulsating Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.7); /* Start with no shadow */
    }
    50% {
        transform: scale(1.05); /* Slightly enlarge the button */
        box-shadow: 0 0 0 15px rgba(245, 130, 32, 0); /* Add a glowing shadow */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0); /* Return to normal */
    }
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 250px;
    padding: 1rem;
}

.share-modal.active {
    display: block;
}

.share-modal-content {
    position: relative;
}

.close-modal {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #d81c38;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f5f6f5;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.social-buttons a:hover {
    background: #e0e0e0;
}

.social-buttons i {
    font-size: 1.2rem;
}

/* Intriduction */

/* Introduction Section */
.intro {
    background: #ffffff;
    padding: 2rem 1rem;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.intro h1 {
    font-size: 2rem;
    color: #d81c38;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.intro p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.intro .disclaimer {
    font-size: 0.95rem;
    color: #333;
    background: #f5f6f5;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.intro-why, .intro-mission, .intro-legal, .intro-how, .intro-cta {
    margin-bottom: 2rem;
}

.intro h2 {
    font-size: 1.6rem;
    color: #d81c38;
    margin-bottom: 1rem;
    text-align: center;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li:before {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #f58220;
    position: absolute;
    left: 0;
    top: 2px;
}

.intro-cta {
    text-align: center;
}

.intro-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.intro-cta .cta-btn {
    background: #f58220;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .intro h1 {
        font-size: 2.5rem;
    }

    .intro h2 {
        font-size: 1.8rem;
    }

    .features-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .intro-cta .cta-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .intro {
        padding: 3rem 1rem;
    }

    .intro h1 {
        font-size: 3rem;
    }
}

/* Nav Active Class */

/* CSS for navigation */
nav a {
    text-decoration: none;
    color: #fff; /* Default link color */
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #f58220; /* Hover effect */
    color: #fff;
    border-radius: 5px; 
}

nav a.active {
    background-color: #f58220; /* Active link background color */
    color: #fff; /* Active link text color */
    border-radius: 5px; /* Optional: Add rounded corners */
}





/* Install PWA Popup */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  main {
    padding: 20px;
    text-align: center;
  }
  
  #install-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  #install-popup.show {
    display: flex;
  }
  
  .popup-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }
  
  .close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close-popup:hover {
    color: #d81c38;
  }
  
  .popup-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  
  .popup-content h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #333;
  }
  
  .popup-content p {
    margin: 0 0 20px;
    color: #666;
    font-size: 16px;
  }
  
  #install-btn-popup {
    background: linear-gradient(135deg, #d81c38, #ff5e78);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  #install-btn-popup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(216, 28, 56, 0.3);
  }
  
  @media (max-width: 768px) {
    .popup-content {
      width: 95%;
    }
  }