/* Home Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* CSS Variables for Light and Dark Modes */
:root {
    --background-color: #f4f4f4; /* Light background */
    --text-color: #34495e; /* Darker text for light mode */
    --header-footer-bg: #2c3e50; /* Darker background for header/footer */
    --link-color: #ecf0f1; /* Light text for links */
    --button-bg: linear-gradient(90deg, #e74c3c, #c0392b); /* Button gradient */
    --card-bg: #ffffff; /* Card background */
}

body {
    background-color: var(--background-color);
    font-family: 'Roboto', sans-serif; /* Use Roboto font for a modern look */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for dark mode */
    color: var(--text-color);
    overflow: hidden; /* Hide the scrollbar */
}

/* Dark Mode Styles */
body.dark-mode {
    --background-color: #121212; /* Dark background for dark mode */
    --text-color: #e0e0e0; /* Light text color for dark mode */
    --header-footer-bg: #1e1e1e; /* Dark background for header/footer in dark mode */
    --link-color: #ffffff; /* White text for links in dark mode */
    --button-bg: linear-gradient(90deg, #ff5722, #c0392b); /* Updated button gradient for dark mode */
    --card-bg: #2c2c2c; /* Dark background for cards in dark mode */
}

/* Header Styles */
header {
    background-color: var(--header-footer-bg); /* Background for header */
    padding: 20px; /* Padding for header */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for header */
    position: relative; /* Positioning for absolute elements */
}

header .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-background.jpg') no-repeat center center; /* Background image with overlay */
    background-size: cover; /* Cover the entire section */
    padding: 60px 20px; /* Padding for hero section */
    color: #ffffff; /* Text color for hero section */
    text-align: center; /* Center align text in hero section */
}

/* Navigation Links Styles */
.nav-links {
    list-style: none; /* Remove bullet points from list */
    padding: 0; /* Remove padding */
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: center; /* Center align navigation links */
    margin: 0; /* Remove default margin */
}

.nav-links li {
    margin: 0 15px; /* Space between navigation items */
}

.nav-links a {
    color: #ecf0f1; /* Light text color for links */
    text-decoration: none; /* Remove underline from links */
    padding: 10px 15px; /* Padding for links */
    border-radius: 5px; /* Rounded corners for links */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
}

.nav-links a:hover {
    background-color: #e74c3c; /* Change background on hover */
    color: #ffffff; /* Change text color on hover */
}

.nav-links a.active {
    background-color: #e74c3c; /* Active link background color */
    color: #ffffff; /* Active link text color */
    font-weight: bold; /* Bold font for active link */
}

/* Hero Content */
.hero-content {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the left */
    text-align: left; /* Align text to the left */
    padding-left: 20px; /* Optional: Add padding to the left for spacing */
}

.hero-content h1 {
    margin-top: 30px; /* Adjust this value to move the heading down */
    font-size: 2.5rem; /* Ensure the font size is appropriate */
    text-align: left; /* Ensure text is aligned to the left */
}

.hero-content .tagline {
    font-size: 1.2rem; /* Font size for tagline */
    margin-bottom: 20px; /* Space below tagline */
}

/* Button Styles */
.button.primary {
    background: rgba(231, 76, 60, 0.8); /* Semi-transparent button gradient to match background */
    color: #ffffff; /* White text for buttons */
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; /* Smooth transition */
    padding: 12px 24px; /* Padding for buttons */
    border-radius: 5px; /* Rounded corners for buttons */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for buttons */
}

.button.primary:hover {
    background: rgba(231, 76, 60, 1); /* Solid color on hover */
    transform: scale(1.05); /* Slightly enlarge button on hover */
}

/* Main Content Styles */
main {
    padding: 20px; /* Padding for main content */
}

/* Card Styles */
.card {
    background-color: #f9f9f9; /* Light background for better contrast */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px; /* Increased padding for better spacing */
    margin-bottom: 20px; /* Space between cards */
}

.card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Footer Styles */
footer {
    background-color: var(--header-footer-bg); /* Background for footer */
    padding: 20px; /* Padding for footer */
    text-align: center; /* Center align footer text */
    color: var(--link-color); /* Text color for footer */
}

footer .button.secondary {
    background-color: rgba(52, 73, 94, 0.8); /* Semi-transparent secondary button color */
    color: #ffffff; /* White text for secondary button */
    padding: 10px 20px; /* Padding for secondary button */
    border-radius: 5px; /* Rounded corners for secondary button */
    transition: background-color 0.3s; /* Smooth transition */
}

footer .button.secondary:hover {
    background-color: rgba(44, 62, 80, 1); /* Solid color on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px; /* Add padding to the body for better spacing */
    }

    .nav-links {
        display: grid; /* Use grid layout for navigation links */
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        gap: 10px; /* Space between buttons */
        padding: 0; /* Remove default padding */
        margin: 0; /* Remove default margin */
    }

    .nav-links li {
        margin: 0; /* Remove margin for list items */
    }

    .nav-links a {
        padding: 15px 20px; /* Increase padding for better touch targets */
        font-size: 1.2rem; /* Increase font size for better readability */
        display: block; /* Make the entire area clickable */
        text-align: center; /* Center align text */
    }

    /* Center the Invite button */
    .nav-links li:nth-child(7) {
        grid-column: span 2; /* Make the Invite button span both columns */
        text-align: center; /* Center align the Invite button */
    }

    .hero-content h1 {
        font-size: 2rem; /* Adjust font size for smaller screens */
        text-align: center; /* Center align heading */
    }

    .hero-content .tagline {
        font-size: 1rem; /* Adjust tagline font size for smaller screens */
        text-align: center; /* Center align tagline */
    }

    .button.primary {
        width: 100%; /* Full width buttons on small screens */
        padding: 12px; /* Consistent padding */
    }

    .card {
        margin: 10px 0; /* Reduce margin for cards on small screens */
        padding: 15px; /* Add padding for better spacing */
    }

    h1 {
        font-size: 1.8rem; /* Adjust heading size for smaller screens */
        text-align: center; /* Center align main headings */
    }

    .contact-info {
        padding: 15px; /* Adjust padding for contact info */
    }

    .social-media li {
        margin-right: 10px; /* Reduce space between social media links */
    }

    .top-right-image {
        display: none; /* Hide the image on mobile devices */
    }

    /* Adjust form elements for better usability on mobile */
    input[type="text"],
    input[type="email"],
    textarea {
        padding: 12px; /* Increase padding for better touch targets */
    }

    .button.primary {
        padding: 15px; /* Increase padding for better touch targets */
    }

    .logo-name {
        text-align: center; /* Center align the logo text */
        width: 100%; /* Make the logo take full width */
        display: block; /* Ensure it behaves as a block element */
        margin: 0 auto; /* Center the block element */
    }
}

