/* ============ Reset ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Tajawal", Arial, sans-serif;
    direction: rtl;
    background: #fff;
    color: #222;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

ul {
    padding-right: 20px;
}

/* ============ Navbar ============ */
header {
    background: linear-gradient(90deg, #002c3c, #004f67);
    padding: 0 15px;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 30px;
}

.logo img {
    margin-top: 10px;
    width: 150px;
}

/* Menu */
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #f8c200;
}

/* ============ Hero ============ */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 60px 80px 0 80px;
    background: url("../img/top_bg.png") no-repeat center center;
    background-size: contain;
    color: #fff;
    border-bottom: 5px solid #ececec;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 500;
    color: #002c3c;
    margin-bottom: 40px;
    line-height: 1.4;
}

.hero-text p {
    font-size: 22px;
    color: #555;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ============ Services ============ */
.services {
    text-align: center;
    padding: 60px 20px;
}

.services h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #002c3c;
}

.service-cards {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #002c3c, #004f67);
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    width: 200px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    display: block;
    margin: 0 auto 20px auto;
}

.card span {
    font-weight: 500;
    font-size: 17px;
    line-height: 1.3;
}

/* ============ CTA ============ */
.cta {
    display: flex;
    justify-content: space-evenly;
    background: linear-gradient(90deg, #002c3c, #004f67);
    text-align: center;
    padding: 30px 20px;
    color: #fff;
}

.cta-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    /* يخلي العناصر فوق بعض */
    align-items: center;
    /* يوسّط أفقياً */
    justify-content: center;
    /* يوسّط رأسياً */
    text-align: center;
    gap: 20px;
    /* مسافة بين العنوان والزر */
}

.cta-content h2 {
    font-size: 2rem;
}

.cta-content button {
    padding: 12px 15px;
    background: #bd9600;
    color: #eaeaea;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: Tajawal;
    border-radius: 25px;
}

/* ============ App Section ============ */
.app {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 80px;
}

.app-text {
    text-align: center;
}

.app-text h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #002c3c;
}

.app-text p {
    color: #555;
    font-size: 24px;
    font-weight: 500;
}

.app-text button {
    background: linear-gradient(90deg, #002c3c, #004f67);
    margin-top: 20px;
    padding: 12px 20px;
    color: #eaeaea;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: Tajawal;
    border-radius: 25px;

}

/* ============ Features / Slider ============ */
.features {
    background: #f8f8f8;
    padding: 60px 40px;
    text-align: center;
}

.features h2:not(.slide h2) {
    font-size: 2rem;
}

.features p {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}

.slide p {
    font-size: 18px;
    color: #002c3c;
}

.feature-slider {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Space between slides */
    flex-wrap: wrap;
    /* Allow wrapping to next row if there are many slides */
}

.slide {
    width: 320px;
    background: #eaeaea;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    text-align: center;
}

/* ============ Advantages ============ */
.advantages {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background: #fff;
}

.adv-item {
    width: 22%;
    text-align: center;
    font-size: 16px;
    color: #002c3c;
    font-weight: 600;
}

.adv-item h2 {
    line-height: 1.3;
    margin-bottom: 10px;
}

.adv-item p {
    font-weight: 400;
}

/* ============ Signup ============ */
.signup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 15px 25px;
    background: #f8f8f8;
    gap: 40px;
}

.signup-image {
    width: 45%;
    padding: 25px 60px 25px 15px;
    background: #fff;
}

.signup form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.signup form h2 {
    margin-bottom: 20px;
    color: #002c3c;
}

