/* General Styles */
html {
    scroll-behavior: smooth;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  .navbar_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  h1, h2, h3, h4 {
    margin: 0 0 15px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  /* Navbar Branding */
  .branding {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  /* Tooltip for YOMLEF Text */
  .navbar_title {
    position: relative;
    font-size: 2em;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    padding-left: 10px;
    border-left: 2px solid white;
    transition: color 0.3s ease, border-color 0.3s ease;
  }
  
  /* Tooltip styling */ 
  .navbar_title::after {
    content: "YOUNG MILLIONAIRE LEADERS FORUM";
    position: absolute;
    bottom: -30px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: #28a745;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Prevent tooltip from interfering with hover */
  } 
  @media (max-width: 768px) {
  .navbar_title::after {
      font-size: 12px;  
      padding: 4px 8px; 
      bottom: -25px;    
  }
  }
  @media (max-width: 320px) {
  .navbar_title::after {
      content: "YOUNG MILLIONAIRE LEADERS FORUM"; 
      font-size: 10px;      
      padding: 3px 6px;     
      bottom: -20px;       
  }
  }
  
  /* Hover effect */
  .navbar_title:hover::after {
    opacity: 1;
    transform: translateY(0);
  }
  .navbar_title:hover {
    color: #d4edda;
    border-color: #d4edda;
  }
  /* Header */
  header {
    background: linear-gradient(to right, rgba(40, 167, 69, 0.9), rgba(33, 136, 56, 0.9));
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
  }
  
  /* Logo */
  .logo {
    width: 62px;
    padding: 5px;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    width: 100%;
  }
  nav a {
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.4s ease, color 0.3s ease;
  }
  nav a:hover {
    background: #d4edda;
    color: #28a745;
  } 
  
  
  body {
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
  }
  
  header {
    background: linear-gradient(to right, rgba(40, 167, 69, 0.9), rgba(33, 136, 56, 0.9));
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
  }
  
  
  
  /* Intro Section */
  .intro-section {
    padding: 80px 20px;
    background-color: #f0fdf4; /* Fresh green tint for a light, clean appearance */
  }
  
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Flexbox adjustments for intro content */
  .intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: fadeIn 1s ease-in-out; /* Add subtle fade-in animation */
  }
  
  @media (min-width: 768px) {
    .intro-content {
        flex-direction: row;
        justify-content: space-between;
    }
  }
  
  /* Intro Text Block for Larger Screens */
  .intro-text {
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    animation: slideInLeft 1.2s ease-in-out; /* Sliding effect */
  }
  
  @media (min-width: 768px) {
    .intro-text {
        text-align: left;
        max-width: 600px; 
        padding: 0; /* Remove side padding on larger screens */
    }
    .intro-section {
      padding: 80px 20px;
      background-color: #f0fdf4; /* Fresh green tint for a light, clean appearance */
    }
  }
  
  /* Full Width and Padding for Mobile Devices */
  @media (max-width: 768px) {
  .intro-text {
      width: 100%; /* Full width on smaller screens */
      max-width: none;
      padding-top: 30px;
  }
  .container {
    padding: 0px;
  }
  .intro-features {
    width:100%;
    padding: 0 20px;
  }
  .intro-section {
    padding: 0px 0px;
  }
  


  /* HERO SECTIOM */
  .hero {
    padding: 60px 10px;
    height: 55vh; 
    background-size: cover; 
  }
  .intro-title {
    font-size: 1.6em; 
    text-align: center;
    color: white;
  }
  .hero p {
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 500;
  }
  .cta-buttons .btn-primary, .cta-buttons .btn-secondary {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .cta-buttons {
    flex-direction: column; 
    gap: 10px;
  }

  .hero {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.5)
    ), 
    linear-gradient(
        rgba(40, 167, 69, 0.5),  
        rgba(40, 167, 69, 0.5)
    ), 
    url('../Images/GROUNDNUT.jpg') top center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 55vh;
  }
  .hero_container {
      max-width: 800px;
      margin: 0 auto;
  }
  .hero h1 {
      font-size: 3em;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 3px;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  }
  .hero p {
      font-size: 1.5em;
      margin-bottom: 40px;
      line-height: 1.8;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
      color: white;
  }
  
  .cta-buttons {
      display: flex;
      padding: 20px;
      justify-content: center;
  }
  
  .cta-buttons .btn-primary, .cta-buttons .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: bold;
    background-color: #28a745;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: pulse 2s infinite;
  }
  
  .cta-buttons .btn-secondary {
      background-color: #026ddf;
  }
  
  .cta-buttons a:hover {
      background-color: #0062cc;
  }
  }


  
  .intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Soft text shadow for emphasis */
  }
  
  
  /* Adjust font size for smaller screens */
  @media (max-width: 768px) {
    .intro-title {
        font-size: 1.8rem; /* Reduce font size for mobile devices */
        line-height: 1.3;  /* Adjust line-height for better spacing */
    }
  }
  
  
  .intro-description {
    font-size: 1.1rem;
    color: #424242;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  /* Button */
  .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background-color: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft box shadow for depth */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-primary:hover,
  .btn-primary:focus {
    background-color: #27632a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
  }
  
  /* Features Section */
  .intro-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    animation: slideInRight 1.2s ease-in-out; /* Sliding effect for feature section */
  }
  
  @media (min-width: 768px) {
    .intro-features {
        flex-direction: row;
        justify-content: space-between;
    }
  }
  
  /* Feature Cards */
  .feature {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #28a745; /* Adding a distinct left border */
  }
  
  .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  }
  
  .feature-icon {
    font-size: 50px;
    color: #2e7d32;
    margin-bottom: 15px;
    animation: bounce 1.5s infinite; /* Fun bounce effect for icons */
  }
  
  .feature-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
  }
  
  .feature-description {
    color: #666666;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Animations */
  @keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
  }
  
  /* @keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
  }
  
  @keyframes slideInRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
  } */
  
  @keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
  }
  
  
  
  
  
  /* Variables for easier customization */
  :root {
    --primary-color: #28a745;
    --secondary-color: #FF8C00;
    --hover-color: #218838;
    --background-light: #f7f7f7;
    --text-dark: #333;
    --star-color: #ffcc00;
  }
  
  /* Product Section Styles */
  .product-section {
    padding: 80px 0;
    background-color: var(--background-light);
    max-width: 1100px;
    margin: auto;
    font-family: 'Arial', sans-serif;
  }
  
  .product-section .title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .product-description {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
  }
  
  .product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .product-image-container {
    position: relative;
  }
  
  .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .product-name {
    font-size: 1.5em;
    margin: 15px 0;
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .product-details {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.5;
  }
  
  .product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
  }
  
  .rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .rating i {
    color: var(--star-color);
    margin-right: 5px;
  }
  
  .rating span {
    font-size: 1em;
    color: var(--text-dark);
    margin-left: 8px;
    font-weight: 500;
  }
  
  /* Buy Now Button */
  .btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .btn-primary:hover {
    background-color: var(--hover-color);
    transform: scale(1.05);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .product-section {
        padding: 60px 20px;
    }
  
    .product-description {
        font-size: 1em;
    }
  
    .product-name {
        font-size: 1.3em;
    }
    .title{
      font-size: 1.8rem;
    }
  }




  
