/* NSK Ventures Website Styles */
:root {
    --primary: #1a237e;
    --secondary: #fbc02d;
    --background: #f5f6fa;
    --text: #222;
    --accent: #00bcd4;
    --white: #fff;
    --gray: #e0e0e0;
    --glass-bg: rgba(255,255,255,0.7);
    --glass-blur: 16px;
    --shadow: 0 8px 32px rgba(26,35,126,0.08);
    --transition: 0.4s cubic-bezier(.4,0,.2,1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Lato', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition);
}
header.sticky {
    box-shadow: 0 4px 24px rgba(26,35,126,0.10);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
}
.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
    width: 200px;
    object-fit: contain;
}
#main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
nav a:hover, nav a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}
.contact-info {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.95rem;
    color: var(--text);
}
.hero {
    background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
    color: var(--white);
    padding: 3rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.hero-content img {
    width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 100%;
}
.hero-content > * {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s var(--transition) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.3s; }
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}
.cta-btn {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(251,192,45,0.10);
}
.cta-btn:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0,188,212,0.12);
}
.services {
    padding: 3rem 0 2rem 0;
    background: var(--white);
}
.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2rem 1.5rem;
    text-align: center;
    width: 220px;
    transition: transform var(--transition), box-shadow var(--transition), background 0.2s;
}
.card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 16px 48px rgba(26,35,126,0.12);
    background: rgba(255,255,255,0.85);
}
.card img {
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--gray);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.card:hover img {
    box-shadow: 0 8px 24px rgba(26,35,126,0.10);
}
.card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.about {
    padding: 3rem 0 2rem 0;
}
.about-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.about-flex img {
    border-radius: 10px;
    width: 400px;
    height: 300px;
    object-fit: cover;
    max-width: 100%;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.about-flex ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}
