:root {
    --primary: #fc4343;
    --primary-light: #ff6b6b;
    --primary-dark: #e62e2e;
    --primary-white-light: #ffebee;
    --dark: #222222;
    --light: #f8f9fa;
    --gray: #6c757d;
    --text: #333;
    --card-bg: #ffffff;
    --text-dark: #212121;
    --text-light: #757575;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --border-radius: 15px;
}

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

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 59, 59, 0.03) 0%, transparent 350px),
        radial-gradient(circle at 90% 60%, rgba(255, 59, 59, 0.03) 0%, transparent 350px);
}


/* Geometric shapes */
.geometric-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.shape {
    position: absolute;
    opacity: 0.08;
}

.shape-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    top: 15%;
    left: 8%;
}

.shape-square {
    width: 180px;
    height: 180px;
    border: 3px solid var(--primary);
    bottom: 20%;
    right: 8%;
    transform: rotate(25deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--primary);
    opacity: 0.05;
    top: 55%;
    left: 15%;
}

/* Floating Tech Icons */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.tech-icon {
    position: absolute;
    font-size: 2.5rem;
    color: var(--dark);
    opacity: 0.07;
}

.tech-icon:nth-child(1) {
    top: 20%;
    left: 12%;
    animation: float 15s ease-in-out infinite;
}

.tech-icon:nth-child(2) {
    top: 65%;
    left: 5%;
    animation: float 18s ease-in-out infinite 1s;
}

.tech-icon:nth-child(3) {
    top: 25%;
    right: 10%;
    animation: float 12s ease-in-out infinite 2s;
}

.tech-icon:nth-child(4) {
    top: 65%;
    right: 15%;
    animation: float 20s ease-in-out infinite 3s;
}

.tech-icon:nth-child(5) {
    bottom: 20%;
    left: 25%;
    animation: float 16s ease-in-out infinite 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
#home-page {
    padding: 10rem 8% 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
}

.profile-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-circle {
    position: relative;
    width: 320px;
    height: 320px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.rotating-circle {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.profile-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(255, 59, 59, 0.3);
    z-index: 3;
    border: 4px solid white;
}

.intro-content {
    flex: 1;
    padding-left: 5rem;
}

.greeting {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.2s forwards;
}

.title {
    font-size: 1.8rem;
    color: var(--gray);
    margin-bottom: 1.8rem;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.4s forwards;
}

.title span {
    color: var(--primary);
    font-weight: 600;
}

.description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.6s forwards;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    /* background-color: var(--primary); */
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 59, 59, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 59, 59, 0.2);
}



