:root {
    --blue-dark: #071f3d;
    --blue: #145aa8;
    --red: #e30613;
    --light: #f5f8fc;
    --text: #1d2733;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Tahoma, sans-serif;
    background: #fff;
    color: var(--text);
    overflow-x: hidden;
}

[dir="rtl"] body {
    font-family: Tahoma, Arial, sans-serif;
}

/* NAVBAR */

.dejlah-navbar {
    background: rgba(3,16,40,.92);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.dejlah-logo {
    height: 75px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    background: transparent;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    color: #fff !important;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    transition: .3s;
}

.navbar-nav .nav-link:hover {
    color: #ff3b3b !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: #ff1f2d;
    border-radius: 20px;
}

.lang-btn {
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.lang-btn:hover {
    background: #fff;
    color: #001b44;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* HERO SECTION */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: 1;
    filter: blur(2px) brightness(.58);
    animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(7,31,61,.92) 0%, rgba(7,31,61,.68) 42%, rgba(0,0,0,.35) 100%),
        radial-gradient(circle at 75% 45%, rgba(227,6,19,.24), transparent 36%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at 20% 50%, rgba(255,59,87,.18), transparent 35%);
    animation: electricGlow 5s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: #fff;
}

.electric-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
    animation: fadeUp 1s ease forwards;
}

.hero-title {
    font-size: 95px;
    font-weight: 900;
    line-height: .95;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: -3px;
    text-shadow: 0 5px 30px rgba(0,0,0,.45);
    animation: fadeUp 1.2s ease forwards;
}

.typing-text::after {
    content: "Reliable Electrical Solutions";
    animation: changeWords 20s infinite;
    color: #fff;
}

.hero-text {
    font-size: 21px;
    line-height: 1.8;
    color: rgba(255,255,255,.9);
    max-width: 700px;
    margin-bottom: 40px;
    animation: fadeUp 1.5s ease forwards;
}

.hero-buttons {
    animation: fadeUp 1.8s ease forwards;
}

.hero-buttons .btn {
    padding: 16px 34px;
    border-radius: 14px;
    font-weight: 700;
    transition: .35s ease;
}

.glow-btn {
    background: linear-gradient(135deg, #e30613, #ff3b57);
    border: none;
    box-shadow: 0 0 25px rgba(227,6,19,.45);
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(227,6,19,.75);
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    color: #fff;
    z-index: 5;
    font-size: 34px;
    animation: bounce 2s infinite;
}

//*-----*//
.typing-text-ar::after {
    content: "موثوقة";
    animation: changeWordsArabic 20s infinite;
    color: #fff;
}

@keyframes changeWordsArabic {
    0% {
        content: "موثوقة";
    }

    33% {
        content: "متطورة";
    }

    66% {
        content: "ذكية";
    }

    100% {
        content: "موثوقة";
    }
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-title {
    letter-spacing: 0;
}



//*-----*//













/* STATS */

.stats-section {
    background: var(--blue-dark);
    padding: 35px 0;
}

.stat-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    border-radius: 24px;
    padding: 28px;
    transition: .35s;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(20,90,168,.35);
}

.stat-card h2 {
    font-size: 46px;
    font-weight: 900;
    color: #fff;
}

/* GLOBAL */

.section-padding {
    padding: 100px 0;
}

.section-tag {
    color: var(--red);
    font-weight: 900;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 14px;
}




/*----*/

/* ABOUT DEJLAH - CREATIVE DESIGN */

.futuristic-about {
    background: linear-gradient(135deg, #ffffff 0%, #eef4fb 100%);
    position: relative;
    overflow: hidden;
}

.futuristic-about::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(227, 6, 19, .08);
    top: -160px;
    right: -160px;
}

.futuristic-about::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(20, 90, 168, .10);
    bottom: -140px;
    left: -140px;
}

.futuristic-about .container {
    position: relative;
    z-index: 2;
}

.switchgear-showcase {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-panel-card {
    width: 82%;
    height: 460px;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    z-index: 3;
    box-shadow: 0 35px 85px rgba(7,31,61,.25);
    border: 8px solid #fff;
}

.main-panel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .7s ease;
}

.main-panel-card:hover img {
    transform: scale(1.08);
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(20,90,168,.28);
    border-radius: 50%;
    z-index: 1;
}

