/* Color Variables */
:root {
    --primary-color: #37ca37;
    --secondary-color: #188bf6;
    --white: #ffffff;
    --black: #000000;
    --color-primary: #293857;
    --color-secondary: #D4C28B;
    --color-tertiary: #E8E6D9;
    --color-quaternary: #FFBF00;
    --color-text: #333333;
    --color-bg-light: #EAEAEA;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: #eaeaea
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/67fd12ac71384b7a2bb53ae2.jpg') center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* founder section */

#founderSection {
    font-family: 'Inter', 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    /* overflow-x: hidden; */
    position: relative;
}


.container {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.main-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: cardEntrance 1s ease-out;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



.content-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 700px;
}

.left-panel {
    /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); */
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    justify-content: flex-end;


}


.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('/assets/images/67fd21e6c7a0156a3cd89c37.png') center/cover no-repeat;




}


.image-container {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.title-badge {
    background: linear-gradient(135deg, #d5c28b 0%, #e8e0ca 50%, #d5c28b 100%);
    background-size: 200% 100%;
    color: #1a1a2e;
    border: 1px solid #d5c28b;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow:
        0 15px 40px rgba(193, 155, 95, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }
}

.right-panel {
    background: rgba(255, 255, 255, 0.98);
    padding: 80px 70px;
    position: relative;
    overflow: hidden;
}

.greeting {
    font-size: 72px;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #d5c28b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    animation: textEntrance 1s ease-out 0.3s both;
}

@keyframes textEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.greeting::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #d5c28b, transparent);
}

.message-text {
    color: #2d2d2d;
    line-height: 2;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 30px;
    position: relative;
    animation: textEntrance 1s ease-out 0.5s both;
}

.message-text p {
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
}

.message-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, #d5c28b, transparent);
}

.highlight-text {
    color: #2d3c69;
    font-weight: 600;
    position: relative;
}

.signature-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(193, 155, 95, 0.2);
    position: relative;
    animation: textEntrance 1s ease-out 0.7s both;
}

.closing {
    font-size: 16px;
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.founder-name {
    font-size: 42px;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: #1a1a2e;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.founder-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #c19b5f, #f4e5c2);
    transition: width 0.5s ease;
}

.signature-area:hover .founder-name::after {
    width: 100%;
}

.founder-title {
    font-size: 14px;
    color: #2d3c69;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.accent-lines {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.accent-lines::before,
.accent-lines::after {
    content: '';
    position: absolute;
    background: linear-gradient(45deg, transparent, rgba(193, 155, 95, 0.05), transparent);
}

.accent-lines::before {
    width: 400px;
    height: 2px;
    bottom: 100px;
    right: -50px;
    transform: rotate(-45deg);
}

.accent-lines::after {
    width: 2px;
    height: 400px;
    bottom: -50px;
    right: 100px;
    transform: rotate(-45deg);
}

@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .left-panel {
        padding: 60px 40px;
        min-height: 800px;

    }

    .right-panel {
        padding: 60px 50px;
    }

    .greeting {
        font-size: 56px;
    }

    .geometric-bg {
        background-position: top;
    }
}

@media (max-width: 768px) {
    #founderSection {
        padding: 20px 10px;
    }

    .left-panel,
    .right-panel {
        padding: 40px 30px;
    }
    .left-panel {
        min-height: 600px;

    }


    .founder-image {
        width: 240px;
        height: 240px;
    }

    .greeting {
        font-size: 42px;
    }

    .message-text {
        font-size: 15px;
    }

    .founder-name {
        font-size: 32px;
    }
}




/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
}

.shadow {
    background: #fff;
    padding: 50px 30px;
    border-radius: 25px;
}

/* .section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 10px;
} */

.feature-card {
    background-color: var(--color-tertiary);
    border: 2px solid var(--color-tertiary);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

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

}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature-content {
    border-radius: 15px;
    padding: 10px;
}

.feature-content p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 50px 20px;
    }

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

    .feature-card h4 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }
}

