@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

body {
    font-family: "Cairo", sans-serif;
    background-color: #0b0f1a;
    color: #212529;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.section-title {
    font-size: 35px;
    font-weight: 700;
    color: #0f172a;
}

.navbar.bg-body-tertiary {
    background-color: rgba(248, 249, 250, 0.96) !important;
    /* backdrop-filter: blur(8px); */
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    z-index: 1030 !important;
    position: sticky !important;
    top: 0 !important;
}

.navbar.bg-body-tertiary .dropdown-menu {
    position: absolute;
    z-index: 1050;
}

.navbar-brand span {
    letter-spacing: 0.4px;
    color: #0f172a;
}

.navbar-nav .nav-link {
    color: #1f2937;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #0d6efd;
}

.navbar {
    overflow: visible !important;
}

.navbar-collapse {
    overflow: visible !important;
}

.navbar-nav {
    overflow: visible !important;
}

.navbar .dropdown {
    position: relative;
    overflow: visible !important;
}

.navbar .dropdown-menu {
    min-width: 220px;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    z-index: 1051 !important;
    position: absolute !important;
    overflow: visible !important;
    max-height: none !important;
    pointer-events: auto !important;
}

/* Light page header for inner pages */
.page-header-light {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.page-header-light .page-title {
    font-weight: 700;
    color: #222;
}
.page-header-light .breadcrumb {
    --bs-breadcrumb-divider-color: #6c757d;
    --bs-breadcrumb-item-active-color: #6c757d;
}

/* Products pages */
.products-page {
    background-color: #ffffff;
}

.product-card-link {
    color: inherit;
    transition: transform 0.2s ease;
}

.product-card-link:hover {
    color: inherit;
}

.product-card-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.14);
}

.product-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-image-card {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 1rem;
}

.product-image-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.product-content .product-title {
    font-weight: 700;
}
.product-content .product-description {
    line-height: 1.8;
}

.product-content .product-description p {
    margin-bottom: 0.75rem;
}

.product-content .product-description p:last-child {
    margin-bottom: 0;
}

/* Product Detail Page - Premium */
.product-detail-hero {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.product-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb .breadcrumb-item a:hover {
    color: #0d6efd;
}

.product-breadcrumb .breadcrumb-item.active {
    color: #0f172a;
}

.product-detail-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.75rem 0 0;
}

.product-detail-section {
    padding: 4rem 0 5rem;
    background: #ffffff;
}

.product-detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.product-detail-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    background: #f8fafc;
    aspect-ratio: 4/3;
    margin-bottom: 2.5rem;
}

.product-detail-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-content {
    padding: 0;
}

.product-detail-accent {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.product-detail-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.product-detail-description {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 100%;
}

.product-detail-description p {
    margin-bottom: 1rem;
}

.product-detail-description p:last-child {
    margin-bottom: 0;
}

.product-detail-description ul,
.product-detail-description ol {
    margin-bottom: 1rem;
    padding-inline-start: 1.5rem;
}

.product-detail-description a {
    color: #0d6efd;
    text-decoration: none;
}

.product-detail-description a:hover {
    text-decoration: underline;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-detail-actions .btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-detail-actions .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
}

.product-detail-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
}

.product-detail-actions .btn-outline-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

@media (max-width: 991px) {
    .product-detail-image-wrap {
        margin-bottom: 2rem;
    }

    .product-detail-title {
        font-size: 1.75rem;
    }

    .product-detail-name {
        font-size: 1.5rem;
    }

    .product-detail-description {
        font-size: 1rem;
    }
}

.navbar .dropdown-item {
    border-radius: 0.65rem;
    padding: 0.6rem 0.75rem;
    pointer-events: auto !important;
    position: relative;
    z-index: 1052;
    display: block;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    pointer-events: auto !important;
}

.navbar .dropdown-menu li {
    pointer-events: auto !important;
    position: relative;
    z-index: 1053;
}

.navbar .dropdown-menu li a.dropdown-item {
    pointer-events: auto !important;
    position: relative;
    z-index: 1054;
}

.navbar .container,
.navbar .container-fluid {
    overflow: visible !important;
    position: relative;
}

.navbar .btn-primary {
    border-radius: 999px;
    font-weight: 600;
}

.social-links .icon-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.08);
    color: #1f2937;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links .icon-link:hover {
    background-color: #0d6efd;
    color: #fff;
}

