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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f4f2ff, #ffffff);
    color: #0d0d2b;
    overflow-x: hidden;
}

.navbar {
    width: 100%;
    padding: 40px 24px;
    display: flex;
    align-items: center;
    justify-content:space-around;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #1c1c3a;
    transition: 0.3s;
}

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

/* Dropdown styles for KnowledgeBase */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #1c1c3a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 250ms ease;
}

.dropdown-toggle i {
    font-size: 15px;
    color: #1c1c3a;
    transition: transform 250ms ease;
    display: inline-block;

}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #f6fbff;
    border-radius: 12px;
    padding: 12px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(17,24,39,0.08);
    border: 1px solid rgba(107, 193, 224, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #0d0d2b;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 150ms ease, color 150ms ease;
}

.dropdown-menu a:hover {
    background: rgba(177,64,166,0.06);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-toggle {
    color: #b140a6;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(90deg);
}

.visit-btn {
    padding: 18px 35px;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #1c1c3a;
    transition: 0.3s;
}

.visit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #d466be, #b140a6, #910f77);
    color: white;
}

/* Menu toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #1c1c3a;
    padding: 8px;
    border-radius: 8px;
    transition: transform 200ms ease, color 200ms ease;
}

.menu-toggle i { display: inline-block; transition: transform 220ms ease; }
.menu-toggle.open i { transform: rotate(90deg); }

/* Mobile menu styles */
.mobile-menu {
    position: absolute;
    top: 100%;
    right: 24px;
    width: calc(100% - 48px);
    max-width: 320px;
    background: #f6fbff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(17,24,39,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 240ms;
    z-index: 200;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    padding: 10px 12px;
    color: #0d0d2b;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
}

.mobile-dropdown { margin-top: 6px; }
.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    padding: 10px 12px;
    font-weight: 600;
    cursor: pointer;
    color: #0d0d2b;
    border-radius: 8px;
}

.mobile-dropdown-menu { max-height: 0; overflow: hidden; transition: max-height 240ms ease; }
.mobile-dropdown-menu.open { max-height: 480px; }
.mobile-dropdown-toggle i { transition: transform 200ms ease; }
.mobile-dropdown-toggle i.rotated { transform: rotate(90deg); }
.mobile-visit { margin-top: 8px; display: block; text-align: center; }

/*SECTION 1 - Hero */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 100vh;
    position: relative;
}

.hero-content {
    max-width: 520px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-left: 10vw;
    margin-top: 10vh;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    font-weight: 600;
    color: #5a5a7a;
    margin-left: 10vw;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    margin-left: 35vw;
    align-items: center;
    gap: 12px;
    width: 300px;
    height: 70px;
    padding: 0 28px;
    background: #050a2c; /* deep navy */
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
}

.search-container:hover {
    transform: translateY(-3px);
}

.search-container img {
    width: 22px;
    height: 22px;
}

.search-container input {
    background: transparent;
    border: none;
    outline: none;
    color: #cfd3ff;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
}

.search-container input::placeholder {
    color: #cfd3ff;
    opacity: 0.9;
}

.hero-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-video {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 40px;
    }

    .navbar {
        padding: 20px 40px;
    }
}

/* Breakpoint for mobile menu behavior */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-btn { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; }
    .navbar { padding: 16px 18px; }
}

/*SECTION 2 - CATEGORIES */

.categories-section {
    padding: 60px 0;
    background: #f6f6f8;
    font-family: "Poppins", sans-serif;
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

.section-title {
    font-size: 64px;
    font-weight: 700;
    color: #0b1234;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 18px;
    color: #8c8fa3;
    max-width: 820px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.category-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 30px 40px;
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(238, 232, 232, 0.05);
}

.card-media {
    width: 100%;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 28px;
    font-weight: 600;
    color: #0b1234;
    margin-bottom: 50px;
}

.explore-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #0b1234;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.explore-btn:hover {
    background: #1b2360;
}

/* Responsive */

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-title {
        font-size: 48px;
    }
}

/* SECTION 3 - LISTED PROJECTS */

.projects-section {
    background: #ffffff;
    padding: 120px 0;
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.projects-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.projects-heading {
    font-size: 60px;
    font-weight: 600;
    color: #0b1234;
    margin-bottom: 80px;
}

/* Row animation wrapper */
.projects-row {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: stepSlide 12s ease-in-out infinite;
}

/* Individual card */
.project-card {
    min-width: 260px;
    background: #f4f6f9;
    border-radius: 28px;
    padding: 40px 30px;
    text-align: left;
    border: 2px solid #d9e6f3;

}

.project-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 30px;
    border-radius: 12px;
}

.project-category {
    font-size: 16px;
    color: #8b8f9e;
    margin-bottom: 8px;
}

.project-title {
    font-size: 26px;
    font-weight: 600;
    color: #111;
}

