@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-orange: #f39200;
    --primary-navy: #2b3990;
    --dark-teal: #004b50;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 15px 35px rgba(43, 57, 144, 0.1);
    --shadow-hover: 0 20px 45px rgba(43, 57, 144, 0.2);
}

/* --- Reveal Animations --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-zoom:hover img {
    transform: scale(1.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Enterprise Header Design --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: var(--primary-navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 25px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.top-info i {
    color: var(--primary-orange);
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.top-social a:hover {
    opacity: 1;
    color: var(--primary-orange);
}

.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.logo-img {
    height: 75px;
    /* Increased size */
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-en {
    font-size: 1.4rem;
    /* Increased from 1.25rem */
    font-weight: 900;
    /* Max boldness */
    color: var(--primary-navy);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-ar {
    font-size: 1.3rem;
    /* Increased from 1.15rem */
    color: var(--primary-orange);
    font-weight: 700;
    /* Increased from 600 */
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-orange);
}

.nav-cta {
    background: var(--primary-orange);
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.3);
}

.nav-cta:hover {
    background: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 57, 144, 0.3);
}

/* --- Mobile Menu --- */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-navy);
    font-size: 1.8rem;
    cursor: pointer;
    align-items: center;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--primary-navy);
    cursor: pointer;
}

.mobile-links {
    list-style: none;
}

.mobile-links li {
    margin-bottom: 1.5rem;
}

.mobile-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.mobile-links a:hover,
.mobile-links a.active {
    color: var(--primary-orange);
}

.mobile-cta {
    display: block;
    background: var(--primary-orange);
    color: var(--white) !important;
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    margin-top: 1rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
    /* Offset for fixed header when using anchors */
}

/* --- Hero Slider --- */
.hero {
    height: 90vh;
    position: relative;
    color: var(--white);
    padding-top: 160px;
    /* Space for the enterprise header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 160px;
    /* Offset for the fixed enterprise header */
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: slowZoom 20s infinite alternate linear;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(43, 57, 144, 0.7), rgba(0, 75, 80, 0.6));
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    transform: translateY(30px);
    transition: transform 1s ease-out;
}

.active .slide-content {
    transform: translateY(0);
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero .cta {
    background: var(--primary-orange);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
    display: inline-block;
}

.hero .cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: var(--white);
    color: var(--primary-orange);
}

/* --- About Us --- */
.section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    color: var(--primary-orange);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '...';
    margin-left: 10px;
    letter-spacing: 2px;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    height: 500px;
}

.about-img-1 {
    width: 80%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border: 5px solid var(--white);
}

.about-img-2 {
    width: 70%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 5px solid var(--white);
}

.about-image::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--primary-orange);
    z-index: 0;
    border-radius: 10px;
    opacity: 0.3;
}

/* --- Business Activities --- */
.activities {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-title .divider {
    height: 4px;
    width: 80px;
    background: var(--primary-orange);
    margin: 0 auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.activity-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow);
    border-bottom: 5px solid var(--primary-orange);
}

.activity-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.activity-card h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Trading Division --- */
.trading-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-navy);
    background: transparent;
    color: var(--primary-navy);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 5px;
}

.tab-btn.active {
    background: var(--primary-navy);
    color: var(--white);
}

.material-list {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.material-item {
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-orange);
    font-weight: 600;
    color: var(--primary-navy);
    transition: var(--transition);
}

.material-item:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateX(10px);
}

/* --- Premium Product Showcase --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-tile {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 350px;
    cursor: pointer;
}

.product-tile:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-tile:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(43, 57, 144, 0.95), transparent);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.product-tile:hover .product-overlay {
    height: 70%;
    background: linear-gradient(to top, rgba(243, 146, 0, 0.9), transparent);
}

.product-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.view-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-tile:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}

/* --- Enterprise Technical Catalog --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.catalog-card {
    background: var(--white);
    border: 1px solid #eef0f2;
    border-radius: 4px;
    /* Industrial sharp edges preferred over round */
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.catalog-img-box {
    width: 100%;
    height: 250px;
    background: #fcfcfc;
    position: relative;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Professional product feel */
    transition: transform 0.6s ease;
}

.catalog-card:hover .catalog-img-box img {
    transform: scale(1.05);
}

.catalog-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-navy);
    color: var(--white);
    font-family: 'Courier New', Courier, monospace;
    /* Blueprint feel */
    font-size: 0.7rem;
    padding: 4px 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.catalog-details {
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
    background: var(--white);
    flex-grow: 1;
}

.catalog-details h4 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.tech-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-specs-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
    color: var(--text-muted);
}

.tech-specs-list li span:last-child {
    font-weight: 600;
    color: var(--primary-navy);
}

.catalog-footer {
    padding: 1rem 1.5rem;
    background: #f8fbff;
    border-top: 1px solid #eef0f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-catalog {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-catalog:hover {
    gap: 12px;
}

/* --- Registration --- */
.reg-section {
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(43, 57, 144, 0.92), rgba(43, 57, 144, 0.92)), url('https://images.unsplash.com/photo-1518107616985-bd48230d3b20?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.reg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 50px;
}

.certificate-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.certificate-card i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

/* --- Technical Engineering Row Model --- */
.tech-row-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-product-row {
    display: grid;
    grid-template-columns: 200px 1fr 300px 180px;
    background: var(--white);
    border: 1px solid #eef0f2;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    align-items: center;
}

.tech-product-row:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
}

.row-img-box {
    height: 180px;
    background: #fcfcfc;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f0f0f0;
}

.row-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.row-main-info {
    padding: 1.5rem 2.5rem;
}

