@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --accent-color: #ff6584;
    --dark-color: #1f1f25;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
    --gradient: linear-gradient(135deg, #6c63ff 0%, #ff6584 100%);
    --nav-bg: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: lightcyan;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.hero {
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: relative;
    z-index: 100;
    transition: all 0.4s ease;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: auto;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
}

.logo span {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: var(--gradient);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    order: 2;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    order: 3;
    width: 80%;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    display: flex;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a:hover {
    color: white;
    background: var(--gradient);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    transform: translateY(-2px);
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: var(--gradient);
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

nav ul li a:hover::before {
    opacity: 1;
}

nav ul li a i {
    margin-right: 8px;
    font-size: 14px;
}

.resume-btn-container {
    margin-left: 8px;
}

.resume-btn-container .btn {
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: var(--gradient);
    color: white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, background 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    white-space: nowrap;
    text-decoration: none;
    will-change: transform;
    backface-visibility: hidden;
    outline: none;
    min-width: 120px;
    box-sizing: border-box;
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.section-heading {
    display: flex;
    justify-content: center;
    margin: 80px 0 40px;
    margin-top: -50px;
}

.section-heading .btn {
    pointer-events: none;
    font-size: 18px;
    padding: 12px 30px;
}

section {
    min-height: 100vh;
    padding: 60px 40px;
    position: relative;
}

section:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.7);
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 110px;
    position: relative;
    z-index: 1;
}

.content-text {
    flex: 1;
    padding-right: 150px;
    padding-left: 50px;
    min-width: 600px;
    margin-left: -80px;
}

.content-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    margin-left: -120px;
    margin-right: 50px;
    margin-top: -20px;
    will-change: transform;
    transform-style: preserve-3d;
}

.content-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.title {
    color: var(--primary-color);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 600;
}

.content h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
    white-space: nowrap;
}

.content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
}

.social-icons {
    display: flex;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.content-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
    box-shadow: 0 10px 30px rgba(10, 9, 17, 0.15);
    line-height: 1.7;
    position: relative;
    overflow: hidden;
    margin-top: -10px;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
}

.education-timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-point {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient);
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -22px;
    top: 25px;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.education-header h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 15px;
}

.education-date {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.education-degree {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.education-grade,
.education-location {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 15px;
    color: var(--text-light);
}

.education-grade i,
.education-location i {
    margin-right: 8px;
    color: var(--accent-color);
    width: 18px;
    text-align: center;
}

.education-grade span {
    font-weight: 500;
    color: var(--dark-color);
}

.experience-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-item {
    background: #f9f9ff;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.experience-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.1);
}

.experience-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.company-logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.experience-title h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.company-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 5px;
    align-items: center;
}

.company-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
}

.experience-date {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
}

.experience-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-light);
}

.experience-location i {
    color: var(--accent-color);
}

