:root {
    --cream: #f8f4e3;
    --orange: #db5919;
    --white: #ffffff;
    --light-cream: #fdfaf0;
    --dark-cream: #e6e0cc;
    --dark-orange: #b44815;
    --light-orange: #f47a43;
    --text-dark: #333333;
    --gray: #f5f5f5;
}


body {
    background: linear-gradient(135deg, #f8f4e3 0%, #ffffff 100%);
    font-family: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #2d3a2e;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(34, 139, 34, 0.08);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #7c6f3a;
    letter-spacing: 2px;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 6px;
    background: #db5919;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(127, 194, 155, 0.12);
    transition: background 0.2s, color 0.2s;
}

.btn:hover {
    background: #db5919;
    color: #fff;
}

.btn-secondary {
    background: #fffbe7;
    color: #000000;
    border: 1px solid #000000;
}

.btn-secondary:hover {
    background: #db5919;
    color: #fff;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 3rem auto 2rem auto;
    border-radius: 18px;
    padding: 2.5rem 2vw;
    min-height: 480px;
}

.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 900px;
    margin: 0 auto 0.5rem auto;
    padding-right: 2vw;
}

.footer-image img {
    max-width: 180px;
    max-height: 120px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(127, 194, 155, 0.13);
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.23, 1.02, .64, .97);
}

.footer-image img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.kannada-text,
.english-text {
    font-size: 1.18rem;
    color: #2d3a2e;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    width: 100%;
    font-family: 'Noto Sans Kannada', 'Segoe UI', Arial, sans-serif;
}

.animated-fadein-left {
    animation: fadeinleft 1.2s;
}

.animated-fadein-right {
    animation: fadeinright 1.2s;
}

@keyframes fadeinleft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeinright {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer {
    text-align: center;
    padding: 1.5rem 0 0.5rem 0;
    color: #7c6f3a;
    font-size: 1rem;
    background: none;
}

/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0.5rem;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: #7fc29b;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 3vw;
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(255, 45, 45, 0.13);
    padding: 1rem 1.2rem;
    z-index: 1001;
    gap: 0.7rem;
    min-width: 160px;
    animation: fadeinright 0.4s;
}

.mobile-menu .btn {
    width: 100%;
    text-align: left;
    font-size: 1rem;
    margin: 0;
}

.logo-img {
    max-width: 80px;
    max-height: 80px;
    height: auto;
    width: auto;
    display: block;
}

.top-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.top-image img {
    max-width: 120px;
    max-height: 120px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(127, 194, 155, 0.13);
}

@media (max-width: 900px) {
    .main-container {
        padding: 1.2rem 2vw;
        margin: 2rem 0 0rem 0;
        max-width: 98vw;
    }

    .footer-image {
        padding-right: 7.5vw;
        max-width: 98vw;
    }

    .kannada-text,
    .english-text {
        font-size: 1.05rem;
        padding: 1rem 0.7rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .btn {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 600px) {
    .main-container {
        padding: 0.5rem 0.5rem;
        margin: 1.2rem 0 1rem 0;
        min-height: unset;
        max-width: 100vw;
    }

    .main-content {
        padding: 0;
    }

    .kannada-text,
    .english-text {
        font-size: 0.98rem;
        padding: 0.6rem 0.3rem;
        border-radius: 8px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.7rem;
        border-radius: 5px;
    }

    .footer-image {
        padding-right: 7.5vw;
        max-width: 100vw;
    }

    .footer-image img {
        max-width: 90px;
        max-height: 60px;
        border-radius: 7px;
    }

    .footer {
        font-size: 0.9rem;
        padding: 1rem 0 0.3rem 0;
    }
}

@media (max-width: 700px) {
    .nav-buttons {
        gap: 0.5rem;
    }

    .btn#download-btn,
    .btn#signin-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

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

@media (min-width: 701px) {
    .mobile-menu {
        display: none !important;
    }

    .hamburger {
        display: none !important;
    }
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Footer */
footer {
    background-color: var(--dark-cream);
    padding: 60px 40px 40px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--orange);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--orange);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .footer-section {
        flex: 100%;
    }
}