.row-main-info .cat-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.row-main-info h4 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.row-main-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.row-specs-grid {
    padding: 1.5rem;
    background: #f9fbff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #f0f0f0;
}

.spec-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 8px;
    border-bottom: 1px solid #eef0f2;
    padding-bottom: 4px;
}

.spec-line span:first-child {
    color: #888;
    font-weight: 500;
}

.spec-line span:last-child {
    color: var(--primary-navy);
    font-weight: 600;
}

.row-action-area {
    padding: 1.5rem;
    text-align: center;
}

.quote-btn {
    background: var(--primary-navy);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-btn:hover {
    background: var(--primary-orange);
}

.status-badge {
    display: block;
    font-size: 0.65rem;
    color: #4CAF50;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .tech-product-row {
        grid-template-columns: 180px 1fr 250px;
    }

    .row-action-area {
        display: none;
    }
}

@media (max-width: 768px) {
    .tech-product-row {
        grid-template-columns: 1fr;
    }

    .row-img-box {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .row-specs-grid {
        border-left: none;
    }
}

.contact-info h3 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 2.5rem;
    font-weight: 800;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.info-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(243, 146, 0, 0.2);
}

.info-item h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.info-item p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Legal Registration Card */
.legal-card {
    background: #f1f5f9;
    /* Softer, slightly darker grey for better definition */
    padding: 2.5rem 3rem;
    border-radius: 15px;
    margin-top: 3.5rem;
    border: none;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

.legal-card h4 {
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.15rem;
}

.legal-list li i {
    color: var(--primary-orange);
    font-size: 1.3rem;
}

.contact-details-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: flex-start;
    background: #f8fafc;
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.contact-methods h3 {
    font-size: 2.8rem;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-methods {
    padding-right: 0;
}

.contact-map-box {
    height: 450px;
    background: #eee;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
}

.contact-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.enquiry-form {
    grid-column: 1 / -1;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.submit-btn {
    background: var(--primary-navy);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-orange);
}

/* --- Footer --- */
footer {
    background: #0a0a0a;
    color: var(--white);
    padding: 30px 0 15px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-en {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.footer-logo .logo-ar {
    color: var(--primary-orange);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2px;
}

.icv-cert {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center text under the logo image */
    text-align: center;
    gap: 5px;
}

.icv-logo {
    height: 100px;
    width: auto;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.icv-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .footer-wrap {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo,
    .icv-cert {
        align-items: center;
    }

    .contact-details-row {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .contact-methods h3 {
        font-size: 2.2rem;
        text-align: center;
    }
}

/* --- Horizontal Mini Card Model (User Requested) --- */
.horizontal-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.horizontal-mini-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid #eef0f2;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 140px;
    text-decoration: none;
}

.horizontal-mini-card:hover {
    box-shadow: 0 15px 30px rgba(43, 57, 144, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    background: #fff9f0;
    /* Soft professional orange tint */
}

.horizontal-mini-card:hover h4 {
    color: var(--primary-orange);
}

.horizontal-mini-card:hover .mini-card-img {
    border-color: var(--primary-orange);
}

.mini-card-img {
    width: 140px;
    height: 100%;
    background: #fdfdfd;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f5f5f5;
}

.mini-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mini-card-info {
    flex: 1;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mini-card-info h4 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 1200px) {
    .horizontal-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .horizontal-mini-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-mini-card {
        height: 120px;
    }

    .mini-card-img {
        width: 120px;
    }
}

/* --- Registration Section --- */
.reg-section {
    position: relative;
    /* Soft warm orange/amber shaded overlay */
    background: linear-gradient(rgba(255, 251, 245, 0.92), rgba(255, 244, 230, 0.94)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 120px 0;
    border-top: 2px solid var(--primary-orange);
    border-bottom: 1px solid #fee2e2;
}

.reg-section h2 {
    font-size: 2.8rem;
    color: var(--primary-navy) !important;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.2;
}

.reg-section p {
    color: var(--text-dark) !important;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 60px;
}

.reg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.certificate-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.certificate-card i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.certificate-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.certificate-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Certificate Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    /* Extremely high to be above header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 10, 30, 0.97);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.close-modal:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: rotate(90deg);
}

/* --- Mission Statement Section Redesign --- */
.mission-statement {
    position: relative;
    background-color: var(--primary-navy);
    /* Solid fallback */
    background: linear-gradient(rgba(43, 57, 144, 0.96), rgba(43, 57, 144, 0.85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white) !important;
    padding: 120px 0;
    text-align: center;
    border-top: 5px solid var(--primary-orange);
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mission-text {
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    font-style: italic;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.mission-highlight {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 4px;
    border-top: 2px solid var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
    display: inline-block;
    padding: 20px 50px;
}

@media (max-width: 768px) {
    .mission-text {
        font-size: 1.3rem;
    }

    .mission-highlight {
        font-size: 1rem;
        letter-spacing: 2px;
        padding: 15px 30px;
    }
}

@media (max-width: 992px) {

    .about-grid,
    .contact-grid,
    .contact-details-row {
        grid-template-columns: 1fr;
    }

    .contact-map-box {
        height: 350px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .material-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 120px;
        height: auto;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .reg-section h2 {
        font-size: 1.8rem;
    }

    .reg-grid {
        grid-template-columns: 1fr;
    }

    .material-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo .logo-en {
        font-size: 1rem;
    }

    .logo-img {
        height: 55px;
    }

    .logo-en {
        font-size: 1rem;
    }

    .logo-ar {
        font-size: 0.9rem;
    }
}