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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Profile Hero Section */
.profile-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 80px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.profile-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: -15px;
    background: linear-gradient(135deg, #d4af37 0%, #f4c542 100%);
    color: #1e3c72;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.hero-text {
    flex: 1;
}

.profile-name {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.fca-badge {
    color: #d4af37;
    font-size: 42px;
}

.profile-designation {
    font-size: 24px;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 5px;
}

.profile-firm {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #d4af37;
    border-color: #d4af37;
    transform: translateY(-3px);
}

/* Profile Content Section */
.profile-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 25px 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-header i {
    font-size: 28px;
    color: #d4af37;
}

.card-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.card-body {
    padding: 30px;
}

.card-body p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #d4af37, #2a5298);
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-marker {
    position: absolute;
    left: -46px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #d4af37;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #d4af37;
}

.timeline-content h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-position {
    font-size: 16px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-duration {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Specialization Grid */
.specialization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 10px;
    border-left: 4px solid #d4af37;
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spec-item i {
    font-size: 28px;
    color: #2a5298;
}

.spec-item p {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: #d4af37;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    color: #1e3c72;
    font-size: 15px;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Education */
.education-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-item i {
    font-size: 24px;
    color: #2a5298;
    margin-top: 3px;
}

.education-item strong {
    display: block;
    color: #1e3c72;
    font-size: 16px;
    margin-bottom: 5px;
}

.education-item p {
    font-size: 14px;
    color: #666;
    margin: 0 0 3px 0;
}

.university {
    color: #d4af37;
    font-weight: 600;
}

/* Competency Badges */
.competency-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.competency-badge {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Personal Info */
.personal-info p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.personal-info strong {
    color: #1e3c72;
    font-weight: 600;
}

/* Conduct Card */
.conduct-card {
    background: linear-gradient(135deg, #d4af37 0%, #f4c542 100%);
    color: #1e3c72;
}

.conduct-card h3 {
    color: #1e3c72;
    border-bottom-color: rgba(30, 60, 114, 0.3);
}

.conduct-card p {
    font-weight: 600;
    margin: 0;
}

/* Declaration Section */
.declaration-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 50px 0;
}

.declaration-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
}

.declaration-card i {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
}

.declaration-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.declaration-card p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    margin: 0;
}

/* Profile Board Role */
.profile-board-role {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

/* Achievement List */
.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.achievement-list i {
    font-size: 20px;
    color: #d4af37;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Training List */
.training-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.training-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(30, 60, 114, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.training-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.training-item i {
    font-size: 18px;
    color: #2a5298;
}

.training-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-name {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .profile-name {
        font-size: 32px;
    }
    
    .fca-badge {
        font-size: 28px;
    }
    
    .specialization-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -36px;
    }
}