/* Universal Box-Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body and Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Light gray for text */
    background-color: #0A0A1A; /* Very dark blue/black background */
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative; /* For absolute positioning of overlay */
    min-height: 100vh; /* Ensure body takes full viewport height */
    display: flex; /* For centering content vertically if needed */
    flex-direction: column;
}

/* Background Image and Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Data_Analytics_bg.jpeg'); /* Your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15; /* Adjust opacity for subtle effect */
    z-index: -1; /* Place behind content */
    filter: brightness(0.6) grayscale(0.2); /* Slightly dim and desaturate for dark theme */
}

/* Container for content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative; /* To ensure content is above the overlay */
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 60px 20px 40px;
    animation: fadeIn 1.5s ease-out;
}

.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    color: #00FFFF; /* Cyan highlight */
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); /* Subtle glow */
}

.site-title .highlight {
    color: #90EE90; /* Light Green for highlight */
    text-shadow: 0 0 8px rgba(144, 238, 144, 0.6);
}

.tagline {
    font-size: 1.4em;
    color: #B0C4DE; /* Light steel blue */
    font-weight: 300;
}

/* Main Content */
.main-content {
    flex-grow: 1; /* Allows main content to take available space */
    padding: 40px 0;
}

.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    animation: slideInUp 1s ease-out;
}

.intro-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    color: #ADD8E6; /* Light blue */
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(173, 216, 230, 0.4);
}

.intro-section p {
    font-size: 1.1em;
    color: #C0C0C0;
    line-height: 1.8;
}

/* Demo Options */
.demo-options {
    display: flex;
    justify-content: center;
    gap: 40px; /* Space between cards */
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
}

.option-card {
    background-color: rgba(10, 10, 30, 0.85); /* Slightly lighter than body, semi-transparent */
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 35px;
    width: 45%; /* Approx half width */
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease-in-out, transform 0.3s ease-in-out;
    cursor: pointer;
    position: relative; /* For pseudo-element glow */
    overflow: hidden; /* Keep glow within bounds */
}

.option-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 255, 0.7);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.3);
}

.card-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #00FFFF; /* Cyan */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.option-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    color: #ADD8E6;
    margin-bottom: 15px;
}

.option-card p {
    font-size: 1em;
    color: #C0C0C0;
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    background: linear-gradient(90deg, #00FFFF 0%, #00BFFF 100%); /* Cyan to Deep Sky Blue */
    color: #0A0A1A; /* Dark text on button */
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.btn:hover {
    background: linear-gradient(90deg, #00BFFF 0%, #00FFFF 100%);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    color: #A0A0A0;
    font-size: 0.9em;
}

.footer .contact-info {
    margin-top: 15px;
    line-height: 1.8;
}

.footer .contact-info p {
    margin: 5px 0;
}

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

.footer a:hover {
    color: #ADD8E6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .site-title {
        font-size: 2.8em;
    }
    .tagline {
        font-size: 1.2em;
    }
    .intro-section h2 {
        font-size: 2em;
    }
    .option-card {
        width: 80%; /* Stack cards vertically */
        margin-bottom: 30px; /* Add space between stacked cards */
    }
    .demo-options {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .site-title {
        font-size: 2.2em;
    }
    .tagline {
        font-size: 1em;
    }
    .intro-section h2 {
        font-size: 1.6em;
    }
    .option-card {
        width: 95%; /* Almost full width on small screens */
        padding: 25px;
    }
    .card-icon {
        font-size: 2.8em;
    }
    .option-card h3 {
        font-size: 1.5em;
    }
    .btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .header {
        padding: 40px 10px 30px;
    }
    .footer {
        padding: 20px 10px;
    }
}

/* Subtle glowing border effect on hover using pseudo-elements */
.glow-on-hover::before,
.glow-on-hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    background: linear-gradient(45deg, #00FFFF, #8A2BE2, #00BFFF, #00FFFF); /* Cyan, Blue Violet, Deep Sky Blue */
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 12px; /* Match card border-radius */
}

.glow-on-hover:hover::before {
    opacity: 1;
}

.glow-on-hover::after {
    filter: blur(50px); /* Blur the second pseudo-element for a softer glow */
}

.glow-on-hover:hover::after {
    opacity: 1;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}