/* Additional Components for iKing Job Consultancy */

/* Forms */
.registration-form-wrapper {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.registration-form {
    background: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(46, 26, 135, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row.col-md-6 {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--dark-text);
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:hover {
    border-color: #cbd5e1;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 26, 135, 0.08);
    background-color: #ffffff;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b2bbe' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    appearance: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    font-family: 'Poppins', sans-serif;
}

.form-control.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.03);
}

.form-control.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08);
}

.form-control.success {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.03);
}

.form-control.success:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.08);
}

.form-error-message {
    color: #dc3545;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-error-message::before {
    content: '⚠';
    font-size: 1rem;
}

.form-success-message {
    color: #28a745;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-success-message::before {
    content: '✓';
    font-size: 1rem;
}

.full-width-group {
    grid-column: 1 / -1;
}

.upload-group {
    grid-column: 1 / -1;
}

.upload-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.upload-card:hover {
    border-color: var(--secondary-color);
    background: #f1f5fb;
}

.upload-card.active {
    border-color: var(--primary-color);
    background: rgba(46, 26, 135, 0.04);
}

.upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(46, 26, 135, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.upload-card div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-card strong {
    color: var(--dark-text);
    font-weight: 600;
}

.upload-card span {
    color: #64748b;
    font-size: 0.85rem;
}

.file-input {
    display: none;
}

.referral-status {
    font-size: 0.82rem;
    margin-top: 6px;
    display: block;
}

.referral-status.text-success {
    color: #28a745;
}

.referral-status.text-danger {
    color: #dc3545;
}

.referral-status.text-info {
    color: #17a2b8;
}

.registration-submit-btn {
    width: 100%;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.registration-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(46, 26, 135, 0.3);
}

.registration-submit-btn:active {
    transform: translateY(0);
}

.registration-submit-btn.loading {
    opacity: 0.8;
    pointer-events: none;
}

.registration-submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border: 1px solid #28a745;
    display: block;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border: 1px solid #dc3545;
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #155724;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-color: #17a2b8;
    color: #0c5460;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background: var(--primary-color);
    color: var(--white-color);
}

.badge-secondary {
    background: var(--secondary-color);
    color: var(--white-color);
}

.badge-success {
    background: #28a745;
    color: var(--white-color);
}

/* Tags */
.tag {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin: 5px 5px 5px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: var(--primary-color);
    margin: 0 5px;
}

.breadcrumbs span {
    margin: 0 5px;
    color: #999;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: -999;
}