/* Team Section */
/* .team-section {
    padding: 0px 0;

}

.team-card {
    background-color: var(--color-secondary);

    border-radius: 20px;
    padding: 20px 5px;
    text-align: center;
    margin: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-image {
    margin-bottom: 15px;
}

.team-image img {
    width: 63%;
    border-radius: 10px;
    border: none;
}

.team-card h5 {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 5px;
    line-height: 1.3;
}

.team-card p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .team-section {
        padding: 50px 0;
    }

    .team-card {
        margin: 10px 5px;
        padding: 15px 5px;
    }

    .team-card h5 {
        font-size: 1rem;
    }

    .team-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .team-image img {
        width: 80%;
    }

    .team-card h5 {
        font-size: 0.9rem;
    }

    .team-card p {
        font-size: 0.75rem;
    }
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.btn-hover-effect {
    transition: all 0.3s ease;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} */

#teamSection {
    font-family: 'Inter', 'poppins', sans-serif;
    min-height: 100vh;
    padding: 80px 20px;
    overflow-x: hidden;
    position: relative;
}


.container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 72px;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}



.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px;
}

.team-member {
    min-height: 450px;
    align-content: flex-end;
    justify-items: self-start;
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 30px;
    padding: 100px 35px 10px;
    /* border: 1px solid rgb(68, 68, 68); */
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: cardEntrance 1s ease-out backwards;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #333 0%, transparent 50%);
    opacity: 1;
    transition: opacity 0.5s ease;
}


#kashif {
    background: url('/assets/images/67fd21e6c7a0156a3cd89c37.png') top center / cover no-repeat;
}

#Hira {
    background: url('/assets/images/67fd238c131f1b6dfeb50665.png') top center / cover no-repeat;
}

#Zainab {
    background: url('/assets/images/67fd23c00fa4ee83c5e58d68.png') top center / cover no-repeat;
}

#Talha {
    background: url('/assets/images/67fd23ea131f1bde81b506ae.png') top center / cover no-repeat;
}

#Natasha {
    background: url('/assets/images/67fd24260fa4ee30a8e58dbc.png') top center / cover no-repeat;
}

#Hamza {
    background: url('/assets/images/67fd24bb80d564b70cf2ee10.png') top center / cover no-repeat;
}

#Effa {
    background: url('/assets/images/67fd258e131f1b6c47b50b24.png') top center / cover no-repeat;
}

#Samar {
    background: url('/assets/images/67fd258e131f1b3b63b50b25.png') top center / cover no-repeat;
}

#Ameer {
    background: url('/assets/images/67fd258fc7a015594cd8a099.png') top center / cover no-repeat;
}

.team-member:nth-child(1) {
    animation-delay: 0.1s;
}

.team-member:nth-child(2) {
    animation-delay: 0.2s;
}

.team-member:nth-child(3) {
    animation-delay: 0.3s;
}

.team-member:nth-child(4) {
    animation-delay: 0.4s;
}

.team-member:nth-child(5) {
    animation-delay: 0.5s;
}

.team-member:nth-child(6) {
    animation-delay: 0.6s;
}

.team-member:nth-child(7) {
    animation-delay: 0.7s;
}

.team-member:nth-child(8) {
    animation-delay: 0.8s;
}

.team-member:nth-child(9) {
    animation-delay: 0.9s;
}

.team-member:nth-child(10) {
    animation-delay: 1s;
}

.team-member:nth-child(11) {
    animation-delay: 1.1s;
}

.team-member:nth-child(12) {
    animation-delay: 1.2s;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: rgba(193, 155, 95, 0.3);
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(193, 155, 95, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gold-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
            transparent 0%,
            #d5c28b 20%,
            #f4e5c2 40%,
            #d5c28b 50%,
            #f4e5c2 60%,
            #d5c28b 80%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member:hover .gold-border {
    opacity: 1;
}

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

    100% {
        background-position: 200% 0;
    }
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(193, 155, 95, 0.8);
    box-shadow:
        0 0 60px rgba(193, 155, 95, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
}


.member-info {
    text-align: left;
    position: relative;
    z-index: 1;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.team-member:hover .member-name {
    color: #c19b5f;
}

.member-role {
    font-size: 14px;
    font-weight: 500;
    color: rgba(193, 155, 95, 0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .section-title {
        font-size: 56px;
    }

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

@media (max-width: 768px) {
    #teamSection {
        padding: 60px 20px;
    }

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

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 10px;
        padding: 0px;
        min-height: 200px;
    }

    .team-member {
        padding: 40px 30px 10px;
        min-height: 360px;
    }

    .member-photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 36px;
    }

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