
.topbar1 {
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}


.topbar1-inner {
    background: var(--color-400);
    max-width: 100%;
    padding: 4px 80px 4px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* Main nav */
.main-nav1 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    color: #fff
}

.main-nav1 .menu {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 95%;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
}

/* ===== MENU HOVER ANIMATION ===== */
.main-nav1 .menu {
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* underline animation */
.main-nav1 .menu::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.main-nav1 .menu:hover::after {
    width: 100%;
}

.main-nav1 .menu:hover {
    transform: translateY(-2px);
}

.main-nav1 .menu:hover {
    background: rgba(255, 255, 255, 0.04)
}

.main-nav1 ul {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav1 button {
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600
}



@media (max-width:600px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .main-nav1 ul {
        display: none
    }

    .panels {
        grid-template-columns: 1fr
    }

    .panel-grid img {
        height: 140px
    }

    .hero {
        height: 200px
    }
}

.user-actions4 {
    display: flex;
    gap: 18px;
    align-items: center;
    color: #fff
}

.user-actions4 .account{
    font-size: 13px;
    line-height: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
}
.user-actions4 .account a{
    color: var(--color-400);
    font-weight:bold ;
}

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


nav a:hover:after {
    width: 100%;
}

.hero {
    padding: 80px 0;
    background: white;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #16c4df, #034c62);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    /* margin: 0 auto 40px; */
    color: #b0b0b0;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, #02b9dd, #02bef7);
    color: white;
    margin: 100px 0px 0px 0px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.4);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    /* color: #014b5e; */
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #02b9dd, #02bef7);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.build-card.active .build-info {
    max-height: 200px; /* enough for content */
    opacity: 1;
}

/* Optional styling */
.build-info p {
    margin: 5px 0;
    font-size: 14px;
}


.featured-builds {
    padding: 80px 0;
    background-color: white;
}

.builds-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.build-card {
    /* background: linear-gradient(145deg, #025262, #066d99); */
    border-radius: 15px;
    margin: 5px;
    padding: 15px;
    /* text-align: center; */
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.build-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.build-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(2, 158, 189, 0.2);
}

.build-img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.build-content {
    padding: 25px;
}

.build-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.build-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.build-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    color: #333;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

.build-card.active .build-info {
    max-height: 200px; /* enough for content */
    opacity: 1;
}

.btnt {
    display: inline-block;
    background: linear-gradient(45deg, #02b9dd, #02bef7);
    color: white;
    margin: 40px auto 0;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.btnt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.4);
}

/* Ensure images fill the image containers */
.build-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}
.view-details{
    display: flex;
    justify-content: center;
    align-items: start;
}

.core-behaviours {
    padding: 80px 0;
}

.behaviours-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.behaviour-card {
    /* background: linear-gradient(145deg,#e1f4fd); */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid #2a7992;
}

.behaviour-card.animated {
    opacity: 1;
    transform: translateY(0);
}

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

.behaviour-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    /* background: linear-gradient(to right, #00b2fe); */
}

.behaviour-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2a7992;
}

.behaviour-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2a7992;
}

.behaviour-card p {
    color: #2a7992;
}

.accomplishments {
    padding: 80px 0;
    /* background-color: #11111a; */
}

.accomplishments-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.accomplishment-card {
    /* background: #e1f4fd; */
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s;
    opacity: 0;
    transform: scale(0.8);
    border: 2px solid #2a7992;
}

.accomplishment-card.animated {
    opacity: 1;
    transform: scale(1);
}

.accomplishment-card:hover {
    transform: scale(1.05);
}

.accomplishment-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #2a7992);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accomplishment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1f1f1f;
}

.accomplishment-card p {
    color: #454545;
    font-size: 0.9rem;
}

.stats {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #2a7992);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

footer {
    /* background-color: #0a0a0f; */
    padding: 40px 0;
    text-align: center;
    /* border-top: 1px solid #222233; */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222233;
    border-radius: 50%;
    color: #e0e0e0;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: #ff4d4d;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .builds-container,
    .behaviours-container,

    .accomplishments-container {
        grid-template-columns: 1fr;
    }

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


.about-hero {
    background: white;
    color:#024f66;
    text-align: center;
    padding: 80px 20px;
}

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

.about-hero p {
    max-width: 800px;
    margin: auto;
    font-size: 1.2rem;
}

/* SECTION TITLE */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

/* TEAM */
.team {
    padding: 80px 0;
}

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

.team-card {
    background: white;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
}

.team-card h3 {
    margin-top: 15px;
    font-size: 1.3rem;
}

.team-card p {
    color: #02b9dd;
    font-weight: bold;
}

.team-card span {
    font-size: 0.9rem;
    color: #777;
}

/* VALUES */
.values {
    background: #fff;
    padding: 80px 0;
}

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

.value-card {
    /* background: #e1f4fd; */
    color: #2a7992;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #2a7992;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    
}

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

.value-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.value:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    /* background: linear-gradient(to right, #00b2fe); */
}

.value-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2a7992;
}

.value-card h3 {
    margin-bottom: 10px;
}

/* ACHIEVEMENTS */
.achievements {
    padding: 80px 0;
}

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

.achievement-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    /* box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
    text-align: center;
}

.achievement-card h3 {
    color: #02b9dd;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.2rem;
    }
}