/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto&family=Orbitron&family=Orbitron:wght@300;400;700&display=swap');

/* Root Variables for Colors */
:root {
    /* Color Palette Inspired by Hiroshi Nagai */
    --background-color: #f8f0e3; /* Soft cream */
    --primary-color: #70144d;    /* Vibrant pink   #ff6ec7; */
    --secondary-color: #6ec1ff;  /* Sky blue */
    --accent-color: #ffd700;     /* Gold */
    --text-color: #2E3B4E;       /* Dark blue-gray */
    --white: #ffffff;
    --black: #000000;
    --gradient: linear-gradient(135deg, #25081a 0%, #6ec1ff 100%);
}

/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.2;
    background-color: var(--background-color);
    background-image: var(--gradient);
    background-size: cover;
    background-attachment: fixed;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.header-container {
    display: flex;
    align-items: flex-start;
    padding: 15px 20px;
}
/* Logo Section */
.logo-container {
    margin-right: 20px;
    flex-shrink: 0; /* Prevent the logo from shrinking */
}

/* Header Content (h1 + nav) */
.header-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Header Title */
.header-content h1 {
    margin: 0;
    font-family: 'Orbitron', cursive;
    font-size: 2.5em;
    color: var(--primary-color);
}

.logo h1 {
    margin: 0;
    font-family: 'Orbitron', cursive;
    font-size: 2.5em;
    color: var(--primary-color);
}

/* Navigation Menu */
nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    font-size: 1.2em;
    color: var(--text-color);
    font-weight: bold;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
}

/* Main Content */
main {
    margin-top: 80px; /* To avoid content being hidden behind fixed header */
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: var(--white);
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    filter: brightness(80%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-text h2 {
    font-size: 2.75em;
    font-family: 'Orbitron', cursive;
    text-shadow: 2px 2px 4px var(--black);
    color: var(--white);
}

.hero-text p {
    font-size: 1.5em;
    font-family: 'Roboto', sans-serif;
    text-shadow: 1px 1px 2px var(--black);
    color: var(--white);
}

.button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Highlights Section */
.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.9);
}

.highlight {
    flex: 1 1 30%;
    margin: 15px;
    text-align: center;
    border-radius: 15px;
    background-color: var(--background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlight img {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
}

.highlight h3 {
    margin-top: 15px;
    font-size: 1.5em;
    color: var(--primary-color);
    font-family: 'Orbitron', cursive;
}

.highlight p {
    margin: 20px;
    font-size: 1em;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

/* Feature Details Container */
.feature-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Uniform spacing between items */
    justify-content: center; /* Centers items horizontally */
    padding: 50px 20px;
}

/* Feature Cards */
.feature {
    max-width: 500px; /* Prevent overly stretched cards */
    min-width: 500px; /* Prevent overly narrow cards */
    text-align: center;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0;    
    transition: transform 0.3s;
}

/* Feature Images */
.feature img {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
    padding: 10%;
    box-sizing: border-box; /* Includes padding in width */
}

/* Feature Titles */
.feature h3 {
    margin-top: 15px;
    font-size: 1.5em;
    color: var(--secondary-color);
    font-family: 'Orbitron', cursive;
}

/* Feature Descriptions */
.feature p {
    margin: 20px;
    font-size: 1em;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .feature {
        flex: 1 1 100%; /* Stack items vertically */
        max-width: 100%; /* Ensure they occupy full width */
    }
}

.feature:hover {
    transform: translateY(-10px);
}

/* Pricing Toggle */
/* Hide the checkbox input */
.pricing-toggle input[type="checkbox"] {
    display: none; /* Completely hide the checkbox */
}

.pricing-toggle {
    text-align: center;
    margin: 30px 0;
}

.pricing-toggle label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.toggle-slider {
    width: 50px;
    height: 25px;
    background-color: var(--secondary-color);
    border-radius: 25px;
    position: relative;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.toggle-slider::after {
    content: '';
    width: 21px;
    height: 21px;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

#pricingToggle:checked + .toggle-slider {
    background-color: var(--primary-color);
}

#pricingToggle:checked + .toggle-slider::after {
    transform: translateX(25px);
}

.toggle-label {
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    color:#ffffff
}

/* Pricing Table */
.pricing-table {
    display: flex; 
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 20px 50px;
}

.plan {
    max-width: 500px; /* Prevent overly stretched cards */
    min-width: 500px; /* Prevent overly narrow cards */
    padding: 30px;
    text-align: center;
    flex: 1 1 30%;
    margin: 15px;
    border-radius: 15px;
    background-color: var(--background-color);
    border: 2px solid var(--accent-color);
    transition: transform 0.3s;
}

.plan:hover {
    transform: translateY(-10px);
}

.plan h3 {
    margin-top: 0;
    font-size: 1.8em;
    font-family: 'Orbitron', cursive;
    color: var(--text-color);
}

.plan .price {
    font-size: 2.5em;
    color: var(--primary-color);
    margin: 20px 0;
    font-family: 'Roboto', sans-serif;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.plan ul li {
    margin: 10px 0;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
}

.plan .button {
    margin-top: 20px;
}

/* About Us Page */
.about-content {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.9);
}

.about-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.2em;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

/* Contact Page */
.contact-info {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px 20px;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
}

.contact-info form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.contact-info label {
    margin-top: 15px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
}

.contact-info input,
.contact-info textarea {
    padding: 10px;
    font-size: 1em;
    margin-top: 5px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto', sans-serif;
}

.contact-info textarea {
    resize: vertical;
    height: 150px;
}

.contact-info button {
    padding: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    margin-top: 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-family: 'Orbitron', cursive;
}

.contact-info button:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.line{
    width: 100%;
    height: 10px;
    border-bottom: 1px solid black;
    position: absolute;
    }

/* Footer Styles */
footer {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-media {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-media li {
    margin: 0 10px;
}

.social-media li a img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

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

    .header-content {
        align-items: center;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    .menu-toggle {
        display: flex;
    }
}

.large-button {
    font-size: 2em; /* Larger font size */
    padding: 20px 40px; /* Adjust padding for balance */
}

/* General Styled Heading Class */
.section-title {
    text-align: center;
    text-decoration: underline;
    color: #6ec1ff; /* Sky blue */
    font-size: 2em; /* Adjust based on your design needs */
    margin-bottom: 20px; /* Adds spacing below the heading */
    font-family: 'Orbitron'; /* Ensure consistent font */
}

/* Chatbot Button Hover Effect */
#chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #e63946, 0 0 30px #e63946, 0 0 45px rgba(230, 57, 70, 0.7);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px #e63946, 0 0 20px #e63946, 0 0 30px rgba(230, 57, 70, 0.5);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px #e63946, 0 0 40px #e63946, 0 0 60px rgba(230, 57, 70, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px #e63946, 0 0 20px #e63946, 0 0 30px rgba(230, 57, 70, 0.5);
    }
}

/* Apply Pulse Class */
#chatbot-toggle.pulse {
    animation: pulse 1s ease-in-out 3; /* 1s per pulse, 3 repetitions */
}