.signup form input,
.signup form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.signup form label {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.signup form .btn {
    background: #f8c200;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.signup form .btn:hover {
    background: #e0ad00;
}

.signup-image img {
    max-width: 300px;
}

/* ============ Footer ============ */
footer {
    background: #002c3c;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-columns {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-columns .col {
    margin: 10px;
    font-size: 14px;
}

footer p {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

/* Markets Hero Section */
.markets-hero {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5rem;
    background: #fff;
}

.markets-hero-content {
    max-width: 50%;
}

.markets-hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    /* White text for contrast */
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: linear-gradient(90deg, #002c3c, #004f67);
    /* Gradient background */
    display: inline-block;
    /* Keep background only behind the text */
}

.markets-hero-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.markets-hero-list {
    list-style: none;
    padding: 0;
}

.markets-hero-list li {
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
    position: relative;
}

.markets-hero-list li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: #008080;
}

.markets-hero-image img {
    max-width: 450px;
    height: auto;
}

/* Markets Crypto Section */
.markets-crypto {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 300px;
    padding: 0 5%;
    background: linear-gradient(90deg, #002c3c, #004f67);
    color: #fff;
}

.markets-crypto-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.markets-crypto-stats {
    display: flex;
    gap: 2rem;
}

.markets-crypto-stats div {
    text-align: center;
}

.markets-crypto-stats h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.markets-crypto-image img {
    max-width: 350px;
    height: auto;
}

/* ================= Stock Investments Section ================= */
.stock-investments {
    padding: 7rem 3rem;
    background-color: #fff;
}

.stock-investments-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #003c4a;
    font-weight: 700;
}

.stock-investments-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.stock-investments-content {
    flex: 1;
    max-width: 40%;
}

.stock-investments-text, .markets-list, .currency-content-text {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}

.stock-investments-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    /* pill style */
    background: linear-gradient(90deg, #002c3c, #004f67);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.stock-investments-btn:hover {
    opacity: 0.9;
}

.stock-investments-image {
    flex: 1;
    text-align: center;
    max-width: 50%;
}

.stock-investments-image img {
    max-width: 100%;
    height: auto;
}



/* ============ Responsive Design ============ */

/* للأجهزة التابلت والموبايل (عرض أقل من 992px) */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px 20px 0 20px;
        gap: 40px;
    }

    .app {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }

    .app-image img {
        max-width: 220px;
        margin-bottom: 20px;
    }

    .signup {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
    }

    .signup-image img {
        max-width: 220px;
        margin-top: 20px;
    }

    .signup-image {
        width: 100%;
        padding: 15px 0 0;
    }

    .signup-image img {
        display: block;
        margin: auto;
    }

    .advantages {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 20px;
    }

    .adv-item {
        width: 100%;
        margin: 10px 0;
    }

    .footer-columns {
        flex-direction: column;
        text-align: center;
    }

    .markets-hero {
        flex-direction: column;
        text-align: right;
    }

    .markets-hero img {
        max-width: 100%;
        padding-right: 12px;
    }

    .markets-hero-content {
        max-width: 100%;
        padding: 0 2rem;
    }

    .markets-hero-content h2 {
        font-size: 1.6rem;
    }

    .stock-investments-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem
    }

    .stock-investments-content {
        max-width: 100%;
    }

    .stock-investments-title {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .stock-investments-text {
        font-size: 0.95rem;
    }
    
    .markets-list {
        font-size: 1rem;
        text-align: right;
        margin-right: 30px;
    }

    .stock-investments-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    h2 {
        text-align: center;
        font-size: 1.2rem;
    }

    .navbar {
        padding: 5px 15px;
        justify-content: space-between;
    }

    .logo {
        order: 1;
        /* اللوجو يمين */
    }

    .menu-icon {
        display: block;
        order: 2;
        /* المينيو شمال */
        color: #fff;
    }

    .nav-links {
      display: none;
      flex-direction: column;
      background: #fff; /* or your background */
      position: absolute;
      top: 60px;
      left: 0;
      width: 200px;
      padding: 10px;
      box-shadow: 3px 3px 7px silver;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        color: #004771;
    }

    .hero-text h1 {
        margin-bottom: 0;
    }

    .features h2 {
        line-height: 1.3;
    }

    .features p {
        font-size: 20px;
        margin: 10px 0;
    }

    .stock-investments {
        padding: 4rem 20px;
    }

    .stock-investments-image {
        max-width: 100%;
    }

    .slide img {
        max-width: 100%;
    }
    .app-text p {
        font-size: 20px;
    }
}