.screen-reader-text:focus {
    position: static;
    top: 0;
    left: 0;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(46, 26, 135, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip */
.tooltip-trigger {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted var(--primary-color);
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-text);
    color: var(--white-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark-text);
}

.tooltip-trigger:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Image Hover Effects */
.image-hover-zoom {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.image-hover-zoom img {
    transition: transform 0.3s ease;
}

.image-hover-zoom:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 26, 135, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

/* Dividers */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 40px 0;
}

.divider.thick {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

/* Text Utilities */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    word-break: break-word;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-capitalize {
    text-transform: capitalize;
}

/* Opacity */
.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

/* Box Shadow */
.shadow-sm {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.shadow-lg {
    box-shadow: 0 15px 40px rgba(46, 26, 135, 0.15);
}

/* Border Styles */
.border {
    border: 1px solid #ddd;
}

.border-top {
    border-top: 1px solid #ddd;
}

.border-bottom {
    border-bottom: 1px solid #ddd;
}

.border-left {
    border-left: 4px solid var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* Display Flex Utilities */
.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* List Styles */
.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-inline {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 20px;
}

.list-inline-item {
    display: inline-block;
}

/* HR (Horizontal Rule) */
hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white-color);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Loading States */
[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-loading {
    position: relative;
    color: transparent;
}

.button-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

/* Responsive Form Styles */
@media (max-width: 1024px) {
    .registration-form {
        padding: 30px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .upload-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .registration-form {
        padding: 20px;
        border-radius: 16px;
    }
    
    .registration-form-shell {
        padding: 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-group {
        gap: 6px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    textarea.form-control {
        min-height: 80px;
    }
    
    .upload-card {
        padding: 16px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .upload-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .registration-submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        margin-top: 16px;
    }
    
    .form-message {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Contact Form Styling */
.contact-form-wrapper {
    background: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(46, 26, 135, 0.08);
}

.contact-form-wrapper .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.contact-form-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.contact-form-wrapper .form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
    letter-spacing: 0.3px;
}

.contact-form-wrapper .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background: #fafbfc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-wrapper .form-control:hover {
    background: #f0f4f8;
    border-color: #d0d8e8;
}

.contact-form-wrapper .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 26, 135, 0.08);
}

.contact-form-wrapper textarea.form-control {
    resize: vertical;
    min-height: 140px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.contact-form-wrapper .btn-primary {
    width: 100%;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 999px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 26, 135, 0.25);
}

.contact-form-wrapper .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(46, 26, 135, 0.15);
}

.contact-form-wrapper .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-form-wrapper .alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-left: 4px solid;
    animation: slideInDown 0.4s ease-out;
}

.contact-form-wrapper .alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left-color: #22c55e;
}

.contact-form-wrapper .alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

/* Contact Section Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white-color);
    padding: 30px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(46, 26, 135, 0.15);
}

.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 12px 0 8px 0;
    letter-spacing: 0.2px;
}

.contact-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 8px 0;
    line-height: 1.6;
}

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

.contact-card a:hover {
    color: var(--secondary-color);
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-card {
    background: var(--white-color);
    padding: 0;
}

.contact-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.contact-details-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-block {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 14px;
    border-left: 4px solid var(--primary-color);
}

.contact-detail-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.contact-detail-block p {
    font-size: 0.95rem;
    color: #666;
    margin: 8px 0;
    line-height: 1.6;
}

.contact-detail-block a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.contact-detail-block a:hover {
    color: var(--secondary-color);
}

.map-embed {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(46, 26, 135, 0.10);
}

.map-embed iframe {
    display: block;
    width: 100%;
    min-height: 300px;
    border: none;
}

/* Keep .map-placeholder for backward compat if referenced elsewhere */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(46, 26, 135, 0.08), rgba(75, 43, 190, 0.08));
    border-radius: 14px;
    border: 2px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.map-overlay {
    max-width: 240px;
}

.map-overlay strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.map-overlay p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Contact Form - Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form-wrapper {
        padding: 32px;
    }
    
    .contact-form-wrapper .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .contact-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 24px;
        border-radius: 16px;
    }
    
    .contact-form-wrapper .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .contact-form-wrapper .form-group label {
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .contact-form-wrapper textarea.form-control {
        min-height: 100px;
    }
    
    .contact-form-wrapper .btn-primary {
        padding: 12px 20px;
        font-size: 0.95rem;
        margin-top: 16px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-card {
        padding: 24px 20px;
    }
    
    .contact-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .contact-card h3 {
        font-size: 1.05rem;
        margin: 10px 0 6px 0;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    .contact-detail-block {
        padding: 20px;
    }
    
    .contact-detail-block h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .contact-detail-block p {
        font-size: 0.9rem;
    }
    
    .map-placeholder {
        height: 220px;
    }
    
    .contact-form-card h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
}

/* Gallery Page Styling */
.page-banner-gallery {
    background: linear-gradient(135deg, rgba(46, 26, 135, 0.94), rgba(75, 43, 190, 0.96));
}

.gallery-page-section {
    padding: 80px 0;
    background: var(--light-bg);
}

/* Gallery Filter Buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 11px 24px;
    border: 2px solid #e2e8f0;
    background: var(--white-color);
    color: var(--dark-text);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(46, 26, 135, 0.2);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.gallery-card {
    background: var(--white-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(46, 26, 135, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(46, 26, 135, 0.12);
    border-color: rgba(46, 26, 135, 0.1);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #f0f0f0;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 26, 135, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--white-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.gallery-view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(46, 26, 135, 0.2);
}

.gallery-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 12px 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.gallery-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Gallery Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #e2e8f0;
    color: var(--dark-text);
    background: var(--white-color);
    font-size: 0.95rem;
}

.pagination-item:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(46, 26, 135, 0.15);
    transform: translateY(-2px);
}

.pagination-item.current {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(46, 26, 135, 0.2);
}

.pagination.prev,
.pagination.next {
    min-width: 110px;
    padding: 0 16px;
    gap: 6px;
    display: inline-flex;
}

/* Gallery CTA Section */
.gallery-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
}

.gallery-cta {
    text-align: center;
    color: var(--white-color);
}

.gallery-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.gallery-cta p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-cta .btn {
    min-height: 50px;
    padding: 0 32px;
}

.gallery-cta .btn-primary {
    background: var(--white-color);
    color: var(--primary-color);
}

.gallery-cta .btn-primary:hover {
    background: #f8f8f8;
}

.gallery-cta .btn-secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.gallery-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Lightbox Modal */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white-color);
    font-size: 2.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: var(--white-color);
    text-align: center;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
}

/* Gallery Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-filters {
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .gallery-image-wrapper {
        height: 200px;
    }
    
    .gallery-content {
        padding: 20px;
    }
    
    .gallery-title {
        font-size: 1rem;
    }
    
    .gallery-pagination {
        gap: 6px;
    }
    
    .pagination-item {
        min-width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .pagination.prev,
    .pagination.next {
        min-width: 90px;
        padding: 0 12px;
        font-size: 0.9rem;
    }
    
    .gallery-cta h2 {
        font-size: 1.6rem;
    }
    
    .gallery-cta p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 12px 16px;
        font-size: 1.5rem;
    }
}
