/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    overflow-y: scroll; /* Ensures the page scrolls when needed */
}

header {
    margin: 0;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    margin-bottom: 0; /* Removes space below the header */
}

.logo {
    height: 60px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s, transform 0.3s; /* Add transition for color and transform */
}

header nav ul li a:hover {
    color: #666; /* Slight color change on hover */
    transform: scale(1.3); /* Slightly increase the size on hover */
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff7f50;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #ff6347;
}

/* General Button Styles */
button, .button-link {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s; /* Add transition for transform and background-color */
}

/* Hover Effect for Buttons */
button:hover, .button-link:hover {
    transform: scale(1.1); /* Slightly increase the size on hover */
    background-color: #555; /* Darken background color on hover */
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding-top: 20px; /* Ensures all sections align vertically */
}

.footer-left {
    text-align: left;
    padding-right: 20px; /* Add padding to create space for center alignment */
}

.footer-logo-img {
    height: 50px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.footer-website {
    display: inline-block;
    font-size: 16px;
    color: #9a9a9a;
    margin-left: 10px;
    text-decoration: none;
}

.footer-website:hover {
    color: #fff;
}

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

.footer-social a img {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    background-color: #fff; /* Add a white background */
    border-radius: 50%; /* Make the background circular */
    padding: 5px; /* Add some padding */
    transition: transform 0.3s, background-color 0.3s; /* Smooth transition for hover effects */
}

/* Hover Effect for Social Media Icons */
.footer-social a img:hover {
    transform: scale(1.1); /* Slightly increase the size on hover */
    background-color: #ddd; /* Change background color on hover */
}

.footer-center {
    text-align: center;
    padding-top: 40px; /* Add padding to match the vertical alignment */
    margin: 0; /* Reset any margin */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: inline;
    margin: 0 15px;
}

.footer-links a {
    color: #9a9a9a;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s; /* Add transition for color and transform */
}

.footer-links a:hover {
    color: #fff;
    transform: scale(1.3); /* Slightly increase the size on hover */
}

.footer-right {
    text-align: right;
    padding-top: 20px; /* Align with other sections */
    padding-left: 20px; /* Add padding to create space for center alignment */
}

.footer-contact-icon {
    height: 25px;
    width: 25px;
    margin-right: 5px;
    vertical-align: middle;
    background-color: #fff; /* Add a white background */
    border-radius: 50%; /* Make the background circular */
    padding: 5px; /* Add some padding */
}

.footer-contact-link {
    color: #9a9a9a;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s; /* Add transition for color and transform */
}

.footer-contact-link:hover {
    color: #fff;
    transform: scale(1.3); /* Slightly increase the size on hover */
}

.footer-bottom {
    background-color: #111;
    color: #9a9a9a;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    margin-top: 10px; /* Add margin to create space above */
}

/* Scroll to Top Button Styles */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 30px; /* Position from the bottom */
    right: 30px; /* Position from the right */
    z-index: 99; /* High z-index to ensure it is on top */
    border: none; /* Remove default border */
    outline: none; /* Remove outline */
    background-color: #555; /* Default background color */
    color: white; /* Text color */
    cursor: pointer; /* Cursor changes to pointer on hover */
    padding: 15px; /* Padding inside the button */
    font-size: 18px; /* Font size */
    border-radius: 50%; /* Circle shape */
}

#scrollToTopBtn:hover {
    background-color: #333; /* Darken on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
    }

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

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-left,
    .footer-right {
        text-align: center;
    }

    .footer-links li {
        display: block;
        margin: 10px 0;
    }
}


/* General Section Styles for All Pages */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Minimum height of full screen */
    overflow-y: auto; /* Allows vertical scrolling */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    padding-bottom: 50px; /* Adds space below content to prevent footer overlap */
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 100%;
    max-width: 1200px; /* Constrains the width of the content */
    margin: 0 auto; /* Centers content within the page */
}


.blog-content {
    width: 100%; /* Full width of the screen */
    padding: 20px; /* Padding for content */
    box-sizing: border-box; /* Ensures padding doesn't affect total width */
}

/* Make sure to add the same updates to all other specific sections like ai-section, software-section, etc. */