/* للموبايل الصغير (عرض أقل من 576px) */
@media (max-width: 576px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
        text-align: center;
    }

    .services h2,
    .features h2,
    .cta h2,
    .app-text h2,
    .signup form h2 {
        font-size: 20px;
    }

    .card {
        min-width: 75%;
    }

    .slide {
        min-width: 100%;
    }

    .cta {
        flex-direction: column-reverse;
        padding: 40px 20px;
    }

    .cta .btn {
        width: 100%;
    }

    .cta img {
        display: block;
        margin: auto;
    }

    .cta-content {
        width: 100%;
        margin-top: 25px;
    }

    .signup form {
        width: 100%;
        padding: 20px;
    }

    .markets-hero {
        padding: 2rem 0;
        gap: 10px;
    }

    .markets-hero-content h2 {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }

    .markets-hero-content p {
        font-size: 0.9rem;
    }

    /* Crypto Section */
    .markets-crypto {
        height: auto;
        padding: 4rem 20px;
    }

    .markets-crypto h3 {
        font-size: 1.4rem;
    }

    .markets-crypto,
    .markets-crypto-stats {
        flex-direction: column;
        /* stack stats vertically */
        align-items: center;
    }

    .markets-crypto .crypto-stat {
        width: 100%;
        max-width: 300px;
    }

    .markets-crypto img {
        max-width: 120px;
    }

    .markets-crypto-text h2 {
        margin: 2rem 10px;
        font-size: 1.5rem;
    }
}

/* Currency Trading Section */
.currency-trading {
    padding: 60px 20px;
    background-color: #f2f2f2;
    /* light gray background */
    direction: rtl;
    /* ensure Arabic alignment */
}

.currency-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* allows responsive wrapping */
}

.currency-image {
    flex: 1;
    text-align: center;
}

.currency-image img {
    max-width: 100%;
    height: auto;
}

.currency-content {
    flex: 1;
    padding: 20px;
}

.currency-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #003d52;
}

/* Responsive Design */
@media (max-width: 768px) {
    .currency-container {
        flex-direction: column;
        text-align: center;
    }

    .currency-content {
        padding: 20px 0;
    }
}

/* Metal Trading Section */
.metal-trading {
    padding: 4rem 20px;
    background: #fff;
    direction: rtl;
    /* Right-to-left for Arabic */
}

.metal-trading .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* Make it responsive */
}

.metal-content {
    flex: 1;
    min-width: 280px;
}

.metal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #002c3c;
}

.metal-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

.metal-content .btn {
    display: inline-block;
    padding: 12px 24px;
    background: #004f67;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.metal-content .btn:hover {
    background: #002c3c;
}

.metal-image {
    flex: 1;
    text-align: center;
    min-width: 280px;
}

.metal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.islamic-account {
    background: #033d4f;
    color: #fff;
    padding: 60px 20px 0 20px;
}

.islamic-account h2 {
    text-align: right;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 40px;
}

.islamic-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.islamic-text {
    max-width: 50%;
    line-height: 1.8;
    text-align: justify;
    padding: 0 10px 0 20px;
}

.islamic-text p, .islamic-text ul {
    font-weight: 500;
    margin-bottom: 10px;
}

.islamic-image img {
    width: 85%;
    height: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .islamic-text {
        max-width: 100%;
    }

    .islamic-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .islamic-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .islamic-account {
        padding: 40px 20px;
    }

    .islamic-account h2 {
        line-height: 1.3;
        font-size: 1.5rem;
        text-align: center;
        margin: 30px 0;
    }

    .islamic-image {
        margin-top: 20px;
    }

    .islamic-image img {
        width: 100%;
        margin-bottom: 20px;
    }

}

