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

:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --accent: #007bff;
    --card-bg: #f9f9fb;
    --nav-bg: #ffffff;
}

.dark-theme {
    --bg: #0f0f12;
    --text: #f4f4f4;
    --card-bg: #1e1e24;
    --nav-bg: #0f0f12;
}

* {
    box-sizing: border-box;
}

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    padding: 0;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 25px 8%; 
    position: sticky; 
    top: 0; 
    background: var(--nav-bg); 
    z-index: 1000;
    border-bottom: 1px solid rgba(128,128,128,0.1);
}

.logo { 
    font-weight: 800; 
    font-size: 1.5rem; 
    letter-spacing: -0.5px; 
    color: var(--text);
    text-decoration: none;
}

.links a { 
    margin-left: 25px; 
    text-decoration: none; 
    color: var(--text); 
    font-weight: 600; 
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.hero {
    position: relative;
    background: linear-gradient(to bottom, #020406 0%, #050a1a 50%, #0a1931 100%);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#wavesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -2px;
    font-size: 4.5rem;
    color: white;
    margin: 0;
    z-index: 10;
    pointer-events: none;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.container { 
    max-width: 1100px; 
    margin: auto; 
    padding: 80px 20px; 
}

.service-item { padding: 40px 0; }
.service-item h2 { font-size: 2.2rem; color: var(--accent); margin-bottom: 15px; }
.service-item p { font-size: 1.1rem; max-width: 800px; line-height: 1.8; opacity: 0.85; }
hr { border: 0; border-top: 1px solid rgba(128,128,128,0.2); }

.client-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 50px; 
}

.card { 
    background: var(--card-bg); 
    border-radius: 16px; 
    border: 1px solid rgba(128,128,128,0.1); 
    overflow: hidden; 
    transition: transform 0.3s ease;
}

.card:hover { 
    transform: translateY(-5px); 
}

.card-header { 
    padding: 12px 20px; 
    background: rgba(0, 123, 255, 0.08); 
    font-size: 0.75rem; 
    font-weight: 800; 
    color: var(--accent); 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body { padding: 25px; }
.card-body h3 { margin: 0 0 10px 0; font-size: 1.4rem; }
.card-body p { margin: 0; opacity: 0.8; font-size: 0.95rem; }

.disco-card {
    position: relative;
}

#disco-toggle { display: none; }


.disco-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    cursor: pointer;
    z-index: 10;
}

@keyframes glow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

#disco-toggle:checked ~ .card-body .disco-text {
    color: #fff;
    text-shadow: 
        0 0 10px #ff0000, 
        0 0 40px #ff0000, 
        0 0 80px #ff0000,
		0 0 150px #ff0000;
    animation: glow 8s linear infinite;
}

#disco-toggle:checked ~ .card-header .category-tag {
    color: #fff !important;
    text-shadow: 
        0 0 10px #ff0000, 
        0 0 20px #ff0000, 
        0 0 40px #ff0000;
    animation: glow 8s linear infinite;
}

#disco-toggle:checked {
    ~ .card-body, ~ .card-header {
        position: relative;
        z-index: 5;
    }
}

#disco-toggle:checked ~ .card-body p {
    color: #eee;
}

.form-wrapper { 
    background: var(--card-bg); 
    padding: 50px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group { display: flex; gap: 20px; margin-bottom: 20px; }
input, select, textarea { 
    width: 100%; 
    padding: 15px; 
    border-radius: 10px; 
    border: 1px solid rgba(128,128,128,0.2); 
    background: var(--bg); 
    color: var(--text); 
    font-family: inherit;
    font-size: 1rem;
}

.details-box { 
    padding: 20px; 
    background: rgba(0,123,255,0.05); 
    border-radius: 10px; 
    margin-bottom: 20px; 
    display: none; 
    font-size: 0.9rem;
}

.submit-btn { 
    background: var(--accent); 
    color: white; 
    border: none; 
    padding: 18px 35px; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: 700;
    transition: opacity 0.2s;
}

.submit-btn:hover { opacity: 0.9; }

footer { 
    background: #0d0d0f;
    color: #ffffff; 
    padding: 60px 10% 30px; 
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.footer-col .logo {
    color: #ffffff !important;
    margin-bottom: 15px;
    display: block;
}

.footer-col p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 5px 0;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
}

.vertical-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vertical-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.vertical-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-right { text-align: right; }

.footer-bar {
    width: 100%;
    max-width: 150px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 15px;
    margin-left: auto;
}

.academic-info {
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #999;
}

.academic-info strong {
    color: #ffffff;
}

.footer-bottom { 
    text-align: center; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    margin-top: 50px; 
    padding-top: 25px; 
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vertical-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vertical-links a {
    color: #ffffff; 
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.vertical-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.float-btn-left, .float-btn-right { 
    position: fixed; 
    bottom: 30px; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    border: none; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 2000;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.float-btn-left { 
    left: 30px; 
    background: var(--text); 
    color: var(--bg); 
}

.float-btn-right { 
    right: 30px; 
    background: var(--accent); 
    color: white; 
    display: none; 
}