/* Navigation Bar Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Cairo', 'Amiri', Arial, sans-serif;
    line-height: 1.6;
}

.navbar {
    background-color: #04013c;
    padding: 0.1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left side - Navigation Links */
.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ecf0f1;
    text-decoration: none;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.1rem 0.5rem;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}


.btn1 {
    background-color: #766341;
}

.btn2 {
    background-color: #61da5b;
}

.btn2:hover {
    color: black;
    background-color: #ffffff;
}

.btn1:hover {
    background-color:transparent;
}

.btn3:hover {
    color: black;
    background-color: #ffffff;
}

/* Partner Registration Dropdown */
.partner-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    z-index: 1100;
    box-shadow: 0 10px 30px rgba(0, 10, 69, 0.15);
    padding: 2rem;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    pointer-events: none;
}

.partner-dropdown[aria-hidden="false"],
.partner-dropdown.open {
    max-height: 2000px;
    opacity: 1;
    pointer-events: auto;
}

.partner-dropdown-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background: linear-gradient(135deg, #01155a 0%, #391e56 100%);
    padding: 2rem;
    border-radius: 12px;
    min-height: auto;
    position: relative;
}

.partner-close-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
}

.partner-close-btn:hover {
    color: #d4af37;
}

.partner-text-content {
    color: white;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.partner-form {
    grid-column: 1;
    grid-row: 1;
}

.partner-dropdown-content > div:not(.partner-form) {
    text-align: right;
}
.partner-form h3 {
    font-size: 1.4rem;
    color: #011930;
    margin-bottom: 0.5rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.partner-form header {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8b5cf6;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    letter-spacing: 0.3px;
} 

.form-subtitle {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    text-align: left;
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 0.75rem;
    text-align: left;
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
}

.input-with-button input {
    flex: 1;
}

.otp-btn {
    background: #d4af37;
    color: #011930;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.otp-btn:hover {
    background: #c19b2f;
}

.form-agreement {
    background: #fff;
    padding: 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
}

.form-agreement p {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.4;
    text-align: right;
}

.form-submit-btn {
    width: 100%;
    padding: 0.6rem;
    background: #011930;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.form-submit-btn:hover {
    background: #d4af37;
    color: white;
}

@media (max-width: 768px) {
    .partner-dropdown {
        padding: 1rem;
    }
    
    .partner-dropdown-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .partner-text-content {
        order: 1;
        grid-column: 1;
        grid-row: auto;
    }
    
    .partner-form {
        order: 2;
        padding: 1rem;
        grid-column: 1;
        grid-row: auto;
    }
    
    .partner-form header {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .partner-dropdown-content h2 {
        font-size: 1.4rem;
    }
    
    .partner-text-content {
        text-align: center;
        gap: 0.75rem;
    }
    
    .partner-text-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .partner-text-content p {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .partner-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.75rem !important;
    }
    
    .partner-text-content .slide-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 0.45rem;
    }
    
    .form-group label {
        font-size: 0.55rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.35rem;
        font-size: 0.45rem;
    }
    
    .input-with-button {
        flex-direction: column;
    }
    
    .otp-btn {
        width: 100%;
    }
    
    .form-agreement {
        padding: 0.75rem;
    }
    
    .form-agreement p {
        font-size: 0.7rem;
    }
    
    .form-submit-btn {
        padding: 0.55rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partner-dropdown {
        padding: 0.2rem;
    }
    
    .partner-dropdown-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    .partner-text-content {
        order: 1;
        grid-column: 1;
        grid-row: auto;
    }
    
    .partner-form {
        order: 2;
        padding: 0.75rem;
        border-radius: 12px;
        grid-column: 1;
        grid-row: auto;
    }
    
    .partner-form header {
        font-size: 1rem;
        margin-bottom: 0.45rem;
    }
    
    .partner-text-content {
        gap: 0.5rem;
    }
    
    .partner-text-content h2 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .partner-text-content p {
        font-size: 0.7rem;
        line-height: 1.4;
    }
    
    .partner-subtitle {
        font-size: 0.65rem;
        margin-bottom: 0.5rem !important;
    }
    
    .partner-text-content .slide-btn {
        margin: 10px;
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .form-group label {
        font-size: 0.6rem;
        margin-bottom: 0.1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.4rem;
        font-size: 0.6rem;
    }
    
    .form-agreement p {
        font-size: 0.45rem;
    }
    
    .form-submit-btn {
        padding: 0.7rem;
        font-size: 0.65rem;
    }
}

/* Right side - Phone Numbers */
.phone-numbers {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.separator {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.7;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
   
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}



.phone-icon {
    font-size: 0.8rem;
    color: #ecf0f1;
    transition: all 0.3s ease;
}



.phone-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #f39c12;
    /* text-shadow: 0 2px 4px rgba(243, 156, 18, 0.4); */
}





/* Second Navigation Bar */
.second-navbar {
    background-color: #ffffff;
    padding: 0.6rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #34495e;
}

.second-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dropdown panel for second navbar ("من نحن") */
.second-nav-container { position: relative; }
.second-dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    z-index: 1200;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    max-height: 300px;
    overflow-y: auto;
}
.second-dropdown[aria-hidden="false"], .second-dropdown.open { display: block; }
.second-dropdown-inner p {
    color: #333;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}
.second-links-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.second-links-grid a {
    text-align: right;
    display: block;
    padding: 0.25rem 0;
    color: #0f1419;
    text-decoration: none;
}
.second-links-grid a:hover { color: #d4af37; }

/* Ensure link icons display consistently (works in RTL) */
.link-icon {
    color: #d4af37;
    margin-inline-start: 0.5rem;
    font-size: 1rem;
    vertical-align: middle;
}

/* Strong headings with icons inside dropdowns */
.second-links-grid .with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
   
    font-size: 1rem;
    color: #0f1419;
    margin-bottom: 0.4rem;
}
.second-links-grid .with-icon i {
    color: #d4af37;
    font-size: 1.05rem;
    /* logical spacing works for RTL and LTR */
    margin-inline-start: 0.4rem;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .second-dropdown { position: static; box-shadow: none; padding: 0.75rem 1rem; }
    .second-links-grid { 
        gap: 1rem;
        flex-direction: column;
        align-items: flex-end;
        margin-right: 0;
        margin-left: auto;
        margin-top: 1rem;
    }
    .second-links-grid > div {
        width: auto;
        text-align: right;
    }
}

/* Square about box on the right side of the dropdown */
.second-dropdown-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    /* place the about-box on the right side for RTL layout */
    flex-direction: row-reverse;
}
.about-box {
    flex: 0 0 260px;
    height: 260px;
    /* background: linear-gradient(180deg,#011930 0%, #022439 100%); */
    color: #000000;
    padding: 1rem;
    /* box-sizing: border-box; */
    /* border-radius: 8px; */
    /* box-shadow: 0 8px 20px rgba(1,25,48,0.35); */
    text-align: right;
    overflow: hidden;
}
.about-box p {
    color: #000000;
    font-size: 0.75rem;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 768px) {
    .second-dropdown-inner { flex-direction: column; }
    .about-box { width: 100%; height: auto; margin-bottom: 0.5rem; }
}

.second-nav-links {
    display: flex;
    gap: 1rem;
}

.second-nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.second-nav-link:hover {
   
    color: #f39c12;

   
}

.second-navbar .logo-container {
    display: flex;
    align-items: center;
}
/* hide top navbar logo by default (show only on mobile) */
.navbar .logo-container {
    display: none;
    z-index: 1000;
}

.nav-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}



/* Caption below logo */
.logo-tagline {
    font-size: 0.85rem;
    color: #667283;
    margin-top: 6px;
    text-align: center;
    width: 100%;
    font-weight: 600;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 600px;
    margin: 0;
    overflow: hidden;
}

/* Make slideshow height responsive */
@media (max-width: 1024px) {
    /* Ensure security image is square on tablets */
    .security-card .security-img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }
    .slideshow-container { height: 55vh; }
}
@media (max-width: 600px) {
    .slideshow-container { height: 50vh; }
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Specific blur effect for babel-iraq-1.jpg */
.slide-img[src*="babel-iraq-1.jpg"] {
    filter: brightness(0.7) blur(5px);
}

.chart-overlay {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
}

.trading-chart {
    width: 100%;
    height: 100%;
    background: rgba(15, 25, 57, 0.9);
    border-radius: 4px;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    opacity: 0;
    transition: all 0.8s ease;
}

/* Stack slide buttons and reduce text size on small screens */
@media (max-width: 768px) {
    /* Ensure security image is square on mobile */
    .security-card .security-img {
        width: 72px;
        height: 72px;
        object-fit: contain;
    }
    .slide-content { width: 90%; }
    .slide-content h4 { font-size: 1.4rem; }
    .slide-content h5 { font-size: 1rem; }
  
    .slide-btn, .slide-btn-secondary { display: block; width: 100%; box-sizing: border-box; margin: 0.4rem 0; }
    .slide-btn { margin-bottom: 0.6rem; }
}

@media (max-width: 480px) {
    .slide-content h4 { font-size: 1.1rem; }
    .slide-content h5 { font-size: 1rem; }
}

@media (max-width: 360px) {
    .slide-content h4 { font-size: 0.9rem; }
    .slide-content h5 { font-size: 1rem; }
}

.slide.active .slide-content {
    opacity: 1;
    animation: slideInText 1s ease forwards;
}

@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translate(-70%, -50%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slide-content h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
  
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1.2s ease 0.3s forwards;
    letter-spacing: -1px;
    color: #ffffff;
    line-height: 1.2;
}

.slide-content h5 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1.2s ease 0.4s forwards;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    font-family: 'Tajawal', Arial, sans-serif;
    margin: 0 auto 2.5rem auto;
    max-width: 600px;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1.2s ease 0.6s forwards;
    color: #e8e8e8;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.slide-btn {
    text-decoration: none;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0f1419;
    border: none;
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Cairo', Arial, sans-serif;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1.2s ease 0.9s forwards;
    margin: 0 0.5rem 0.5rem 0;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
}

.slide-btn-secondary {
    text-decoration: none;
    background: transparent;
    color: white;
    border: 2.5px solid #d4af37;
    padding: 0.5rem 1.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Cairo', Arial, sans-serif;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1.2s ease 1.1s forwards;
    margin: 0.5rem 0;
    display: inline-block;
    letter-spacing: 0.5px;
}

.slide-btn-secondary:hover {
    background: #d4af37;
    color: #0f1419;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    font-weight: 700;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    font-weight: 700;
}

.slide-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slide-arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-arrow:hover {
    background: rgba(212, 175, 55, 0.8);
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #d4af37;
}

/* Stats bar (below slideshow) */
.stats-bar {
    background: #4e5765;
    padding: 1rem 0.5rem;
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1 1 180px;
    min-width: 140px;
    text-align: center;
    color: #ecf0f1;
    padding: 0.6rem 1rem;
}
.stat-number {
    font-size: 1rem;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 0.25rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}
.stat-label {
    font-size: 0.65rem;
    color: rgba(236,240,241,0.9);
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-container { gap: 1rem; }
    /* Make the stats bar more compact and show two items per row on mobile */
    .stats-bar { padding: 0.5rem 0; }
    .stats-container { gap: 0.6rem; }
    .stat-item { flex: 1 1 48%; min-width: 48%; box-sizing: border-box; padding: 0.45rem 0.6rem; }
    .stat-number { font-size: 1.2rem; }
    .stat-label { font-size: 0.85rem; }
}



/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 0.6rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.9rem;
        border: 1.5px solid #ffffff;
        border-radius: 4px;
    }
    
    .btn1 {
        background-color: #766341;
        color: #ffffff;
        border-color: #766341;
    }
    
    .btn1:hover {
        background-color: #9d8b6f;
        border-color: #766341;
    }
    
    .btn2 {
        background-color: #61da5b;
        color: #000000;
        border-color: #61da5b;
    }
    
    .btn2:hover {
        background-color: #ffffff;
        color: #000000;
        border-color: #61da5b;
    }
    
    .btn3 {
        background-color: transparent;
        color: #000000;
        border-color: #000000;
    }
    
    .btn3:hover {
        background-color: #ffffff;
        color: #000000;
        border-color: #000000;
    }
    
    .btn4 {
        background-color: #d4af37;
        color: #000000;
        border-color: #d4af37;
    }
    
    .btn4:hover {
        background-color: #f4d03f;
        border-color: #d4af37;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .navbar {
        background: #ffffff;
    }
    
    .nav-links {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size:1rem;
        padding: 0.75rem 1.2rem;
        border: 1.5px solid #ffffff;
        border-radius: 4px;
    }
    
    .btn1 {
        background-color: #766341;
        color: #ffffff;
        border-color: #766341;
    }
    
    .btn1:hover {
        background-color: #9d8b6f;
        border-color: #766341;
    }
    
    .btn2 {
        background-color: #61da5b;
        color: #000000;
        border-color: #61da5b;
    }
    
    .btn2:hover {
        background-color: #ffffff;
        color: #000000;
        border-color: #61da5b;
    }
    
    .btn3 {
        background-color: transparent;
        color: #000000;
        border-color: #000000;
    }
    
    .btn3:hover {
        background-color: #ffffff;
        color: #000000;
        border-color: #000000;
    }
    
    .btn4 {
        background-color: #d4af37;
        color: #000000;
        border-color: #d4af37;
    }
    
    .btn4:hover {
        background-color: #f4d03f;
        border-color: #d4af37;
    }
    
    .phone-numbers {
        gap: 1rem;
    }
    
    .phone-item {
        padding: 0.4rem 0.8rem;
    }
    
    .phone-link {
        font-size: 0.85rem;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .main-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.5rem;
        border: 1px solid #ffffff;
        border-radius: 3px;
        white-space: nowrap;
    }
    
    .btn1 {
        background-color: #766341;
        color: #ffffff;
        border-color: #766341;
    }
    
    .btn1:hover {
        background-color: #9d8b6f;
        border-color: #766341;
    }
    
    .btn2 {
        background-color: #61da5b;
        color: #000000;
        border-color: #61da5b;
    }
    
    .btn2:hover {
        background-color: #ffffff;
        color: #000000;
        border-color: #61da5b;
    }
    
    .btn3 {
        background-color: transparent;
        color: #000000;
        border-color: #000000;
    }
    
    .btn3:hover {
        background-color: #ffffff;
        color: #000000;
        border-color: #000000;
    }
    
    .btn4 {
        background-color: #d4af37;
        color: #000000;
        border-color: #d4af37;
    }
    
    .btn4:hover {
        background-color: #f4d03f;
        border-color: #d4af37;
    }
    
    .phone-numbers {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
    }
}