/* Contact Section */
.contact {
    background: url("../img/contact-bg.png") no-repeat center center/cover;
    padding: 80px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact .container {
    max-width: 900px;
}

.contact-text {
    max-width: 60%;
}

.contact-text h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-text p {
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-form {
    background: linear-gradient(90deg, #002c3c, #004f67);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 7px 0px 5px 7px silver;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}

.form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    background: #004f67;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #006f90;
}

.contact-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0;
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 35px 20px 20px 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: white;
}

.phone .icon-wrapper {
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
}

.whatsapp .icon-wrapper {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-info .icon-wrapper {
    background: linear-gradient(135deg, #fd746c 0%, #ff9068 100%);
}

.contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-item p {
    font-size: 1.1rem;
    color: #7f8c8d;
    direction: ltr;
    margin-top: 5px;
}

.note {
    text-align: center;
    padding: 20px;
    background-color: #f1f2f6;
    font-size: 1.1rem;
    color: #636e72;
    border-top: 1px solid #dfe6e9;
}

@media (max-width: 768px) {
    .contact-icons {
        gap: 20px;
    }
}

/* Responsive for Contact Section */
@media (max-width: 992px) {
    .contact {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 20px;
    }

    .contact-text {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .contact-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-text h2 {
        font-size: 1.8rem;
    }

    .contact-text p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 40px 15px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form h2 {
        font-size: 20px;
    }
    
    .contact .container {
        width: 90%;
    }
    .contact-icons {
        flex-direction: column;
    }
    .contact-item {
        width: 85%;
        margin: auto;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        padding: 10px 12px;
    }

    .contact-form button {
        font-size: 16px;
        padding: 12px;
    }
}

.about {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* allows wrapping on small screens */
}

.about .team img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  text-align: right;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  text-align: right;
}

.features {
        padding: 80px 0;
        background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
        direction: rtl;
    }
    
    .features .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .section-title {
        text-align: center;
        font-size: 2.8rem;
        color: #2c3e50;
        margin-bottom: 60px;
        font-weight: 700;
        position: relative;
        padding-bottom: 20px;
    }
    
    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 100px;
        height: 5px;
        background: linear-gradient(to right, #3498db, #2c3e50);
        border-radius: 3px;
    }
    
    .features-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .feature-card {
        flex: 1;
        min-width: 230px;
        max-width: 250px;
        background: #e5e5e5;
        border-radius: 15px;
        padding: 35px 20px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 25px;
        font-size: 28px;
        color: white;
    }
    
    .feature-icon img {
        width: 80px;
    }
    
    /*.feature-card:nth-child(1) .feature-icon {*/
    /*    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);*/
    /*}*/
    
    /*.feature-card:nth-child(2) .feature-icon {*/
    /*    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);*/
    /*}*/
    
    /*.feature-card:nth-child(3) .feature-icon {*/
    /*    background: linear-gradient(135deg, #7474BF 0%, #348AC7 100%);*/
    /*}*/
    
    /*.feature-card:nth-child(4) .feature-icon {*/
    /*    background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);*/
    /*}*/
    
    .feature-title {
        font-size: 1.3rem;
        color: #2c3e50;
        margin-bottom: 20px;
        font-weight: 500;
    }
    
    .feature-content p {
        font-size: 1rem;
        color: #34495e;
        line-height: 1.5;
        margin: 0;
        text-align: center;
    }
    
    @media (max-width: 1200px) {
        .features-grid {
            gap: 25px;
        }
        
        .feature-card {
            min-width: 250px;
        }
    }
    
    @media (max-width: 992px) {
        .features-grid {
            gap: 20px;
        }
        
        .feature-card {
            min-width: calc(50% - 20px);
            max-width: calc(50% - 20px);
        }
    }
    
    @media (max-width: 768px) {
        .features {
            padding: 60px 20px;
        }
        
        .section-title {
            font-size: 2.2rem;
            margin-bottom: 40px;
        }
        
        .feature-card {
            min-width: 90%;
            max-width: 90%;
        }
        
        .feature-title {
            font-size: 1.4rem;
        }
        
        .feature-content p {
            font-size: 1rem;
        }
    }
    
    @media (max-width: 480px) {
        .section-title {
            font-size: 1.9rem;
        }
        
        .feature-card {
            padding: 25px 20px;
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            font-size: 24px;
        }
    }
    
    
/* Platforms */

.platforms {
  width: 100%;
  margin: auto;
  padding: 0 0 40px 0;
}

.platform .text {
    font-weight: 500;
    max-width: 50%;
    font-size: 18px;
    line-height: 2;
}

.platform .text h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text ul {
    margin-right: 20px;
}

.flex-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 5%;
}

.flex-section .image {
  text-align: left;
  max-width: 50%;
}

#platforms-sec-1 {
    background: #f2f2f2;
}

#platforms-sec-2 .image {
    text-align: right;
}

#platforms-sec-2 img {
    max-width: 100%;
}

