:root {
    --deep-blue: #023E8A;
    --ocean: #0077B6;
    --cyan: #48CAE4;
    --white: #FFFFFF;
    --light-grey: #F5F7FA;
    --dark-grey: #333333;
    
    --font-tech: 'Rajdhani', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--light-grey);
    color: var(--dark-grey);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Background Waves */
.bg-waves { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.5; }
.bg-waves svg { width: 100%; height: 100%; }

/* Header */
.hydro-header { background: var(--white); border-bottom: 2px solid var(--cyan); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--deep-blue); }
.logo-symbol { font-size: 2.5rem; font-weight: bold; line-height: 1; color: var(--cyan); }
.logo-text { font-family: var(--font-tech); font-weight: 700; font-size: 1.8rem; letter-spacing: 1px; }
.cyan { color: var(--cyan); }

.tech-nav a { font-family: var(--font-tech); font-weight: 600; font-size: 1.1rem; margin-left: 25px; color: var(--deep-blue); text-transform: uppercase; }
.tech-nav a:hover, .tech-nav a.active { color: var(--cyan); }

.btn-hydro { background: var(--deep-blue); color: var(--white) !important; padding: 8px 20px; border-radius: 4px; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%); }
.btn-hydro:hover { background: var(--ocean); }

/* Mobile Menu */
.mobile-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 30px; height: 3px; background: var(--deep-blue); }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--deep-blue); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; background: none; border: 1px solid var(--cyan); color: var(--cyan); padding: 5px 15px; font-size: 1.5rem; cursor: pointer; }
.mobile-menu nav a { font-family: var(--font-tech); font-size: 2rem; color: var(--white); margin: 15px 0; text-transform: uppercase; font-weight: bold; }

/* Hero */
.hero-flow { padding: 80px 0; background: linear-gradient(to bottom, var(--white), transparent); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.status-indicator { font-family: var(--font-tech); color: var(--cyan); font-weight: bold; letter-spacing: 1px; font-size: 0.9rem; }
.hero-text h1 { font-family: var(--font-tech); font-size: 4rem; line-height: 1; color: var(--deep-blue); margin: 15px 0 20px; }
.hero-text p { font-size: 1.2rem; color: #555; margin-bottom: 40px; border-left: 4px solid var(--cyan); padding-left: 20px; }
.hero-buttons { display: flex; gap: 20px; }
.btn-primary { background: var(--deep-blue); color: var(--white); padding: 15px 30px; font-family: var(--font-tech); font-weight: bold; border-radius: 4px; }
.btn-secondary { border: 2px solid var(--deep-blue); color: var(--deep-blue); padding: 13px 30px; font-family: var(--font-tech); font-weight: bold; border-radius: 4px; }

.hero-visual { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,78,100,0.2); }
.hero-visual img { width: 100%; display: block; }
.data-overlay { position: absolute; bottom: 20px; right: 20px; background: rgba(2, 62, 138, 0.9); padding: 15px; border-radius: 4px; color: var(--cyan); font-family: var(--font-tech); font-weight: bold; border: 1px solid var(--cyan); }

/* Services */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-family: var(--font-tech); font-size: 3rem; color: var(--deep-blue); }
.blue-dash { width: 80px; height: 4px; background: var(--cyan); margin: 10px auto; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { background: var(--white); padding: 40px; border-radius: 8px; border-top: 5px solid var(--deep-blue); box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.tech-card:hover { transform: translateY(-5px); border-top-color: var(--cyan); }
.tech-card.highlight { background: var(--deep-blue); color: var(--white); border-top-color: var(--cyan); }
.tech-card.highlight p { color: #ccc; }
.tech-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.tech-card h3 { font-family: var(--font-tech); font-size: 1.5rem; margin-bottom: 10px; }

/* About & Contact */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-side h1 { font-family: var(--font-tech); font-size: 3rem; color: var(--deep-blue); margin-bottom: 20px; }
.stats-row { display: flex; gap: 40px; margin-top: 40px; }
.stat strong { display: block; font-family: var(--font-tech); font-size: 2.5rem; color: var(--cyan); line-height: 1; }
.stat span { font-size: 0.9rem; font-weight: bold; }
.img-side { position: relative; }
.img-side img { width: 100%; border-radius: 8px; border: 2px solid var(--white); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.tech-overlay { position: absolute; top: 20px; left: -20px; background: var(--cyan); color: var(--deep-blue); padding: 5px 15px; font-family: var(--font-tech); font-weight: bold; }

.contact-terminal { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.terminal-info { background: var(--deep-blue); color: var(--white); padding: 40px; text-align: center; }
.terminal-info h2 { font-family: var(--font-tech); font-size: 2.5rem; color: var(--cyan); }
.tech-details { margin-top: 20px; font-family: var(--font-tech); font-size: 1.1rem; }
.hydro-form { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-wrap { margin-bottom: 20px; }
.input-wrap label { display: block; font-family: var(--font-tech); font-weight: bold; color: var(--deep-blue); margin-bottom: 5px; text-transform: uppercase; }
.input-wrap input, .input-wrap select, .input-wrap textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background: var(--light-grey); font-family: var(--font-body); }
.input-wrap input:focus, .input-wrap textarea:focus { border-color: var(--cyan); outline: none; }
.btn-submit { width: 100%; background: var(--deep-blue); color: var(--white); border: none; padding: 15px; font-family: var(--font-tech); font-size: 1.2rem; font-weight: bold; cursor: pointer; }
.btn-submit:hover { background: var(--ocean); }

/* Projects & Legal */
.project-list { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.project-item { background: var(--white); padding: 25px; border-left: 5px solid var(--deep-blue); border-radius: 0 8px 8px 0; }
.project-item.active-p { border-left-color: var(--cyan); background: #eafaff; }
.p-header { display: flex; justify-content: space-between; font-family: var(--font-tech); font-weight: bold; color: #888; font-size: 0.9rem; margin-bottom: 10px; }
.project-item h3 { color: var(--deep-blue); margin-bottom: 10px; }
.p-status { margin-top: 15px; font-size: 0.8rem; font-weight: bold; color: var(--cyan); }

.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 8px; }
.legal-doc h1 { font-family: var(--font-tech); color: var(--deep-blue); }
.legal-doc h3 { color: var(--ocean); margin-top: 30px; font-family: var(--font-tech); font-size: 1.5rem; }

/* Footer */
.hydro-footer { background: var(--deep-blue); color: var(--white); padding: 60px 0 20px; margin-top: 80px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; margin-bottom: 20px; }
.f-col h4 { font-family: var(--font-tech); font-size: 1.8rem; margin-bottom: 5px; color: var(--cyan); }
.f-col a { color: rgba(255,255,255,0.7); margin-left: 20px; }
.f-col a:hover { color: var(--cyan); }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.6; }

/* Cookie Panel */
.cookie-panel { position: fixed; bottom: 20px; right: 20px; background: var(--white); border: 2px solid var(--deep-blue); padding: 20px; z-index: 9999; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.cookie-panel.active { display: block; animation: slideIn 0.5s; }
.cookie-content { text-align: center; }
.cookie-content p { margin-bottom: 10px; font-weight: bold; color: var(--deep-blue); }
.cookie-content button { background: var(--cyan); color: var(--deep-blue); border: none; padding: 5px 20px; font-weight: bold; cursor: pointer; font-family: var(--font-tech); }

@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

@media (max-width: 900px) {
    .tech-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-grid, .card-grid, .about-layout, .form-row { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 3rem; }
    .hero-visual { height: 300px; }
    .hero-visual img { height: 100%; object-fit: cover; }
}