.social-links .nav-link {
    color: #0d6efd;
}

.hero-section {
    min-height: calc(80vh - 100px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding-top: 120px;
}

/* RTL direction - default */
[dir="rtl"] .hero-section {
    direction: rtl;
    text-align: right;
}

/* LTR direction */
[dir="ltr"] .hero-section {
    direction: ltr;
    text-align: left;
}

#bgVideo {
    position: absolute;
    top: 50%;
    right: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(50%, -50%);
    z-index: 0;
}

.overlay-dark {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.navbar,
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-bottom: 120px;
    color: #fff;
}

/* RTL direction - align hero content to right (default) */
[dir="rtl"] .hero-content {
    justify-content: flex-end;
}

[dir="rtl"] .hero-content .container {
    text-align: right;
}

/* LTR direction - align hero content to left */
[dir="ltr"] .hero-content {
    justify-content: flex-start;
}

[dir="ltr"] .hero-content .container {
    text-align: left;
}

[dir="ltr"] .hero-content p {
    margin-inline-start: 0;
}

.hero-content h5 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.75);
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.2;
}

.hero-content p {
    max-width: 520px;
    /* margin-inline-start: auto; */
    opacity: 0.9;
}

.text-intro {
    font-size: 1rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 10px 30px;
    font-size: 1rem;
}

#about {
    background: #fff;
}

#about h3 {
    font-weight: 700;
}

#about p {
    line-height: 1.8;
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.light_background {
    background-color: #f5f5f5;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
}

.product-desc-preview {
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeUp 0.8s ease forwards;
    animation-play-state: paused;
    cursor: pointer;
}

.product-card.in-view {
    animation-play-state: running;
    opacity: 1;
}

.product-card:nth-of-type(1) {
    animation-delay: 0.1s;
}

.product-card:nth-of-type(2) {
    animation-delay: 0.25s;
}

.product-card:nth-of-type(3) {
    animation-delay: 0.4s;
}