/* Categories Section Styles */
.categories {
    display: flex; /* Use flexbox for layout */
    justify-content: space-around; /* Space out categories evenly */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    margin: 20px 0; /* Margin above and below the categories section */
}

.category-card {
    background-color: var(--card-bg); /* Card background */
    border-radius: 10px; /* Rounded corners for cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for cards */
    padding: 20px; /* Padding for card content */
    margin: 10px; /* Margin around cards */
    text-align: center; /* Center align text in cards */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
    width: 200px; /* Fixed width for category cards */
}

.category-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.category-card h3 {
    font-size: 1.5rem; /* Font size for category titles */
    color: var(--text-color); /* Text color for category titles */
    margin-bottom: 10px; /* Space below the title */
}

.category-card p {
    font-size: 1rem; /* Font size for category descriptions */
    color: #666; /* Lighter text color for descriptions */
}

/* Contact Form Styles */
.card {
    background-color: var(--card-bg); /* Card background */
    border-radius: 10px; /* Rounded corners for cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for cards */
    padding: 20px; /* Padding for card content */
    margin: 20px 0; /* Margin around cards */
}

/* Form Styles */
form {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack form elements vertically */
}

.form-group {
    margin-bottom: 15px; /* Space between form groups */
}

label {
    font-weight: bold; /* Bold font for labels */
    margin-bottom: 5px; /* Space below labels */
    color: var(--text-color); /* Text color for labels */
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%; /* Full width for inputs and textarea */
    padding: 10px; /* Padding for inputs and textarea */
    border: 1px solid #ccc; /* Border for inputs and textarea */
    border-radius: 5px; /* Rounded corners for inputs and textarea */
    transition: border-color 0.3s; /* Smooth transition for border color */
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #e74c3c; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

textarea {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 100px; /* Minimum height for textarea */
}

.button.primary {
    margin-top: 10px; /* Space above the button */
    width: 100%; /* Full width for the button */
}

/* Enhanced Command Item Styles */
.styled-command {
    background-color: var(--card-bg); /* Background for command items */
    border-radius: 8px; /* Slightly larger rounded corners */
    padding: 15px; /* Increased padding for better spacing */
    margin: 10px 0; /* Increased margin for better separation */
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
    font-weight: 600; /* Bold font weight for better emphasis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
    color: var(--text-color); /* Use text color variable for consistency */
    font-size: 1.1rem; /* Slightly larger font size for readability */
}

.styled-command:hover {
    background-color: var(--background-color); /* Change background to match the main background */
    color: var(--text-color); /* Keep text color consistent */
    transform: translateY(-3px); /* Slightly more lift effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    cursor: pointer; /* Change cursor to pointer for better UX */
}

/* Comments Section Styles */
.comments-section {
    margin-top: 40px; /* Space above comments section */
    padding: 20px; /* Padding for comments section */
    background: var(--card-bg); /* Background for comments section */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.comments-container {
    margin-bottom: 20px; /* Space below comments container */
}

.comment {
    margin-bottom: 10px; /* Space between comments */
    color: var(--text-color); /* Text color for comments */
}

/* Rating Section Styles */
.rating-section {
    margin-top: 40px; /* Space above rating section */
    padding: 20px; /* Padding for rating section */
    background: var(--card-bg); /* Background for rating section */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.rating-container {
    display: flex; /* Flexbox for star layout */
    cursor: pointer; /* Pointer cursor for stars */
}

.star {
    font-size: 2rem; /* Size of stars */
    color: #ccc; /* Default star color */
    transition: color 0.3s; /* Smooth transition for color change */
}

.star:hover,
.star.selected {
    color: #ff5722; /* Color for selected stars */
}

/* Features Section Styles */
.features {
    background-color: #333; /* Dark background color */
    color: #fff; /* Text color for contrast */
    /* Add any other styles you need */
}

/* New styles for the feature list section */
.feature-list-container {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 20px; /* Spacing around the section */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.feature-list {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
}

.feature-list li {
    display: flex; /* Flexbox for alignment */
    align-items: center; /* Center items vertically */
    margin-bottom: 10px; /* Space between features */
}

.icon {
    color: #4CAF50; /* Green color for checkmarks */
    margin-right: 10px; /* Space between icon and text */
}

img {
    max-width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
}

.logo-name {
    font-size: 2rem; /* Adjust the font size for the logo text */
    color: #ffffff; /* White text color for the logo */
    text-decoration: none; /* Remove underline from logo */
    font-weight: bold; /* Bold font for emphasis */
    transition: color 0.3s; /* Smooth transition for color change */
}

.logo-name:hover {
    color: #e74c3c; /* Change color on hover */
}

.button.animated {
    transition: transform 0.3s, box-shadow 0.3s;
}

.button.animated:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Contacts Section Styles */
.contact-info {
    margin-top: 20px; /* Space above the contact info */
    padding: 20px; /* Padding for the contact info section */
    background: #1e1e1e; /* Dark background for contact info */
    color: #e0e0e0; /* Light text color for dark mode */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.contact-info h2 {
    margin-bottom: 10px; /* Space below the heading */
    color: #ff5722; /* Use a bright color for headings */
}

.contact-info ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

.contact-info li {
    margin: 5px 0; /* Space between list items */
}

.social-media {
    margin-top: 10px; /* Space above social media links */
}

.social-media li {
    display: inline; /* Inline list items */
    margin-right: 15px; /* Space between links */
}

.social-media a {
    color: #2575fc; /* Link color */
    text-decoration: none; /* No underline */
}

.social-media a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Contact Page Styles */
body {
    background-color: #121212; /* Dark background for the contact page */
    color: #e0e0e0; /* Light text color */
}

h1 {
    color: #ff5722; /* Primary color for the main heading */
}

.card {
    background: #2c2c2c; /* Dark background for cards */
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
    transition: transform 0.3s, box-shadow 0.3s; /* Added transition for smooth effects */
    color: #e0e0e0; /* Light text color */
}

.card:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.button.primary {
    background-color: #ff5722; /* Updated primary button color */
    color: #fff; /* White text for buttons */
    padding: 12px 24px; /* Consistent padding */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
}

.button.primary:hover {
    background-color: #e64a19; /* Darker shade on hover */
    transform: scale(1.05); /* Slightly enlarge button on hover */
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-info {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .card {
        margin: 10px 0; /* Reduce margin for cards on small screens */
        padding: 15px; /* Add padding for better spacing */
    }

    h1 {
        font-size: 1.8rem; /* Adjust heading size for smaller screens */
        text-align: center; /* Center align main headings */
    }
}

.top-right-image {
    width: 250px; /* Set the desired width for the favicon */
    height: 235px; /* Maintain aspect ratio */
    position: absolute; /* Position it absolutely within the header */
    top: 20px; /* Adjust the top position */
    right: 80px; /* Adjust the right position */
    z-index: 1; /* Ensure it appears above other elements */
}

.page-title {
    text-align: center; /* Center the title */
    font-size: 2.5rem; /* Adjust font size */
    margin: 20px 0; /* Space above and below the title */
    color: var(--text-color); /* Use the text color variable */
}

.contact-item {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    margin-bottom: 10px; /* Space between items */
}

.contact-text {
    margin-left: 8px; /* Space between icon and text */
    margin-right: 4px; /* Space between text and link */
    color: #e0e0e0; /* Light text color */
}

.contact-link {
    color: #4CAF50; /* Green color for the link */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for color change */
}

.contact-link:hover {
    color: #e74c3c; /* Change color on hover */
}

.icon-large {
    font-size: 1.5rem; /* Adjust the size as needed */
    margin-left: 5px; /* Optional: add some space between the text and the icon */
}
