/* Global Styles */
:root {
    --primary-color: #0a6e5c;
    --secondary-color: #f8b500;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --white-color: #fff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    height: 4px;
    width: 80px;
    background: var(--secondary-color);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.primary-btn:hover {
    background: #085a4b;
    transform: translateY(-3px);
}

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

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links ul {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

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

#menuOpen, #menuClose {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text li:before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

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

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

.feature-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Technology Section */
.technology {
    background-color: #f9f9f9;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tech-item {
    background: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.tech-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Ecosystem Section */
.ecosystem-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

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

.eco-card {
    background: var(--white-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.eco-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.eco-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Roadmap Section */
.roadmap {
    background-color: #f9f9f9;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
}

.timeline-content {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    width: calc(50% - 40px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    left: -50px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    right: -50px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-content ul {
    margin-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
}

/* Tokenomics Section */
.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.token-info {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.token-detail {
    margin-bottom: 20px;
}

.token-detail h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.token-distribution h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.distribution-item {
    margin-bottom: 15px;
}

.dist-label {
    margin-bottom: 5px;
    font-weight: 500;
}

.dist-bar {
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.dist-progress {
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-weight: 500;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.team-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.team-img {
    height: 250px;
    overflow: hidden;
}

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

.team-card h3 {
    margin-top: 20px;
    color: var(--primary-color);
}

.team-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-bio {
    padding: 0 20px 20px;
}

.shariah-board {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.shariah-board h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-item a {
    color: var(--primary-color);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 70px 0 20px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-social h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links a {
    color: var(--white-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content,
    .tech-content,
    .tokenomics-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        left: -50px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white-color);
        flex-direction: column;
        padding: 50px 0;
        z-index: 1001;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    
    #menuOpen, #menuClose {
        display: block;
    }
    
    #menuClose {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    .tech-details {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        padding: 20px;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        left: -40px;
    }
}