.orbit-1 {
    width: 430px;
    height: 430px;
    animation: rotateOrbit 18s linear infinite;
}

.orbit-2 {
    width: 520px;
    height: 520px;
    animation: rotateOrbit 26s linear infinite reverse;
}

.floating-card {
    position: absolute;
    z-index: 5;
    background: #fff;
    color: var(--blue-dark);
    padding: 14px 20px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(7,31,61,.18);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-top {
    top: 55px;
    left: 30px;
}

.card-right {
    right: 0;
    top: 235px;
}

.card-bottom {
    bottom: 70px;
    left: 55px;
}

.floating-card span {
    font-size: 20px;
}

.pulse-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--red);
    border-radius: 50%;
    z-index: 4;
    box-shadow: 0 0 0 10px rgba(227,6,19,.15);
    animation: pulseDot 2s infinite;
}

.dot-1 {
    top: 120px;
    right: 110px;
}

.dot-2 {
    bottom: 130px;
    right: 170px;
}

.dot-3 {
    top: 270px;
    left: 80px;
}

.about-content-pro h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

.about-content-pro > p {
    font-size: 18px;
    line-height: 1.9;
    color: #4f5f73;
    margin-bottom: 34px;
}

.power-flow-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 34px;
}

.flow-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(7,31,61,.08);
    border-left: 5px solid var(--red);
    transition: .35s ease;
}

.flow-item:hover {
    transform: translateX(8px);
    box-shadow: 0 22px 55px rgba(7,31,61,.14);
}

.flow-item span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--red), var(--blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.flow-item h5 {
    color: var(--blue-dark);
    font-weight: 900;
    margin-bottom: 6px;
}

.flow-item p {
    margin: 0;
    color: #4f5f73;
    line-height: 1.7;
}

.about-pro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--red), var(--blue));
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(227,6,19,.25);
    transition: .35s ease;
}

.about-pro-btn:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(227,6,19,.38);
}

@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(227,6,19,.35);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(227,6,19,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(227,6,19,0);
    }
}

/* ABOUT RESPONSIVE */

@media (max-width: 991px) {
    .switchgear-showcase {
        min-height: 480px;
    }

    .main-panel-card {
        width: 90%;
        height: 380px;
    }

    .about-content-pro h2 {
        font-size: 38px;
    }

    .card-right {
        right: 20px;
    }
}

@media (max-width: 575px) {
    .switchgear-showcase {
        min-height: auto;
        margin-bottom: 35px;
    }

    .main-panel-card {
        width: 100%;
        height: 300px;
        border-radius: 24px;
    }

    .orbit,
    .pulse-dot {
        display: none;
    }

    .floating-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 12px;
        width: 100%;
    }

    .about-content-pro h2 {
        font-size: 30px;
    }

    .flow-item {
        flex-direction: column;
    }
}








/* ORGANIZATION CHART */

.organization-section {
    background:
        linear-gradient(135deg, #071f3d 0%, #123c68 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.organization-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.organization-section .container {
    position: relative;
    z-index: 2;
}

.organization-card {
    max-width: 900px;
    margin: auto;
    padding: 16px;
    border-radius: 32px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    backdrop-filter: blur(14px);
}

.organization-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

@media (max-width: 575px) {
    .organization-card {
        padding: 10px;
        border-radius: 22px;
    }

    .organization-card img {
        border-radius: 16px;
    }
}


/* COMPANY PROFILE DOWNLOAD */

.profile-download-section {
    background: #ffffff;
}

.profile-download-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 38px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(7,31,61,.98), rgba(20,90,168,.95));
    color: #fff;
    box-shadow: 0 25px 70px rgba(7,31,61,.22);
}

.profile-download-icon {
    width: 90px;
    height: 90px;
    border-radius: 26px;
    background: linear-gradient(135deg, #e30613, #ff3b57);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    flex-shrink: 0;
}

.profile-download-content {
    flex: 1;
}

.profile-download-content h2 {
    font-weight: 900;
    margin-bottom: 12px;
}

.profile-download-content p {
    color: rgba(255,255,255,.82);
    margin: 0;
    line-height: 1.8;
}

.profile-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 16px;
    background: #fff;
    color: #071f3d;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    transition: .35s ease;
}

