* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

p {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #2E8B57, #4CAF50);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: #f5f7fa;
}

.bg-animation span {
    position: absolute;
    bottom: -50px;
    width: 50px;
    height: 50px;
    background: rgba(0, 128, 0, 0.15);
    animation: float 60s linear infinite;
    border-radius: 50%;
}

/* Random positions & delays */
.bg-animation span:nth-child(1) {
    left: 10%;
    animation-duration: 20s;
}

.bg-animation span:nth-child(2) {
    right: 30%;
    animation-duration: 25s;
    width: 60px;
    height: 60px;
}

.bg-animation span:nth-child(3) {
    left: 50%;
    animation-duration: 30s;
}

.bg-animation span:nth-child(4) {
    right: 70%;
    animation-duration: 18s;
    width: 30px;
    height: 30px;
}

.bg-animation span:nth-child(5) {
    left: 70%;
    animation-duration: 35s;
}

.bg-animation span:nth-child(6) {
    right: 20%;
    animation-duration: 40s;
}

.bg-animation span:nth-child(7) {
    left: 0%;
    animation-duration: 50s;
}

.bg-animation span:nth-child(8) {
    right: 100%;
    animation-duration: 450s;
}

@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        opacity: 1.2;
    }

    100% {
        transform: translateY(-300vh);
        opacity: 1;
    }
}

.clock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #ffffff;
    font-size: 1rem;
    flex-wrap: wrap;
}

/* Nepali Date Display Styles */
.nepali-date-display {
    margin: 2rem 0;
    text-align: center;
}

.nepali-date-container {
    background: linear-gradient(135deg, #2E8B57, #4CAF50);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.2);
}

.nepali-date-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nepali-date-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nepali-date-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.date-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid #2E8B57;
}

.date-card h4 {
    color: #2E8B57;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.date-card .date-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0.5rem 0;
}

.date-card.nepali .date-value {
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: #2E8B57;
    font-size: 1.9rem;
}

@media (max-width: 768px) {
    .nepali-date-value {
        font-size: 1.8rem;
    }

    .date-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2E8B57, #3b973e);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    margin-bottom: 30px;
}

.logo-circle {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    margin-bottom: 80px;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.progress-bar {
    height: 100%;
    background: white;
    width: 0;
    animation: loading 2s ease-in-out infinite;
}

.loader-text {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInOut 2s infinite;
}

@keyframes loading {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}


/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #2E8B57, #4CAF50);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-toggle {
    display: flex;
    margin-left: 2rem;
    border: 1px solid #000;
    border-radius: 20px;
    overflow: hidden;
}

body.dark-mode .lang-toggle {
    border-color: #000000;
}

/* body.dark-mode .nav-links {
    background-color: #000;
    color: #ffffff;
} */

/* body.dark-mode button {
    color: #ffffff;
} */

/* body.dark-mode .nav-link a {
    color: #ffffff;
} */


.lang-btn {
    padding: 5px 10px;
    background-color: #4caf7d;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 800;
}

body.dark-mode section {
    background: rgba(30, 30, 30, 0.95);
}

body.dark-mode .lang-btn {
    background-color: #0a5c36;
    color: #ffffff;
}

.lang-btn.active {
    background-color: #0a5c36;
    color: #ffffff;
}

body.dark-mode .lang-btn.active {
    background-color: #4caf7d;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 1.6rem;
    color: #1a1a1a;
}

body.dark-mode .dark-mode-toggle {
    color: #e0e0e0;
}


/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    /* color: inherit; */
}

/* .logo-img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
} */

.logo-text h1 {
    font-size: 1.5rem;
    color: #2E8B57;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

.nav-links {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
    color: #2E8B57;
}

.dropdown {
    position: relative;
}

button>span {
    font-size: 1rem;
    font-weight: 500;
}

.dropdown-toggle {
    position: relative;
    padding-right: 3px;
}

.dropdown-icon {
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -50%;
    background: #ffffff;
    min-width: 250px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(46, 139, 87, 0.1);
    color: #2E8B57;
    padding-left: 40px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-icon {
    width: 25px;
    height: 3px;
    background: #2E8B57;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Sections starts here */
/* Privacy Policy Section */
.privacy-policy-section {
    padding: 3rem 0;
    background: #f9fdf9;
    min-height: 100vh;
}

/* Header */
.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0f0e0;
}

.privacy-header h1 {
    color: #2E8B57;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

.privacy-header h1 i {
    color: #2E8B57;
}

.last-updated {
    color: #666;
    font-size: 1rem;
    background: #f0f8f0;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid #d0e8d0;
}

/* Content */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #2E8B57;
}

.policy-intro h2 {
    color: #2E8B57;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.policy-intro p {
    color: #555;
    line-height: 1.6;
}

.policy-intro a {
    color: #2E8B57;
    font-weight: 500;
    text-decoration: none;
}

.policy-intro a:hover {
    text-decoration: underline;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 2.5rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0f0e0;
}

.section-header {
    background: #f0f8f0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e0f0e0;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: #2E8B57;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-header h3 {
    color: #2E8B57;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.section-content {
    padding: 1.5rem;
}

.section-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-content ul {
    margin: 1rem 0 1rem 2rem;
    color: #555;
}

.section-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.highlight-box {
    background: #f0f8f0;
    border-left: 4px solid #2E8B57;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.highlight-box p {
    margin: 0;
    color: #2E8B57;
    font-weight: 500;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 1.5rem;
    background: #f9fdf9;
    border-radius: 6px;
    border: 1px solid #e0f0e0;
}

.contact-option i {
    color: #2E8B57;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-option h4 {
    color: #2E8B57;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-option p {
    margin: 0;
    color: #555;
}

.contact-option a {
    color: #2E8B57;
    text-decoration: none;
}

.contact-option a:hover {
    text-decoration: underline;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.5rem;
    background: #2E8B57;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    background: #267349;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(46, 139, 87, 0.2);
}

/* Policy Footer */
.policy-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: #f0f8f0;
    border-radius: 8px;
    border: 1px solid #d0e8d0;
}

.footer-content h4 {
    color: #2E8B57;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-content p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .privacy-header h1 i {
        font-size: 2.5rem;
    }

    .policy-intro,
    .policy-section,
    .policy-footer {
        padding: 1.5rem;
    }

    .section-header {
        padding: 1.2rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-option {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy-section {
        padding: 2rem 0;
    }

    .privacy-header {
        margin-bottom: 2rem;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-text h3 {
    font-size: 1.3rem;
    color: white;
    margin: 0;
}

.footer-logo-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 400px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FFD700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: #FFD700;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a:hover {
    color: #FFD700;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2E8B57, #4CAF50);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Animations for scroll reveal */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}


/* Mobile Responsiveness */
/* Navbar Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .top-bar-grid {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-bar-info {
        justify-content: center;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}