/* Footer Section Adjustment */
footer {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 40px 0;
    background-color: #1a1a1a;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}


/* AI Section Styles */
.ai-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed to min-height to allow for scrolling */
    overflow: hidden; /* Ensures the video stays within bounds */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* Gradient overlay */
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the container */
}

.ai-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff; /* Ensures all text in this section is white */
}

.ai-description {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff; /* Text color set to white for readability */
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between columns */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.ai-subsection {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; /* Adds hover effects */
    color: #fff; /* Text color set to white for readability */
}

.ai-subsection h2,
.ai-subsection p {
    color: #fff; /* Ensures headings and paragraphs are white */
}

.ai-subsection:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

.learn-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #ff7f50;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, transform 0.5s ease-in-out; /* Refined transition and Smooth transition */
}

.learn-more:hover {
    background-color: #ff6347;
    color: #000; /* Optionally darken text color on hover */
    transform: scale(1.1); /* Slightly increase the size on hover */
}


/* Responsive Styles for AI Section */
@media (max-width: 768px) {
    .ai-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}

/* Software Section Styles */
.software-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed to min-height to allow for scrolling */
    overflow: hidden; /* Ensures the video stays within bounds */
}

.software-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden; /* Removed height restriction */
    color: #fff; /* Ensures all text in this section is white */
}

.software-description {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff; /* Text color set to white for readability */
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between columns */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.software-subsection {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; /* Adds hover effects */
    color: #fff; /* Text color set to white for readability */
}

.software-subsection h2,
.software-subsection p {
    color: #fff; /* Ensures headings and paragraphs are white */
}

.software-subsection:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Responsive Styles for Software Section */
@media (max-width: 768px) {
    .software-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}

/* Investing Section Styles */
.investing-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed to min-height to allow for scrolling */
    overflow: hidden; /* Ensures the video stays within bounds */
}

.investing-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff; /* Ensures all text in this section is white */
}

.investing-description {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff; /* Text color set to white for readability */
}

.investing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between columns */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.investing-subsection {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; /* Adds hover effects */
    color: #fff; /* Text color set to white for readability */
}

.investing-subsection h2,
.investing-subsection p {
    color: #fff; /* Ensures headings and paragraphs are white */
}

.investing-subsection:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Responsive Styles for Investing Section */
@media (max-width: 768px) {
    .investing-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}
/* Vedic Astrology Section Styles */
.vedic-astrology-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed to min-height to allow for scrolling */
    overflow: hidden; /* Ensures the video stays within bounds */
}

.vedic-astrology-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff; /* Ensures all text in this section is white */
}

.vedic-astrology-description {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff; /* Text color set to white for readability */
}

.vedic-astrology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between columns */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.vedic-astrology-subsection {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; /* Adds hover effects */
    color: #fff; /* Text color set to white for readability */
}

.vedic-astrology-subsection h2,
.vedic-astrology-subsection p {
    color: #fff; /* Ensures headings and paragraphs are white */
}

.vedic-astrology-subsection:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Responsive Styles for Vedic Astrology Section */
@media (max-width: 768px) {
    .vedic-astrology-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}
/* Mystic Section Styles */
.mystic-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed to min-height to allow for scrolling */
    overflow: hidden; /* Ensures the video stays within bounds */
}

.mystic-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff; /* Ensures all text in this section is white */
}

.mystic-description {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff; /* Text color set to white for readability */
}

.mystic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between columns */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.mystic-subsection {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; /* Adds hover effects */
    color: #fff; /* Text color set to white for readability */
}

.mystic-subsection h2,
.mystic-subsection p {
    color: #fff; /* Ensures headings and paragraphs are white */
}

.mystic-subsection:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Responsive Styles for Mystic Section */
@media (max-width: 768px) {
    .mystic-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}
/* Blog Section Styles */
.blog-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed to min-height to allow for scrolling */
    overflow: hidden; /* Ensures the video stays within bounds */
}

.blog-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff; /* Ensures all text in this section is white */
}

.blog-description {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff; /* Text color set to white for readability */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between columns */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.blog-subsection {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; /* Adds hover effects */
    color: #fff; /* Text color set to white for readability */
}

.blog-subsection h2,
.blog-subsection p {
    color: #fff; /* Ensures headings and paragraphs are white */
}

.blog-subsection:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Responsive Styles for Blog Section */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}
