:root {
    --primary: #5d93e4;
    --secondary: #f5f7fa;
    --accent: #ff6b6b;
    --text: #333;
    --light-text: #666;
    --white: #fff;
    --emergency: #ff4757;
    --success: #4CAF50;
    --link-color: #64b5f6;
    --depression-blue: #3a7ca5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #4a7bc8;
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
    color: var(--light-text);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.mobile-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu .bar:nth-child(1) {
    top: 0;
}

.mobile-menu .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu .bar:nth-child(3) {
    bottom: 0;
}

.mobile-menu.active .bar:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .bar:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #e0f2f8 0%, #f0f8ff 100%);
    padding: 180px 0 100px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    color: var(--depression-blue);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Content Sections */
.content-section {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: var(--depression-blue);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--depression-blue);
}

/* Terms Content */
.terms-content {
    padding: 40px 0;
}

.terms-content h2 {
    color: var(--depression-blue);
    margin: 30px 0 15px;
    font-size: 24px;
}

.terms-content h3 {
    color: var(--depression-blue);
    margin: 25px 0 10px;
    font-size: 20px;
}

.terms-content p, .terms-content ul {
    margin-bottom: 15px;
}

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

.terms-content li {
    margin-bottom: 10px;
}

.terms-content a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

.terms-content a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.effective-date {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 18px;
}

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

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .content-section {
        padding: 25px;
    }
}