#products .row > div:nth-child(1) .product-card { animation-delay: 0.05s; }
#products .row > div:nth-child(2) .product-card { animation-delay: 0.15s; }
#products .row > div:nth-child(3) .product-card { animation-delay: 0.25s; }
#products .row > div:nth-child(4) .product-card { animation-delay: 0.35s; }
#products .row > div:nth-child(5) .product-card { animation-delay: 0.45s; }
#products .row > div:nth-child(6) .product-card { animation-delay: 0.55s; }

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating contact buttons */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-buttons .btn,
.floating-buttons-right .btn {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.floating-btn i {
    font-size: 1.2rem;
}

.floating-buttons-right {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-top-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #22c35e);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1fc25d, #1aa653);
}

.phone-btn {
    background: linear-gradient(135deg, #10b981, #0d9d6c);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #0ea271, #0a8a5d);
}

#quality {
    background-image: linear-gradient(to left, #29a2e8, #285f94);
}

.quality-title {
    font-size: 35px;
}

.quality-text {
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
    font-size: 20px;
}

.contact-section {
    background-image: linear-gradient(to left, #29a2e8, #285f94);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Form Card (for index.html) */
.contact-form-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.contact-form-card .contact-title {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
}

.contact-form-card .form-label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form-card .form-control,
.contact-form-card .form-control-lg {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #1f2937;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-control-lg:focus {
    background-color: #ffffff;
    border-color: #0d6efd;
    color: #1f2937;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.contact-form-card .form-control::placeholder,
.contact-form-card .form-control-lg::placeholder {
    color: #9ca3af;
}

/* Contact Form (for dark background - contact.html) */
.contact-section .contact-form .form-control,
.contact-section .contact-form .form-control-lg {
    border-radius: 12px;
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    background-color: rgba(255, 255, 255, 0.1);
    color: #000000;
    transition: all 0.3s ease;
}

.contact-section .contact-form .form-control:focus,
.contact-section .contact-form .form-control-lg:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #0d6efd;
    color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.contact-section .contact-form .form-control::placeholder,
.contact-section .contact-form .form-control-lg::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-section .contact-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-container iframe {
    border-radius: 12px;
}

.certificates-section {
    background-color: #f8fafc;
}

.certificates-section .section-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 2.2rem;
}

.certificates-section .section-subtitle {
    max-width: 600px;
    margin: 0.75rem auto 0;
    color: #4b5563;
    font-weight: 500;
}

.certificate-card {
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.certificate-img {
    width: 100%;
    height: auto;
    display: block;
}

.certificate-carousel .carousel-control-prev,
.certificate-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.85);
    top: 50%;
    transform: translateY(-50%);
}

.certificate-carousel .carousel-control-prev:hover,
.certificate-carousel .carousel-control-next:hover {
    background-color: rgba(13, 110, 253, 0.6);
}

.certificate-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(79, 86, 104, 0.35);
}

.certificate-carousel .carousel-indicators .active {
    background-color: #0d6efd;
}

@media (max-width: 992px) {
    .navbar.bg-body-tertiary {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .hero-section {
        padding-top: 100px;
    }

    .hero-content {
        padding-bottom: 80px;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 0.95rem;
    }

    .navbar .btn-primary {
        width: 100%;
    }

    .certificate-card {
        border-radius: 16px;
    }

    .hero-content p.lead {
        margin-inline-start: 0;
    }

    .floating-buttons {
        left: 16px;
    }

    .floating-buttons-right {
        right: 16px;
    }

    .floating-buttons .btn,
    .floating-buttons-right .btn {
        width: 44px;
        height: 44px;
    }
}

/* footer */
footer {
    background-color: #ffffff;
    text-align: center;
    padding: 40px 0 0;
}

footer .footer-top img {
    width: 300px;
    margin-bottom: 15px;
}

footer .footer-links a {
    color: #000;
    font-weight: 600;
    margin: 0 10px;
    text-decoration: none;
}

footer .footer-links a:hover {
    color: #007bff;
}

footer .contact-info {
    margin-top: 10px;
    font-size: 15px;
    color: #333;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 6px;
    border: 2px solid #2196f3;
    border-radius: 50%;
    color: #2196f3;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    background-color: #2196f3;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    background-color: #2196f3;
    color: #fff;
    padding: 10px 0;
    margin-top: 30px;
    font-size: 15px;
}

/* About Page Styles */
.about-page-header {
    position: relative;
    min-height: 300px;
    background-image: url("../images/about_section_3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.about-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-header-welcome {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.about-page-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.about-header-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.6;
}

/* About Story Hero - WOW Design */
.about-story-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-story-bg {
    position: absolute;
    inset: 0;
}

.about-story-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: about-story-zoom 20s ease-in-out infinite alternate;
}

@keyframes about-story-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.about-story-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 15, 26, 0.92) 0%, rgba(11, 15, 26, 0.75) 50%, rgba(13, 110, 253, 0.15) 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

/* WOW Card */
.about-story-card {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.wow-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.about-story-card-inner {
    position: relative;
    z-index: 1;
}

.about-story-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.about-story-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.about-story-accent {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .about-story-accent {
    background: linear-gradient(270deg, #0d6efd 0%, #0a58ca 100%);
}

.about-story-hero-text {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 1rem;
}

[dir="rtl"] .about-story-hero-text {
    direction: rtl;
    text-align: justify;
    text-align-last: justify;
}

.about-story-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.15), transparent);
    margin: 1.5rem 0 1rem;
}

.about-story-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.about-story-wow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-story-wow-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.about-story-wow-list li i {
    color: #0d6efd;
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.about-story-wow-list li span {
    flex: 1;
}

[dir="rtl"] .about-story-wow-list li {
    flex-direction: row-reverse;
}

/* Stats - Glassmorphism Cards with Icons */
.about-story-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-story-stat-item {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-story-stat-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.about-story-stat-item:hover {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .about-story-stat-item:hover {
    transform: translateX(-6px);
}

.about-story-stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.25);
    border-radius: 10px;
}

.about-story-stat-icon i {
    font-size: 1.1rem;
    color: #ffffff;
}

.about-story-stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.about-story-stat-label {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .about-story-hero-title {
        font-size: 2.25rem;
    }

    .about-story-card {
        padding: 3rem;
    }
}

@media (max-width: 991.98px) {
    .about-story-hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .about-story-bg-overlay {
        background: linear-gradient(180deg, rgba(11, 15, 26, 0.95) 0%, rgba(11, 15, 26, 0.9) 100%);
    }

    .about-story-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .about-story-stat-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }

    .about-story-stat-num {
        font-size: 1.5rem;
    }

    .about-story-stat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .about-story-card {
        padding: 1.5rem;
    }

    .about-story-hero-title {
        font-size: 1.65rem;
    }
}

.about-content-section {
    background-color: #ffffff;
}

/* About Vision & Mission - Icon Boxes */
.about-icon-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.about-icon-box:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.about-icon-box-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.about-icon-box-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.about-icon-box-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.about-icon-box-text {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

.about-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-values-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.5rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-values-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: #0d6efd;
    border-radius: 50%;
}

.about-values-list li strong {
    color: #0f172a;
}

[dir="rtl"] .about-values-list li {
    padding: 0.6rem 1.5rem 0.6rem 0;
}

[dir="rtl"] .about-values-list li::before {
    left: auto;
    right: 0;
}

.about-section-title {
    color: #1f2937;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: start;
}

.about-section-text {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: start;
    font-weight: 500;
}

.about-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    height: 350px;
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Integrated System page image - show full graphic without cropping */
.ims-image-wrapper {
    height: auto;
}

.ims-image-wrapper img {
    height: auto;
    object-fit: contain;
}

/* Facilities Section */
.facilities-content-section {
    background: #f8fafc;
}

.facilities-intro {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #475569;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
}

.facilities-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.facilities-card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.facilities-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.facilities-card-icon i {
    font-size: 1.25rem;
    color: #ffffff;
}

.facilities-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.facilities-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facilities-card-list li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.facilities-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 5px;
    height: 5px;
    background: #0d6efd;
    border-radius: 50%;
}

[dir="rtl"] .facilities-card-list li {
    padding: 0.35rem 1.25rem 0.35rem 0;
}

[dir="rtl"] .facilities-card-list li::before {
    left: auto;
    right: 0;
}

/* Quality Page - Premium Design */
.quality-hero-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.quality-hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quality-hero-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    border-radius: 2px;
    margin: 0 auto 1.75rem;
}

