body {
    font-family: Optima, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

 
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.logo {
    font-weight: 700;
    font-size: 24px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFD166;
}

.floating-download-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  transform: none;
  text-decoration: none;
  color: #fff;
  background-color: #fca311;
  padding: 14px 25px;
  border-radius: 30px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  font-size: 16px;
  width: auto;
}


.floating-download-btn:hover {
    background-color: #f4840e;
    transform: translateX(-50%) scale(1.05);
}

.download-btn {
    text-decoration: none;
    color: #fff;
    background-color: #fca311;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    border: none;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #f4840e;
    
}

 
.main-download {
    background-color: #fca311;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.main-download:hover {
    background-color: #fa840e;
}

.hero {
    padding: 60px 20px;
    flex-grow: 1; /* Allow hero section to take available space */
    position: relative;
}

.new-feature-banner {
    background-color: white; /* Light green, like WhatsApp */
    color: #1e1e1e;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Initial transparent border */
}

.new-feature-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.new-feature-banner span {
    position: relative;
    z-index: 2;
    
}

.new-feature-banner {
    /* ... existing styles ... */
    position: relative;
    overflow: hidden;
    /* Add glowing border animation */
    animation: glowing-border 2s infinite alternate;
}

@keyframes glowing-border {
    0% {
        box-shadow: 0 0 5px #ffa500, 0 0 10px #ffa500, 0 0 15px #ffa500;
    }
    100% {
        box-shadow: 0 0 10px #ffa500, 0 0 20px #ffa500, 0 0 30px #ffa500;
    }
}



.hero h1 {
    font-size: 56px;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.2;
}

.highlight {
    color: #FFA500;
}

.hero p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px auto;
    position: relative; /* For z-index */
    z-index: 5;
}

.hero-title-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Ensure title is above messages */
}

.message-animation-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    height: 300px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.message-animation-container.left {
    left: 0;
}

.message-animation-container.right {
    right: 0;
}

.whatsapp-message {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: absolute;
    opacity: 0;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

.whatsapp-message-received {
    background-color: #d6f3b9; /* Light green for received messages */
    align-self: flex-start;
    border-radius: 15px 15px 15px 0;
    padding: 10px 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: left;
    justify-content: left;
    font-size: 10px;
}

.whatsapp-message-sent {
    background-color: #dcf8c6; /* Slightly darker green for sent messages */
    align-self: flex-end;
    border-radius: 15px 15px 0 15px;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: left;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    white-space: nowrap;
    justify-content: left;
    font-size: 10px;
}

.whatsapp-message2 {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: absolute;
    opacity: 0;
    animation-duration: 5s;
    text-align: left;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    white-space: nowrap;
    justify-content: left;
}

.left .message1 { top: 0px; animation-name: fly-from-left; animation-delay: 1s; }
.left .message2 { top: 30px; animation-name: fly-from-left; animation-delay: 0s; }
.left .message3 { top: 100px; animation-name: fly-from-left; animation-delay: 2s; }
.left .message4 { top: 150px; animation-name: fly-from-left; animation-delay: 4s; }
.left .message5 { top: 220px; animation-name: fly-from-left; animation-delay: 3s; }
.left .message6 { top: 250px; animation-name: fly-from-left; animation-delay: 2s; }


.right .message7 { top: 0px; animation-name: fly-from-left; animation-delay: 1s; }
.right .message8 { top: 30px; animation-name: fly-from-left; animation-delay: 0s; }
.right .message9 { top: 100px; animation-name: fly-from-left; animation-delay: 2s; }
  
@keyframes fly-from-left {
    0% {
        left: 0px;
        opacity: 1;
    }
    22% {
        opacity: 0.05;
    }
    75% {
        opacity: 0.15;
    }
    75% {
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}
 

.features-grid {
    padding: 0px 20px;
}

.grid-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 60%;
    margin-left: 20%;
    margin-left: 20%;
    margin: 0 auto;
}

.features-section {
    padding: 60px 20px;
    background-color: #f0f2f5;
    margin-left: 7%;
    margin-right: 7%;
}

.features-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fa840e;
    margin-bottom: 40px;
    text-align: center;
}

.feature-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-row.two-cards .feature-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.feature-row.three-cards .feature-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px; /* Ensure consistent card height */
}

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

@keyframes vibrate {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.feature-card .emoji {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Glowing border animation */
.feature-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-size: 400%;
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.feature-card:hover::before {
    opacity: 1;
    animation: glowing 8s linear infinite;
}

@keyframes glowing {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-row.two-cards .feature-card,
    .feature-row.three-cards .feature-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .features-section h2 {
        font-size: 28px;
    }

    .feature-card {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 40px 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card .emoji {
        font-size: 36px;
    }

    .feature-card h3 {
        font-size: 18px;
    }
}
 
.grid-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Adjust as needed for spacing between rows */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add horizontal padding to prevent overflow */
}

.feature-card {
    flex: 1 1 calc(33% - 40px); /* For 3 cards per row, considering gap */
    max-width: calc(33% - 40px);
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.feature-row-2 .feature-card {
    flex: 1 1 calc(50% - 40px); /* For 2 cards per row, considering gap */
    max-width: calc(50% - 40px);
}

@media (max-width: 768px) {
    .feature-card {
        flex: 1 1 calc(50% - 40px); /* 2 cards per row on smaller screens */
        max-width: calc(50% - 40px);
    }

    .feature-row-2 .feature-card {
        flex: 1 1 calc(100% - 40px); /* 1 card per row on smaller screens for 2-card rows */
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .feature-card {
        flex: 1 1 calc(100% - 40px); /* 1 card per row on very small screens */
        max-width: calc(100% - 40px);
    }
}
    

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    max-width: 350px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

@keyframes pulse-border {
    0% {
        border-color: #f7d699;
        box-shadow: 0 0 0 0 rgba(255, 162, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 221, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 183, 0, 0);
    }
}

.feature-card:hover {
    border-color: #f7d699;
    animation: pulse-border 2s infinite;
}

.feature-card.free {
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 24px;
    margin-top: 0;
    color: #fa840e;
}

.row-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: -20px;
    text-align: left;
}

.features-grid {
    padding: 60px 20px;
}

.features-grid h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

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

.feature-card {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
footer {
    padding: 40px 20px;
    text-align: center;
    background: transparent;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-container a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-container a:hover {
    color: #ffa500; /* Orange highlight on hover */
}