.divider {
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Social Links */
.social-links {
    position: fixed;
    bottom: 3rem;
    left: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 100;
    opacity: 0;
    animation: fadeIn 0.5s ease 1s forwards;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 59, 59, 0.15);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.5s ease 1.2s forwards;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.scroll-text {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.mobile-nav-link {
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .intro-content {
        padding-left: 3rem;
    }

    .name {
        font-size: 3rem;
    }

    .profile-circle {
        width: 280px;
        height: 280px;
    }

    .profile-badge {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    #home-page {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        gap: 3rem;
    }

    .intro-content {
        padding-left: 0;
    }

    .cta-buttons {
        justify-content: center;
    }

    .stats-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 3rem auto 0;
        max-width: 90%;
    }

    .social-links {
        position: relative;
        left: auto;
        bottom: auto;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    #home-page {
        padding: 7rem 5% 3rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.4rem;
    }

    .profile-circle {
        width: 250px;
        height: 250px;
    }

    .stats-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 576px) {
    .profile-circle {
        width: 200px;
        height: 200px;
    }

    .profile-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==============  About page start ==============*/

/* Header Navigation */
/* header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow-sm);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
} */

/* .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo span {
    color: var(--primary);
} */

/* Main Content */
main {
    margin-top: 5rem;
    padding: 2rem 5%;
    flex: 1;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Column Card */
.column-card {
    /* background-color: var(--card-bg); */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.column-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.column-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    bottom: -8px;
    left: 0;
    border-radius: 10px;
}

/* Personal Info Column */
.personal-info {
    text-align: center;
}

.profile-image-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.profile-image-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.about-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-bio {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.dark-mode .info-card {
    background-color: rgba(40, 40, 40, 0.5);
}

.info-card:hover {
    transform: translateX(5px);
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.info-text {
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.2rem;
    transition: var(--transition);
}

.info-value {
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 59, 59, 0.2);
}

.download-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 59, 59, 0.3);
}

/* Skills Column */
.skills-container {
    display: grid;
    gap: 1.5rem;
}

.skill-card {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.skill-icon {
    width: 35px;
    height: 35px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.skill-level {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--gray);
}

.progress-bar {
    height: 8px;
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    width: 0;
    position: relative;
    animation: progress-animation 1.5s ease-out forwards;
}

@keyframes progress-animation {
    from {
        width: 0;
    }
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(1000%);
    }
}

/* Education Timeline Column */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    height: 100%;
    width: 2px;
    background-color: var(--primary-light);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease-out forwards;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

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

.timeline-dot {
    position: absolute;
    top: 5px;
    left: -2rem;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    box-shadow: 0 0 0 4px var(--light);
    transition: var(--transition);
}


.timeline-content {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.timeline-institution {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    transition: var(--transition);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    opacity: 0.08;
    transition: var(--transition);
}

.floating-element:nth-child(1) {
    top: 15%;
    left: 10%;
    font-size: 3rem;
    animation: float 15s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 5%;
    font-size: 2.5rem;
    animation: float 18s ease-in-out infinite 1s;
}

.floating-element:nth-child(3) {
    top: 20%;
    right: 8%;
    font-size: 2.8rem;
    animation: float 20s ease-in-out infinite 2s;
}

.floating-element:nth-child(4) {
    top: 70%;
    right: 12%;
    font-size: 3.2rem;
    animation: float 17s ease-in-out infinite 3s;
}

.floating-element:nth-child(5) {
    bottom: 15%;
    left: 20%;
    font-size: 2.6rem;
    animation: float 19s ease-in-out infinite 4s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(10px, -15px) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }

    .personal-info {
        grid-column: 1 / 2;
    }

    .skills {
        grid-column: 2 / 3;
    }

    .education {
        grid-column: 1 / 3;
        margin-top: 2rem;
    }

    .timeline {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .personal-info,
    .skills,
    .education {
        grid-column: 1;
    }

    .nav-links {
        display: none;
    }
}


/* ==============  About page end ==============*/


/* ==============  services page start ==============*/

/* Additional styles for services page */
.services-section {
    padding: 10rem 8% 6rem;
    min-height: 100vh;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
}

.service-card:nth-child(1) {
    animation: fadeUp 0.5s ease 0.3s forwards;
}

.service-card:nth-child(2) {
    animation: fadeUp 0.5s ease 0.5s forwards;
}

.service-card:nth-child(3) {
    animation: fadeUp 0.5s ease 0.7s forwards;
}

.service-card:nth-child(4) {
    animation: fadeUp 0.5s ease 0.9s forwards;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-white-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    animation: rotate 15s linear infinite;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.feature-icon {
    color: var(--primary);
    margin-right: 0.8rem;
    font-size: 1rem;
}

.service-cta {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-cta:hover {
    gap: 0.8rem;
}

.process-section {
    padding: 5rem 8%;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 70px;
    right: 70px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-light), var(--primary), var(--primary-light));
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 23%;
    position: relative;
    z-index: 1;
    opacity: 0;
}

.process-step:nth-child(1) {
    animation: fadeUp 0.5s ease 0.5s forwards;
}

.process-step:nth-child(2) {
    animation: fadeUp 0.5s ease 0.7s forwards;
}

.process-step:nth-child(3) {
    animation: fadeUp 0.5s ease 0.9s forwards;
}

.process-step:nth-child(4) {
    animation: fadeUp 0.5s ease 1.1s forwards;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 59, 59, 0.2);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }

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

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-section {
    padding: 4rem 5%;
    border-radius: 25px;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        radial-gradient(circle at 30% 50%, rgba(255, 59, 59, 0.05) 0%, transparent 400px),
        radial-gradient(circle at 70% 50%, rgba(255, 59, 59, 0.05) 0%, transparent 400px);
    position: relative;
}

.cta-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.3s forwards;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-light), var(--primary), var(--primary-light));
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cta-text {
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.technology-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tech-badge {
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-badge i {
    color: var(--primary);
}

@media (max-width: 992px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .process-steps::before {
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }

    .process-step {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 7rem 5% 3rem;
    }

    .process-section,
    .cta-section {
        padding: 4rem 5%;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .process-steps::before {
        display: none;
    }
}


/* ==============  services page end ==============*/

/* ==============  projects page start ==============*/

/* Additional styles for Projects & Experience page */
.page-header {
    text-align: center;
    padding: 8rem 0 2rem;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.4rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

#pro-exp-page {
    padding: 2rem 8% 6rem;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.2s forwards;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
}

/* Project Cards */
.project-cards {
    display: grid;
    gap: 2rem;
}

.project-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

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

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

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.project-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--bg-light);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: var(--gray);
    transition: var(--transition);
}

.tech-badge i,
.tech-badge img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.demo-link {
    display: inline-block;
    margin-left: auto;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.demo-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}
.certifications-link {
    display: inline-block;
    margin-left: auto;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    /* pointer-events: none; */
    /* text-decoration: line-through; */
}

.certifications-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.github-link {
    color: var(--gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.github-link:hover {
    color: var(--dark);
}

.project-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Stats */
.stats-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stats-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    flex: 1;
    text-align: center;
    transition: var(--transition);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.2);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.timeline-subtitle {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary-white-light);
    color: var(--primary);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .page-header p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 1.5rem;
    }

    .stats-container {
        flex-direction: row;
        gap: 1rem;
    }

    #pro-exp-page {
        padding: 1.5rem 5% 4rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .project-img {
        height: 180px;
    }
}


