:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #4cc9f0;
    --accent-color: #f72585;
    --light-bg: #f8f9ff;
    --dark-bg: #1a1a2e;
    --text-color: #2b2d42;
    --text-light: #6c757d;
    --border-color: #e0e0f5;
    --success-color: #4cc9f0;
    --white: #ffffff;
    --box-shadow: 0 10px 30px rgba(67, 97, 238, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    --border-radius: 12px;
    --section-spacing: 5rem;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.profile-container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
}

/* Header Styles */
.profile-header {
    display: flex;
    padding: 4rem 3rem;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
    align-items: center;
    min-height: 60vh;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -5rem;
    padding-bottom: 8rem;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.profile-image {
    flex: 0 0 240px;
    margin-right: 3rem;
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.profile-pic {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 8px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
}

.profile-pic:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.info-left {
    flex: 1;
    min-width: 250px;
}

.info-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.btn-register {
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-register:hover::before {
    width: 100%;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(247, 37, 133, 0.4);
}

.btn-register:active {
    transform: translateY(-1px);
}

.btn-register:hover {
    background-color: #0056b3;
}
.profile-info {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.profile-info h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin-top: 1rem;
    text-align: center;
}

.profile-info h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.approved {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.contact-info {
    margin-top: 1.5rem;
    text-align: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
    /* display: flex; */
    align-items: center;
    font-size: 0.95rem;
    text-align: center;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.referral-code {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    margin-left: 5px;
}
/* Section Styles */
section {
    padding: 2rem 0;
    position: relative;
    background: var(--white);
}

/* About Me Section */
.about-me-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-top: -5rem;
    margin-bottom: 6rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.about-me-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient);
    border-radius: 4px 4px 0 0;
}

.about-heading {
    font-size: 2.2rem;
    color: var(--text-color);
    margin: 0 0 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0.9;
}

.about-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-box {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.1);
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transition: all 0.3s ease;
}

.info-box:hover::before {
    width: 100%;
    opacity: 0.1;
}

.info-box strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-box span {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
    word-break: break-all;
}

.no-landing-pages {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 2rem;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

section h3 i {
    margin-right: 10px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.skill-category {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

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

.skill-category h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.portfolio-item {
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-item h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.portfolio-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.portfolio-meta {
    background: rgba(0, 0, 0, 0.02);
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

.portfolio-meta i {
    margin-right: 5px;
}

/* Footer */
.profile-footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    margin-top: 5rem;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    padding-top: 5rem;
}

.profile-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.social-links {
    margin-bottom: 1rem;
}

.social-/* Loading Spinner */
.loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    backdrop-filter: blur(5px);
.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem 5rem;
        min-height: auto;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .profile-image {
        margin: 0 auto 2rem;
        width: 200px;
        height: 200px;
    }

    .profile-info {
        text-align: center;
        margin-top: 1.5rem;
    }

    .profile-info h1 {
        font-size: 2.2rem;
        margin-top: 0.5rem;
    }

    .info-right {
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
    }

    .about-me-section {
        margin: -3rem 1.5rem 3rem;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .profile-header {
        padding: 2.5rem 1rem 4rem;
    }

    .profile-info h1 {
        font-size: 1.8rem;
    }

    .about-heading {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 1.05rem;
    }

    .info-box {
        padding: 1.5rem;
    }

    .profile-footer {
        padding: 3rem 1rem 2rem;
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
        padding-top: 4rem;
    }
}

@media only screen and (max-width: 480px) {
    .profile-header {
        padding: 2rem 1rem 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-info h1 {
        font-size: 1.6rem;
    }

    .about-heading {
        font-size: 1.6rem;
        margin: 1.5rem 0 2rem;
    }

    .about-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .btn-register {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .about-info-boxes {
        grid-template-columns: 1fr;
    }

    .profile-footer {
        padding: 2.5rem 1rem 2rem;
    }
    
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Add animation to elements */
.profile-container > * {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.profile-container > *:nth-child(1) { animation-delay: 0.1s; }
.profile-container > *:nth-child(2) { animation-delay: 0.3s; }
.profile-container > *:nth-child(3) { animation-delay: 0.5s; }

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.profile-container {
    animation: fadeIn 0.6s ease-out forwards;
}

section {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }


/* Add these styles to your main.css */
.profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.portfolio-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Loading Spinner */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    backdrop-filter: blur(5px);
    text-align: center;
    margin: 0;
    padding: 0;
}

.loading p {
    margin: 1.5rem 0 0 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    line-height: 1.5;
    padding: 0 1rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
    position: relative;
}

.spinner::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 4px solid transparent;
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1.5s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading text animation */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading p {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Loading animation for images */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.about-me-section {
    padding: 40px 20px;
    background-color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}

.about-heading {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.about-heading::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #5f3dc4; /* purple underline */
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
    text-align: center;
}

.about-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

.about-info-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.info-box {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 250px;
    text-align: left;
    font-size: 0.95rem;
}

.info-box strong {
    color: #5f3dc4;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
}