.experience-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.experience-bullets li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.experience-bullets i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.experience-bullets strong {
    color: var(--primary-color);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.skill-category {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.skill-header i {
    font-size: 20px;
    width: 36px;
    height: 36px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.skill-card {
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
    background: #f9f9ff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 5px;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.3);
    z-index: 1;
    background: white;
}

.skill-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--skill-level);
    height: 3px;
    background: var(--gradient);
    transition: width 0.5s ease;
}

.skill-icon {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.skill-tags.soft span {
    background: rgba(255, 101, 132, 0.1);
    color: var(--accent-color);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-top: 30px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.2);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-links {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-link {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.project-link:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h3 {
    color: var(--dark-color);
    font-size: 20px;
    margin: 0;
}

.project-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tech span {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.project-features h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.project-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.project-features i {
    color: var(--accent-color);
    margin-top: 2px;
    font-size: 12px;
}

#certifications .content-card {
    padding: 40px;
}

.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.certification-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.2);
}

.certification-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.certification-badge {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.certification-title {
    flex-grow: 1;
}

.certification-title h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.certification-issuer {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
}

.certification-issuer i {
    margin-right: 8px;
    font-size: 13px;
}

.certification-date {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 10px;
    display: inline-block;
}

.certification-verify {
    margin-top: 20px;
    text-align: center;
}

.certification-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.certification-link:hover {
    background: var(--gradient);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.certification-link i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.certification-link:hover i {
    transform: translateX(3px);
}

.certification-card.pearson {
    border-top-color: #0072BC;
}

.certification-card.pearson .certification-badge {
    background: linear-gradient(135deg, #0072BC 0%, #003B75 100%);
}

.certification-card.pearson .certification-link {
    background: rgba(0, 114, 188, 0.1);
    color: #0072BC;
}

.certification-card.pearson .certification-link:hover {
    background: linear-gradient(135deg, #0072BC 0%, #003B75 100%);
}

.certification-card.hackerrank {
    border-top-color: #00EA64;
}

.certification-card.hackerrank .certification-badge {
    background: linear-gradient(135deg, #00EA64 0%, #00B050 100%);
}

.certification-card.hackerrank .certification-link {
    background: rgba(0, 234, 100, 0.1);
    color: #00B050;
}

.certification-card.hackerrank .certification-link:hover {
    background: linear-gradient(135deg, #00EA64 0%, #00B050 100%);
}

.certification-card.ibm {
    border-top-color: #054ADA;
}

.certification-card.ibm .certification-badge {
    background: linear-gradient(135deg, #054ADA 0%, #0530AD 100%);
}

.certification-card.ibm .certification-link {
    background: rgba(5, 74, 218, 0.1);
    color: #054ADA;
}

.certification-card.ibm .certification-link:hover {
    background: linear-gradient(135deg, #054ADA 0%, #0530AD 100%);
}

.certification-card.edx {
    border-top-color: #022B39;
}

.certification-card.edx .certification-badge {
    background: linear-gradient(135deg, #022B39 0%, #000000 100%);
}

.certification-card.edx .certification-link {
    background: rgba(2, 43, 57, 0.1);
    color: #022B39;
}

.certification-card.edx .certification-link:hover {
    background: linear-gradient(135deg, #022B39 0%, #000000 100%);
}

.certification-card.github {
    border-top-color: #333;
}

.certification-card.github .certification-badge {
    background: linear-gradient(135deg, #333 0%, #000 100%);
}

.certification-card.github .certification-link {
    background: rgba(51, 51, 51, 0.1);
    color: #333;
}

.certification-card.github .certification-link:hover {
    background: linear-gradient(135deg, #333 0%, #000 100%);
}

.certification-card.aws {
    border-top-color: #FF6B00;
}

.certification-card.aws .certification-badge {
    background: linear-gradient(135deg, #FF9900 0%, #FF6B00 100%);
}

.certification-card.aws .certification-link {
    background: rgba(255, 153, 0, 0.1);
    color: #FF6B00;
}

.certification-card.aws .certification-link:hover {
    background: linear-gradient(135deg, #FF9900 0%, #FF6B00 100%);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.certification-card {
    animation: slideIn 0.6s ease forwards;
    opacity: 0;
}

.certification-card:nth-child(1) {
    animation-delay: 0.1s;
}

.certification-card:nth-child(2) {
    animation-delay: 0.2s;
}

.certification-card:nth-child(3) {
    animation-delay: 0.3s;
}

.certification-card:nth-child(4) {
    animation-delay: 0.4s;
}

.certification-card:nth-child(5) {
    animation-delay: 0.5s;
}

.certification-card:nth-child(6) {
    animation-delay: 0.6s;
}

#achievements .content-card {
    padding: 40px;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--primary-color);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.2);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.achievement-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.achievement-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.achievement-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 15px;
    margin-top: 20px;
}

.achievement-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.achievement-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

.achievement-link i {
    margin-right: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.achievement-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.achievement-card:nth-child(1) {
    animation-delay: 0.1s;
}

.achievement-card:nth-child(2) {
    animation-delay: 0.3s;
}

.profiles-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-category {
    background: #f9f9ff;
    border-radius: 12px;
    padding: 20px;
}

.profile-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.profile-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.15);
}

.profile-card.linkedin i,
.profile-card.linkedin span {
    color: #0a66c2;
}

.profile-card.github i,
.profile-card.github span {
    color: #333;
}

.profile-card.leetcode span {
    color: #ffa116;
}

.profile-card.geeksforgeeks span {
    color: #2F8D46;
}

.profile-card.hackerrank span {
    color: #00EA64;
}

.profile-card.twitter i,
.profile-card.twitter span {
    color: #1DA1F2;
}

.profile-card.instagram i,
.profile-card.instagram span {
    color: #E1306C;
}

.profile-card i {
    font-size: 36px;
    margin-bottom: 10px;
}

.profile-card span {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.profile-card small {
    color: var(--text-light);
    font-size: 13px;
}

.platform-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 10px;
}

.content-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

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

.contact-header h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.contact-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
}

.contact-header p {
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(108, 99, 255, 0.1);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.15);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    background: var(--gradient);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.contact-action i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.contact-action:hover {
    background: var(--gradient);
    color: white;
}

.contact-action:hover i {
    transform: translateX(3px);
}

.footer {
    background: white;
    color: var(--dark-color);
    padding: 40px 0 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    bottom: -70px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.social-icon:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.footer-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(108, 99, 255, 0.1);
    font-size: 14px;
    color: var(--text-light);
    width: 100%;
}

.made-with-love i {
    color: var(--accent-color);
    margin: 0 5px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 1200px) {
    nav ul {
        gap: 10px;
    }

    nav ul li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .content h1 {
        font-size: 40px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        min-height: 260px;
    }
}

@media (max-width: 992px) {
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px !important;
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
        margin-left: 0;
        font-size: 20px;
        white-space: nowrap;
        padding-left: 0;
        flex: 1;
        text-align: center;
    }

    .nav-links {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }

    .resume-btn-container {
        order: 2;
        margin-left: 0;
    }

    .resume-btn-container .btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: auto;
    }

    .content {
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
        padding: 0 15px;
    }

    .content-text {
        padding: 0;
        min-width: auto;
        margin-left: 0;
    }

    .content h1 {
        font-size: 28px !important;
        margin-bottom: 15px;
        line-height: 1.3;
        white-space: normal;
    }

    .title {
        font-size: 14px;
        white-space: normal;
    }

    .content-text>div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .content-text .btn {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
        padding: 10px;
    }

    .content-image {
        order: -1;
        margin: 0 auto 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .content-image img {
        width: 200px;
        height: 200px;
    }

    .content p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .content-image {
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 30px;
    }

    .content h1 {
        font-size: 40px;
    }

    .content-image img {
        width: 250px;
        height: 250px;
    }

    nav ul {
        position: absolute;
        top: 70px;
        right: 20px;
        width: 60%;
        background: white;
        padding: 15px;
        z-index: 1000;
        display: none;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

    nav ul.show {
        display: flex;
        transform: translateX(0);
        left: -20px;
    }

    nav ul li {
        width: 100%;
        margin-bottom: 10px;
    }

    nav ul li a {
        padding: 12px 15px;
        margin: 5px 0;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--gradient);
        color: white;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1001;
        margin-left: -15px;
        margin-top: 5px;
    }

    .mobile-menu-btn:hover {
        transform: scale(1.1);
    }

    nav ul.show {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
        top: 60px;
    }

    nav ul.show+.mobile-menu-btn {
        position: relative;
        top: auto;
        right: auto;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .content-text {
        padding-left: 0;
        padding-right: 0;
    }

    section {
        padding: 40px 20px;
    }

    .section-heading {
        margin: 60px 0 30px;
    }

    .content-card {
        padding: 20px;
        margin: 0 15px 30px;
    }

    .education-header {
        flex-direction: column;
    }

    .education-date {
        margin-top: 5px;
    }

    .experience-header {
        flex-direction: column;
    }

    .company-info {
        gap: 8px;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

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

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

    .contact-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .footer-social {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .content h1 {
        font-size: 24px !important;
        white-space: normal;
    }

    .title {
        font-size: 14px;
    }

    .btn {
        font-size: 0.9rem;
    }

    .section-heading .btn {
        font-size: 1rem;
    }

    body {
        font-size: 14px;
    }

    .hero,
    section {
        padding: 15px !important;
    }

    nav {
        padding: 10px !important;
    }

    .logo {
        order: 2;
        flex: 1 0 100%;
        text-align: center;
        margin: 5px 0;
        font-size: 18px;
        white-space: nowrap;
        padding-left: 0;
    }

    .nav-links {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 5px;
    }

    .resume-btn-container {
        order: 3;
        margin-left: auto;
    }

    .resume-btn-container .btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .content {
        margin-top: 30px;
    }

    .content h1 {
        font-size: 24px !important;
    }

    .content-text {
        padding: 0 !important;
    }

    .content-text .btn {
        min-width: 110px;
        padding: 8px;
    }

    .content-image {
        margin: 0 auto 20px !important;
    }

    .content-image img {
        width: 200px;
        height: 200px;
    }

    .content-card {
        padding: 15px !important;
        margin: 0 0 20px 0 !important;
    }

    .projects-container,
    .certifications-container,
    .achievements-container {
        padding: 0 !important;
    }

    .education-header h3 {
        font-size: 16px;
    }

    .education-date {
        font-size: 12px;
    }

    .contact-card {
        padding: 20px 15px !important;
    }

    .contact-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    .footer {
        padding: 20px 0;
    }

    .footer-content {
        padding: 0 15px;
    }

    .mobile-menu-btn {
        order: 1;
        margin-right: auto;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: none;
        flex-direction: column;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
        margin-bottom: 5px;
    }

    nav ul li a {
        justify-content: center;
        border-radius: 5px;
        padding: 8px 10px;
    }
}
