:root {
    --primary-color: #FDB866;
    --secondary-color: #FCEED5;
    --accent-color: #F5761A;
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-gray: #F6F6F6;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    cursor: none; /* Hide default cursor */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

/* Navigation hover effect */
.nav-link-tooltip {
    position: absolute;
    background-color: gold;
    padding: 5px 15px;
    border-radius: 4px;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link-tooltip::after {
    content: "";
    position: absolute;
    bottom: -3px;
    right: 5px;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
}

.nav-links a:hover .nav-link-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    min-height: 60px; 
    position: relative;
}

.hero-content h2::after {
    content: "|";
    position: absolute;
    color: var(--accent-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn, .secondary-btn, .download-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: #87ceeb; 
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: #add8e6; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background-color: #add8e6; 
    color: var(--text-color);
    border: 2px solid var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn:hover {
    background-color: #87ceeb; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container {
    position: relative;
    width: 300px;
    height: 350px;
}

.profile-image {
    width: 270px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: absolute;
    z-index: 2;
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
}

.background-shape {
    position: absolute;
    width: 270px;
    height: 320px;
    background-color: var(--primary-color);
    border-radius: 20px;
    top: 30px;
    left: 30px;
    z-index: 1;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 0;
    background-color: var(--secondary-color);
    border-radius: 15px;
    margin: 20px 0 80px;
}

.stat-box {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
}

/* Services Section */
.services {
    padding: 50px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.service-card {
    flex: 1;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/* Skills Section */
.skills-section {
    padding: 50px 0;
    background-color: #2a2a2a;
    margin-bottom: 30px;
}

.skills-section .section-title {
    color: white;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.skill-item {
    text-align: center;
    margin-bottom: 30px;
}

.skill-circle {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.skill-circle-progress {
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 2s ease-in-out;
}

.html-progress {
    stroke: #4caf50; /* Green */
}

.css-progress {
    stroke: #00bcd4; /* Cyan */
}

.js-progress {
    stroke: #e91e63; /* Magenta */
}

.ps-progress {
    stroke: #ffc107; /* Yellow */
}

.skill-text {
    font-family: 'Poppins', sans-serif;
    transition: all 2s ease-in-out;
}

.skill-name {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 500;
    color: white;
}

@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Education Section */
.education-section {
    padding: 50px 0;
    margin-bottom: 30px;
}

.education-table-container {
    width: 100%;
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.education-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
}

.education-table th, 
.education-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.education-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.education-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.education-table tr:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .education-table {
        font-size: 0.9rem;
    }
    
    .education-table th, 
    .education-table td {
        padding: 10px;
    }
}

/* Contact Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.contact-form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-form-header p {
    color: #666;
    font-size: 0.9rem;
}

.contact-form-icon {
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.9rem;
    color: #666;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Thank You Message Style */
.thank-you-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.thank-you-icon {
    margin-bottom: 20px;
}

.thank-you-message h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 10px;
}

.thank-you-message p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.close-thank-you {
    margin-top: 20px;
    padding: 10px 20px;
}

/* Contact Info Modal */
.contact-info-modal {
    background-color: #1D1D1D;
    color: #ffffff;
    max-width: 550px;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-check {
    color: #FDB866;
    font-weight: bold;
}

.contact-icon {
    margin: 0 10px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: #999;
}

.contact-value {
    font-size: 1rem;
}

/* About Modal */
.about-modal {
    background-color: #1D1D1D;
    color: #ffffff;
    max-width: 550px;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.about-content {
    padding: 0 15px 20px;
    line-height: 1.8;
}

.about-content p {
    font-size: 1.1rem;
    color: #e6e6e6;
}

/* Custom Cursor */
.cursor-dot, .cursor-circle {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #F5761A;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 2px solid #FDB866;
    transition: width 0.3s ease, height 0.3s ease, transform 0.1s ease;
}

a, button, .service-card, .close-modal, .profile-container, .download-btn {
    cursor: none;
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding: 40px 0;
    margin-top: 80px;
}

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

.copyright {
    font-size: 0.9rem;
    color: #666;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background-color: #1877F2;
}

.social-link.twitter {
    background-color: #000000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
}

.social-link.linkedin {
    background-color: #0A66C2;
}

.social-link.email {
    background-color: #FFC107;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .service-cards {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .profile-container {
        width: 250px;
        height: 300px;
    }
    
    .profile-image {
        width: 220px;
        height: 270px;
    }
    
    .background-shape {
        width: 220px;
        height: 270px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
    }
}