.profile-download-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #e30613, #145aa8);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .profile-download-card {
        flex-direction: column;
        text-align: center;
    }
}










/* ABOUT DROPDOWN */

.custom-dropdown {
    background: rgba(7,31,61,.97);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 12px;
    min-width: 240px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.custom-dropdown .dropdown-item {
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    transition: .3s ease;
}

.custom-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, #e30613, #145aa8);
    color: #fff;
    transform: translateX(5px);
}

html[dir="rtl"] .custom-dropdown .dropdown-item:hover {
    transform: translateX(-5px);
}
















/* PRODUCTS */

.products-section {
    background: linear-gradient(135deg, #ffffff 0%, #eef4fb 100%);
    position: relative;
    overflow: hidden;
}

.product-image-card {
    position: relative;
    padding: 0;
    height: 430px;
    min-height: 430px;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 55px rgba(7,31,61,.10);
    transition: .5s ease;
    border: 1px solid rgba(255,255,255,.6);
}

.product-img {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #eef4fb;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .8s ease;
}

.product-body {
    position: relative;
    z-index: 2;
    height: 200px;
    padding: 26px;
    background: #fff;
    transition: .45s ease;
}

.product-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue), var(--red));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.product-body h5 {
    font-size: 21px;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 12px;
}

.product-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #4f5f73;
    margin: 0;
}

.product-image-card:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 35px 85px rgba(7,31,61,.22);
}

.product-image-card:hover .product-img img {
    transform: scale(1.18);
}

.product-image-card:hover .product-body {
    background: linear-gradient(135deg, var(--blue), var(--red));
}

.product-image-card:hover .product-body h5,
.product-image-card:hover .product-body p {
    color: #fff;
}




/* PROJECTS - MODERN RESPONSIVE CARDS WITH PAGINATION */

.projects-section {
    background:
        linear-gradient(135deg, rgba(7,31,61,.98), rgba(15,47,92,.96)),
        radial-gradient(circle at top left, rgba(227,6,19,.22), transparent 32%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.projects-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.projects-section .container {
    position: relative;
    z-index: 2;
}

/* PAGES */
.projects-pages {
    position: relative;
}

.projects-page {
    display: none;
    opacity: 0;
    transform: translateY(25px);
}

.projects-page.active {
    display: block;
    animation: projectsPageFade .45s ease forwards;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* CARD */
.project-card-pro {
    position: relative;
    min-height: 340px;
    padding: 34px 28px;
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 25px 60px rgba(0,0,0,.28);
    overflow: hidden;
    transition: .4s ease;
    backdrop-filter: blur(14px);
}

.project-card-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(227,6,19,.38), transparent 38%);
    opacity: 0;
    transition: .4s ease;
}

.project-card-pro::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(20,90,168,.35);
    filter: blur(2px);
}

.project-card-pro:hover {
    transform: translateY(-12px);
    border-color: rgba(227,6,19,.75);
    box-shadow: 0 35px 85px rgba(0,0,0,.38);
}

.project-card-pro:hover::before {
    opacity: 1;
}

/* HIDE CARD NUMBERS */
.project-number {
    display: none !important;
}

/* ICON */
.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e30613, #145aa8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 16px 35px rgba(0,0,0,.30);
}

/* TITLE */
.project-card-pro h3 {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.55;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

/* DETAILS */
.project-details {
    position: relative;
    z-index: 2;
}

.project-details div {
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.13);
}

.project-details span {
    display: block;
    color: #ff3642;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
}

.project-details p {
    margin: 0;
    color: #dce7f5;
    font-size: 15px;
    line-height: 1.7;
}

/* PAGE NUMBERS */
.projects-page-numbers {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.project-page-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: .35s ease;
}

