/* universal selector */
* {
    /* CSS */
body {
    
    /* this is correct gradient background   */
    /* background: radial-gradient(circle at top center, #1a2a4f, #1f2937); */
    
    /* background-color: #1f2937; */
    /* background: radial-gradient(  #1a2a4f ,#1f2937 ); */
    
    /* background-color: linear-gradient(to right, #1a2a4f, #295fac); */
    
    /* background-color: #0b1224; little bit better || #080e1d  better */
    /* background-color: #080e1d; */
    
    /* this is also a good gradient background  */
    /* background: linear-gradient(to  left, #1a2a4f, #111827 10%);  */

    /* this is also a good gradient background  */
    /* background: linear-gradient(to top, #1a2a4f, #111827 );  */

    /* this is a image for background  */
    /* this is a image for background  */
    margin: 0;
    padding: 0;
    height: 100%; /* Ensure the body takes full viewport height */
   
    background-image: url('background5.png'); /* Path to your image */
    background-size: cover; /* Scales image to cover the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents repeating the image */    

    color: white;
  }
  
}


/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation styles */
.nav {
    background-color: #1f2937;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* background-color: rgba(135, 206, 235, 0.8); Transparency set to 80% */
    color: white;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2); /* Added box-shadow for a glassy look */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-links {
    display: none;
    margin-right: 10rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    margin-right: 3rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Add padding to body to prevent content from being hidden under fixed navbar */
body {
    padding-top: 4rem; /* Adjust this value based on your navbar height */
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;  /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1f2937;
    padding-top: 60px; /* Reduced padding from 80px */
    padding-left: 20px;
    padding-right: 20px;
    z-index: 999;
    text-align: center; /* Center align all content */
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: none; /* Remove border */
    text-align: center;
}

/* Style for the active link */
.mobile-menu a.active {
    color: white; /* Changed from #4CAF50 to white */
}

.mobile-menu h3 {
    color: white;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin: 8px 0;
}

.mobile-menu ul li a {
    padding: 8px 0;
    font-size: 16px;
    color: white;
}

.mobile-menu hr {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 15px auto;
    width: 90%; /* Make hr slightly shorter than full width */
}

/* Main content styles */
main {
    flex-grow: 1;
    padding: 2rem 0;
}

header {
    
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    /* margin-top: 100px; */
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    /* height: 100px; */
    
    /* this is for text gradient*/
   background-image: linear-gradient(43deg, #4158D0 29%, #c850C0 46%, #c09442 100%);
   -webkit-background-clip: text;
   color: transparent;

    
   
}

.subtitle {
    font-size: 1.15rem;
    color: #ada1a1;
}

/* Search input styles */
.search-container {
    position: relative;
    /* margin-top: 100px; */
    max-width: 500px;
    margin: 0 auto 2rem;
  
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    
}

#searchInput {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 1rem;
    background-color: rgb(235, 228, 228);
}

/* Grid layout for cards */
.grid {
    /* margin-top: 100px; */
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card styles */
.card {
    /* this is border */
    /* border: 1px solid #ccc; */
    border: 1px solid hsla(0, 0%, 100%, .12);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background-color: #1f2b3d;
}

/* Card hover effect */
.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
   
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-title {
    display: flex;
    align-items: center;
}

.card-image {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    border-radius: 4px;
}

.card h2 {
    margin: 0;
    font-size: 1.25rem;
}

/* Pricing indicator styles */
.pricing-indicator {
    position: absolute;
    top: 0;
    right:0;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.free { background-color: #4CAF50; }
.freemium { background-color:rgb(196, 131, 142); }
.paid { background-color: #FFC107; }
.trial { background-color: #9C27B0; }

.card p {
    color: #ececf1;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
   /* font-weight: 0; */
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.001rem;
}

.hashtag {
    /* background-color: #f0f0f0; */
    color: #6b6464;
    padding: 0.25rem 0.3rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Visit Website button styles */
.card a {
    /*display: inline-block;*/
    /* background-color: #87CEEB; */
    background-color: #2196F3;
    
    color: white;
    padding: 4px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.15s ease;

}

.card a:hover {
    background-color: #1d69bb;
    /* background-color:  #1976D2; */

}

/* Footer styles */
footer {
    /* background-color: #87CEEB; */
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    z-index: 2; 
}

/* Responsive styles */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .menu-button {
        display: none;
    }
}


/* Vertical Navigation Bar Styles */
.vertical-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 180px;
    height: 70%;
    /* background-color: #111827; */
    padding: 1rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    /* overflow-y: auto; */
    /* margin-top: 100px; */
    /* margin-bottom: 100px; */
    transition: transform 0.3s ease-in-out;
    scrollbar-width: thin; /* Add this line to make the scrollbar thin */

    
}

.vertical-nav h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
    margin-top: 100px;
    margin-left: 10px;
    color: white;
}

.vertical-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 39px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
}

.vertical-nav ul li {
    margin-bottom: 1rem;
    width: 100%;
}

.vertical-nav ul li a {
    text-decoration: none;
   color: rgb(233, 227, 227);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.vertical-nav ul li a img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.vertical-nav ul li a:hover {
    text-decoration: underline;
}

.vertical-nav ul li a svg {
    margin-right: 10px;
    stroke: #e9e3e3;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.vertical-nav ul li a:hover svg {
    transform: scale(1.1);
    stroke: white;
}

/* Adjust main content to account for vertical nav */
main.container {
    margin-left: 300px; /* Adjust this value based on the width of the vertical nav */
    z-index: 1; /* Ensure main content is above the vertical nav */
}

/* Responsive styles for vertical nav */
@media (max-width: 768px) {
    .vertical-nav {
        transform: translateX(-100%);
        z-index: 1001;
    }

    .vertical-nav.active {
        transform: translateX(0);
    }

    main.container {
        margin-left: 0;
    }

    /* Add a toggle button for the vertical nav */
    .vertical-nav-toggle {
        display: block;
        position: fixed;
        left: 10px;
        top: 60px;
        z-index: 1002;
       
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        /* background-color:  #111827; */
    }
}



/* hero section of gradient background it is working and nice   */
/* body {
    background: linear-gradient(to right, #aba3b4, #4674c2);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;    
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
} 

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
}

.cta-button:hover {
    background-color: #0056b3;
} */


/* style to vertical nav bar of same gradient background of hero section 
.vertical-nav {
    background: linear-gradient(to right, #aba3b4, #4674c2);
    color: white;
    padding: 100px 0;
    text-align: center;
}    */


/* body different gradient background   */
/* CSS */
/* body {
    height: 100vh;
   
    background: radial-gradient(circle at top center, #1a2a4f, #111827);
    color: white;
  } */
  

  /* this is anothe gradient background  */
/* CSS */
/* body {
    height: 100vh;
    background: radial-gradient(circle at top center, #1a2a4f, #111827 70%);
    color: white;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  .container {
    padding: 20px;
    text-align: center;
  } */
  

/* Form container */
form {
    background-color: rgba(31, 41, 55, 0.8); /* Dark background with some transparency */
    padding: 2rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 3rem auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Label styling */
form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
}

/* Input, select, and textarea styling */
form input[type="text"],
form input[type="url"],
form input[type="email"],
form textarea,
form select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #2e3a4b;
    color: white;
}

form input[type="file"] {
    margin-bottom: 1.5rem;
}

/* Focus states for inputs */
form input:focus,
form textarea:focus,
form select:focus {
    border-color: #4CAF50; /* Green border on focus */
    outline: none;
}

/* Checkbox styling */
form label[for="terms"] {
    font-weight: normal;
}

form input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Button styling */
form button[type="submit"] {
    background-color: #4CAF50; /* Green button */
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

form button[type="submit"]:hover {
    background-color: #45a049;
}

/* Responsive adjustments for form */
@media (max-width: 768px) {
    form {
        padding: 1rem;
    }
}

/* Specific improvements to layout */
form textarea {
    resize: vertical; /* Allow vertical resizing only */
    height: 100px; /* Set a default height */
}

/* Error/validation message styles */
form .error-message {
    color: red;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Alignment of form elements */
form input[type="checkbox"] + label {
    display: inline-block;
    margin-top: 0.5rem;
}

/* Form Title Styling */
form h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Aligning the form in the center of the screen */
form {
    margin-top: 6rem;
    margin-bottom: 6rem;
    /* margin-left: 20%; */
    margin-left: 15rem;
    width: 70%;
 
}

/* Add these mobile-specific styles at the end of your existing CSS file */

/* Mobile Menu Styles */
.mobile-menu {
    display: none;  /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1f2937;
    padding-top: 60px; /* Reduced padding from 80px */
    padding-left: 20px;
    padding-right: 20px;
    z-index: 999;
    text-align: center; /* Center align all content */
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: none; /* Remove border */
    text-align: center;
    margin-top: 2%;
}

/* Style for the active link */
.mobile-menu a.active {
    color: white; /* Changed from #4CAF50 to white */
}

.mobile-menu h3 {
    color: white;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin: 8px 0;
}

.mobile-menu ul li a {
    padding: 8px 0;
    font-size: 16px;
    color: white;
}

.mobile-menu hr {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 15px auto;
    width: 90%; /* Make hr slightly shorter than full width */
}

/* Hamburger Menu Button */
.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Show hamburger menu and hide regular nav */
    .menu-button {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
    }

    .vertical-nav {
        display: none;
    }

    /* Center the logo in mobile view */
    .nav-content {
        justify-content: left;
        position: relative; /* For absolute positioning of menu button */
    }

    .logo {
        margin: left 23px;
    }

    /* Form adjustments for mobile */
    form {
        margin: 20px auto;
        width: 90%;
        padding: 15px;
    }

    main.container {
        margin-left: 0;
        padding: 15px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .mobile-menu {
        padding-top: 50px;
    }

    .mobile-menu a,
    .mobile-menu ul li a {
        font-size: 15px;
        padding: 10px 0;
    }

    .mobile-menu h3 {
        font-size: 16px;
    }
}

/* Add these styles at the end of your existing CSS file */

/* Mobile Responsive Styles for Form and Content */
@media screen and (max-width: 768px) {
    /* Form container adjustments */
    form {
        margin: 70px auto 20px auto; /* Adjust top margin to account for fixed header */
        width: 90%;
        padding: 20px;
        background-color: rgba(31, 41, 55, 0.95);
        border-radius: 8px;
        box-shadow: none;
    }

    /* Form input styling for mobile */
    form label {
        color: #ffffff;
        font-size: 14px;
        margin-bottom: 8px;
    }

    form input[type="text"],
    form input[type="url"],
    form input[type="email"],
    form select,
    form textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 16px;
        background-color: #2d3748;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        color: white;
        font-size: 16px;
    }

    /* Adjust textarea height */
    form textarea {
        min-height: 100px;
        resize: vertical;
    }

    /* Style the select dropdown */
    form select {
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 16px;
        padding-right: 40px;
    }

    /* Submit button styling */
    form button[type="submit"] {
        width: 100%;
        padding: 14px;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 500;
        margin-top: 10px;
    }

    /* Remove left margin from form */
    form {
        margin-left: auto;
        margin-right: auto;
    }

    /* Main container adjustments */
    main.container {
        padding: 10px;
        margin: 0;
        width: 100%;
    }

    /* Hide vertical navigation on mobile */
    .vertical-nav {
        display: none;
    }
}

/* Extra small devices (phones) */
@media screen and (max-width: 480px) {
    form {
        width: 95%;
        padding: 15px;
        margin-top: 60px;
    }

    form label {
        font-size: 13px;
    }

    form input[type="text"],
    form input[type="url"],
    form input[type="email"],
    form select,
    form textarea {
        padding: 10px;
        font-size: 15px;
        margin-bottom: 12px;
    }

    form button[type="submit"] {
        padding: 12px;
        font-size: 15px;
    }
}

/* Tablet devices */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    form {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        padding: 25px;
    }

    main.container {
        padding: 20px;
    }
}

/* Fix for iOS input zoom */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="url"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Fix for sticky header spacing */
body {
    padding-top: 60px;
}

/* Ensure form elements don't overflow */
* {
    box-sizing: border-box;
}

/* Update the active link color - remove the green */
.mobile-menu a.active {
    color: white; /* Changed from #4CAF50 to white */
}

/* Update the Home link color in the mobile menu */
.mobile-menu a[href="/"] {
    color: white; /* Changed from green to white */
}
























