* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #0c1a2e;
    color: #FFFFFF;
    transition: all 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 0;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #2A3A4A #2974d1;
}

body a {
    color: #E6E6E6;
    text-decoration: none;
    transition: all 0.3s ease;
}

body a:hover {
    color: #94C53F;
}

.img_about_gopix {
    max-height: 90vh;
}

body.light-mode {
    background: #FFFFFF;
    color: #202840;
}

body.light-mode a {
    color: #202840;
}

body.light-mode a:hover {
    color: #94C53F;
}

/* Header Styles */
.main-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-heading ul {
    display: flex;
    gap: 1rem;
    margin: 0;
}

.btn-primary {
    background: #94C53F;
    color: #091821 !important;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to bottom right, #94C53F, #010e1f);
    color: #E6E6E6 !important;
}

.btn-circle {
    background: #68832D !important;
    color: #E6E6E6 !important;
}

.light-mode .btn-primary {
    background: #94C53F !important;
    color: #fff !important;
}

.light-mode .btn-primary:hover {
    background: #7ca831 !important;
}

.color-liner {
    background: linear-gradient(to bottom right, #010e1f, #2A3A4A);
    color: #E6E6E6;
    border: none;
    transition: all 0.3s ease;
}

.color-liner:hover {
    background: linear-gradient(to bottom right, #2A3A4A, #010e1f);
}

.light-mode .color-liner {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    color: #010e1f;
}

.light-mode .color-liner:hover {
    background: linear-gradient(to bottom right, #E8ECEF, #F7F9FB);
}

.dropdown-menu {
    max-height: 300px;
    /* width: 200px; */
    overflow-y: scroll;
    background: linear-gradient(to bottom right, #010e1f, #2A3A4A);
    color: #E6E6E6;
    transition: all 0.3s ease;
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px !important;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #94C53F;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #2A3A4A;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #94C53F;
}

.dropdown-menu::-webkit-scrollbar-track:hover {
    background: #2A3A4A;
}

.dropdown-menu::-webkit-scrollbar-corner {
    background: #2A3A4A;
}

.dropdown-menu:hover {
    background-color: #141e29;
}

.light-mode .dropdown-menu {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    color: #010e1f;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #E6E6E6;
    transition: color 0.3s ease;
}

.light-mode .dropdown-item {
    color: #202840;
}

.dropdown-item img {
    width: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.hero h1 {
    font-size: 2rem;
    font-weight: bold;
    background: #A7CA35;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero h3 {
    /* font-size: 3rem; */
    font-weight: bold;
    background: #94C53F;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.light-mode .hero h1 {
    background: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .hero h3 {
    background: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

.light-mode .hero p {
    color: #000;
}

.oil_image {
    max-height: 70% !important;
}

/* Features Section */
.section-title {
    text-align: center;
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    color: #E6E6E6;
    transition: color 0.3s ease;
}

.light-mode .section-title {
    color: #000;
}

/* .features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0 2rem;
  max-width: 100%;
  overflow-x: hidden;
} */

.feature-box_height {
    height: 22rem;
    text-align: center;
}

.feature-box {
    background: #2A3A4A;
    border-radius: 15px;
    padding: 1rem;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.light-mode .feature-box {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
    font-size: 1.3em;
    color: #94C53F;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.light-mode .feature-box h3 {
    color: #000;
}

.feature-box p {
    color: #E6E6E6;
    font-size: 0.85em;
    line-height: 1.2;
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.light-mode .feature-box p {
    color: #010e1f;
}

.arrow {
    display: inline-block;
    transform: rotate(-45deg);
    color: #94C53F;
    font-size: 24px;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.light-mode .arrow {
    color: #000;
}

.feature-box img {
    width: 170px;
    /* height: 100px; */
    margin: 10px auto;
    display: block;
    max-width: 100%;
}


.swiper_slider {
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    min-height: 400px;
    background: #2A3A4A;
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.light-mode .swiper_slider {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slide-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.slide-image {
    flex: 0 0 50%;
    height: 40vh;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text h2 {
    font-size: 1.8em;
    color: #E6E6E6;
    margin: 0 0 10px;
    transition: color 0.3s ease;
}

.light-mode .slide-text h2 {
    color: #010e1f;
}

.slide-text p {
    font-size: 1em;
    color: #94C53F;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.light-mode .slide-text p {
    color: #94C53F;
}

.slide-text ul {
    list-style: none;
    padding: 0;
}

.slide-text ul li {
    font-size: 0.9em;
    color: #E6E6E6;
    margin: 5px 0;
    transition: color 0.3s ease;
}

.light-mode .slide-text ul li {
    color: #010e1f;
}

.content ul li::before {
    content: "✔";
    color: #94C53F;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.slide-text ul li::before {
    content: "✔";
    color: #94C53F;
    margin-right: 5px;
    transition: color 0.3s ease;
}

.light-mode .slide-text ul li::before {
    color: #94C53F;
}

/* أنماط عامة للأزرار داخل swiper1 فقط */
.swiper1 .swiper-button-prev,
.swiper1 .swiper-button-next {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(to bottom right, #010e1f, #94C53F);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E6E6E6;
    cursor: pointer;
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%);
    transition: background 0.3s ease;
    z-index: 10;
}

/* ضبط المواقع بناءً على الاتجاه (RTL/LTR) لـ swiper1 فقط */
[dir="ltr"] .swiper1 .swiper-button-prev {
    left: 10px;
    right: auto;
}

[dir="ltr"] .swiper1 .swiper-button-next {
    right: 10px;
    left: auto;
}

[dir="rtl"] .swiper1 .swiper-button-prev {
    right: 10px;
    left: auto;
}

[dir="rtl"] .swiper1 .swiper-button-next {
    left: 10px;
    right: auto;
}

/* وضع Light Mode لـ swiper1 فقط */
.light-mode .swiper1 .swiper-button-next,
.light-mode .swiper1 .swiper-button-prev {
    background: linear-gradient(to bottom right, #E8ECEF, #94C53F);
    color: #010e1f;
}

/* Media query للشاشات الصغيرة لـ swiper1 فقط */
@media (max-width: 600px) {

    .swiper1 .swiper-button-prev,
    .swiper1 .swiper-button-next {
        width: 1rem;
        height: 1rem;
        background: transparent;
        color: #010e1f;
        font-weight: bold;
    }
}

/* Style the arrow icons لـ swiper1 فقط */
.swiper1 .swiper-button-prev::after,
.swiper1 .swiper-button-next::after {
    font-family: swiper-icons;
    font-size: 1em;
}

/* إزالة القواعد العامة اللي كانت تؤثر على كل Swiper */
.swiper-button-prev,
.swiper-button-next {
    /* Remove this block or leave it empty if not needed elsewhere */
}

.swiper1 .swiper-button-prev {
    left: 10px;
    right: auto;
}

.swiper1 .swiper-button-next {
    right: 10px;
    left: auto;
}

/* General styling for navigation buttons */
.swiper-button-prev,
.swiper-button-next {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(to bottom right, #010e1f, #94C53F);
    /* Matches the gradient in the image */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E6E6E6;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    top: auto;
    transition: background 0.3s ease;
    z-index: 10;
}

/* Media query for smaller screens */
@media (max-width: 600px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 1rem;
        height: 1rem;
        background: transparent;
        color: #010e1f;
        font-weight: bold;
    }
}

/* Light mode styling */
.light-mode .swiper-button-next {
    background: linear-gradient(to bottom right, #E8ECEF, #94C53F);
    color: #010e1f;
}

.light-mode .swiper-button-prev {
    background: linear-gradient(to bottom right, #E8ECEF, #94C53F);
    color: #010e1f;
}

.font_color_swiper {
    color: #213626;
}

.font_color_swiper1 {
    color: #94C53F;
}

.font_to_paragraph_swiper1 {
    color: #213626;
}

h3.font_to_paragraph_swiper,
p.font_to_paragraph_swiper,
h3.font_color_swiper {
    font-size: 1em;
}

h5.font_color_swiper {
    font-size: 0.8em;
}

@media (max-width: 600px) {

    h1.font_color_swiper,
    h1.font_color_swiper1 {
        font-size: 20px !important;
    }

    h3.font_to_paragraph_swiper {
        font-size: 16px !important;
    }

    h3.font_to_paragraph_swiper1 {
        font-size: 16px !important;
    }

    h5.font_to_paragraph_swiper1 {
        font-size: 16px !important;
    }
}

@media (max-width: 400px) {

    h1.font_color_swiper,
    h1.font_color_swiper1 {
        font-size: 14px !important;
    }

    h3.font_to_paragraph_swiper {
        font-size: 10px !important;
    }

    h3.font_to_paragraph_swiper1 {
        font-size: 10px !important;
    }

    h5.font_to_paragraph_swiper1 {
        font-size: 8px !important;
    }
}

.font_to_paragraph_swiper {
    color: #9abb2c;
}

/* .swiper-button-prev {
  right: 45% ;
}

.swiper-button-next {
  left: 45% ;
} */

/* Style the arrow icons */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-family: swiper-icons;
    font-size: 1em;
}

/* Ensure RTL support */
html[dir="rtl"] .swiper-button-prev,
html[dir="rtl"] .swiper-button-next {
    transform: none;
}

/* Construction Site Works Section */
.animat {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    z-index: 1;
    overflow: hidden;
    transition: color 0.3s ease;
}

.light-mode .animat {
    color: #010e1f !important;
}

.animat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    height: 2px;
    width: 0;
    background: #94C53F;
    animation: underline 1.5s ease-out forwards;
    transition: background 0.3s ease;
}

.light-mode .animat::after {
    background: #94C53F;
}

@keyframes underline {
    from {
        width: 0;
    }

    to {
        width: 50%;
    }
}

/* Default (Dark Mode) لزر الـ offcanvas */
#offcanvas {
    color: #fff;
}

#offcanvas .bi-list {
    color: inherit;
    fill: #fff;
    transition: color 0.3s ease, fill 0.3s ease;
}

/* Light Mode لزر الـ offcanvas */
.light-mode #offcanvas {
    color: #010e1f !important;
}

.light-mode #offcanvas .bi-list {
    color: inherit !important;
    fill: #010e1f !important;
    transition: color 0.3s ease, fill 0.3s ease;
}

.mous_hover_btn {
    cursor: pointer;
}

/* Dark Mode للـ offcanvas */
.offcanvas {
    background: linear-gradient(to bottom right, #010e1f, #2A3A4A);
    color: #E6E6E6;
}

.offcanvas .offcanvas-title,
.offcanvas .list-unstyled a {
    color: #E6E6E6;
}

/* .offcanvas .btn-primary {
  background: linear-gradient(to bottom right, #010e1f, #94C53F);
  color: #E6E6E6;
} */

/* Light Mode للـ offcanvas */
.light-mode .offcanvas {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    color: #010e1f;
}

.light-mode .offcanvas .offcanvas-title,
.light-mode .offcanvas .list-unstyled a {
    color: #010e1f;
}

/* .light-mode .offcanvas .btn-primary {
  background: linear-gradient(to bottom right, #E8ECEF, #94C53F);
  color: #010e1f;
} */

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.button-animat {
    background: #2A3A4A;
    color: #E6E6E6;
    font-size: 1.2em;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 100%;
}

.Our_values {
    height: 8rem;
}

.Our_values p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vision-card {
    width: 270px;
    height: 270px;
    background-color: #1e2a44;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #016C36;
}

.vision-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #016c3788;
}

.vision-card h3 {
    color: #A7CA36;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vision-card p {
    color: #e5e7eb;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.light-mode .vision-card {
    background-color: #f5f8eb;
    border: 2px solid #94C53F;
}

.light-mode .vision-card:hover {
    box-shadow: 0 0 20px #94C53F;
}

.light-mode .vision-card h3 {
    color: #010e1f;
}

.light-mode .vision-card p {
    color: #010e1f;
}

.light-mode .button-animat {
    background: linear-gradient(to right bottom, #f5f8eb, #E8ECEF);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    color: #010e1f;
}

.section-bg {
    background: #2A3A4A;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.light-mode .section-bg {
    background: linear-gradient(to right bottom, #f5f8eb, #E8ECEF);

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.dropdown-toggle {
    color: #fff;
}

.light-mode .dropdown-toggle {
    color: #010e1f !important;
}

.card_About_Us p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
}

.table thead th {
    background-color: #272727;
    color: #94C53F;
    border-color: #2d3e5e;
}

.text-product {
    color: #94C53F !important;
}

.light-mode .table thead th {
    background-color: #94C53F;
    color: #010e1f;
    border-color: #809c22;
}

.table tbody tr {
    color: #e5e7eb;
}

.light-mode .table tbody tr {
    color: #010e1f !important;
}

.list-group-item {
    color: #e5e7eb;
    background-color: transparent;
}

.light-mode .list-group-item {
    background-color: #E8ECEF;
    color: #010e1f;
    border-color: #E8ECEF;
}

.list-group-item i {
    color: #94C53F;
    margin-left: 0.5rem;
}

.light-mode .list-group-item i {
    color: #94C53F;
}

.button-animat:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);

}

/* Our Products Section */
p.lead {
    font-size: 1.2em;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.light-mode p.lead {
    color: #000;
}

.card {
    background-color: transparent;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 100%;
    height: 430px;
}

@media (max-width:750px) {
    .card-hotel {
        height: 380px;
    }
}

.light-mode .card {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.card p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.card img {
    width: 100%;
    height: 280px;
    /* object-fit: cover; */
}

.card-body {
    background-color: transparent;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.light-mode .card-body {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
}

.card-title {
    font-size: 1.5em;
    color: #E6E6E6;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.light-mode .card-title {
    color: #010e1f;
}

/* Contact Section */
.contact-section {
    background: #2A3A4A;
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.light-mode .contact-section {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
    padding: 2rem;
    background-color: #0c1a2e;
    transition: all 0.3s ease;
}

.light-mode .footer {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #2A3A4A;
    padding-bottom: 2rem;
    transition: border-color 0.3s ease;
}

.light-mode .footer-top {
    border-bottom: 1px solid #E8ECEF;
}

.footer-col h3 {
    margin-bottom: 1rem;
    color: #E6E6E6;
    transition: color 0.3s ease;
}

.light-mode .footer-col h3 {
    color: #010e1f;
}

.footer-newsletter {
    flex: 1;
    background: #2A3A4A;
    border-radius: 20px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.light-mode .footer-newsletter {
    background: linear-gradient(to right bottom, #F7F9FB, #E8ECEF);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-newsletter h3 {
    color: #E6E6E6;
    transition: color 0.3s ease;
}

.light-mode .footer-newsletter h3 {
    color: #010e1f;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.5rem;
    flex: 1;
    border: none;
    border-radius: 10px;
    background-color: #0c1a2e;
    color: #E6E6E6;
    transition: all 0.3s ease;
}

.light-mode .newsletter-form input {
    background-color: #F7F9FB;
    color: #010e1f;
    border: 1px solid #E8ECEF;
}

.newsletter-form button {
    background: #94C53F;
    color: #091821;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.light-mode .newsletter-form button {
    background: linear-gradient(to bottom right, #E8ECEF, #94C53F);
}

.newsletter-form button:hover {
    background: linear-gradient(to bottom right, #94C53F, #010e1f);
    color: #fff;
}

.light-mode .newsletter-form button:hover {
    background: linear-gradient(to bottom right, #94C53F, #E8ECEF);
}

.btn-img {
    background: linear-gradient(to right bottom, #010e1f, #2A3A4A);
}

.light-mode .btn-img {
    background: linear-gradient(to bottom right, #E8ECEF, #94C53F);
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.footer-bottom {
    border-top: 1px solid #2A3A4A;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.light-mode .footer-bottom {
    border-top: 1px solid #E8ECEF;
}

.social-icons i {
    margin: 0 0.5rem;
    font-size: 20px;
    cursor: pointer;
    color: #E6E6E6;
    transition: color 0.3s ease;
}

.light-mode .social-icons i {
    color: #819D36;
}

.social-icons i:hover {
    color: #94C53F;
}

.light-mode .social-icons i:hover {
    color: #010e1f;
}

/* Video Background */
.bg-video {
    z-index: -1;
    /* opacity: 0.8; */
    /* max-width: 100%; */
}

@media (max-width: 768px) {
    .bg-video {
        position: relative !important;
        z-index: -1;
    }

}

.vh-100 {
    min-height: 130vh !important;
}

/* How We Work Section
section.position-relative {
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  max-width: 100%;
} */

/* Content List */
.content ul li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #E6E6E6;
    transition: color 0.3s ease;
}

.light-mode .content ul li {
    color: #010e1f;
}

.content ul li::before {
    content: "✔";
    color: #94C53F;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.svg-icon path {
    fill: #94C53F;
}

.vh-90 {
    max-height: 90vh;
}

.dark-mode-img {
    display: block;
}

.light-mode-img {
    display: none;
}

.light-mode .dark-mode-img {
    display: none;
}

.light-mode .light-mode-img {
    display: block;
}

/* لانتقال سلس (اختياري) */
.dark-mode-img,
.light-mode-img {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.dark-mode-img[style*="none"],
.light-mode-img[style*="none"] {
    opacity: 0;
}

.rotating_image {
    max-width: 150px;
    max-height: 150px;
    animation: clipDown 2s ease-in-out infinite alternate;
}

/*لقص الصورة تدريجيا*/
@keyframes clipDown {
    0% {
        clip-path: inset(100% 0 0 0);
    }

    50% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(100% 0 0 0);
    }
}

.oil {
    max-height: 20rem !important;
}

.gas {
    max-height: 15rem !important;
}

.gold {
    max-height: 10rem !important;
}

.Contracting {
    max-height: 5rem !important;
}


.form-container {
    /* background: linear-gradient(to bottom right, #010e1f, #2A3A4A); */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
    transition: all 0.3s ease;
}

.light-mode .form-container {
    background: linear-gradient(to bottom right, #F7F9FB, #E8ECEF);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    font-size: 1.75rem;
    background: #A7CA35;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.light-mode h2 {
    background: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    flex: 0 0 48%;
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: bold;
    color: #E6E6E6;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.light-mode label {
    color: #010e1f;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    background: #2A3A4A;
    color: #E6E6E6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.light-mode input {
    background: #E8ECEF;
    color: #010e1f;
    border: 1px solid #E8ECEF;
}

input:focus {
    outline: none;
    /* background: linear-gradient(to bottom right, #94C53F, #2A3A4A); */
    color: #E6E6E6;
    box-shadow: 0 0 5px rgba(168, 204, 53, 0.8) !important;
}

.light-mode input:focus {
    /* background: linear-gradient(to bottom right, #94C53F, #E8ECEF); */
    color: #010e1f;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-group {
        flex: 0 0 100%;
    }
}

/* Animations */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section.animate {
    animation: fadeInUp 0.8s ease-out forwards !important;
}

.collapsible-btn {
    padding: 10px 15px;
    font-size: 1rem;
    color: #fff;
}

.light-mode .collapsible-btn {
    color: #010e1f;
}

.collapse {
    padding: 0;
    margin-right: 20px;
}

.collapse a {
    padding: 8px 20px;
    font-size: 0.9rem;
    display: block;
}

.planet-container {
    height: 600px;
    /* position: relative;
    display: flex;
    justify-content: center;
    align-items: center; */
}

.planet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 400px;
    height: auto;
}

.z-999 {
    z-index: 999;
}

@media (max-width:600px) {
    .width-midea {
        width: 70px !important;
        height: 70px !important;
    }
}
@media (max-width:500px) {
    .width-midea {
        width: 60px !important;
        height: 60px !important;
    }
}
@media (max-width:450px) {
    .width-midea {
        width: 50px !important;
        height: 50px !important;
    }
}
.width-midea {
    width: 80px ;
    height: 80px ;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    height: auto;
}

.ring1 {
    animation: rotate 2s linear infinite;
}

.ring2 {
    animation: rotate 2s linear infinite reverse;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(10deg);
    }
}

/* Media Queries للشاشات الصغيرة */
@media (max-width: 768px) {
    .planet-container {
        height: 400px;
    }

    .planet {
        width: 250px;
    }

    .ring {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .planet-container {
        height: 300px;
    }

    .planet {
        width: 200px;
    }

    .ring {
        width: 250px;
    }
}
