/* Purple Theme */
:root {
    --primary-purple: #6a2ea0; /* Deep purple */
    --secondary-purple: #8a4cbf; /* Lighter purple */
    --accent-purple: #b76eff; /* Bright purple accent */
    --dark-purple: #4a1d70; /* Dark purple for backgrounds */
    --dark-blue: #0a1a2f; /* Dark blue for backgrounds */
    --light-gray: #f0f2f5; /* Light gray for backgrounds */
    --text-dark: #333333; /* Dark text */
    --text-light: #ffffff; /* Light text */
    --text-muted: #888888; /* Muted text */
    --card-bg: #ffffff; /* Card background */
    --hover-bg: rgba(106, 46, 160, 0.05); /* Hover background */
    --section-padding: 50px 0; /* Reduced section padding */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-purple);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-purple);
}

strong {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-blue) 100%);
    color: var(--text-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
}

.logo span {
    font-weight: 300;
    font-size: 16px;
    display: block;
    color: var(--text-light);
}

.contact-info {
    display: flex;
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.link-icon {
    margin-right: 8px;
}

/* Hero Section */
.hero {
    padding: var(--section-padding);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('/style/Wallpaper.jpg');
    background-size: cover;
    background-position: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--primary-purple);
    box-shadow: 0 10px 30px rgba(106, 46, 160, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-purple);
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 46, 160, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 46, 160, 0.4);
    text-decoration: none;
    color: var(--text-light);
}

/* Section Styles */
.section {
    padding: var(--section-padding);
    margin-bottom: -20px; /* Negative margin to reduce space between sections */
}

.section-light {
    background-color: white;
}

.section-dark {
    background-color: var(--dark-purple);
    color: var(--text-light);
}

.section-purple {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-dark .section-title h3,
.section-purple .section-title h3 {
    color: var(--text-light);
}

.section-dark .section-title p,
.section-purple .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

/* Expertise Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    height: 100%;
}

.featured-card {
    background: linear-gradient(135deg, rgba(106, 46, 160, 0.05) 0%, rgba(0, 178, 255, 0.05) 100%);
    border: 2px solid var(--primary-purple);
    transform: scale(1.02);
}

.featured-card .card-icon {
    color: var(--accent-purple);
}

.featured-card::before {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary-purple));
    height: 6px;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 46, 160, 0.15);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple));
    z-index: 2;
}

.card-content {
    padding: 30px;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.expertise-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.expertise-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Strengths Checklist */
.strengths-checklist {
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.strengths-checklist ul {
    list-style: none;
    padding: 0;
}

.strengths-checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-purple);
}

.strengths-checklist li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 46, 160, 0.1);
}

.strengths-checklist .strength-icon {
    font-size: 24px;
    color: var(--primary-purple);
    margin-right: 15px;
    flex-shrink: 0;
}

.strengths-checklist .strength-content {
    flex: 1;
}

.strengths-checklist h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-purple);
}

.strengths-checklist p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 0;
}

/* Quote Carousel */
.quote-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-container {
    position: relative;
    overflow: hidden;
}

.quote-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-slide.active {
    display: block;
    opacity: 1;
}

.quote {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
}

.quote p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.quote-attribution {
    text-align: right;
}

.quote-attribution .name {
    font-weight: 600;
    color: var(--accent-purple);
    font-size: 18px;
}

.quote-attribution .title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--accent-purple);
}

/* Affiliations */
.logo-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin: 40px 0;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.logo-item {
    flex: 0 0 200px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.logo-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Call to Action */
.cta-section {
    text-align: center;
}

.cta-section h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--text-light);
    padding: 60px 0 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-decoration: none;
}

.copyright a:hover {
    color: white;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    color: var(--text-dark);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-purple);
}

.bio-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-purple);
}

.bio-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bio-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid var(--primary-purple);
    box-shadow: 0 5px 15px rgba(106, 46, 160, 0.3);
}

.bobble-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    margin-bottom: 25%; /* Cut off bottom 25% */
}

.bio-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.bio-footer {
    margin-top: 30px;
    text-align: center;
}

.bio-resume-button {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bio-resume-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 46, 160, 0.3);
}

/* Human Test Styles */
.human-test {
    margin-top: 20px;
}

#captcha-question {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.captcha-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.captcha-option {
    padding: 8px 15px;
    background-color: #f0f2f5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.captcha-option:hover {
    background-color: #e0e2e5;
}

.verification-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#human-test-answer {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

#verify-human {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.refresh-button {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.refresh-button:hover {
    background-color: #f0f2f5;
}

/* Share Modal Styles */
.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #f0f2f5;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.share-button:hover {
    background-color: #e0e2e5;
}

.share-icon {
    margin-right: 8px;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title h3 {
        font-size: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}