/* Newsletter Section and responsive design */
.newsletter {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px; /* Add some padding for smaller screens */
  }
  .newsletter h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
  }
  .newsletter p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .subscribe-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px; 
  }
  .subscribe-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1rem;
    width: 250px;
  }
  .subscribe-form input::placeholder {
    color: #a5a5a5;
    font-size: 1.1rem;
    opacity: 0.7;
  }
  .subscribe-form button {
    padding: 12px 22px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .newsletter h2 {
      font-size: 2rem;
    }
    .newsletter p {
      font-size: 14px;
    }
    .subscribe-form input {
      width: 100%; /* Full width for input fields on smaller screens */
    }
    .subscribe-form {
      flex-direction: column; /* Stack form elements vertically */
      align-items: center;
    }
    .subscribe-form button {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .newsletter h2 {
      font-size: 1.8rem;
    }
    .subscribe-form input,
    .subscribe-form button {
      width: 100%; /* Full width on smaller devices */
    }
  }
  
  /* General Footer Styles */
  footer {
    background-color: #f4f4f4;
    padding: 50px 0 0px 0px;
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  
  /* Footer Content */
  .footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 20px 0;
    background-color: #ccffcc;
    flex-wrap: wrap; /* Ensures wrapping on smaller screens */
  }
  .footer-info, .quick-links, .contact-info {
    max-width: 300px;
    font-weight: 600;
    margin-bottom: 20px; /* Adds spacing between sections */
  }
  .footer-info p {
    font-size: 14px;
    line-height: 1.6; /* Improved readability */
  }
  .quick-links h3, .contact-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .quick-links ul {
    list-style: none;
    padding: 0;
  }
  .quick-links li {
    margin-bottom: 10px;
  }
  .quick-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px; 
  }
  .quick-links a:hover {
    text-decoration: underline;
    color: #28a745;
  }
  .contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .footer-bottom {
    text-align: center;
    padding: 15px 0;
    background-color: rgba(40, 167, 69);
    color: white;
    font-size: 14px;
  }
  .footer-bottom p {
    margin: 0;
  }
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .footer-info, .quick-links, .contact-info {
      max-width: 100%; 
      padding: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .footer-content {
      padding: 15px 10px;
    }
    .quick-links h3, .contact-info h3 {
      font-size: 16px;
    }
    .quick-links a {
      font-size: 14px;
    }
    .footer-bottom p {
      font-size: 12px;
    }
  }
  
  @media (max-width: 320px) {
    .footer-info p, .contact-info p {
      font-size: 12px;
      line-height: 1.4;
    }
  
    .quick-links a {
      font-size: 13px;
    }
  
    .footer-bottom p {
      font-size: 11px;
    }
  }
  
  
  
  
  
  
  
  
  /* Responsive Design for everything*/
  @media (max-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr;
    }
  
  .hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
  }
  
  .hamburger span {
    background-color: white;
    height: 3px;
    width: 80%;
    border-radius: 5px;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%;  
    height: 100vh;    
    width: 80%;
    background-color: rgba(40, 167, 69);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: right 0.65s ease, opacity 0.65s ease;
    z-index: 10;
  }
  
  .menu.open {
    right: 0;
    opacity: 1;
  }
  .menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    height: 50%;
    width: 100%;
    position: absolute;
    top: 40px;
    border: none;
    justify-content: flex-start;
    gap: 17px;
    align-items: center;
  }
  .menu ul li {
    padding: 10px;
    border-bottom: 1px solid #fff;
    width: 80%;
  }
  .menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 0;
    font-weight: 300;
    border-radius: 0px;
    background: inherit;
    text-align: left;
  }
  
  .menu ul li a:hover {
    background-color: #28a745; /* Hover background */
    transform: scale(1.05); 
    transition: 0.3s ease;
  }
  .close-menu {
    position: absolute;
    top: 1px;
    /* right: 27px; */
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    right: 10px;
  }
  
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Dim background */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
    z-index: 5; /* Should be behind the menu */
  }
  
  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  
  .cta-btn {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: pulse 2s infinite;
  }
  }
  
  @media (max-width: 480px) {
    .navbar_container{
      padding: 0px 19px;
    }
    .navbar_title {
      font-size: 1.2em;
      padding-left: 5px;
    }
    .logo {
      width: 40px;
      padding: 2px;
      border-radius: 5px;
    }
    .hero {
      padding: 60px 10px;
      height: 55vh; 
      background-size: cover; 
    }
    .hero h1 {
      font-size: 1.6em; 
      text-align: center;
    }
    .hero p {
      font-size: 1.1em;
      margin-bottom: 20px;
      font-weight: 500;
    }
    .cta-buttons .btn-primary, .cta-buttons .btn-secondary {
      padding: 10px 20px;
      font-size: 1rem;
    }
    .cta-buttons {
      flex-direction: column; 
      gap: 10px;
    }
    .about-grid {
      grid-template-columns: 1fr; 
    }
    .about-card {
      padding: 20px;
    }
    .about-description {
      font-size: 0.9em;
    }
    .footer-container {
      flex-direction: column;
      padding: 10px 0;
    }
    .footer-info, .quick-links, .contact-info {
      max-width: 100%; 
      padding: 10px;
    }
    .newsletter h2 {
      font-size: 1.5rem;
    }
    .subscribe-form input {
      width: 150px; 
    }
    .subscribe-form button {
      font-size: 0.9rem;
    }
    .product-section .title {
      font-size: 1.5rem;
    }
    .product-description {
      font-size: 1rem;
    }
    .product-grid {
      grid-template-columns: 1fr; 
    }
    .product-card {
      margin-bottom: 20px;
    }
  }
  
  @media (max-width: 320px) {
    .navbar_title {
      font-size: 1em;
    }
    .hero h1 {
      font-size: 1.8em;
    }
    .hero p {
      font-size: 0.9em;
    }
    .about-description {
      font-size: 0.8em;
    }
    .cta-buttons .btn-primary, .cta-buttons .btn-secondary {
      padding: 8px 15px;
      font-size: 0.9rem;
    }
    .subscribe-form input {
      width: 120px; 
    }
    .subscribe-form button {
      font-size: 0.8rem;
      padding: 8px 18px;
    }
    .footer-bottom p {
      font-size: 12px;
    }
    .product-section .title {
      font-size: 1.2rem;
    }
    .product-description {
      font-size: 0.9rem;
    }
  }
  
  @media only screen and (min-width: 768px) {
    .close-menu {
        display: none;
    }
  }
  



  /* By default, show the desktop version and hide the mobile version */
