/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #4472C4 0%, #2E5BBA 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo img {
    height: 35px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.entity-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.entity-select option {
    color: #333;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.header-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-links a:hover {
    opacity: 0.8;
}

.language {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.search-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #FFE066;
}

.internet-banking {
    background: rgba(255, 255, 255, 0.9);
    color: #4472C4;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.internet-banking:hover {
    background: white;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0 10px;
}

.back-link {
    color: #4472C4;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: white;
    padding: 30px 0 50px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #2C5AA0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-image {
    text-align: center;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width:768px){
    .hero-image img {
min-height: 260px;
    object-fit: cover;
    object-position: 70% center;
    width: 100%;

    }
}

/* Article Content */
.article-content {
    background: white;
    padding: 40px 0;
}

.article-intro {
    margin-bottom: 40px;
    padding: 30px;
    background: #F8F9FA;
    border-left: 4px solid #4472C4;
    border-radius: 8px;
}

.article-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2C5AA0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

.highlight-box {
    background: linear-gradient(135deg, #E8F2FF 0%, #D1E7FF 100%);
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
    border-left: 5px solid #4472C4;
}

.highlight-box p {
    margin: 0;
    font-size: 1.1rem;
    color: #2C5AA0;
    font-weight: 600;
}

.cta-section {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #4472C4 0%, #2E5BBA 100%);
    border-radius: 12px;
    color: white;
}

.cta-section p {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.cta-button {
    background: #FFE066;
    color: #2C5AA0;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 224, 102, 0.4);
}

/* Related Articles */
.related-articles {
    background: #F8F9FA;
    padding: 60px 0;
}

.related-articles h2 {
    text-align: center;
    font-size: 2rem;
    color: #2C5AA0;
    margin-bottom: 50px;
    font-weight: 700;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.3rem;
    color: #2C5AA0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-link {
    color: #4472C4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1A2B4C;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    color: #FFE066;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #B8C5D1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FFE066;
}

.app-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.app-links img {
    height: 40px;
}

.accessibility-buttons {
    display: flex;
    gap: 5px;
}

.accessibility-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.accessibility-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    color: #B8C5D1;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFE066;
}

.footer-logo {
    text-align: center;
    margin-top: 30px;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    color: #2C5AA0;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #E1E5E9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #4472C4;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4472C4 0%, #2E5BBA 100%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(68, 114, 196, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .article-intro {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .article-body {
        padding: 0 10px;
    }
    
    .cta-section {
        margin: 30px 10px;
        padding: 25px 15px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 25px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .header-links {
        font-size: 12px;
        gap: 10px;
    }
}


.registration-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.registration-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4472C4 0%, #FFE066 100%);
    border-radius: 15px 15px 0 0;
}

.registration-form h3 {
    color: #2C5AA0;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.registration-form .form-group {
    margin-bottom: 25px;
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.registration-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E1E5E9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.registration-form input:focus {
    outline: none;
    border-color: #4472C4;
    background: white;
    box-shadow: 0 0 0 3px rgba(68, 114, 196, 0.1);
}

.registration-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.registration-form .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    min-width: 18px;
    height: 18px;
}

.registration-form .checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
}

.registration-form .checkbox-group.required label {
    font-weight: 500;
}

.submit-btn-main {
    width: 100%;
    background: linear-gradient(135deg, #4472C4 0%, #2E5BBA 100%);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.submit-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(68, 114, 196, 0.3);
}

.submit-btn-main small {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

/* Field Error Styles */
.registration-form .field-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.registration-form input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.registration-form input.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Responsive Registration Section */
@media (max-width: 1024px) {
    .registration-content {
        gap: 40px;
    }
    
    .registration-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .registration-section {
        padding: 50px 0;
    }
    
    .registration-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .registration-info h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .registration-form-container {
        padding: 25px 20px;
    }
    
    .registration-form h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .registration-form-container {
        padding: 20px 15px;
    }
    
    .registration-form input {
        padding: 12px 14px;
    }
    
    .submit-btn-main {
        padding: 16px 20px;
        font-size: 1rem;
    }
}