@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #6c63ff; /* Soft Purple/Blue */
    --secondary-color: #4a90e2; /* Soft Blue */
    --bg-color: #f4f7f6; /* Very light grey/white */
    --card-bg: #ffffff;
    --text-color: #555555;
    --heading-color: #2c3e50;
    --accent-glow: rgba(108, 99, 255, 0.3);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 5%;
    background-color: #ffffff;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.links a {
    color: #666;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.links a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero-section {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Clear tech background, no heavy overlay */
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    /* Add text shadow for readability on clear background */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px 40px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5);
}

/* Content Blocks */
.content-block {
    padding: 100px 5%;
    background-color: #fff;
}

.content-block.alt-bg {
    background-color: #f8f9fa;
}

.content-block h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 30px;
    text-align: center;
}

.content-block p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

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

.feature-item h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #f9f9f9;
    color: #888;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Page Header for subpages */
.page-header {
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: #fff;
    font-size: 3rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Form Styling */
form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box; /* Fix width overflow */
    transition: border-color 0.3s;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Legal Page */
.legal-content {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.legal-content h2 {
    color: var(--heading-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-top: 40px;
}

.legal-content p {
    color: var(--text-color);
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc; }
    to { text-shadow: 0 0 20px #00ffcc, 0 0 30px #00ffcc, 0 0 40px #00ffcc; }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
}

.btn-glow {
    padding: 15px 40px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.btn-glow:hover {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.8);
}

/* Sections */
.content-block {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.alt-bg {
    background-color: rgba(26, 26, 26, 0.8);
    width: 100%;
    max-width: none;
    padding: 100px 0;
}

.alt-bg h2, .alt-bg .features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
}

.features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Form */
.contact-container {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid #333;
    max-width: 700px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: #000;
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 50px;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

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

.legal-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}
