/* Top Bar Styles for Contact Page */
.top-bar {
    background: rgb(26 35 126) !important;
    padding: 5px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Page Specific Styles */
.contact-hero {
    background: none;
    padding: 0;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: stretch;
}

.contact-hero-inner {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 400px;
    padding: 0;
}

.hero-left, .hero-right {
    flex: 1 1 50%;
    min-height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-left {
    z-index: 2;
    padding: 60px 40px 60px 0;
    color: #1a237e;
    background: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}

.hero-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/contact-hero-bg.png') center center/cover no-repeat;
    filter: blur(16px) brightness(1.1);
    z-index: 0;
    opacity: 0.7;
}

.hero-left > * {
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a237e;
}

.hero-left p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
}

.hero-right {
    background: url('../images/contact-hero-bg.png') center center/cover no-repeat;
    min-height: 400px;
    z-index: 1;
}

.contact-main {
    padding: 4rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(26,35,126,0.07);
    padding: 2.5rem 2rem;
    border-top: 5px solid #1a237e;
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.contact-form-wrapper h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
    outline: none;
}

.btn-submit {
    background: var(--primary-blue);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

/* Contact Info Styles */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(26,35,126,0.07);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    border-top: 5px solid #1a237e;
    padding-top: 2rem;
}

.contact-info-card h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    background: #f0f4ff;
    color: #1a237e;
    flex-shrink: 0;
}

.info-icon-yellow {
    background: #fff8e1;
    color: #ffb300;
}

.info-icon-blue {
    background: #f0f4ff;
    color: #1a237e;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #1a237e;
    font-weight: 600;
}

.info-item p, .info-item a {
    color: #555;
    font-size: 1rem;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s;
}

.info-item a:hover {
    color: #ffb300;
    text-decoration: underline;
}

/* Social Media Styles */
.contact-social {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(26,35,126,0.07);
    padding: 2.5rem 2rem;
    border-top: 5px solid #ffb300;
    padding-top: 2rem;
}

.contact-social h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-social .social-links {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.contact-social .social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4ff;
    color: #1a237e;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(26,35,126,0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    position: relative;
}

.contact-social .social-links a[aria-label="Facebook"]:hover {
    background: #1877f3;
    color: #fff;
    transform: translateY(-3px) scale(1.08);
}
.contact-social .social-links a[aria-label="Twitter"]:hover {
    background: #1da1f2;
    color: #fff;
    transform: translateY(-3px) scale(1.08);
}
.contact-social .social-links a[aria-label="LinkedIn"]:hover {
    background: #0077b5;
    color: #fff;
    transform: translateY(-3px) scale(1.08);
}
.contact-social .social-links a[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
    transform: translateY(-3px) scale(1.08);
}

@media (max-width: 600px) {
    .contact-social .social-links {
        gap: 10px;
        justify-content: center;
    }
    .contact-social .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* Map Section Styles */
.map-section {
    margin-top: 4rem;
}

.map-section h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-hero-inner {
        flex-direction: column;
        min-height: 0;
    }
    .hero-left, .hero-right {
        min-height: 220px;
        padding: 40px 20px 40px 20px;
    }
    .hero-left {
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .contact-hero-inner {
        flex-direction: column;
    }
    .hero-left, .hero-right {
        min-height: 180px;
        padding: 24px 10px 24px 10px;
    }
    .hero-left h1 {
        font-size: 1.5rem;
    }
    .btn-contact-hero {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}

.btn-contact-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-left: 2rem;
    background: rgb(26, 35, 126);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.75rem 0.9rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(26,35,126,0.08);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-contact-hero i {
    font-size: 1.1em;
    margin-right: 0.3em;
}

.btn-contact-hero:hover, .btn-contact-hero:focus {
    background: #ffb300;
    color: rgb(26, 35, 126);
    transform: translateY(-2px) scale(1.04);
    text-decoration: none;
}

.btn-contact-hero::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0e0";
    display: inline-block;
    font-size: 1.2em;
    margin-right: 0.4em;
    vertical-align: middle;
    color: inherit;
    line-height: 1;
}

/* Modern Contact Breadcrumb Bar Styles (Standalone) */
.contact-breadcrumb-bar {
    background: #fff;
    border-bottom: none;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(26,35,126,0.07);
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
}
.contact-breadcrumb-bar .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    background: transparent;
    margin-bottom: 0;
    padding: 0 1rem;
    font-size: 1.08rem;
    gap: 0.5rem;
    white-space: nowrap;
}
.contact-breadcrumb-bar .breadcrumb-item {
    display: flex;
    align-items: center;
}
.contact-breadcrumb-bar .breadcrumb-item a {
    color: #1a237e;
    text-decoration: none;
    font-weight: 500;
    padding: 0.35em 1.1em;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
}
.contact-breadcrumb-bar .breadcrumb-item a:hover {
    background: #f0f4ff;
    color: #ffb300;
}
.contact-breadcrumb-bar .breadcrumb-item.active {
    background: #1a237e;
    color: #fff !important;
    border-radius: 18px;
    padding: 0.35em 1.3em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26,35,126,0.10);
}