.mobile-write-up {
    display: none;
}

.desktop-write-up {
    display: block;
}

/* For screens with a max width of 768px (tablets and smaller), hide desktop version and show mobile version */
@media screen and (max-width: 768px) {
    .desktop-write-up {
        display: none;
    }

    .mobile-write-up {
        display: block;
    }
}

  








/* Styling for the desktop heading */
.hero-heading {
    font-size: 2.3rem; /* Adjust the font size */
    font-weight: 700; /* Bold font weight */
    color: var(--primary-color); /* Use a color that matches your theme */
    text-align: center; /* Center the text */
    margin-bottom: 20px; /* Space below the heading */
    line-height: 1.2; /* Spacing between lines */
    text-transform: uppercase; /* Make the text uppercase for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .hero-heading {
        font-size: 2rem; /* Smaller font size for mobile */
        line-height: 1.4; /* Adjust line height */
    }
}


:root {
  --primary-color: #28a745;
  --secondary-color: #009933;
  --accent-color: #ffffff;
  --hover-color: #006400;
  --text-dark: #333;
  --text-light: #666;
  --background-light: #f9f9f9;
}



.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color); /* Dark green */
  color: var(--accent-color); /* White for the icons */
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--hover-color);
}





/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      align-items: flex-start; /* Align content to the left */
  }

  .subscribe-form {
      align-items: flex-start; /* Ensure form fields are left-aligned */
  }

  .footer-content > div {
      text-align: left; /* Align text to the left */
      margin-bottom: 20px;
  }

  .footer-info p {
      text-align: left; /* Ensure the paragraph is aligned left */
  }
}

