/* Additional CSS for the new templates - add to static/css/main.css */

/* About Page Styles */
.about-detailed-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.content-title {
    font-size: 1.75rem;
    color: #070C34;
    margin: 2rem 0 1rem;
}

.content-title:first-of-type {
    margin-top: 0;
}

.content-text {
    color: #2A3582;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border-left: 4px solid #EB670E;
}

.highlight-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #070C34;
    margin-bottom: 0.75rem;
}

.highlight-text {
    color: #2A3582;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.value-item {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #EB670E;
    margin-bottom: 1rem;
}

.value-description {
    color: #2A3582;
    line-height: 1.7;
}

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

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(42, 53, 130, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-family: 'Prata', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #EB670E;
    min-width: 100px;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #070C34;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: #2A3582;
    line-height: 1.7;
}

/* Services Page Styles */
.service-detailed-item {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(42, 53, 130, 0.1);
}

.service-detailed-item:last-child {
    border-bottom: none;
}

.service-detailed-title {
    font-size: 2rem;
    color: #070C34;
    margin-bottom: 1.5rem;
}

.service-detailed-description {
    font-size: 1.125rem;
    color: #2A3582;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #EB670E;
    margin: 1.5rem 0 1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2A3582;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: #EB670E;
    border-radius: 50%;
}

.service-cta {
    margin-top: 2rem;
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.process-number {
    font-family: 'Prata', serif;
    font-size: 3rem;
    color: #EB670E;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #070C34;
    margin-bottom: 1rem;
}

.process-description {
    color: #2A3582;
    line-height: 1.7;
}

/* Management Page Styles */
.management-grid {
    max-width: 900px;
    margin: 0 auto;
}

.management-profile {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.profile-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-designation {
    font-size: 1.125rem;
    opacity: 0.95;
}

.profile-content {
    padding: 3rem 2rem;
}

.profile-text {
    font-size: 1.125rem;
    color: #2A3582;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.profile-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #EB670E;
    margin: 1.5rem 0 1rem;
}

.profile-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.profile-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2A3582;
}

.profile-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: #EB670E;
    border-radius: 50%;
}

.profile-quote {
    font-style: italic;
    color: #070C34;
    font-size: 1.125rem;
    line-height: 1.8;
    padding: 1.5rem;
    background: #F4EEEA;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-category {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.team-category-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #EB670E;
    margin-bottom: 1rem;
}

.team-category-description {
    color: #2A3582;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.team-list {
    list-style: none;
}

.team-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2A3582;
}

.team-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 4px;
    height: 4px;
    background: #EB670E;
    border-radius: 50%;
}

.governance-content {
    max-width: 900px;
    margin: 0 auto;
}

.governance-text {
    font-size: 1.125rem;
    color: #2A3582;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.governance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.governance-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.governance-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #070C34;
    margin-bottom: 1rem;
}

.governance-description {
    color: #2A3582;
    line-height: 1.7;
}

/* Policy Pages Styles */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.policy-notice {
    background: #EB670E;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.policy-notice-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.policy-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #070C34;
    margin: 2rem 0 1rem;
}

.policy-heading:first-of-type {
    margin-top: 0;
}

.policy-subheading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2A3582;
    margin: 1.5rem 0 1rem;
}

.policy-text {
    color: #2A3582;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

.policy-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2A3582;
    line-height: 1.7;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: #EB670E;
    border-radius: 50%;
}

.policy-contact {
    background: #F4EEEA;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.policy-contact p {
    margin-bottom: 0.25rem;
    color: #070C34;
}

.policy-updated {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(42, 53, 130, 0.1);
    text-align: right;
    color: #2A3582;
    font-size: 0.9rem;
}

/* Error Pages */
.error-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-code {
    font-family: 'Prata', serif;
    font-size: 8rem;
    color: #EB670E;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.error-title {
    font-size: 2.5rem;
    color: #070C34;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.125rem;
    color: #2A3582;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
}

.cta-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-wrapper .btn-primary {
    background: white;
    color: #EB670E;
}

.cta-wrapper .btn-primary:hover {
    background: #F4EEEA;
    color: #d4560c;
}

/* Responsive Styles for New Pages */
@media (max-width: 768px) {
    .about-detailed-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-year {
        min-width: auto;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .profile-header {
        padding: 2rem 1.5rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 1.5rem 1rem;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* Additional 404 Page Styles */
.error-help {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(42, 53, 130, 0.1);
}

.error-help-text {
    color: #2A3582;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.error-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-links a {
    color: #EB670E;
    font-weight: 500;
    transition: color 0.3s ease;
}

.error-links a:hover {
    color: #d4560c;
    text-decoration: underline;
}

.error-separator {
    color: rgba(42, 53, 130, 0.3);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .error-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .error-separator {
        display: none;
    }
}
/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    display: block;
    height: 50px;
    width: auto;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-image {
    opacity: 0.85;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
    }
}
/* ============================================
   CONTACT PAGE - PROFESSIONAL LEFT SIDE STYLES
   ============================================ */

/* Contact Information Card - Enhanced */
.contact-info {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(7, 12, 52, 0.06);
    height: fit-content;
    border: 1px solid rgba(42, 53, 130, 0.04);
}

.contact-info-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #070C34;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(42, 53, 130, 0.08);
}

.info-item {
    margin-bottom: 1.75rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #2A3582;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #EB670E;
    border-radius: 50%;
}

.info-text {
    color: #070C34;
    line-height: 1.8;
    font-size: 0.95rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(235, 103, 14, 0.15);
}

.info-text a {
    color: #EB670E;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.info-text a:hover {
    color: #d4560c;
    border-bottom-color: #d4560c;
}

/* Sub-divisions list styling */
.info-text br + a {
    display: inline-block;
    margin-top: 0.5rem;
}

.info-text a:first-of-type {
    margin-top: 0;
}

/* ============================================
   LOCATION SECTION - PROFESSIONAL CARD
   ============================================ */
.location-section {
    padding: 0 0 5rem 0;
    background: #F4EEEA;
}

.location-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.location-card {
    background: linear-gradient(135deg, #070C34 0%, #1a1f4e 100%);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(235, 103, 14, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.location-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.location-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.location-icon {
    width: 52px;
    height: 52px;
    background: rgba(235, 103, 14, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(235, 103, 14, 0.25);
}

.location-icon svg {
    width: 26px;
    height: 26px;
    stroke: #EB670E;
    stroke-width: 2;
}

.location-details {
    text-align: left;
}

.location-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #EB670E;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.location-address {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    color: #FFFFFF;
}

.location-badge {
    padding: 0.7rem 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(235, 103, 14, 0.2);
    border-radius: 100px;
    color: #EB670E;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1024px) {
    .location-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-info {
        padding: 2rem 1.75rem;
    }
    
    .contact-info-title {
        font-size: 1.35rem;
    }
    
    .location-card {
        padding: 2rem 1.75rem;
    }
    
    .location-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .location-address {
        font-size: 1.1rem;
    }
    
    .location-section {
        padding: 0 0 3.5rem 0;
    }
    
    .location-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 1.75rem 1.5rem;
    }
    
    .contact-info-title {
        font-size: 1.25rem;
    }
    
    .info-text {
        padding-left: 0.75rem;
        font-size: 0.9rem;
    }
    
    .location-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .location-address {
        font-size: 1rem;
    }
    
    .location-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.25rem;
    }
    
    .location-card {
        padding: 1.75rem 1.5rem;
    }
}