.quality-hero-text {
    font-size: 1.2rem;
    line-height: 2;
    color: #475569;
    font-weight: 500;
    margin: 0;
}

.quality-cards-section {
    padding: 3rem 0 5rem;
    background: #f8fafc;
}

.quality-premium-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.25rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-premium-card:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
    transform: translateY(-6px);
    border-color: rgba(13, 110, 253, 0.15);
}

.quality-card-border-accent {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #0d6efd, #0a58ca);
    border-radius: 0 4px 4px 0;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .quality-card-border-accent {
    inset-inline-start: auto;
    inset-inline-end: 0;
    border-radius: 4px 0 0 4px;
}

.quality-premium-card:hover .quality-card-border-accent {
    height: 100%;
}

.quality-card-icon-wrap {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.quality-card-icon-wrap i {
    font-size: 1.35rem;
    color: #ffffff;
}

.quality-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.quality-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quality-card-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.35rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #64748b;
}

.quality-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-radius: 50%;
}

[dir="rtl"] .quality-card-list li {
    padding: 0.4rem 1.35rem 0.4rem 0;
}

[dir="rtl"] .quality-card-list li::before {
    left: auto;
    right: 0;
}

/* Facilities clickable images */
.facilities-image-item {
    cursor: pointer;
    display: block;
    width: 100%;
}

.facilities-image-item .about-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
}

.facilities-image-item .about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.facilities-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.facilities-image-overlay i {
    font-size: 2.5rem;
    color: #ffffff;
}

.facilities-image-item:hover .facilities-image-overlay {
    opacity: 1;
}

.facilities-content-section #facilitiesGallery .col-md-6 {
    display: flex;
}

.facilities-content-section #facilitiesGallery .facilities-image-item {
    width: 100%;
}

/* Facilities Page Specific Styles */
.facilities-page-header {
    background-image: url("../images/about_section_3.jpg");
}

/* FAQ Page Styles */
.faq-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    min-height: 60vh;
}

.faq-intro {
    margin-bottom: 3rem;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
}