/* Responsive Breadcrumb: horizontal scroll on mobile */
@media (max-width: 600px) {
  .contact-breadcrumb-bar {
    border-radius: 0;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .contact-breadcrumb-bar .breadcrumb {
    font-size: 0.98rem;
    gap: 0.2rem;
    padding: 0 0.2rem;
  }
}

/* Top Bar SVG Icon Alignment */
.top-bar .social-links svg,
.top-bar .phone svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3em;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 300px;
    }

    .contact-hero-inner {
        flex-direction: column;
        padding: 40px 20px;
    }

    .hero-left {
        padding: 30px 20px;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-left p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-right {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0.9rem;
        font-size: 0.95rem;
    }

    .btn-submit {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact-info-wrapper {
        gap: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .info-item {
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .info-item h3 {
        font-size: 1rem;
    }

    .info-item p, 
    .info-item a {
        font-size: 0.95rem;
    }

    .contact-social {
        padding: 1.5rem;
    }

    .contact-social h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .contact-social .social-links {
        gap: 12px;
        justify-content: center;
    }

    .contact-social .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .map-section {
        margin-top: 2rem;
        padding: 0 15px;
    }

    .map-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .map-container {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 250px;
    }

    .contact-hero-inner {
        padding: 30px 15px;
    }

    .hero-left {
        padding: 20px 15px;
    }

    .hero-left h1 {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .hero-left p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .btn-contact-hero {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 1.2rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-info-card {
        padding: 1.2rem;
    }

    .contact-info-card h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .info-item {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .info-item h3 {
        font-size: 0.95rem;
    }

    .info-item p, 
    .info-item a {
        font-size: 0.9rem;
    }

    .contact-social {
        padding: 1.2rem;
    }

    .contact-social h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .contact-social .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .map-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
}

/* RTL Mobile Support */
@media (max-width: 768px) {
    html[dir="rtl"] .contact-hero-inner {
        text-align: center;
    }

    html[dir="rtl"] .hero-left {
        padding: 30px 20px;
    }

    html[dir="rtl"] .hero-left h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    html[dir="rtl"] .hero-left p {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    html[dir="rtl"] .btn-contact-hero {
        margin: 0 auto;
        display: inline-block;
    }

    /* Contact Info RTL Adjustments */
    html[dir="rtl"] .contact-info-wrapper {
        text-align: right;
    }

    html[dir="rtl"] .info-item {
        flex-direction: row-reverse;
        text-align: right;
        justify-content: flex-end;
        gap: 1rem;
    }

    html[dir="rtl"] .info-icon {
        order: 1;
        margin-left: 1rem;
        margin-right: 0;
    }

    html[dir="rtl"] .info-item h3,
    html[dir="rtl"] .info-item p,
    html[dir="rtl"] .info-item a {
        text-align: right;
        order: 2;
    }

    /* Social Icons RTL */
    html[dir="rtl"] .contact-social .social-links {
        justify-content: flex-end;
    }

    html[dir="rtl"] .contact-social .social-links a {
        margin-left: 0.5rem;
        margin-right: 0;
    }

    /* Form Icons RTL */
    html[dir="rtl"] .form-group i {
        margin-left: 0.5rem;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    html[dir="rtl"] .hero-left h1 {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    html[dir="rtl"] .hero-left p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    html[dir="rtl"] .btn-contact-hero {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Small Screen RTL Adjustments */
    html[dir="rtl"] .contact-info-card {
        text-align: right;
    }

    html[dir="rtl"] .info-item {
        padding-right: 0;
        padding-left: 0.5rem;
        gap: 0.8rem;
    }

    html[dir="rtl"] .info-icon {
        margin-left: 0.8rem;
    }

    html[dir="rtl"] .contact-social .social-links a {
        margin-left: 0.3rem;
    }
}