@media screen and (max-width: 480px) {
  .subscribe-form input,
  .subscribe-form button {
      width: 100%; /* Full width for mobile */
      max-width: none;
  }

  .social-icons {
      justify-content: flex-start; /* Align social icons to the left */
  }
}




/* Custom Alert Modal Styles */
.custom-alert {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.custom-alert .alert-content {
  background-color: #28a745;
  color: #fff;
  padding: 20px;
  margin: 10% auto;
  width: 90%; /* Make the modal wider on mobile */
  max-width: 400px; /* Still have a max-width on larger screens */
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s ease-in-out;
}

.custom-alert h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.custom-alert p {
  margin-bottom: 20px;
  font-size: 1rem; /* Slightly smaller text for readability on mobile */
}

#closeAlertBtn {
  padding: 10px 25px;
  background-color: #fff;
  color: #28a745;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#closeAlertBtn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

@keyframes slideIn {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Styles for Small Screens */
@media (max-width: 768px) {
  .custom-alert .alert-content {
      width: 90%; /* Increase the modal width on small screens */
      padding: 15px; /* Less padding to fit smaller screens */
  }
  
  .custom-alert h2 {
      font-size: 1.5rem; /* Slightly smaller heading for mobile */
  }
  
  .custom-alert p {
      font-size: 0.95rem; /* Adjust paragraph size for mobile readability */
  }

  #closeAlertBtn {
      padding: 8px 20px; /* Smaller button for mobile */
      font-size: 0.9rem; /* Smaller text size */
  }
}

/* Ultra-Small Screens (i.e., mobile phones) */
@media (max-width: 480px) {
  .custom-alert .alert-content {
      width: 95%; /* Almost full width on ultra-small screens */
      margin: 15% auto;
      padding: 10px; /* Less padding for better fit */
  }

  .custom-alert h2 {
      font-size: 1.3rem; /* Reduce heading size even more */
  }

  .custom-alert p {
      font-size: 0.9rem; /* Further reduce paragraph size */
  }

  #closeAlertBtn {
      padding: 7px 18px;
      font-size: 0.85rem;
  }
}