/* Hamburger / mobile nav styles */
.nav-toggle {
    display: none;
    background: #575072;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 6px;
   border-radius: 1px;
}
.nav-toggle .hamburger {
    width: 26px;
    height: 2px;
    background: #ecf0f1;
    display: block;
    position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: #ecf0f1;
}
.nav-toggle .hamburger::before { top: -8px; }
.nav-toggle .hamburger::after { top: 8px; }

@media (max-width: 768px) {
    .nav-toggle { display: flex; order: -1; margin-right: auto; margin-left: 0; }
    .nav-links { display: none; }
    .phone-numbers { display: none; }
    /* Show nav links horizontally when mobile menu is opened */
    .nav-container.nav-open .nav-links {
    
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    /* show logo on mobile, hide tagline to save space */
    .logo-container {
        display: none;
        align-items: center;
        order: 0;
        gap: 0.5rem;
    }
    .logo-tagline { display: none; }
    /* slightly smaller logo for mobile screens */
    .nav-logo { height: 34px; width: auto; }
    .nav-container.nav-open .phone-numbers { display: none; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
    .second-nav-links { display: none; }
    /* when second navbar is opened on mobile, show links horizontally */
    .second-nav-container.nav-open .second-nav-links,
    /* fallback/simpler hook: body-level class used by JS */
    body.mobile-nav-open .second-nav-links {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.9rem 0;
    }
    /* direct class used by JS as extra fallback */
    .second-nav-links.mobile-open {
        display: flex !important;
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0;
    }

    /* Show the top navbar logo on mobile and hide the second-navbar logo there */
    .navbar .logo-container {
        display: flex;
        position: absolute;
        right: 16px;
        top: 8px;
        z-index: 1100;
        align-items: center;
        gap: 0.5rem;
    }
    .second-navbar .logo-container { display: none; }
    .logo-tagline { display: none; }
    .nav-logo { height: 34px; width: auto; }
}

/* Hide floating support buttons on very small screens to avoid overlap */
@media (max-width: 360px) {
    .support-telegram, .support-whatsapp { display: none; }
}

/* Floating Telegram support button (bottom-right) */
.support-telegram {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.support-telegram i {
    font-size: 1.2rem;
}
.support-telegram:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    opacity: 0.95;
}

@media (max-width: 480px) {
    .support-telegram { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

/* WhatsApp support button (above Telegram) */
.support-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 90px; /* sits above the telegram button */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366; /* WhatsApp green */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.support-whatsapp i {
    font-size: 1.2rem;
}
.support-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    opacity: 0.95;
}

@media (max-width: 480px) {
    .support-whatsapp { right: 14px; bottom: 76px; width: 48px; height: 48px; }
}

/* Trading Features Section */
.features-section {
      background:  #f8faf8;
    padding: 4rem 0;
    
}

.features-container {
    max-width: 1400px;
    max-height: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.features-header h2 {
    font-size: 1.6rem;
    color: #011930;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.features-header p {
    font-size: 0.9rem;
    color: #4e5765;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 1rem;
    margin-bottom: 0.5rem;
    align-items: start;
}

.feature-card {
    background: #f8faf8;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    text-align: right;
}



.feature-icon {
    width: 50px;
    height: 50px;
 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem auto;
   
}

.feature-icon i {
    font-size: 1rem;
    color: #011930;
}

.feature-card h3 {
    font-size: 0.75rem;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card h4 {
    font-size: 0.95rem;
    color: #011930;
    font-weight: 700;
    margin-bottom: 0.65rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.feature-card p {
    font-size: 0.75rem;
    color: #4e5765;
    line-height: 1.6;
}

/* Grid positioning - 2 right, 2 left, 1 bottom center */
.feature-card.top-right {
    grid-column: 3;
    grid-row: 1;
}

.feature-card.center-right {
    grid-column: 3;
    grid-row: 2;
}

.feature-card.left-top {
    grid-column: 1;
    grid-row: 1;
}

.feature-card.left-center {
    grid-column: 1;
    grid-row: 2;
}

.feature-card.bottom-center {
    grid-column: 2;
    grid-row: 3;
    max-width: 450px;

    margin: 0 auto;
 
}
.bottom-center h3{
    color: black;
}

.feature-center-image {
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f8faf8;
    padding: 0.5rem;
    min-height: 380px;
}

.center-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    max-height: 360px;
    border-radius: 8px;
    display: block;
    margin: auto;
}





.features-footer {
    text-align: center;
    padding-top: 0.5rem;
}

.features-footer h3 {
    font-size: 1.9rem;
    color: #011930;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.features-cta {
    display: inline-block;
    background-color: #011930;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Cairo', Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.features-cta:hover {
    transform: translateY(-4px);
    background-color: #574918;
    box-shadow: 0 10px 32px rgba(212, 175, 55, 0.45);
}

/* Responsive design for features section */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .feature-card.top-right,
    .feature-card.center-right,
    .feature-card.left-top,
    .feature-card.left-center,
    .feature-card.bottom-center {
        grid-column: auto;
        grid-row: auto;
    }

    .feature-center-image {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .center-img {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 2.5rem 0;
    }

    .features-container {
        padding: 0 1rem;
        max-height: none;
    }

    .features-header {
        margin-bottom: 2.5rem;
    }

    .features-header h2 {
        font-size: 1rem;
    }

    .features-header p {
        font-size: 0.9rem;
        margin: 2px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .feature-center-image {
        display: none;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card.left-top {
        grid-column: 1;
        grid-row: 1;
    }

    .feature-card.top-right {
        grid-column: 2;
        grid-row: 1;
    }

    .feature-card.left-center {
        grid-column: 1;
        grid-row: 2;
    }

    .feature-card.center-right {
        grid-column: 2;
        grid-row: 2;
    }

    .feature-card.bottom-center {
        grid-column: 1 / 3;
        max-width: 100%;
    }

    .features-footer h3 {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .features-cta {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .center-overlay {
        padding: 1rem 2rem;
        bottom: 1.5rem;
    }

    .center-overlay h3 {
        font-size: 1.3rem;
    }
}

/* Liquidity Section Styles */
.liquidity-section {
    background: url('../img/abs.jpg') center/cover scroll no-repeat;
    background-attachment: scroll;
    padding: 4rem 0;
    position: relative;
    min-height: 100vh;
}

.liquidity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 131, 154, 0.85) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(89, 149, 165, 0.85) 100%);
    pointer-events: none;
}

.liquidity-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.liquidity-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.liquidity-hero h1 {
    font-size: 2rem;
    color: #011930;
    margin-bottom: 1.5rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    font-weight: 600;
}

.liquidity-intro {
    font-weight: 500;
    font-size: 1.1rem;
    color: #4e5765;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.liquidity-tabs {
    margin-bottom: 4rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.35rem 1rem;
    background: #ffffff;
    border: 1px solid #000000;
    color: #011930;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
 
    transition: all 0.3s ease;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.tab-btn:hover {
    background: #9fa103;
    color: #ffffff;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #011930 0%, #034a7a 50%, #ffffff 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(1, 25, 48, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.liquidity-slider-wrapper {
    position: relative;
    margin-top: 2rem;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.slider-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

.slider-arrow i {
    font-size: 1.2rem;
}

.liquidity-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    width: 100%;
    padding: 20px 0;
    justify-content: flex-start;
}

.liquidity-grid::-webkit-scrollbar {
    display: none;
}

.liquidity-card {
    justify-content: space-between;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
   
    box-shadow: 0 5px 20px rgba(47, 45, 51, 0.15);
    text-align: right;
    transition: all 0.4s ease;
    min-width: 220px;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 10px;
}

@keyframes continuousSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 15px));
    }
}

.liquidity-card:nth-child(1) { animation-delay: 0s; }
.liquidity-card:nth-child(2) { animation-delay: -4.3s; }
.liquidity-card:nth-child(3) { animation-delay: -8.6s; }
.liquidity-card:nth-child(4) { animation-delay: -12.9s; }
.liquidity-card:nth-child(5) { animation-delay: -17.2s; }
.liquidity-card:nth-child(6) { animation-delay: -21.5s; }
.liquidity-card:nth-child(7) { animation-delay: -25.8s; }

.liquidity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}



.liquidity-card.featured {
  
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(47, 45, 51, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}



.liquidity-card.featured h3,
.liquidity-card.featured p {
    color: #000000;
}



.liquidity-card h3 {
    font-size: 1.3rem;
    color: #011930;
    margin-bottom: 0.8rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.liquidity-card p {
    font-size: 0.85rem;
    color: #4e5765;
    line-height: 1.5;
}

.tech-content,
.bridge-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-content h2,
.bridge-content h2 {
    font-size: 2rem;
    color: #011930;
    margin-bottom: 1rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.tech-intro {
    font-size: 1.1rem;
    color: #4e5765;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-features-grid {
    display: flex;
    gap: 15px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.tech-feature-card {
    justify-content: space-between;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(47, 45, 51, 0.15);
    text-align: right;
    transition: all 0.4s ease;
    min-width: 220px;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 10px;
    border-radius: 12px;
}

.tech-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.3);
}

.tech-feature-card:hover::before {
    opacity: 1;
}

.tech-icon {
    font-size: 2rem;
    color: #8b5cf6;
    text-align: right;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.tech-feature-card:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-feature-card h3 {
    font-size: 1.3rem;
    color: #011930;
    margin-bottom: 0.8rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.tech-feature-card p {
    font-size: 0.85rem;
    color: #4e5765;
    line-height: 1.5;
}

.tech-content p,
.bridge-content p {
    font-size: 0.95rem;
    color: #4e5765;
    line-height: 1.7;
    text-align: right;
}

.tech-content p,
.bridge-content p {
    font-size: 1.1rem;
    color: #4e5765;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .tech-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-feature-card {
        padding: 1.5rem;
    }
    
    .tech-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

.liquidity-cta-section {
    text-align: center;

    padding: 3rem;
    border-radius: 16px;
    margin-top: 0.5rem;
}

.liquidity-cta-section h2 {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.liquidity-cta-section p {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 2rem;
}

.liquidity-cta-btn {
    display: inline-block;
    padding: 0.7rem 1.1rem;
    background: #04014e;
    color: #ffffff;
    font-size: 1rem;
  
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.liquidity-cta-btn:hover {
    background: #a29a06;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Liquidity Slider Dots */
.liquidity-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.liquidity-dot {
    width: 20px;
    height: 12px;
    border-radius: 40%;
    background: rgba(158, 126, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.liquidity-dot.active {
    background: #705f00;
    width: 14px;
    height: 14px;
}


/* Responsive Liquidity Section */
@media (max-width: 768px) {
    .liquidity-hero h1 {
        font-size:1rem;
    }

    .liquidity-intro {
        font-size: 0.9rem;
    }

    .tab-btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

    .liquidity-grid {
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 15px;
    }

    .liquidity-card {
        padding: 1.5rem;
    }

    .liquidity-cta-section {
        padding: 2rem 1.5rem;
    }

    .liquidity-cta-section h2 {
        font-size: 0.12rem;
    }

    .liquidity-cta-section p {
        font-size: 0.12rem;
    }

    .liquidity-cta-btn {
        padding: 0.85rem 2rem;
        font-size: 0.15rem;
    }
}

/* Account Types Section */
.account-types-section {
   
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.account-types-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.account-types-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.account-types-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-direction: row;
    position: relative;
}

.account-types-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 1%;
    bottom: 1%;
    width: 2px;
    background: linear-gradient(135deg, #7d6202 0%, #d4af37 50%, #424242 100%);
    transform: translateX(-50%) rotate(15deg);
    opacity: 0.35;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

.account-types-text {
    flex: 1;
    max-width: 600px;
}

.account-types-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a0153;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.account-intro {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.9;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
}

.account-cards-grid {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
}

.account-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 12px 10px;
    border-radius: 8px;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.12),
        -8px -8px 16px rgba(255, 255, 255, 0.95),
        inset 2px 2px 5px rgba(255, 255, 255, 0.6),
        inset -2px -2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100px;
    height: 110px;
    flex-shrink: 0;
    border: 1.5px solid rgba(139, 92, 246, 0.2);
}

/* Static 3D accents without hover */
.account-card::before,
.account-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

/* Subtle bottom rim shadow for lift */
.account-card::after {
    bottom: -6px;
    left: 8px;
    right: 8px;
    height: 12px;
    border-radius: 12px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.0) 60%);
    filter: blur(2px);
}

/* Top highlight for beveled feel */
.account-card::before {
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.0) 100%);
}

/* Inner border glow to enhance depth */
.account-card {
    outline: 1px solid rgba(139, 92, 246, 0.15);
    outline-offset: -4px;
    background-image: linear-gradient(145deg, #ffffff, #f5f5f5),
                      radial-gradient(120% 120% at 50% 0%, rgba(139,92,246,0.10) 0%, rgba(139,92,246,0.0) 40%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}






.account-card h3 {
    font-size: 0.68rem;
    font-weight: 700;
    color: #1a0153;
    font-family: 'Cairo', sans-serif;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.account-btn {
   
    display: inline-block;
    margin-top:auto;
    height: 30px;
    width: 100px;
    background: #1a0153;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.account-btn:hover {
    background: #d4af37;
    color: #ffffff;
 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.account-types-image {
    flex: 1;
    max-width: 250px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.account-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    max-width: 200px;
    transition: all 0.4s ease;
}



.image-overlay-text {
    position: absolute;
    left: -140px;
    top: 50%;
    transform: translateY(-50%);
  
    border-radius: 14px;
   
    text-align: center;
    min-width: 130px;
    max-width: 140px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
}

.image-overlay-text h5 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #907903;
    margin: 0 0 5px 0;
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-overlay-text h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a0153;
    margin: 0 0 10px 0;
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.image-overlay-text h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #2f2d33;
    margin: 0 0 12px 0;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.2px;
}

.image-overlay-text p {
    font-size: 0.78rem;
    color: #333;
    margin: 0;
    line-height: 1.7;
    font-family: 'Cairo', sans-serif;
    opacity: 0.92;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-types-section {
        padding: 40px 15px;
    }
    
    .account-types-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .account-types-content::before {
        left: 10%;
        right: 10%;
        top: 50%;
        bottom: auto;
        width: auto;
        height: 2px;
        transform: translateY(-50%) rotate(0deg);
    }
    
    .account-types-text {
        max-width: 100%;
    }
    
    .account-types-text h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .account-intro {
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .account-types-image {
        max-width: 90%;
        margin: 0 auto;
        order: -1;
    }
    
    .account-img {
        border-radius: 12px;
        max-height: 250px;
        object-fit: cover;
    }
    
    .image-overlay-text {
        position: static;
        transform: none;
        margin-top: 15px;
        left: auto;
        padding: 15px;
        min-width: auto;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .image-overlay-text h5 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .image-overlay-text h2 {
        font-size: 1rem;
        margin: 5px 0;
    }
    
    .image-overlay-text h4 {
        font-size: 0.8rem;
        margin: 5px 0;
    }
    
    .image-overlay-text p {
        font-size: 0.65rem;
        line-height: 1.4;
    }
    
    .account-cards-grid {
        flex-direction: row;
        gap: 10px;
        padding: 10px 0;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .account-card {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 10px;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        min-height: auto;
        justify-content: center;
        border-radius: 5px;
    }
    
    .account-card h3 {
        font-size: 0.65rem;
        line-height: 1.1;
        margin: 0;
    }
    
    .account-btn {
        width: 60px;
        height: 24px;
        font-size: 0.5rem;
        border-radius: 3px;
    }
}
 

/* Extra small devices */
@media (max-width: 480px) {
    .account-types-section {
        padding: 30px 10px;
    }
    
    .account-types-text h2 {
        font-size: 1.2rem;
    }
    
    .account-intro {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .account-img {
        max-height: 200px;
    }
    
    .image-overlay-text {
        padding: 12px;
    }
    
    .image-overlay-text h5 {
        font-size: 0.95rem;
    }
    
    .image-overlay-text h2 {
        font-size: 0.85rem;
    }
    
    .image-overlay-text h4 {
        font-size: 0.7rem;
    }
    
    .image-overlay-text p {
        font-size: 0.55rem;
    }
    
    .account-card {
        width: 70px;
        height: 70px;
        padding: 8px;
    }
    
    .account-card h3 {
        font-size: 0.55rem;
    }
}

/* Market & Security Section */
.market-security-section {
    background: #090148;
  
}

.market-security-container {
    max-width: 100%;
    
  
    display: grid;
    grid-template-columns: 1fr 1fr;
 
    align-items: start;
}

/* Stack market on top and others below (full width rows) */
.market-security-container .market-card,
.market-security-container .security-card {
    grid-column: 1 / -1;
}

.info-card {
   background-color: rgb(4, 1, 62);
  
  
  
}

.info-card h3 {
    font-size: 1.2rem;
    color: #300101;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: right;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.info-card p {
    font-size: 0.9rem;
    color: #4e5765;
    line-height: 1.7;
    text-align: right;
    margin-bottom: 14px;
}

.info-link {
    display: inline-block;
    padding: 80px 100px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: #011930;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(1,25,48,0.25);
}

/* Embed sizing */
.market-tab-panels { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 100vh;
    max-height: 800px;
}

.market-tab-panel { 
    display: block; 
    height: 100%; 
}

.embed-widget { width: 100%; height: 100%; }

#quotesWidgetConverter {
    width: 100%;
    height: 100%;
}

/* Market Security Section - Professional Responsive Design */
@media (max-width: 1200px) {
    .market-security-section {
        margin-top: 0;
        margin-bottom: 3rem;
    }
    
    .market-security-container {
        padding: 0 10px;
    }
    
    .info-card h3 {
        font-size: 1.15rem;
    }
    
    .info-card p {
        font-size: 0.85rem;
    }
    
    .market-tab-panels {
        max-height: 700px;
    }
}

@media (max-width: 1024px) {
    .market-security-section {
        margin-top: 0;
        margin-bottom: 3.5rem;
    }
    
    .market-security-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .market-tab-panels {
        grid-template-columns: 1fr;
        max-height: 850px;
        gap: 1.5rem;
    }
    
    .market-tab-panel {
        height: 50vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .market-security-section {
        margin-top: 0;
        margin-bottom: 5rem;
    }
    
    .market-security-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 15px;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    
    .info-link {
        font-size: 0.8rem;
        padding: 60px 80px;
    }
    
    .market-tab-panels {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1rem;
    }
    
    .market-tab-panel {
        height: 60vh;
        min-height: 350px;
        margin-bottom: 1rem;
    }
    
    .security-card .security-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .security-card .security-img {
        grid-column: 1;
        max-width: 60px;
        margin: 0 auto;
    }
    
    .security-card .security-text {
        grid-column: 1;
      
        text-align: center;
    }
    
    .security-card .security-text h3 {
        font-size: 0.95rem;
          font-weight: 700;
    }
    
    .security-card .security-text p {
        font-size: 0.85rem;
          font-weight: 500;
    }
    
    .market-layout {
        padding: 1rem;
    }

    /* Header row inside security-text: place image on the right of title */
    .security-card .security-text > div {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        flex-direction: row-reverse;
    }
    
    .market-layout h3 {
        font-size: 0.95rem;
    }
    
    .market-layout p {
        font-size: 0.55rem;
    }
}

@media (max-width: 640px) {
    /* Tight square size for small phones */
    .security-card .security-img {
        width: 64px;
        height: 64px;
        object-fit: contain;
    }
    .market-security-section {
        padding: 1rem 0;
        margin-top: 0;
        margin-bottom: 3rem;
    }
    
    .market-security-container {
        padding: 0 10px;
        gap: 14px;
          margin-bottom: 2.5rem;
    }
    .info-card {
        padding: 1rem;
    }
    
    .market-tab-panel {
        height: 50vh;
        min-height: 300px;
    }
    
    .security-card .security-img {
        max-width: 40px;
    }
}

@media (max-width: 480px) {
    /* Smallest square size */
    .security-card .security-img {
        width: 56px;
        height: 56px;
        object-fit: contain;
    }
    .market-security-section {
        margin-top: 0;
        margin-bottom: 2.5rem;
    }
    
    .market-security-container {
        padding: 0 10px;
        gap: 12px;
          margin-bottom: 2.5rem;
    }
    
    .info-card {
        padding: 0.8rem;
    }
    
    .info-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .info-card p {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .info-link {
        font-size: 0.75rem;
        padding: 50px 60px;
    }
    
    .market-tab-panel {
        height: 45vh;
        min-height: 280px;
    }
    
    .security-card .security-layout {
        padding: 0.8rem;
    }
    
    .security-card .security-text h3 {
        font-size: 0.85rem;
    }
    
    .security-card .security-text p {
        font-size: 0.75rem;
    }
    
    .market-layout h3 {
        font-size: 0.85rem;
    }
    
    .market-layout p {
        font-size: 0.5rem;
    }
}

/* Security card left image layout */
.security-card .security-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    background-color: rgb(4, 1, 62);
    padding: 1rem;
}

.security-card .security-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 10px;
    display: block;
    
}

.security-card .security-text {
    text-align: right;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    flex-direction: column;
}

.security-card .security-text h3 {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    text-align: center;
}

.security-card .security-text p {
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin: 0;
}

.market-layout {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 16px;
    background-color: rgb(1, 1, 62);

}

.market-layout {
    text-align: center;
   
}

.market-layout h3 {
    text-align: center;
    font-size: 1rem;
    color: #d4af37;
    background: linear-gradient(135deg, #e6e6e6 0%, #dabd48 10%, #d4af37 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}
.market-layout p {
    text-align: center;
    font-size: 0.6rem;
    color: #f9f9f9;
    line-height: 1.6;
}

/* Responsive security card layout */
@media (max-width: 768px) {
    .security-card .security-layout { grid-template-columns: 1fr; }
    .security-card .security-img { max-width: 40px; }
}

/* IB Network Section */
.ib-network-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
 
}

.ib-network-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.ib-top-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.ib-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ib-network-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
}

.ib-hero {
    text-align: right;
    margin-right: 10px;
}

.ib-hero h2 {
    font-size: 1.7rem;
    color: #011930;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.ib-hero p {
    font-size: 1rem;
    color: #4e5765;
    line-height: 1.4;
 
}

.ib-cta-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #09014b 0%, #070044 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
  
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
   
}

.ib-cta-btn:hover {
  color: #ffffff;
    background: #767001;
   
}

.ib-steps {
    text-align: center;
}

.ib-steps h3 {
    font-size: 1.5rem;
    color: #987f04;
    font-weight: 700;
    margin-bottom: 2.5rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.ib-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.ib-step-card {
  
    padding: 2rem 1.5rem;
 
  
    text-align: center;
    transition: all 0.3s ease;
  
}



.step-number {
    width: 50px;
    height: 50px;
    background: #040158;
    color: #987f04;
    font-size: 1.8rem;
    border: solid 3px #987f04;
    font-weight: 500;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.ib-step-card h4 {
    font-size: 1.2rem;
    color: #011930;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.ib-step-card p {
    font-size: 0.95rem;
    color: #654e60;
    line-height: 1.6;
}
.main-ib-title {
    width: 100%;
    max-width: 100%;
    height: 60px;
    text-align: center;
    font-size: 2rem;
    background-color:#010330 ;
    color: #846e02;
    font-weight: 700;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-ib-title p {
   
   color: #846e02;
}

/* IB Network Section - Professional Responsive Design */
@media (max-width: 1200px) {
    .ib-network-container {
        padding: 0 15px;
    }
    
    .ib-top-content {
        gap: 2.5rem;
    }
    
    .ib-hero h2 {
        font-size: 1.6rem;
    }
    
    .ib-hero p {
        font-size: 0.95rem;
    }
    
    .ib-steps h3 {
        font-size: 1.4rem;
    }
    
    .ib-steps-grid {
        gap: 1.8rem;
    }
    
    .ib-step-card {
        padding: 1.8rem 1.3rem;
    }
}

@media (max-width: 1024px) {
    .ib-top-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ib-hero {
        text-align: center;
        margin-right: 0;
    }
    
    .ib-hero h2 {
        font-size: 1.5rem;
    }
    
    .ib-hero p {
        font-size: 0.9rem;
    }
    
    .ib-cta-btn {
        font-size: 1rem;
        padding: 0.65rem 1.8rem;
    }

    .ib-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .ib-step-card {
        padding: 1.6rem 1.2rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .ib-step-card h4 {
        font-size: 1.1rem;
    }
    
    .ib-step-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .ib-network-section {
        padding: 2rem 0;
    }

    .ib-top-content {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .ib-image {
        display: none;
    }

    .ib-network-img {
        max-width: 300px;
    }

    .ib-hero h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .ib-hero p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .ib-cta-btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
    }

    .ib-steps h3 {
        font-size: 1.3rem;
        margin-bottom: 1.8rem;
    }

    .ib-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .ib-step-card {
        padding: 1.4rem 1rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .ib-step-card h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .ib-step-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .main-ib-title {
        height: 50px;
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .main-ib-title p {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .ib-network-section {
        padding: 1.5rem 0;
    }
    
    .ib-top-content {
        margin-bottom: 2.5rem;
    }
    
    .ib-hero h2 {
        font-size: 1.3rem;
    }
    
    .ib-hero p {
        font-size: 0.8rem;
    }
    
    .ib-cta-btn {
        font-size: 0.9rem;
        padding: 0.55rem 1.3rem;
    }
    
    .ib-steps h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .ib-steps-grid {
        gap: 1rem;
    }
    
    .ib-step-card {
        padding: 1.2rem 0.9rem;
    }
    
    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }
    
    .main-ib-title {
        height: 48px;
        font-size: 1.1rem;
    }
    
    .main-ib-title p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .ib-network-section {
        padding: 1rem 0;
    }
    
    .ib-network-container {
        padding: 0 10px;
    }
    
    .ib-top-content {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .ib-hero h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .ib-hero p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .ib-cta-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
    
    .ib-steps h3 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .ib-steps-grid {
        gap: 0.8rem;
    }
    
    .ib-step-card {
        padding: 1rem 0.8rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
        border-width: 2px;
    }
    
    .ib-step-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .ib-step-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .main-ib-title {
        height: 45px;
        font-size: 1rem;
        padding: 0 0.8rem;
    }

    .main-ib-title p {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .ib-hero h2 {
        font-size: 1.1rem;
    }
    
    .ib-hero p {
        font-size: 0.7rem;
    }
    
    .ib-cta-btn {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }
    
    .ib-steps h3 {
        font-size: 1rem;
    }
    
    .step-number {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    .ib-step-card p {
        font-size: 0.75rem;
    }
    
    .main-ib-title {
        height: 42px;
        font-size: 0.9rem;
    }
    
    .main-ib-title p {
        font-size: 0.9rem;
    }
}

/* Payment Methods Section */
.payment-section {
    background: #ffffff;
    padding: 4rem 2rem;
    direction: rtl;
}

.payment-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.payment-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
   
    transition: transform 0.3s ease;
}



.payment-text {
    text-align: right;
}

.payment-text h2 {
    font-size: 1.8rem;
    color: #011930;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.payment-text p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.payment-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.deposit-withdraw {
    background: linear-gradient(135deg, #09014b 0%, #070044 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
   
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deposit-withdraw i {
    font-size: 1.2rem;
   
}

.deposit-withdraw:hover {
    background: #d4af37;
   color: #ffffff;
}

/* Responsive Design for Payment Section */
@media (max-width: 1024px) {
    .payment-content {
        gap: 2rem;
    }

    .payment-text h2 {
        font-size: 1.6rem;
    }

    .payment-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .payment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .payment-image {
        display: none;
    }

    .payment-text {
        text-align: center;
    }

    .payment-text h2 {
        font-size: 1.4rem;
    }

    .payment-text p {
        font-size: 0.95rem;
    }

    .payment-cta-wrapper {
        margin-top: 2rem;
    }

    .deposit-withdraw {
        font-size: 1rem;
        padding: 0.9rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .payment-section {
        padding: 3rem 1rem;
    }

    .payment-text h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .payment-text p {
        font-size: 0.9rem;
    }

    .payment-cta-wrapper {
        margin-top: 1.5rem;
    }

    .deposit-withdraw {
        font-size: 0.95rem;
        padding: 0.8rem 2rem;
    }
}

/* Payment Methods Highlight */
.payment-highlight {
    background: linear-gradient(135deg, #846e02 0%, #d4af37 50%, #f4d03f 100%);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}



 

















/* ========================================
   FOOTER SECTION
======================================== */
.site-footer {
   background-color: #04013c;
    color: #ffffff;
    padding: 1.3rem 0 0.6rem; /* Reduced vertical space */
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.footer-container {
    max-width: 100%;
    padding: 0 3rem;
    margin: 0 auto;
}

.footer-content {

    display: grid;
    grid-template-columns: 45% 55%;
    gap: 2rem; /* tighter gap */
    margin-bottom: 1.5rem; /* less bottom spacing */
}

/* Right Side - Contact and Images */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-right: 8rem;
}

.footer-contact h3 {
    font-size: 1.35rem; /* smaller heading */
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 1rem;
    text-align: right;
}

.contact-item {
    margin-bottom: 1.5rem;
    text-align: right;
}

.contact-item h4 {
    font-size: 0.65rem; /* reduced */
    font-weight: 400;
    color: #f4d03f;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: row-reverse; /* icon on right side */
    justify-content: flex-start;
}

.contact-item h4 .contact-icon {

    color: #f4d03f;
    font-size: 0.9rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 2px rgba(244,208,63,0.4));
}

.contact-item p {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #e0e0e0;
}

.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #d4af37;
}

.footer-certifications {
    display: flex;
    gap: 1.5rem;

    justify-content:flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.cert-icon {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.footer-map {
    margin-top: 1rem;
}

.map-img {
    width: 50%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
   
    float: right;
}

/* Footer Social Media Links */
.footer-social {
    margin-top: 2rem;
    text-align: right;
}

.footer-social h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #f4d03f;
    margin-bottom: 0.6rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(244, 208, 63, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover {
 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Individual Social Media Colors */
.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
    border-color: #1877f2;
}

.social-link.facebook:hover i {
    color: #ffffff;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e1306c;
}

.social-link.instagram:hover i {
    color: #ffffff;
}

.social-link.tiktok:hover {
    background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
    border-color: #00f2ea;
}

.social-link.tiktok:hover i {
    color: #00f2ea;
}

.social-link.whatsapp:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-color: #25d366;
}

.social-link.whatsapp:hover i {
    color: #ffffff;
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    border-color: #0088cc;
}

.social-link.telegram:hover i {
    color: #ffffff;
}

/* Left Side - Legal Information */
.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-legal {
    text-align: right;
}

.legal-text {
    font-size: 0.75rem; /* condensed */
    line-height: 1.55;
    color: #c0c0c0;
    margin-bottom: 1.1rem;
}

.legal-text strong {
    color: #f4d03f;
    font-weight: 600;
}

.company-name {
    font-size: 0.8rem;
    color: #e0e0e0;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 1rem; /* reduced */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.7rem;
   color: #f4d03f;
    margin: 0;
}

/* Visitor Counter - Background with z-index */
.footer-bottom > a,
.footer-bottom > script {
    z-index: -100;
    position: relative;
}

/* Site Footer - Professional Responsive Design */
@media (max-width: 1200px) {
    .footer-container {
        padding: 0 2rem;
    }
    
    .footer-content {
        gap: 1.8rem;
    }
    
    .footer-right {
        margin-right: 4rem;
    }
    
    .footer-contact h3 {
        font-size: 1.3rem;
    }
    
    .contact-item h4 {
        font-size: 0.6rem;
    }
    
    .contact-item p {
        font-size: 0.82rem;
    }
    
    .legal-text {
        font-size: 0.72rem;
    }
    
    .map-img {
        max-width: 450px;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-right {
        order: 1;
        margin-right: 0;
        align-items: center;
    }

    .footer-left {
        order: 2;
    }
    
    .footer-contact {
        text-align: right;
        align-self: flex-end;
    }
    
    .footer-contact h3 {
        font-size: 1.25rem;
        text-align: right;
    }
    
    .contact-item {
        text-align: right;
    }
    
    .contact-item h4 {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    .map-img {
        max-width: 400px;
        float: none;
        margin: 0 auto;
        display: block;
    }
    
    .footer-certifications {
        justify-content: flex-end;
    }
    
    .footer-social {
        text-align: right;
    }
    
    .social-links {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.2rem 0 0.6rem;
    }

    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .footer-contact h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .contact-item {
        margin-bottom: 1.2rem;
    }

    .contact-item h4 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-item h4 .contact-icon {
        font-size: 0.85rem;
    }

    .contact-item p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .legal-text {
        font-size: 0.7rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .company-name {
        font-size: 0.75rem;
        margin-top: 1rem;
        padding-top: 0.8rem;
    }

    .cert-icon {
        height: 80px;
    }

    .map-img {
        max-width: 100%;
        width: 70%;
    }
    
    .footer-social h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
    
    .footer-bottom {
        padding-top: 0.8rem;
    }
    
    .footer-bottom p {
        font-size: 0.65rem;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 1rem 0 0.5rem;
    }
    
    .footer-container {
        padding: 0 1.2rem;
    }
    
    .footer-contact h3 {
        font-size: 1.15rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 0.8rem;
    }
    
    .contact-item p {
        font-size: 0.7rem;
    }
    
    .legal-text {
        font-size: 0.68rem;
        line-height: 1.45;
    }
    
    .company-name {
        font-size: 0.72rem;
    }
    
    .cert-icon {
        height: 70px;
    }
    
    .map-img {
        width: 80%;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 0.8rem 0 0.4rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        gap: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-contact h3 {
        font-size: 1.05rem;
        margin-bottom: 0.7rem;
    }

    .contact-item {
        margin-bottom: 0.9rem;
    }
    
    .contact-item h4 {
        font-size: 0.75rem;
        gap: 5px;
    }
    
    .contact-item h4 .contact-icon {
        font-size: 0.8rem;
    }
    
    .contact-item p {
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .legal-text {
        font-size: 0.65rem;
        line-height: 1.45;
        margin-bottom: 0.9rem;
    }
    
    .company-name {
        font-size: 0.7rem;
        margin-top: 0.9rem;
        padding-top: 0.7rem;
    }

    .footer-certifications {
        justify-content: center;
        gap: 1.2rem;
    }

    .cert-icon {
        height: 60px;
    }
    
    .footer-map {
        margin-top: 0.8rem;
    }

    .map-img {
        width: 90%;
    }
    
    .footer-social {
        margin-top: 1.5rem;
    }
    
    .footer-social h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .social-links {
        justify-content: flex-end;
        gap: 0.8rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 0.7rem;
    }
    
    .footer-bottom p {
        font-size: 0.6rem;
    }
}

@media (max-width: 360px) {
    .footer-container {
        padding: 0 0.8rem;
    }
    
    .footer-contact h3 {
        font-size: 1rem;
    }
    
    .contact-item h4 {
        font-size: 0.7rem;
    }
    
    .contact-item p {
        font-size: 0.65rem;
    }
    
    .legal-text {
        font-size: 0.62rem;
        line-height: 1.4;
    }
    
    .company-name {
        font-size: 0.68rem;
    }
    
    .cert-icon {
        height: 55px;
    }
    
    .map-img {
        width: 95%;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    
    .footer-bottom p {
        font-size: 0.58rem;
    }
}

























  .form-wrapper { background:#e9e8e8; }
    .form-container { max-width: 1000px; margin: 0 auto; padding: 1.25rem 1.25rem 1.5rem; background:#e9e8e8;   }
    .form-container h2 { margin: 0 0 1rem; color: #000000; font-weight: 700; text-align: right; font-size: 1.4rem; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
    .label { display: flex; align-items: center; gap: 8px; color: #000000; font-size: 0.95rem; }
    .label-icon { width: 18px; height: 18px; color: #000000; }
    .input, .select { background: #ffffff; border: 1px solid rgba(255,255,255,0.12); color: #000000; border-radius: 10px; padding: 0.65rem 0.8rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; font-family: inherit; }
    .input:focus, .select:focus { border-color: #000000; box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
    .input::placeholder { color: #000000; }
    .help-text { color: #000000; font-size: 0.8rem; margin: 0.25rem 0 0; }
    .input-container { display: flex; align-items: stretch; gap: 0; }
    
    .prefix { display: flex; align-items: center; padding: 0 0.6rem; background: #121044; border: 1px solid rgba(255,255,255,0.12); color: #f4d03f; border-radius: 10px 0 0 10px; font-weight: 600;  }
    .input-with-prefix { border-radius: 0 10px 10px 0; border-right: 0; width: 100%; }

    .submit-row { margin-top: 0; display: flex; justify-content: flex-end; }
    .submit-button { display: inline-flex; align-items: center; gap: 10px; background: #01013c; color: #fff; border: 0; padding: 0.75rem 1.1rem; border-radius: 10px; cursor: pointer; font-weight: 700; transition: transform .08s ease, box-shadow .2s ease; }
    .submit-button:hover {  background: #634802; box-shadow: 0 10px 20px rgba(37, 208, 211, 0.25); }
    .submit-button:active { transform: translateY(1px); }
    .toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: 18px; min-width: 260px; max-width: 92vw; padding: 0.8rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: #0b0a2c; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.35); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
    .toast.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -6px); }
    .toast-title { font-weight: 700; color: #f4d03f; margin-bottom: 2px; }
    .toast-description { font-size: 0.9rem; color: #e0e0e0; }
    @media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } .form-container { padding: 1rem; } }

      /* Two-column split with form on the right, image on the left */
    
    .dw-split {
      display: flex;
      flex-direction: row-reverse; /* puts the first child (form) visually on the right */
      gap: 1rem;
      max-width: 1200px;
    
      align-items: stretch;
    }
    .dw-col { flex: 0 0 50%; max-width: 50%; min-width: 0; }
    .dw-image-card { display: flex; align-items: center; justify-content: center; }
    .dw-image { width: 100%; height: auto; object-fit: contain; }


.slide-verify-track {
  position: relative;
  width: 100%;
  height: 42px;
  background: #ffffff;
  display: flex;
  align-items: center;
  cursor: grab;
  user-select: none;

   border-radius: 8px;
}

.slide-verify-track.verified {
  background: #61da5b;
  
}

.slide-verify-thumb {
  position: absolute;
  left: 0;
  width: 42px;
  height: 42px;
  background: #121044;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  transition: all 0.1s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 1.5rem;
  color: #ffffff;
  z-index: 10;
}

.slide-verify-thumb:active {
  cursor: grabbing;
}

.slide-verify-text {
    
  position: absolute;
  left: 60px;
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: #333333;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  z-index: 5;
  transition: opacity 0.3s ease;
 
}

.slide-verify-track.verified .slide-verify-text {
  opacity: 0;
}

.slide-verify-success {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
    
}

.slide-verify-track.verified .slide-verify-success {
  opacity: 1;

}

.slide-verify-thumb.verified {
  background: #61da5b;
  left: calc(100% - 42px);
   border-radius: 8px;
}

@media (max-width: 768px) {
  .slide-verify-track {
    height: 42px;
    margin-bottom: 1rem;
  }

  .slide-verify-thumb {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .slide-verify-text {
    left: 50px;
    font-size: 0.9rem;
  }

  .slide-verify-success {
    font-size: 0.9rem;
  }
}

/* DateTime Card Styles */
.datetime-card {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto;
    height: auto;
    background: linear-gradient(135deg, #04013c 0%, #1a0f5e 100%);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    z-index: 9999 !important;
    animation: slideInCard 0.5s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  background-color: #000000;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}





@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.datetime-card-image {
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.datetime-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.datetime-display {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    color: #ecf0f1;
    font-family: 'Courier New', monospace;
 
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 2;
}

.time-unit {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    padding: 6px 5px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    border: 2px solid #ffffff;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2) inset, 0 0 15px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.time-unit:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4) inset, 0 0 20px rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    color: #ffffff;
}

/* Responsive Design */
/* Desktop - Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .datetime-card {
        width: auto;
        max-width: 80%;
        height: auto;
    }
    
    .datetime-card-image {
        max-height: 600px;
    }
    
    .datetime-card-image img {
        max-width: 100%;
        max-height: 600px;
    }
    
    .datetime-display {
        padding: 30px;
        gap: 15px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 10px 8px;
        font-size: 1rem;
    }
    
    .close-btn {
        width: 65px;
        height: 65px;
        font-size: 36px;
    }
}

/* Tablet - Medium Screens (768px to 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .datetime-card {
        width: 95%;
        height: 65vh;
    }
    
    .datetime-card-image img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .datetime-display {
        padding: 20px;
        gap: 8px;
    }
    
    .time-unit {
        min-width: 50px;
        padding: 7px 5px;
        font-size: 0.8rem;
    }
    
    .close-btn {
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
}

/* Mobile - Small Screens (481px to 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .datetime-card {
        width: 95%;
        height: 65vh;
    }
    
    .datetime-card-image img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .datetime-display {
        padding: 15px;
        gap: 6px;
    }
    
    .time-unit {
        min-width: 45px;
        padding: 6px 4px;
        font-size: 0.75rem;
        border: 1px solid #ffffff;
    }
    
    .close-btn {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* Mobile - Very Small Screens (480px and below) */
@media (max-width: 480px) {
    .datetime-card {
        width: 95%;
        height: 65vh;
        top: 50%;
        left: 50%;
        display: flex;
        flex-direction: column;
    }
    
    .datetime-card-image {
        flex: 1;
        overflow: hidden;
    }
    
    .datetime-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .datetime-display {
        padding: 12px;
        gap: 5px;
        flex-direction: row;
        position: relative;
    }
    
    .time-unit {
        min-width: 40px;
        padding: 5px 3px;
        font-size: 0.7rem;
        border: 1px solid #ffffff;
        border-radius: 4px;
    }
    
    .close-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
        top: -10px;
        right: -10px;
    }
}