/* OVERALL */
* {
    font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
}

body {
    margin: auto;
    color: #000000;
    background: #f4f1ee;
}

.about-hero {
    background: linear-gradient(135deg, rgb(108 88 100 / 48%) 0%, rgb(117 92 105 / 74%) 100%), url(../images/bg.jpeg) no-repeat;
    background-size: cover;
    background-position: 60% center;
    height: 85vh;
    position: relative;
    max-width: 100vw;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.5;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.about-bg {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    top: 24%;
    z-index: 1;
}

.about-bg h2 {
    font-size: 3.5rem;
    font-weight: 900;
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.about-bg h5 {
    font-size: 16px;
    font-weight: 600;
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    font-style: italic;
}

/* Who We Are content */
.about-sec {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -19px;
    padding: 60px 40px;
}

.who-we-are {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.who-we-are h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1E3A8A;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #604652 0%, #604652 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.who-we-are p {
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.who-we-are img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 4px solid #604652;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.who-we-are img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(117, 73, 114, 0.25);
    border-color: #34D399;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.sub-heading {
    font-size: 18px;
    letter-spacing: 12px;
    color: #604652;
    font-weight: 600;
    text-transform: uppercase;
}

.main-heading {
    font-family: "Aclonica", sans-serif;
    font-size: 60px;
    font-weight: 900;
    color: #1E3A8A;
    padding-top: 20px;
    background: linear-gradient(135deg, #604652 0%, #ffd2f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-card.floating-image-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 253, 244, 0.6) 100%);
    border-radius: 24px;
    border: 2px solid rgb(110 82 96 / 10%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.08);
}

.about-image-floating {
    position: sticky;
    top: 100px;
}

.about-image-floating img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 4px solid #604652;
    box-shadow: 0 8px 24px rgb(91 42 97 / 51%);;
    transition: all 0.3s ease;
}

.about-image-floating img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(97, 69, 96, 0.25);
    border-color: #c995ad;
}

.about-content-overlay {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 900px) {
    .about-card.floating-image-layout {
        grid-template-columns: 1fr;
        gap: 0px;
        padding: 30px 20px;
    }

    .about-image-floating {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    .dot {
        display: none !important;
    }
}

/* Team section */
.team-section {
    background: linear-gradient(135deg, #604652 0%, #6c515d 100%), url(../images/About/Background.png) no-repeat;
    background-size: cover;
    background-position: 60% center;
    background-blend-mode: overlay;
    /* height: 100vh; */
    max-width: 100vw;
    overflow: hidden;
    padding: 146px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
    top: -19px;
}

.team-header {
    text-align: left;
    max-width: 800px;
}

.team-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-header p {
    font-size: 16px;
    color: #F0FDF4;
    font-weight: 500;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 39px;
    justify-content: center;
}

.team-card {
    background: linear-gradient(135deg, #ffffff 0%, #F0FDF4 100%);
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 12px 35px rgb(139 102 120);
    box-sizing: border-box;
    max-width: 37%;
    border: 3px solid #daa2bc;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 30, 38, 0.35);
    border-color: #604652;
}

.team-card img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
    margin-right: 15px;
    border: 3px solid #daa2bc;
    transition: all 0.3s ease;
}

.team-card:hover img {
    border-color: #604652;
    transform: scale(1.05);
}

.team-info {
    color: #604652;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 5px;
    color: #604652;
}

.team-info .role {
    font-size: 14px;
    font-weight: 700;
    color: #964168;
    display: block;
    margin-bottom: 8px;
}

.team-info p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    font-weight: 500;
}

/* Milestones */
.milestones-section {
    padding: 6% 9%;
}

.milestones-section h2 {
    font-size: 28px;
    margin-bottom: 50px;
    color: #1E3A8A;
    font-weight: 800;
    background: linear-gradient(135deg, #604652 0%, #cc8fab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.milestones-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
}

.timeline {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 2px;
    border-top: 2px dashed #5a3a49;
    z-index: 0;
    opacity: 0.4;
}

.milestone {
    text-align: center;
    position: relative;
    z-index: 1;
}

.year {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #604652;
    font-size: 16px;
}

.dot {
    display: block;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #604652, #caa6b7);
    border: 4px solid #F0FDF4;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(61, 41, 53, 0.3);
    transition: all 0.3s ease;
}

.milestone:hover .dot {
    transform: scale(1.3);
    box-shadow: 0 6px 18px rgba(77, 52, 68, 0.5);
    background: linear-gradient(135deg, #7c4f64, #dfb7ca);
}

.milestone p {
    font-size: 14px;
    color: #000000;
    margin: 5px 0;
    font-weight: 600;
}

.additional {
    min-width: 220px;
    text-align: left;
}

.additional h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #1E3A8A;
    font-weight: 800;
}

.additional ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional li {
    font-size: 14px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
}

.additional li::before {
    content: '●';
    color: #3B82F6;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .milestones-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .timeline {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .additional {
        min-width: unset;
        text-align: center;
    }
}

@media (max-width:425px) {
    .about-bg h5 {
        font-size: 12px;
        font-weight: 500;
        max-width: 320px;
        text-align: center;
    }

    .about-bg h2 {
        font-size: 1.5rem;
        font-weight: 700;
        max-width: 320px;
        text-align: center;
    }

    .about-bg {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        gap: 10px;
        position: relative;
        top: 24%;
    }

    .about-card {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding: 10px;
    }

    .sub-heading {
        font-size: 12px;
    }

    .main-heading {
        font-family: "Aclonica", sans-serif;
        font-size: 28px;
        font-weight: 800;
        color: #1E3A8A;
        padding-top: 10px;
    }

    .team-section {
        background-size: cover;
        background-position: 60% center;
        background-blend-mode: overlay;
        max-width: 100vw;
        overflow: hidden;
        padding: 74px 0px 0px 6px;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .team-header h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .team-header p {
        font-size: 14px;
        color: #F0FDF4;
    }

    .team-card {
        background: #fff;
        display: flex;
        align-items: center;
        border-radius: 15px;
        overflow: hidden;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
        box-sizing: border-box;
        max-width: 100%;
        flex-direction: row;
    }

    .team-card img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .team-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .team-info h3 {
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 5px;
    }

    .team-info .role {
        font-size: 12px;
        font-weight: 600;
        display: block;
        margin-bottom: 8px;
    }

    .team-info p {
        font-size: 11px;
        color: #666;
        line-height: 1.5;
    }

    .timeline::before {
        display: none;
    }

    .about-image-floating img {
        display: none !important;
    }

    .about-sec {
        top: 0px !important;
        padding: 38px 7px;
    }


}

@media (min-width:426px) and (max-width:480px) {

    .about-image-floating img {
        display: none !important;
    }

    .about-sec {
        top: 0px !important;
        padding: 38px 7px;
    }

    .about-bg h5 {
        font-size: 14px;
        font-weight: 500;
        max-width: 370px;
        text-align: center;
    }

    .about-bg h2 {
        font-size: 2rem;
        font-weight: 700;
        max-width: 370px;
        text-align: center;
    }

    .sub-heading {
        font-size: 14px;
    }

    .main-heading {
        font-family: "Aclonica", sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: #1E3A8A;
        padding-top: 10px;
    }

    .team-section {
        padding: 90px 0px 0px 6px;
        gap: 10px;
    }

    .team-card {
        max-width: 100%;
    }

    .team-card img {
        width: 80px;
        height: 80px;
    }

    .timeline::before {
        display: none;
    }
}

@media (min-width:481px) and (max-width:600px) {
    .about-image-floating img {
        display: none !important;
    }

    .about-sec {
        top: 0px !important;
        padding: 38px 7px;
    }

    .about-bg h5 {
        font-size: 15px;
        font-weight: 500;
        max-width: 400px;
    }

    .about-bg h2 {
        font-size: 2rem;
        max-width: 400px;
    }

    .sub-heading {
        font-size: 16px;
    }

    .main-heading {
        font-size: 36px;
    }

    .team-section {
        padding: 90px 0px 10px 6px;
        gap: 10px;
        background-blend-mode: normal !important;

    }

    .team-card {
        max-width: 90%;
    }

    .timeline::before {
        display: none;
    }
}

@media (min-width:601px) and (max-width:900px) {
    .about-image-floating img {
        display: none !important;
    }

    .about-sec {
        top: 0px !important;
        padding: 38px 7px;
    }

    .main-heading {
        font-family: "Aclonica", sans-serif;
        font-size: 45px;
    }

    .about-bg h5 {
        font-size: 16px;
        max-width: 560px;
    }

    .about-bg h2 {
        font-size: 2.5rem;
        max-width: 570px;
    }

    .team-section {
        padding: 8px 0px 0px 16px;
        gap: 10px;
        background-blend-mode: normal !important;
    }

    .team-card {
        max-width: 90%;
    }

    .team-grid {
        justify-content: center;
    }

    .team-card img {
        width: 100px;
        height: 100px;
    }

    .timeline::before {
        display: none;
    }
}

@media (min-width:901px) and (max-width:1024px) {
    .main-heading {
        font-size: 50px;
    }

    .team-grid {
        justify-content: center;
    }

    .team-section {
        padding: 154px 0px 13px 16px;
    }

    .team-card {
        max-width: 40%;
    }

    .team-card img {
        width: 120px;
        height: 120px;
    }
}

@media (min-width:1025px) and (max-width:1280px) {
    .team-section {
        padding: 154px 0px 10px 16px;
    }

    .team-card {
        max-width: 44%;
    }

    .team-card img {
        width: 150px;
        height: 150px;
    }

    .team-grid {
        justify-content: center;
    }
}

@media (min-width:1281px) and (max-width:1440px) {
    .team-section {
        height: 85vh;
        padding: 154px 0px 0px 16px;
    }

    .team-card {
        max-width: 40%;
    }

    .team-card img {
        width: 150px;
        height: 150px;
    }

    .team-grid {
        gap: 22px;
    }
}