:root {
    --primary-purple: #644bff;
    --purple-light: #8B5CF6;
    --dark: #0F172A;
    --light: #F8FAFC;
    --accent: #C4B5FD;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--light);
    overflow-x: hidden;
}

/* ======================
        NAVBAR 
====================== */

/* ======================
        NAVBAR - GLASSMORPHISM
====================== */

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1450px;

    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;

    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(107, 70, 193, 0.08);

    z-index: 9999;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 2px 10px rgba(107, 70, 193, 0.1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 70, 193, 0.03),
        rgba(139, 92, 246, 0.02)
    );
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
}
/* Container */
.nav-container {
    height: 82px;           /* Balanced height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: auto;
    padding: 0 35px;
}

/* Logo */
.logo {
    margin-left:10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.85rem;
}

.logo img {
    height: 72px;           /* Main desktop size - balanced */
    width: auto;
    transition: height 0.35s ease;
    object-fit: contain;
}

.logo:hover img {
    transform: scale(1.04);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-menu a {
    position: relative;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: #6B46C1;
    border-radius: 20px;
    transition: width 0.35s;
}

.nav-menu a:hover {
    color: #6B46C1;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Right Side */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.quote-btn {
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.25);
}

.quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px rgba(107, 70, 193, 0.35);
}

/* Hamburger */
.hamburger {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #222;
    transition: 0.3s;
}

/* ======================
        MOBILE 
====================== */
@media (max-width: 992px) {
    .nav-container {
        height: 78px;
        padding: 0 20px;
    }

    .logo img {
        height: 64px;           /* Smaller on mobile */
    }

    .nav-menu {
        position: fixed;
        top: 95px;
        right: -340px;
        width: 300px;
        height: auto;
        background: white;
        border-radius: 20px;
        padding: 35px;
        flex-direction: column;
        gap: 28px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        transition: all 0.35s ease;
    }

    .nav-menu.active {
        right: 20px;
    }

    .hamburger {
        display: flex;
    }

    .quote-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 58px;
    }
}

/* Scroll margin fix */
section, #home {
    scroll-margin-top: 100px;
}

/* Hero Slider */
.hero {
    padding-top:70px;
    height: 100vh;
    position: relative;
    overflow: hidden;
}



.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(15,23,42,0.65), rgba(107,70,193,0.45));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    max-width: 1100px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 5.2rem;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.kannada-text {
    font-size: 2.8rem;
    margin: 1rem 0;
    color: #E0D4FF;
    font-weight: 500;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(139, 92, 246, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev { left: 40px; }
.next { right: 40px; }

/* Other sections - same as before with minor premium touches */
.cta-button{
    padding:14px 28px;
    border-radius:50px;

    background:linear-gradient(
        135deg,
        #6B46C1,
        #8B5CF6
    );

    color:#fff;
    text-decoration:none;
    font-weight:600;

    transition:.3s;
    box-shadow:0 10px 25px rgba(107,70,193,.3);
}

.cta-button:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 35px rgba(107,70,193,.35);
}

/* Add subtle animation to cards */
.service-card, .portfolio-item {
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-links{
    position:fixed;
    top:100px;
    right:-100%;
    left:auto;

    width:320px;
    height:auto;

    padding:35px;

    border-radius:20px;

    background:white;

    box-shadow:
        0 20px 60px rgba(0,0,0,.15);

    transition:.4s;

    flex-direction:column;
}

.nav-links.active{
    right:20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.cta-button {
    background: var(--primary-purple);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(107, 70, 193, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(107, 70, 193, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)), 
                url('https://picsum.photos/id/1015/2000/1200') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.kannada-text {
    font-size: 2.2rem;
    margin: 1rem 0;
    font-weight: 600;
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-address {
    margin-top: 4rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.3rem;
    color: #64748B;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stats-grid div {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.stats-grid strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-purple);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(107, 70, 193, 0.15);
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 480px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 2rem;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Contact */
.contact-section {
    background: var(--dark);
    color: white;
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form-container form {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.contact-form-container textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #0F0F1A;
    color: #94A3B8;
    text-align: center;
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}