.about-flex li {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 500;
}
.cta {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2rem 0 4rem 0;
}
.cta-btn {
    margin-top: 2rem;
}
.contact {
    padding: 3rem 0 2rem 0;
    background: var(--white);
}
.contact-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2rem 1.5rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition), box-shadow var(--transition), background 0.2s;
}
.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    padding: 0.8rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 2px 8px rgba(0,188,212,0.08);
}
.contact-form button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: var(--accent);
    color: var(--white);
}
footer {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 0;
    font-size: 0.95rem;
    box-shadow: 0 -2px 8px rgba(26,35,126,0.04);
}
.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
footer a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}
footer a:hover {
    color: var(--secondary);
}
@media (max-width: 900px) {
    .hero-content, .about-flex, .contact-flex {
        flex-direction: column;
        text-align: center;
    }
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
    .contact-form {
        width: 100%;
    }
    .header-flex {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .logo {
        flex: 0 0 auto;
    }
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 9999;
        pointer-events: auto;
        margin-left: 0.5rem;
        background: none;
        border: none;
        box-shadow: none;
    }
    #main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80vw;
        max-width: 320px;
        background: var(--white);
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        z-index: 150;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 4rem 1.5rem 2rem 1.5rem;
    }
    #main-nav.open {
        display: flex;
        transform: translateX(0);
    }
    #main-nav ul {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        gap: 1.2rem;
    }
    #main-nav ul li {
        width: 100%;
        margin-bottom: 0;
        text-align: center;
    }
    #main-nav ul li a {
        font-size: 1.1rem;
        padding: 0.7em 0;
        display: block;
        width: 100%;
        color: var(--primary);
        border-radius: 6px;
        text-align: center;
        transition: background 0.2s, color 0.2s;
    }
    #main-nav ul li a:hover {
        background: var(--accent);
        color: var(--white);
    }
    .contact-info {
        display: none;
    }
    .hero {
        padding: 2.5rem 0 2.5rem 0;
        text-align: center;
    }
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .hero-content h1 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    .cta-btn {
        margin-top: 1.2rem;
    }
    .services h2, .about h2, .cta h2, .contact h2 {
        text-align: center;
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    .service-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .card {
        width: 100%;
        text-align: center;
        margin-bottom: 1.2rem;
        padding: 1.5rem 1rem;
    }
    .about-flex {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        text-align: left;
    }
    .about-flex img {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin-bottom: 1rem;
    }
    .about-flex ul {
        padding-left: 1.2em;
        margin-bottom: 1.2em;
    }
    .about-flex li {
        margin-bottom: 0.5em;
        text-align: left;
    }
    .cta {
        padding: 2rem 0 3rem 0;
        text-align: center;
    }
    .contact-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        text-align: left;
    }
    .contact-form {
        width: 100%;
        padding: 1.5rem 1rem;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
        padding: 0.7rem;
    }
    footer {
        text-align: center;
        padding: 1.5rem 0 1.2rem 0;
    }
    .footer-flex {
        flex-direction: column;
        gap: 0.7rem;
        align-items: center;
        justify-content: center;
    }
    .hero-content img {
        display: block;
        margin: 1.2rem auto 0 auto;
        max-width: 95vw;
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        padding-bottom: 1.2rem;
    }
}
@media (max-width: 600px) {
    .container {
        width: 98%;
    }
    .hero {
        padding: 1.5rem 0 2rem 0;
    }
    .hero-content h1 {
        font-size: 1.1rem;
    }
    .card {
        width: 100%;
        padding: 1.2rem 0.7rem;
    }
    #main-nav {
        width: 100vw;
        max-width: none;
        padding: 4rem 0.5rem 2rem 0.5rem;
    }
    .hero-content img {
        margin: 1rem auto 0 auto;
        max-width: 98vw;
        width: 100%;
        height: auto;
        border-radius: 10px;
        padding-bottom: 1rem;
    }
}
/* Animations for fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}
/* Dark mode toggle button */
.theme-toggle {
    background: var(--glass-bg);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 1rem;
    transition: background 0.2s;
}
.theme-toggle:hover {
    background: var(--accent);
}
.theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--icon-primary);
    transition: fill 0.3s, transform 0.4s;
}
.theme-toggle:hover svg {
    fill: var(--icon-accent);
    transform: rotate(180deg) scale(1.1);
}
/* Animated icons for cards */
.animated-icon {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0.5rem;
    animation: icon-bounce 1.2s infinite alternate cubic-bezier(.4,0,.2,1);
}
@keyframes icon-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px) scale(1.08); }
}
.card:hover .animated-icon {
    animation: icon-spin 0.8s linear;
}
@keyframes icon-spin {
    100% { transform: rotate(360deg) scale(1.1); }
}
/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(0,188,212,0.25);
    pointer-events: none;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    z-index: 2;
}
@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}
.cta-btn, .contact-form button {
    position: relative;
    overflow: hidden;
}
/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    z-index: 200;
    margin-left: 0.5rem;
    position: relative;
    transition: background 0.2s, transform 0.1s;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    margin: 5px 0;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
    opacity: 1;
}
.nav-toggle:active {
    transform: scale(0.96);
}
.icon-email, .icon-website, .icon-location {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5em;
    margin-bottom: 2px;
}
/* Glossy pill style for header email */
.header-email {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: var(--white);
    padding: 0.35em 1em;
    border-radius: 2em;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,188,212,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    gap: 0.5em;
}
.header-email:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(26,35,126,0.10);
}
.header-email .icon-email svg {
    margin-right: 0.3em;
    vertical-align: middle;
}
/* Alternative color options for header email pill */
/* Usage: <a class="header-email header-email--blue">...</a> */
.header-email--blue {
    background: linear-gradient(90deg, #1976d2 60%, #64b5f6 100%);
    color: #fff;
}
.header-email--blue:hover {
    background: linear-gradient(90deg, #0d47a1 60%, #1976d2 100%);
}
.header-email--green {
    background: linear-gradient(90deg, #43a047 60%, #a5d6a7 100%);
    color: #fff;
}
.header-email--green:hover {
    background: linear-gradient(90deg, #1b5e20 60%, #43a047 100%);
}
.header-email--red {
    background: linear-gradient(90deg, #e53935 60%, #ff8a65 100%);
    color: #fff;
}
.header-email--red:hover {
    background: linear-gradient(90deg, #b71c1c 60%, #e53935 100%);
}
.header-email--purple {
    background: linear-gradient(90deg, #8e24aa 60%, #ce93d8 100%);
    color: #fff;
}
.header-email--purple:hover {
    background: linear-gradient(90deg, #4a148c 60%, #8e24aa 100%);
}
/* Fix bullet alignment for lists */
ul, ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}
ul li, ol li {
    margin-bottom: 0.5em;
    padding-left: 0.2em;
    text-align: left;
    line-height: 1.6;
} 