@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap');


/* Modern Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --gradient: linear-gradient(135deg, #2563eb, #3b82f6);
    --transition: 0.3s ease;
    --white: #ffffff;
    --primary: #2563eb;
    --secondary: #3b82f6;
    --text-dark: #2B3445;
    --text-light: #64748b;
    --container-width-lg: 1200px;
    --container-width-md: 960px;
    --container-width-sm: 720px;
    --container-padding: 1rem;
    --header-height: 70px;
    --emergency-height: 40px;
    --total-header: calc(var(--header-height) + var(--emergency-height));
}


/* Header and Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); */
    z-index: 1000;
}

.nav-container {
    max-width: 1900px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 102;
}

.bar1,
.bar2,
.bar3 {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: var(--transition);
}

.bar1 {
    top: 0;
}

.bar2 {
    top: 50%;
    transform: translateY(-50%);
}

.bar3 {
    bottom: 0;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 101;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: var(--transition);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(0.1s * var(--i));
    }

    .menu-icon.active .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--primary);
    }

    .menu-icon.active .bar2 {
        opacity: 0;
    }

    .menu-icon.active .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--primary);
    }

    .nav-item {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 576px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 50px;
    }

    .nav-item {
        font-size: 1.2rem;
    }
}

/* navbar end */






.terms-hero {
    margin-top: 80px;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.terms-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.terms-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.terms-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
}

.terms-sidebar ul {
    list-style: none;
}

.terms-sidebar li {
    /* text-align: left; */
    margin-bottom: 20px;
}

.terms-sidebar a {
    display: block;
    padding: 10px 12px;
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 1.1rem;
    /* text-align: center; */
    transition: var(--transition);
    background: #3b83f617;
}

.terms-sidebar a:hover {
    background: var(--primary);
    color: var(--white);
}

.terms-content {
    flex: 1;
}

.terms-card {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.terms-card h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.terms-card p {
    font-size: 1.2rem;
}

.terms-card ul {
    padding-left: 20px;
}

.terms-card ul li {
    font-size: 1.2rem;
}



/* Responsive */
@media (max-width: 768px) {
    .terms-container {
        flex-direction: column;
        margin: 30px auto;
        padding: 0 10px;
    }

    .terms-hero {
        padding: 40px 15px;
    }

    .terms-hero p {
        font-size: 0.9rem;
    }

    .terms-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .terms-hero h1 {
        font-size: 2rem;
    }

    .terms-card p {
        font-size: 1.1rem;
    }

    .terms-card ul li {
        font-size: 1.1rem;
    }

    .terms-card h2 {
        font-size: 1.6rem;
    }

    .terms-sidebar {
        display: none;
    }

}