.project-page-btn.active,
.project-page-btn:hover {
    background: linear-gradient(135deg, #e30613, #145aa8);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    transform: translateY(-4px);
}

/* HIDE OLD TABLE DESIGN ONLY */
.projects-table-wrapper,
.projects-table {
    display: none !important;
}

/* RTL */
html[dir="rtl"] .project-card-pro {
    text-align: right;
}

html[dir="rtl"] .project-card-pro::after {
    right: auto;
    left: -55px;
}

/* ANIMATION */
@keyframes projectsPageFade {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 575px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-pro {
        min-height: auto;
        padding: 28px 22px;
        border-radius: 24px;
    }

    .project-card-pro h3 {
        font-size: 19px;
    }

    .project-icon {
        width: 54px;
        height: 54px;
        font-size: 21px;
    }

    .project-page-btn {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}




/* GALLERY */

.gallery-section {
    background: var(--blue-dark);
    color: #fff;
}

.gallery-card {
    height: 320px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 55px rgba(0,0,0,.3);
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.gallery-card:hover img,
.gallery-card:hover video {
    transform: scale(1.12);
}

.video-card span {
    position: absolute;
    inset: auto 20px 20px auto;
    background: var(--red);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
}

/* CONTACT */

.contact-section {
    background: #fff;
}

.contact-form {
    background: var(--light);
    padding: 35px;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
}

.form-control {
    min-height: 54px;
    border-radius: 14px;
    border: 1px solid #dce4ee;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(20,90,168,.15);
    border-color: var(--blue);
}

/* WHATSAPP */

.whatsapp-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    transition: .3s ease;
}

.whatsapp-btn:hover {
    color: #fff;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 18px 40px rgba(37,211,102,.45);
}

/* FOOTER */

.footer {
    background:
        linear-gradient(rgba(3,16,40,.95), rgba(3,16,40,.97)),
        url('../images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 85px 0 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(227,6,19,.18), transparent 30%);
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-logo {
    width: 190px;
    margin-bottom: 25px;
}

.footer-desc {
    color: #dbe4ff;
    line-height: 2;
    font-size: 16px;
}

.footer-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 28px;
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg,#145aa8,#ff1f2d);
    border-radius: 50px;
}

html[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.06);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: .35s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg,#145aa8,#ff1f2d);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

.footer-contact,
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact a,
.footer-links a {
    color: #dbe4ff;
    text-decoration: none;
    transition: .3s ease;
    font-size: 16px;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

.footer-contact i,
.footer-links i {
    color: #ff1f2d;
    margin-right: 10px;
}

html[dir="rtl"] .footer-contact i,
html[dir="rtl"] .footer-links i {
    margin-right: 0;
    margin-left: 10px;
}

/* LOCATION MAP */

.footer-location {
    margin-top: 0;
}

.location-map-box {
    display: block;
    text-decoration: none;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    transition: .4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.location-map-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0,0,0,.4);
}

.location-map-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: .5s ease;
}

.location-map-box:hover img {
    transform: scale(1.05);
}

.location-info {
    padding: 18px;
    background: linear-gradient(rgba(7,31,61,.95), rgba(7,31,61,.98));
}

.location-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 10px;
}

.location-info i {
    color: #ff1f2d;
    font-size: 18px;
}

.location-info p {
    color: rgba(255,255,255,.75);
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

html[dir="rtl"] .location-info span {
    flex-direction: row-reverse;
}

.footer-line {
    border-color: rgba(255,255,255,.08);
    margin: 55px 0 25px;
}

.footer-bottom p {
    margin: 0;
    color: #dbe4ff;
    font-size: 15px;
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMATIONS */

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

@keyframes electricGlow {
    from { opacity: .4; transform: scale(1); }
    to { opacity: .9; transform: scale(1.2); }
}

@keyframes changeWords {
    0% { content: "Reliable Electrical Solutions"; }
    33% { content: "Advanced Switchgear Panels"; }
    66% { content: "Smart Power Distribution"; }
    100% { content: "Reliable Electrical Solutions"; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes projectsPageFade {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .hero-title {
        font-size: 62px;
        line-height: 1;
    }

    .hero-text {
        font-size: 17px;
    }

    .footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    html[dir="rtl"] .footer-title::after {
        right: auto;
        left: 50%;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact a,
    .footer-links a {
        justify-content: center;
    }

    .location-info span {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-padding {
        padding: 70px 0;
    }

    .product-image-card {
        height: auto;
        min-height: auto;
    }

    .product-img {
        height: 220px;
    }

    .product-body {
        height: auto;
    }

    .gallery-card {
        height: 260px;
    }

    .projects-pages {
        min-height: 420px;
    }

    .projects-table {
        min-width: 950px;
    }

    .projects-table thead th,
    .projects-table tbody td {
        font-size: 13px;
        padding: 14px 10px;
    }

    .project-page-btn {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .location-map-box img {
        height: 160px;
    }
}