/* Controls */
.projects-controls {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.arrow-btn {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    border: 2px solid #d9e6f3;
    background: #f4f6f9;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s ease;
}

.arrow-btn:hover {
    background: #eaf1f8;
}

/* LOOP ANIMATION */
@keyframes stepSlide {

    /* Show first 3 cards */
    0%   { transform: translateX(0); }
    25%  { transform: translateX(0); }

    /* Move next 3 cards */
    30%  { transform: translateX(-1020px); }
    50%  { transform: translateX(-1020px); }

    /* Move next set */
    70%  { transform: translateX(-2040px); }
    90%  { transform: translateX(-2040px); }

    /* Reset */
    100% { transform: translateX(0); }
}

/*SECTION 4 - WHAT IS AICM */

.about-section {
    background: #ffffff;
    padding: 60px 20px;
    font-family: "Inter", sans-serif;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Rounded pill video container */
.about-media {
    width: 400px;
    height: 170px;
    border-radius: 999px;
    overflow: hidden;
    border: 4px solid #c0c2ca;
    margin: 0 auto 40px;
    box-shadow: 0 40px 30px 30px rgba(0, 0, 0, 0.08);
}

.about-media video {
    padding: 4px;
    border-radius: 999px; /* slight margin to prevent overflow */
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Heading */
.about-heading {
    font-size: 56px;
    font-weight: 600;
    color: rgb(3, 9, 48);
    margin-bottom: 30px;
}

/* Paragraph */
.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #8d8d90;
    max-width: 720px;
    margin: 0 auto 40px;
    font-weight: 600;
}

/* Button */
.about-btn {
    display: inline-block;
    padding: 22px 50px;
    border-radius: 20px;
    border: 3px solid #bfdceb;
    background: #eef5fb;
    color: rgb(3, 9, 48);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: #dfefff;
    border-color: #9ec5e9;
}

/* Responsive */
@media (max-width: 768px) {

    .about-heading {
        font-size: 40px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-media {
        border-radius: 40px;
    }

}

/*  SECTION 5 - AICM AUDITS  */

.audit-section {
    background: #ffffff;
    padding: 80px 20px;
    font-family: "Inter", sans-serif;
}

.audit-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #f3f3f3 50%, #e9edf3 50%);
    padding: 60px 70px;
    gap: 40px;
}

/* Left Side */
.audit-left {
    flex: 1;
    max-width: 520px;
}

.audit-left h4 {
    font-size: 52px;
    font-weight: 600;
    color: rgb(3, 9, 48);
    margin-bottom: 30px;
}

.audit-left p {
    font-size: 18px;
    line-height: 1.8;
    color: #13192f;
    font-weight: 700;
}

/* Right Side */
.audit-right img {
display: flex;
flex-direction: column; 
align-content: center;
gap: 30px;}

.solidproof-logo {
    width: 280px;
    max-width: 100%;
    margin-right: 100px;
    margin-bottom: 30px;
}

.kyc-badge {
    width: 180px;
    max-width: 100%;
    margin-left: 50px;

}

/* Responsive */
@media (max-width: 992px) {

    .audit-container {
        flex-direction: column;
        text-align: center;
        background: #f3f3f3;
        padding: 50px 30px;
    }

    .audit-left {
        max-width: 100%;
    }

    .audit-left h4 {
        font-size: 38px;
    }

    .audit-left p {
        font-size: 16px;
    }

}

/* SECTION 6 - TOKEN UTILITY */

.utility-section {
    background: #ffffff;
    padding: 80px 20px;
    font-family: "Inter", sans-serif;
}

.utility-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT SIDE */

.utility-left {
    flex: 1;
    max-width: 600px;
}

.wallet-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f2f4f7;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    margin-bottom: 30px;
}

.wallet-badge img {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.utility-left h4 {
    font-size: 64px;
    font-weight: 600;
    color: rgb(3, 9, 48);
    margin-bottom: 25px;
}

.utility-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 40px;
    font-weight: 700;
}

/* GRID */

.utility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.utility-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 18px;
    border: 2px solid #dbe7f5;
    background: #f4f8fc;
    transition: all 0.3s ease;
}

.utility-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.utility-card p {
    font-size: 16px;
    font-weight: 500;
    color: rgb(3, 9, 48);
    margin: 0;
}

.utility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* RIGHT SIDE */

.utility-right {
    flex: 1;
    text-align: center;
}

.utility-right img {
    width: 100%;
    max-width: 520px;
}

/* RESPONSIVE */

@media (max-width: 1024px) {

    .utility-container {
        flex-direction: column;
        text-align: center;
    }

    .utility-left {
        max-width: 100%;
    }

    .utility-left h4 {
        font-size: 42px;
    }

    .utility-desc {
        font-size: 16px;
    }

    .utility-grid {
        grid-template-columns: 1fr;
    }

}




