/* Base Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #06d6a0;
    --accent-dark: #05b386;
    --light: #f8fafc;
    --gray: #64748b;
    --dark: #1e293b;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    box-shadow: 0 4px 6px rgba(6, 214, 160, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    box-shadow: 0 6px 12px rgba(6, 214, 160, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo-text span {
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.trading-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.market-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--success);
}

.market-status.closed {
    color: var(--danger);
}

.market-status i {
    font-size: 0.7rem;
}

.price-chart {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

.price-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.current-price {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
}

.price-change {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.positive {
    color: var(--success);
}

.negative {
    color: var(--danger);
}

.trading-pairs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.trading-pair {
    padding: 8px 15px;
    background: var(--light);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.trading-pair.active {
    background: var(--primary);
    color: white;
}

.trading-actions {
    display: flex;
    gap: 10px;
}

.trading-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

.floating-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: -50px;
    right: 150px;
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.services h2 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.5rem;
}

/* Trading Tools Section */
.trading-tools {
    background-color: white;
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Calculator Section */
.calculator {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.calculator-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator-result {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.result-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Contact Section - COMPACT VERSION */
.contact {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0;
}

.contact h2 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2rem);
    margin-bottom: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.form-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    display: block;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form .form-group label {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

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

.contact-form .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Mobile Navigation - HORIZONTAL SCROLLING */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.mobile-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.mobile-nav-links {
    display: inline-flex;
    list-style: none;
    padding: 0 15px;
    gap: 20px;
}

.mobile-nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray);
    font-size: 0.8rem;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 20px;
    min-width: 70px;
}

.mobile-nav-links a i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.mobile-nav-links a.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

/* Real-time Features Styles */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--success);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.stock-ticker {
    background: var(--secondary);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.ticker-container {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 30px;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.news-section {
    background: var(--light);
    padding: 40px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

.news-source {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.news-title {
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.market-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.market-open {
    color: var(--success);
}

.market-closed {
    color: var(--danger);
}

.loading {
    text-align: center;
    padding: 20px;
    color: var(--gray);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

/* Market Stats */
.market-stats {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-box {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* New Features */
.performance-section {
    background: white;
    padding: 60px 0;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.performance-card {
    background: var(--light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.performance-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.performance-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trading-widget {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    footer {
        padding-bottom: 80px;
    }

    .contact {
        padding: 50px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trading-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .trading-widget {
        padding: 20px;
    }
    
    .trading-pairs {
        justify-content: center;
    }

    .contact {
        padding: 40px 0;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-item {
        gap: 10px;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
    }

    .market-stats {
        grid-template-columns: 1fr;
    }

    .mobile-nav-links {
        gap: 15px;
        padding: 0 10px;
    }

    .mobile-nav-links a {
        min-width: 65px;
        font-size: 0.75rem;
    }

    .mobile-nav-links a i {
        font-size: 1.1rem;
    }
}

/* Performance Optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-loaded {
    opacity: 1;
}

/* Loading Animation */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}


/* End of CSS */

/*team*/

/* ====== Section Styling ====== */
.leadership-section {
  background-color: #f8fafc;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.leadership-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* ====== Headings ====== */
.leadership-title {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.leadership-subtitle {
  color: #6b7280;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* ====== Cards Layout ====== */
.leadership-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* ====== Individual Card ====== */
.leader-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.leader-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ====== Image Area ====== */
.leader-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4; /* maintains consistent proportions */
  object-fit: contain; /* ensures full image visible */
  background-color: #f3f4f6; /* fallback bg if image smaller */
}

/* ====== Info Text ====== */
.leader-details {
  background: #1f2937;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.leader-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.leader-role {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.4;
}

/* ====== Responsive Layout ====== */
@media (max-width: 992px) {
  .leader-item {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .leader-item {
    width: 100%;
  }

  .leader-photo {
    aspect-ratio: 4/5;
  }

  .leadership-title {
    font-size: 1.6rem;
  }
}
