:root {
    --primary-teal: #00bcd4;
    --primary-dark-teal: #0097a7;
    --primary-light-teal: #4dd0e1;
    --primary-navy: #0d47a1;
    --primary-dark-navy: #002171;
    --text-dark: #1a237e;
    --text-light: #ffffff;
    --bg-light: #f5f9fc;
    --bg-white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f0f9ff;
    overflow-x: hidden;
}

/* Social Link */
.social-link {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-navy);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.2);
}

.social-link:hover svg {
    fill: var(--primary-teal);
    transform: scale(1.1);
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.wave-loader {
    display: flex;
    gap: 5px;
}

.wave-loader .wave {
    width: 10px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-teal), var(--primary-navy));
    animation: wave-loading 1s ease-in-out infinite;
    border-radius: 50px;
}

.wave-loader .wave:nth-child(1) { animation-delay: 0s; }
.wave-loader .wave:nth-child(2) { animation-delay: 0.1s; }
.wave-loader .wave:nth-child(3) { animation-delay: 0.2s; }

@keyframes wave-loading {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.2); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 188, 212, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 188, 212, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-teal);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--primary-navy) 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
    padding-top: 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #e8f5f8 50%, #e0f7fa 100%);
    overflow: hidden;
}



/* Hero Waves */
.hero-waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

.hero-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hero Logo Background */
.hero-logo-background {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.logo-5-background {
    width: 600px;
    height: 600px;
    opacity: 1;
    animation: initial-pop 2.5s ease-out 0.2s both, subtle-pulse 6s ease-in-out 2s infinite;
    filter: contrast(1.2) brightness(1.1);
    background: transparent;
    border: none;
    outline: none;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes initial-pop {
    0% { 
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% { 
        transform: scale(1);
        opacity: 0.6;
    }
}

@keyframes subtle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}



.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 100px;
    animation: fadeInUp 1s ease 0.3s both;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.5s both;
    position: relative;
    z-index: 10;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.7s both;
    position: relative;
    z-index: 10;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-dark-teal) 100%);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--text-light);
    border-color: var(--primary-navy);
}

/* Wave Dividers */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    color: var(--bg-white);
}

.wave-divider-flip {
    transform: rotate(180deg);
    top: -1px;
    bottom: auto;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #fafbfc;
    position: relative;
}

.services h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.15);
    border-color: rgba(0, 188, 212, 0.3);
}

.service-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 60px;
    height: 60px;
}

.wave-icon {
    animation: wave-path 3s ease-in-out infinite;
}

@keyframes wave-path {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.rotating-circle {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0, 188, 212, 0.05) 100%);
    position: relative;
}

.about h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 188, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: transform 0.6s;
}

.glass-card:hover::before {
    transform: rotate(45deg) translateY(100%);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--bg-white);
    position: relative;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-info {
    margin-top: 30px;
}

.contact-info.glass-card {
    text-align: center;
}

.contact-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--primary-navy) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-link:hover::after {
    transform: scaleX(1);
}

.contact-link:hover {
    color: var(--primary-dark-teal);
}

.contact-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-teal);
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: rgba(0, 188, 212, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.contact-social-link:hover svg {
    fill: var(--primary-dark-teal);
    transform: scale(1.1);
}

/* Footer */
footer {
    background: transparent;
    color: var(--text-dark);
    padding: 150px 0 30px 0;
    text-align: center;
    position: relative;
    margin-top: -2px;
    z-index: 10;
}

footer .container {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    display: inline-block;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0.5;
    }
    90% {
        opacity: 1;
    }
}

.nav-menu a.active {
    color: var(--primary-teal);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--primary-navy) 100%);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-link {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 40px var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero section mobile adjustments */
    .hero {
        padding-top: 20px;
        min-height: 100vh;
    }

    .hero-logo-background {
        top: 20%;
        transform: translate(-50%, -50%) scale(0.6);
    }

    .logo-5-background {
        width: 400px;
        height: 400px;
        opacity: 0.4;
    }

    .hero-title {
        margin-top: 140px;
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 200px;
        text-align: center;
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .hero-waves {
        height: 80px;
    }

    .hero-wave-svg {
        height: 80px;
    }

    /* Service section mobile adjustments */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-icon svg {
        width: 50px;
        height: 50px;
    }

    .glass-card {
        padding: 30px 20px;
    }

    footer {
        padding: 120px 20px 30px 20px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}