/* Certificates Section Styles */
.certificates-section {
    padding: 3rem 8%;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.4s forwards;
}

.certificates-container {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-card {
    background-color: var(--primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    width: 200px;
    max-width: 350px;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.certificate-img {
    width: 100%;
    height: auto;
    overflow: hidden;
}

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

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

.certificate-name {
    padding: 1.2rem;
    font-size: 1.1rem;
    color: var(--light);
    background-color: var(--primary);
    font-weight: 600;
    text-align: center;
}

/* Responsive design for certificates */
@media (max-width: 768px) {
    .certificates-container {
        justify-content: center;
    }

    .certificate-card {
        width: 100%;
        max-width: 320px;
    }

    .certificates-section {
        padding: 2rem 5%;
    }
}


/* ==============  projects page end ==============*/

/* ==============  contact page start ==============*/

/* Contact Page Specific Styles */
#contact-page {
    min-height: 100vh;
    padding: 8rem 8% 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.contact-info {
    flex: 1;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
}

.contact-header h1 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    animation: fadeUp 0.5s ease forwards;
}

.contact-header p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.5s ease 0.2s forwards;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.5s ease 0.4s forwards;
}

.contact-card {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-white-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.contact-details h3 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-details p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* .contact-social {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    animation: fadeIn 0.5s ease 0.6s forwards;
} */

/* .social-icon-alt {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
} */

/* .social-icon-alt:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
} */

.contact-form-container {
    flex: 1;
    padding: 3rem;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
}

.mail-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--primary);
    font-size: 2.5rem;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
}

.contact-form-container h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    animation: fadeUp 0.5s ease forwards;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeUp 0.5s ease 0.2s forwards;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.submit-btn {
    padding: 1rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 59, 59, 0.2);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    color: var(--gray);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-container {
        padding: 2.5rem;
    }

    .contact-social {
        margin-top: 2rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #contact-page {
        padding: 7rem 5% 3rem;
    }

    .contact-header h1 {
        font-size: 2.2rem;
    }

    .contact-form-container h2 {
        font-size: 1.8rem;
    }

    .contact-cards {
        gap: 1rem;
    }

    .mail-icon {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {

    .contact-info,
    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==============  contact page end ==============*/