/* General Styles */
body {
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Cover Photo Section */
.cover-container {
    position: relative;
    width: 100%;
    height: 280px;
    margin-bottom: 70px;
    background: #f8f9fa;
}

.cover-photo {
    width: 100%;
    height: 100%;
    background-image: url('images/cover.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-photo-container {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 5px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main Content */
.main-content {
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
}

.name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.title {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 5px;
}

.company {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 20px;
    max-width: 600px;
}

.contact-info p {
    margin: 1rem 0;
    color: #475569;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info i {
    color: #3498db;
    font-size: 1.2rem;
}

/* Social Links New Design */
.social-links-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-links {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
}

.social-icon {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-icon i {
    font-size: 1.3rem;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.social-icon span {
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.3s ease;
}

/* LinkedIn */
.social-icon.linkedin {
    border: 1px solid rgba(0, 119, 181, 0.2);
}

.social-icon.linkedin i {
    color: #0077b5;
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
}

/* Facebook */
.social-icon.facebook {
    border: 1px solid rgba(24, 119, 242, 0.2);
}

.social-icon.facebook i {
    color: #1877f2;
}

.social-icon.facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

/* Instagram */
.social-icon.instagram {
    border: 1px solid rgba(228, 64, 95, 0.2);
}

.social-icon.instagram i {
    color: #e4405f;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e4405f;
}

/* GitHub */
.social-icon.github {
    border: 1px solid rgba(51, 51, 51, 0.2);
}

.social-icon.github i {
    color: #333;
}

.social-icon.github:hover {
    background-color: #333;
    border-color: #333;
}

/* Hover effects for all social icons */
.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon:hover span,
.social-icon:hover i {
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    background: #f8fafc;
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-text {
    color: #475569;
    line-height: 1.6;
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    background-color: #3498db;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-success {
    background-color: #2ecc71;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

/* Contact Buttons */
.contact-buttons .btn {
    padding: 12px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cover-container {
        height: 200px;
        margin-bottom: 60px;
    }
    
    .profile-photo-container {
        width: 120px;
        height: 120px;
        bottom: -50px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .social-icon {
        padding: 12px 16px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
}

/* About Section */
.about-content {
    position: relative;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.about-content.expanded {
    max-height: 2000px;
}

.about-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.read-more-btn {
    display: inline-block;
    color: #3498db;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
    user-select: none;
    position: relative;
    padding: 5px 0;
}

.read-more-btn:hover {
    color: #2980b9;
}

.read-more-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, #f8fafc);
    pointer-events: none;
}

.about-content.expanded .read-more-fade {
    display: none;
} 