* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-primary {
    border-radius: 25px;    
}

body {
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;       
}

.navbar {
    background-color: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #3498db;
}

.personal-info {
    flex: 1;    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #2c3e50;
}

.personal-info h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.personal-info p {
    color: #555;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 20px;
}

button {
    padding: 10px 25px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

.about-styling {
    padding-bottom: 50px;
}

.profile-img-custom {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 5px solid #fff;     
    transition: transform 0.3s ease, box-shadow 0.3s ease;      
}

.profile-img-custom:hover {
    transform: scale(1.08) rotate(3deg); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.about-styling h2 {
    color: #2c3e50;     
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.about-styling h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #3498db;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-styling .text-muted {
    font-size: 1.1rem;
    line-height: 1.8;      
    color: #6c757d !important;
}

.skills-card-custom {
    border: none;    
    border-top: 4px solid #3498db;     
    border-radius: 10px;   
    transition: transform 0.3s ease, box-shadow 0.3s ease;   
}

.skills-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.15) !important;
}

.skills-card-custom .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.skills-card-custom .card-text {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    color: #555;
    font-size: 0.95rem;
    font-family: 'Courier New', Courier, monospace;
}


.contact-styling h2 {
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contact-styling h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #3498db;
    margin: 10px auto 0;
    border-radius: 2px;
}

.social-card {
    display: block;
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    text-decoration: none;      
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.social-card h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.social-card p {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}

.social-card:hover {
    transform: translateY(-10px);    
    text-decoration: none;
}


.social-card.github i { color: #333; transition: color 0.3s; }
.social-card.github:hover {
    border-color: #333;
    box-shadow: 0 10px 25px rgba(51, 51, 51, 0.2);
}

.social-card.linkedin i { color: #0077b5; transition: color 0.3s; }
.social-card.linkedin:hover {
    border-color: #0077b5;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.2);
}

.social-card.mostaql i { color: #1ba590; transition: color 0.3s; }
.social-card.mostaql:hover {
    border-color: #15b49c;
    box-shadow: 0 10px 25px rgba(27, 165, 144, 0.2);
}

.social-card.upwork i { color: #14a800; transition: color 0.3s; }
.social-card.upwork:hover {
    border-color: #14a800;
    box-shadow: 0 10px 25px rgba(20, 168, 0, 0.2);
}