/* Base styles for all pages */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
}

header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    color: white;
    border-radius: 8px 8px 0 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

h2 {
    color: #4776E6;
    font-size: 1.8rem;
    margin-top: 40px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

h3 {
    color: #8E54E9;
    font-size: 1.4rem;
    margin-top: 25px;
}

p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.section {
    margin-bottom: 40px;
    padding: 0 20px;
}

.effective-date {
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info {
    background-color: #f9f9ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid #4776E6;
}

.contact-info p {
    margin: 10px 0;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

/* Specific styles for numbered sections */
.numbered-section {
    counter-increment: section;
    position: relative;
}

.numbered-section h2::before {
    content: counter(section) ". ";
}

/* List styling */
ul, ol {
    padding-left: 25px;
}

li {
    margin-bottom: 10px;
}

/* Back to top button */
.back-to-top {
    display: block;
    text-align: center;
    margin: 40px auto 20px;
    padding: 10px 20px;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    width: 150px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Index page specific styles */
.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-body {
    padding: 30px;
}

.card-body p {
    color: #666;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    header {
        padding: 20px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .card {
        width: 100%;
    }
}