.accordion-flush .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.accordion-flush .accordion-item:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.accordion-button {
    background-color: #ffffff;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
    position: relative;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.accordion-button:not(.collapsed) i {
    color: #ffffff;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-button i {
    color: #0d6efd;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) i {
    color: #ffffff;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231f2937'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
    margin-inline-start: 0;
    margin-inline-end: auto;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-body {
    background-color: #f8f9fa;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 1.5rem 1.75rem;
    border-top: 1px solid #e5e7eb;
}

.accordion-collapse {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .faq-main-title {
        font-size: 2rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .accordion-body {
        font-size: 0.95rem;
        padding: 1.25rem 1.5rem;
    }
}

/* Media Gallery Styles */
.media-gallery-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    min-height: 60vh;
}

.media-gallery-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.media-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.media-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #f1f5f9;
}

.media-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-gallery-item:hover .media-image-wrapper img {
    transform: scale(1.1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 110, 253, 0.8) 0%,
        rgba(10, 88, 202, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-gallery-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    color: #ffffff;
    font-size: 3rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.media-gallery-item:hover .media-overlay i {
    transform: scale(1);
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: #1f2937;
}

.modal-body {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.modal-body img {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.btn-close {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Modal Navigation Arrows */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.modal-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-nav-prev {
    right: 20px;
}

.modal-nav-next {
    left: 20px;
}

.modal-nav-btn i {
    color: #fff;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .modal-nav-prev {
        right: 10px;
    }

    .modal-nav-next {
        left: 10px;
    }
}

/* Quality Page Styles */
.quality-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quality-list-item {
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-inline-end: 4px solid #0d6efd;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.quality-list-item:hover {
    background-color: #e7f1ff;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.quality-list-item i {
    color: #0d6efd;
    font-size: 1.1rem;
}

.quality-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    height: 400px;
}

.quality-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quality-standards-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    border: 1px solid #dee2e6;
}

.quality-standards-card h4 {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.5rem;
}

.standard-item {
    padding: 0.75rem;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.standard-item:hover {
    background-color: #e7f1ff;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.standard-item i {
    font-size: 1.2rem;
}

.standard-item strong {
    color: #0f172a;
    font-weight: 600;
}

/* Jobs Page Styles */
.jobs-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    min-height: 60vh;
}

.jobs-intro {
    margin-bottom: 3rem;
}

.jobs-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.jobs-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
}

.jobs-form-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.form-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.75rem;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 1rem;
}

.form-title i {
    color: #0d6efd;
}

.form-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-inline-end: 4px solid #0d6efd;
}

.section-title {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.section-title i {
    color: #0d6efd;
}

.form-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control-lg,
.form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.form-control-lg:hover,
.form-select-lg:hover {
    border-color: #9ca3af;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-label {
    color: #4b5563;
    font-weight: 500;
}

.btn-primary {
    background: #285f94;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #29a2e8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

@media (max-width: 768px) {
    .jobs-main-title {
        font-size: 2rem;
    }

    .jobs-subtitle {
        font-size: 1rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .jobs-form-card {
        padding: 1.5rem !important;
    }

    .form-section {
        padding: 1rem;
    }
}

/* Contact Page Styles */
.contact-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    min-height: 60vh;
}

.contact-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e5e7eb;
}

.contact-info-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.5rem;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 1rem;
}

.contact-info-title i {
    color: #0d6efd;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.contact-icon-wrapper i {
    color: #ffffff;
    font-size: 1.25rem;
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-value {
    color: #1f2937;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #0d6efd;
}

.social-media-section h5 {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.1rem;
}

.social-icons-contact {
    display: flex;
    gap: 1rem;
}

.social-icon-contact {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.social-icon-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
    color: #ffffff;
}

.contact-form-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.map-container {
    border: 1px solid #e5e7eb;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 768px) {
    .contact-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .contact-icon-wrapper i {
        font-size: 1.1rem;
    }

    .contact-value {
        font-size: 0.95rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .contact-form-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .media-image-wrapper {
        height: 250px;
    }

    .media-overlay i {
        font-size: 2.5rem;
    }

    .modal-body {
        min-height: 300px;
    }

    .quality-image-wrapper {
        height: 300px;
    }

    .quality-hero-section {
        padding: 2.5rem 0;
    }

    .quality-hero-text {
        font-size: 1.05rem;
    }

    .quality-premium-card {
        padding: 1.75rem;
    }

    .quality-list-item {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .about-page-title {
        font-size: 2.5rem;
    }

    .about-section-title {
        font-size: 1.8rem;
    }

    .about-section-text {
        font-size: 1rem;
    }

    .about-image-wrapper {
        height: 280px;
    }

    .facilities-image-item .about-image-wrapper {
        aspect-ratio: 4/3;
        height: auto;
    }

    /* Ensure IMS image looks correct on mobile */
    .ims-image-wrapper {
        height: auto;
        max-width: 100%;
        margin-top: 1.5rem;
    }

    .ims-image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}