#platforms-sec-3 {
    background: linear-gradient(90deg, #002c3c, #004f67);
    color: #fff;
    padding: 40px 5% 0 5%;
}

#platforms-sec-3 img {
    max-width: 100%;
}

.flex-section .image img {
  max-width: 80%;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .flex-section {
    flex-direction: column;
    text-align: center;
  }
  .flex-section .text {
    padding: 0;
    text-align: right;
    max-width: 100%;
  }
  .flex-section .image {
    text-align: center;
    margin-top: 20px;
    max-width: 100%;
  }
  #platforms-sec-1 {
      flex-direction: column-reverse;
  }
  #platforms-sec-1 h2, platforms-sec-2 h2 {
      margin-top: 20px;
  }
  #platforms-sec-3 .text {
      text-align: center;
  }
}

.accounts {
  background: url("../img/top_bg.png") no-repeat;
  background-position: center;
  background-size: cover;
  padding: 100px 20px;
  text-align: center;
  color: #2c3e50;
}

.accounts h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.accounts p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
    .accounts {
        background-size: contain;
        background-position: center;
        padding: 50px 20px;
    }
    .accounts h2 {
        line-height: 1.3;
    }
}

.accounts-compare {
  background: 
    linear-gradient(90deg, rgba(0,44,60,0.95), rgba(0,79,103,0.95)),
    url("../img/coins-bg.png") no-repeat center center;
  background-size: cover;
  background-blend-mode: overlay;
  padding: 60px 20px;
  color: #fff;
  direction: rtl;
}

.accounts-compare .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.accounts-table {
  flex: 1;
}

.accounts-image {
  flex: 1;
  text-align: center;
}

.accounts-image img {
  max-width: 100%;
  height: auto;
}

/* Table Styling */
.accounts-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #fff;
  color: #000;
  overflow: hidden;
}

.accounts-table th {
  background: #004357;
  color: #fff;
  padding: 15px;
  font-size: 1.1rem;
}

.accounts-table td {
  padding: 15px;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.accounts-table tr:nth-child(even) td {
  background: #fff;
}

/* Buttons */
.accounts-buttons {
  margin-top: 25px;
  text-align: center;
}

.accounts-buttons .btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin: 7px 10px;
  transition: 0.3s;
}

.accounts-buttons .btn.primary {
  background: #fff;
  color: #004357;
}

.accounts-buttons .btn.primary:hover {
  background: #eee;
}

.accounts-buttons .btn.secondary {
  background: #004357;
  color: #fff;
  border: 2px solid #fff;
}

.accounts-buttons .btn.secondary:hover {
  background: #006080;
}

/* Responsive */
@media (max-width: 992px) {
  .accounts-compare .container {
    flex-direction: column;
    text-align: center;
  }

  .accounts-image {
    margin-top: 30px;
  }
}

.how-to-start {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px;
  gap: 40px;
  direction: rtl;
}

.how-text {
  flex: 1;
  text-align: center;
}

.how-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.how-text p {
  font-size: 16px;
  margin-bottom: 20px;
}

.how-text .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #004f67;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
}

.how-steps {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.step {
  max-width: 200px;
}

.step img {
  max-width: 50px;
  margin-bottom: 10px;
}

.separator {
  max-width: 60px;
}

@media (max-width: 768px) {
  .how-to-start {
    flex-direction: column;
    text-align: center;
  }
  
  .how-steps {
      gap: 50px;
  }

  .how-text {
    margin-bottom: 30px;
  }

  .how-steps {
    flex-direction: column;
    gap: 30px;
  }

  .separator {
      display: none;
  }
}
