@charset "utf-8";

:root {
    --primary: #0097b2;
    --primary-dark: #007a8f;
    --background: #f3f4f6;
    --card-bg: #ffffff;
    --text: #1e293b;
    --gray-200: #e5e7eb;
    --slate-500: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

/* Animated background with hexagon pattern */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, transparent 2%, rgba(0, 151, 178, 0.1) 2%, rgba(0, 151, 178, 0.1) 3%, transparent 3%),
        radial-gradient(circle at 75% 75%, transparent 2%, rgba(0, 122, 143, 0.1) 2%, rgba(0, 122, 143, 0.1) 3%, transparent 3%);
    background-size: 80px 80px;
    animation: grid-move 30s linear infinite;
    z-index: -2;
}

/* Animated shapes */
.shapes-container {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.4; /* Increased opacity for visibility */
}

.shape-circle {
    width: 300px;
    height: 300px;
    border: 3px solid var(--primary); /* Thicker border */
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation: float-rotate 20s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 151, 178, 0.3);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--primary); /* Solid color for visibility */
    top: 60%;
    right: 15%;
    animation: float-rotate 25s ease-in-out infinite reverse;
    opacity: 0.3;
}

.shape-square {
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-dark); /* Thicker border */
    transform: rotate(45deg);
    bottom: 20%;
    left: 20%;
    animation: float-rotate 22s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 122, 143, 0.3);
}

@keyframes float-rotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.05);
    }
}

/* Gradient overlay */
.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 151, 178, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 122, 143, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    z-index: -1;
    animation: gradient-shift 10s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(80px, 80px);
    }
}

/* Floating particles */
.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.particle::before {
    content: '';
    position: absolute;
    width: 3px; /* Slightly larger for visibility */
    height: 3px;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary), 0 0 24px var(--primary);
    animation: float-up 15s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8; /* Increased opacity */
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 50px;
    box-shadow: 0 4px 20px rgba(0, 151, 178, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 20px;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    animation: fade-in-up 1s ease-out;
    z-index: 10;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text Rotator Styles */
.text-rotator {
    position: relative;
    min-height: 130px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.text-set {
    position: absolute;
    width: 100%;
    opacity: 0;
    display: none;
}

.text-set.active {
    opacity: 1;
    display: block;
}

.glitch-text {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--primary);
    text-shadow: -2px 0 var(--primary);
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--primary-dark);
    text-shadow: 2px 0 var(--primary-dark);
}

@keyframes glitch-1 {
    0%, 100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }
    20% {
        clip-path: inset(33% 0 33% 0);
        transform: translate(-2px);
    }
    40% {
        clip-path: inset(66% 0 0 0);
        transform: translate(2px);
    }
    60% {
        clip-path: inset(0 0 66% 0);
        transform: translate(1px);
    }
    80% {
        clip-path: inset(25% 0 50% 0);
        transform: translate(-1px);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }
    20% {
        clip-path: inset(50% 0 25% 0);
        transform: translate(2px);
    }
    40% {
        clip-path: inset(0 0 75% 0);
        transform: translate(-2px);
    }
    60% {
        clip-path: inset(75% 0 0 0);
        transform: translate(-1px);
    }
    80% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(1px);
    }
}

.subtitle {
    font-size: 1.3rem;
    margin: 20px 0;
    color: var(--slate-500);
    line-height: 1.6;
}

.subtitle.visible {
    animation: subtitleFade 0.8s ease-out 0.5s forwards;
}

@keyframes subtitleFade {
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-container {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 100;
}

.cta-button {
    padding: 12px 30px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    border-radius: 12px;
}

.cta-primary {
    background: var(--primary);
    color: #ffffff;
}

.cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 151, 178, 0.2);
}

.cta-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-secondary:hover {
    background: rgba(0, 151, 178, 0.1);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 151, 178, 0.2);
}

/* Features Section with Tabs */
.features {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.features-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.feature-tabs {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text);
}

.tab-item:hover {
    background: rgba(0, 151, 178, 0.1);
}

.tab-item.active {
    background: var(--primary);
    color: #ffffff;
}

.tab-icon {
    font-size: 1.5rem;
}

.feature-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.content-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-panel.active {
    display: block;
}

.content-panel h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.content-panel p {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text);
    font-size: 1rem;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.7rem;
    margin-bottom: 30px;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.about-text p {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-graphic {
    width: 300px;
    height: 300px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.about-graphic::before,
.about-graphic::after {
    content: '';
    position: absolute;
    border: 3px solid var(--primary); /* Thicker border */
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 151, 178, 0.3);
}

.about-graphic::before {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.about-graphic::after {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: var(--primary-dark);
    animation: rotate 15s linear infinite reverse;
}

/* Alternative graphic for second row */
.about-graphic-alt {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.hexagon {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary);
    opacity: 0.5; /* Increased opacity */
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    box-shadow: 0 0 15px rgba(0, 151, 178, 0.3);
}

.hexagon:nth-child(1) {
    width: 150px;
    height: 150px;
    animation: hexagon-rotate 8s linear infinite;
}

.hexagon:nth-child(2) {
    width: 100px;
    height: 100px;
    animation: hexagon-rotate 12s linear infinite reverse;
    opacity: 0.6;
}

.hexagon:nth-child(3) {
    width: 200px;
    height: 200px;
    animation: hexagon-rotate 15s linear infinite;
    opacity: 0.4;
}

@keyframes hexagon-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--gray-200);
    border: 2px solid var(--gray-200);
    color: var(--text);
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 151, 178, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 151, 178, 0.2);
    background: var(--primary-dark);
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-details h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 500;
}

.info-details p {
    color: var(--text);
    font-size: 1rem;
}

.info-details a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-details a:hover {
    color: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.copyright {
    color: var(--slate-500);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: var(--primary-dark);
}

/* Scanlines effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(transparent 50%, rgba(0, 151, 178, 0.05) 50%);
    background-size: 100% 4px;
    animation: scanlines 8s linear infinite;
    z-index: 2;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        padding: 0 20px;
    }

    .glitch-text {
        font-size: clamp(1.4rem, 5vw, 2.6rem);
    }

    .text-rotator {
        min-height: 170px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-tabs {
        padding: 20px;
        max-width: 100%;
    }

    .tab-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-graphic {
        width: 200px;
        height: 200px;
    }

    .shape-circle,
    .shape-triangle,
    .shape-square {
        transform: scale(0.6);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .content-panel h3 {
        font-size: 1.8rem;
    }
}