
/* Global Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #121212, #333333);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.85);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header .logo {
    font-size: 2.5em;
    font-weight: 600;
    color: #ff5722; /* Accent color */
}
/* Global styles for header */
header .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

header .nav-links li {
    font-size: 1.1em;
    position: relative;
}

header .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

header .nav-links a:hover {
    color: #ffeb3b; /* Accent hover color */
    transform: translateY(-2px); /* Slight lift effect */
}

header .cta {
    background: #ff5722;
    padding: 12px 25px;
    margin: auto 3em;
    border-radius: 30px;
    font-size: 1.1em;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

header .cta:hover {
    background: #e64a19;
    transform: translateY(-2px); /* Slight lift effect */
}

/* Enhanced Dropdown menu styles */
.nav-links {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    padding: 10px 15px;
    display: block;
    font-size: 1.1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: #ff7600; /* Highlight color */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1e1e1e; /* Darker background */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Softer shadow for depth */
    border-radius: 8px;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    z-index: 100;
    min-width: 250px; /* Wider menu */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Dropdown starts off-screen */
    transition: all 0.3s ease;
}

.dropdown-menu li {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle dividers */
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    transition: color 0.3s ease;
    display: block;
}

.dropdown-menu li a:hover {
    color: #ff7600; /* Highlight color */
}

.dropdown-menu .dropdown-header {
    font-weight: bold;
    color: #ff5722; /* Accent color for section headers */
    padding: 10px 20px;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Smoothly slide the menu into view */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Stack nav links vertically for smaller screens */
    header .nav-links {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start; /* Align items to the left */
        padding-left: 0;
    }

    /* Make the dropdown full-width on mobile */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
        border-radius: 0;
        margin-top: 5px;
    }

    /* Styling for the dropdown toggle to look good on mobile */
    .dropdown-toggle {
        width: 100%; /* Make dropdown toggle occupy full width */
        padding: 12px 15px; /* Adjust padding */
        text-align: left; /* Align text to the left */
    }

    /* Make the navigation items take up the entire width */
    header .cta {
        width: 100%;
        margin: 15px 0;
        padding: 12px;
    }

    /* Show the menu when clicking on the dropdown on mobile */
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* If there's a hamburger menu, make sure it's well-positioned */
    .hamburger-menu {
        display: block; /* Ensure it appears on smaller screens */
        cursor: pointer;
        padding: 15px;
    }
}


/* Particles Section */
#particles-js {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('path_to_your_image.jpg') no-repeat center center fixed;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Parallax Section */
.parallax {
    position: relative;
    height: 80vh;
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('path_to_your_image.jpg') no-repeat center center fixed; */
    background-color: transparent;
    background-size: cover;
    z-index: 1;
    animation: fadeIn 2s ease-out;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero {
    text-align: center;
    padding: 250px 20px;
    position: relative;
    z-index: 2;
}

.hero .title {
    font-size: 4.5em;
    font-weight: 600;
    color: #fff;
    animation: slideDown 1s ease-out;
}

.hero .subtitle {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #fff;
}

.hero .cta {
    padding: 15px 30px;
    font-size: 1.3em;
    color: #fff;
    background: linear-gradient(45deg, #ff5722, #ff9800);
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero .cta:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    text-align: center;
    padding: 70px 20px;
    background: #000000; /* Changed to black */
    color: #fff;
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    background: linear-gradient(135deg, #000000, #000000); /* Changed to black */
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    text-align: center;
    padding: 70px 20px;
    background: #000000; /* Changed to black */
    color: #fff;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

blockquote {
    background: #1a1a1a; /* Changed to black */
    padding: 25px;
    border-left: 5px solid #ff5722;
    font-style: italic;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #f5f5f5;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #000000, #000000); /* Changed to black */
    color: #fff;
    padding: 70px 20px;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section .cta {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-section .cta:hover {
    transform: scale(1.05);
}

/* Footer Section */
footer {
    background: #000000; /* Changed to black */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    font-size: 1.1em;
    border-top: 2px solid #ff5722;
}

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

footer .footer-logo {
    font-size: 2em;
    font-weight: 600;
    color: #ff5722;
}

footer .footer-nav {
    list-style: none;
    display: flex;
    gap: 30px;
}

footer .footer-nav li {
    font-size: 1.1em;
}

footer .footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-nav a:hover {
    color: #ffeb3b;
}

footer .social-icons {
    display: flex;
    gap: 20px;
}

footer .social-icons a {
    color: #fff;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #ff5722;
}

footer .copyright {
    margin-top: 20px;
    font-size: 1em;
    color: #ccc;
}

/* Keyframe Animations */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    header .nav-links {
        display: none;
        gap: 20px;
    }

    header .cta{
        display: none;
    }

    .hero{
        padding: 100px 20px;
    }
    .hero .title {
        font-size: 3.5em;
    }

    .hero .subtitle {
        font-size: 1.5em;
    }

    .features-grid {
        flex-direction: column;
        gap: 20px;
    }

    footer .footer-content {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-nav {
        margin-top: 20px;
        gap: 20px;
        list-style: none;
    }

    footer .social-icons {
        margin-top: 10px;
        gap: 15px;
    }

    footer .copyright {
        margin-top: 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .hero .title {
        font-size: 2.5em;
    }

    .hero .subtitle {
        font-size: 1.2em;
    }

    .cta-section h2 {
        font-size: 2em;
    }

    .cta-section .cta {
        font-size: 1.1em;
        color: black;
        text-decoration: none;
    }

    footer .footer-logo {
        font-size: 1.5em;
    }
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    header .nav-links {
        flex-direction: column;
        gap: 15px;
        display: none;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px 0;
    }

    header .nav-links.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
        border-radius: 0;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
    }
}

@media (max-width: 600px) {
    .blog-posts {
        grid-template-columns: 1fr;
    }
}
