/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Header Section */
header {
    background: linear-gradient(to right, #8A2BE2, #FF69B4); /* Purple to pink gradient */
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
}

/* Navigation Container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 10px 20px; /* Fixed this line */
    position: relative;
    top: 20px;
    width: 100%;
    margin-right: 5%;
    z-index: 9999;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 150px;
    height: auto;
	margin-left: 20px;
}


/* Menu toggle button */
.menu-toggle {
    display: none; /* Hidden by default for larger screens */
    font-size: 24px;
    color: #fff;
    background: linear-gradient(145deg, #6C63FF, #8983FF); /* Shiny gradient */
    border: 2px solid #fff;
    border-radius: 8px; /* Rounded corners */
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    top: 10px; /* Adjust to create a nice balance */
}

/* Add hover effects for the toggle button */
.menu-toggle:hover {
    background: linear-gradient(145deg, #8983FF, #6C63FF);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


nav.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-right: 30px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
	cursor: pointer; /* Ensure cursor is set to pointer */
}

.nav-menu li a:hover {
    color: #FF69B4;
}

.btn-listen {
    background-color: #7a1fd4;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
	margin-right: 40px;
	
}


.btn-listen:hover {
    background-color: #5619a1;
}


.blog-banner {
    text-align: center;
    padding: 90px 0 30px;
    background: linear-gradient(to right, #8A2BE2, #FF69B4); /* fixed */
    color: #fff;
}

/* Style the blog section header (inside the banner) */
.blog-banner .section-header h2 {
    font-size: 1.8rem;
    margin-top: 0; /* fixed */
    color: #fff;
}

.blog-banner .section-header p {
    font-size: 1rem;
    margin: 10px 0 0;
    color: #ddd;
}


/* Keyframes for Image Flashing Animation */
@keyframes flashImage {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* Blog Section */
.blog-page {
    padding: 50px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #777;
}

/* Latest Blog Post */
.latest-blog {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 20px;
}

.latest-blog .blog-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.latest-blog .blog-image {
    width: 50%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.latest-blog .blog-info {
    width: 50%;
}

.latest-blog h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.latest-blog p {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}

.latest-blog .read-more {
    text-decoration: none;
    background-color: #7a1fd4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.latest-blog .read-more:hover {
    background-color: #5619a1;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    background-color: #fff;
}

.filter-btn {
    padding: 10px 18px;
    border: none;
    background-color: #eee;
    color: #333;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #8A2BE2;
    color: #fff;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 60px; /* ← Gives breathing room around the grid */
    background-color: #fff;
}


.blog-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card.hidden {
    opacity: 0;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.blog-details {
    padding: 20px;
}

.blog-details h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.blog-details h6 {
    color: #8A2BE2;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-details p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: #7a1fd4; /* Matches your purple */
    color: #fff; /* <-- Makes text white */
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #5619a1; /* darker purple for hover */
    color: #fff;
}



.blog-details .read-more {
    text-decoration: none;
    color: #7a1fd4;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog-details .read-more:hover {
    color: #5619a1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .latest-blog .blog-content {
        flex-direction: column;
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Email Subscription Section */
.email-subscription {
    background-color: #1f1d39;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.subscription-container {
    background-color: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.email-subscription h2 {
    color: #7a1fd4;
    font-size: 24px;
    margin-bottom: 10px;
}

.email-subscription p {
    color: #333;
    margin-bottom: 20px;
    font-size: 16px;
}

.subscription-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.email-input {
    padding: 12px 15px;
    width: 100%;
    max-width: 400px;
    border: 2px solid #7a1fd4;
    border-radius: 30px;
    outline: none;
    font-size: 16px;
}

.btn-subscribe {
    padding: 12px 30px;
    background-color: #7a1fd4;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #5619a1;
    transform: scale(1.05);
}


/* Footer General Styles */
.footer {
    background-color: #0c0b19;
    color: white;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Section */
.footer-logo img {
    max-width: 150px;
}

/* Links Section */
.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

/* Social Media Section */
.footer-social {
    text-align: right;
}

.footer-social h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: white;
}

.social-icons a {
    color: #bdbdbd;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #bdbdbd;
    font-size: 14px;
}



@media (max-width: 768px) {
  /* Contact Section Responsiveness */
  .contact-section {
    padding: 50px 20px; /* Reduce padding for smaller screens */
  }

  .contact-wrapper {
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Center align content */
  }

  .contact-info {
    text-align: center; /* Center text alignment */
    margin-bottom: 30px; /* Add spacing between sections */
    padding-right: 0; /* Remove right padding */
  }

  .contact-info h2 {
    font-size: 1rem; /* Adjust font size */
    margin-bottom: 5px;
  }

  .contact-info h3 {
    font-size: 2rem; /* Reduce size for mobile */
    margin-bottom: 15px;
  }

  .contact-info p {
    font-size: 1rem; /* Adjust paragraph size */
    line-height: 1.5;
  }

  .email-box {
    justify-content: center; /* Center align content */
    padding: 10px 15px; /* Adjust padding */
    font-size: 1rem;
  }

  .email-box i {
    font-size: 1.2rem; /* Reduce icon size */
  }

  .contact-form {
    width: 100%; /* Full width for the form */
    max-width: 100%;
    padding: 20px; /* Adjust padding */
    box-shadow: none; /* Optional: Remove shadow for a simpler look */
  }

  .form-group label {
    font-size: 0.9rem; /* Adjust label size */
  }

  .form-group input, .form-group textarea {
    padding: 10px; /* Reduce input padding */
    font-size: 0.9rem; /* Adjust font size */
  }

  .btn-send {
    font-size: 0.9rem; /* Adjust button size */
    padding: 10px 20px; /* Adjust padding */
  }
}




@media (max-width: 768px) {
    /* Footer Container - Stack Elements Vertically */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Footer Logo - Center Align */
    .footer-logo {
        margin-bottom: 20px;
    }

    /* Links Section - Stack Columns */
    .footer-links {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-column ul {
        margin-bottom: 20px; /* Add spacing between sections */
    }

    /* Social Media Section */
    .footer-social {
        margin-bottom: 20px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 10px; /* Reduce spacing between icons */
    }

    .social-icons a {
        font-size: 18px; /* Slightly smaller icons for mobile */
        margin-right: 0; /* Remove extra spacing */
    }

    /* Footer Bottom */
    .footer-bottom {
        margin-top: 10px;
        padding-top: 10px;
    }

    .footer-bottom p {
        font-size: 12px; /* Adjust font size for smaller screens */
    }
}


/* Mobile setup */

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show toggle button */
    }

    .nav-menu {
        display: none; /* Hidden by default */
        flex-direction: column;
        background-color: #000;
        position: absolute;
        top: 60px; /* Adjust based on your header height */
        right: 0;
        width: 40%;
        text-align: center;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px; /* Rounded corners for the dropdown */
        padding: 20px 0;
        animation: dropdownFade 0.4s ease-in-out; /* Add dropdown animation */
		text
    }

    .nav-menu.active {
        display: flex; /* Show when toggled */
    }
	
	.nav-menu li {
        margin: 10px 0; /* Add spacing between menu items */
    }
	
	.nav-menu li a {
        padding: 15px; /* Add padding for touch-friendly links */
        font-size: 18px;
    }

    .btn-listen {
        margin: 20px auto; /* Add spacing for mobile */
		padding: 10px;
    }
}

* Dropdown animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}