:root {
    /* Color Variables */
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #4a90e2;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --light-bg: rgba(255, 255, 255, 0.1);
    --light-bg-hover: rgba(255, 255, 255, 0.15);
    --light-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.25);
    
    /* Star Variables */
    --star-color: #fff;
    --star-size: 30px;
    --star-count: 20;
    
    /* Star Colors */
    --star-color-1: #ff6b6b;    /* Pink */
    --star-color-2: #4ecdc4;    /* Turquoise */
    --star-color-3: #4a90e2;    /* Blue */
    --star-color-4: #9b59b6;    /* Purple */
    --star-color-5: #f1c40f;    /* Yellow */
    --star-color-6: #e74c3c;    /* Red */
    --star-color-7: #2ecc71;    /* Green */
    --star-color-8: #3498db;    /* Light Blue */
    --star-color-9: #f39c12;    /* Orange */
    --star-color-10: #8e44ad;   /* Dark Purple */

    /* Bubble Variables */
    --bubble-size: 30px;
    --bubble-count: 15;
    
    /* Bubble Colors */
    --bubble-color-1: #ff6b6b;    /* Pink */
    --bubble-color-2: #4ecdc4;    /* Turquoise */
    --bubble-color-3: #4a90e2;    /* Blue */
    --bubble-color-4: #9b59b6;    /* Purple */
    --bubble-color-5: #f1c40f;    /* Yellow */
    
    /* Portfolio Star Variables */
    --portfolio-star-color: #4a90e2;
    --portfolio-star-size: 3px;
    --portfolio-star-count: 50;
    --portfolio-border-color: #4a90e2;
    --portfolio-border-width: 2px;
    
    /* Size Variables */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* Font Variables */
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;
    --font-2xl: 2rem;
    --font-3xl: 2.5rem;
    --font-4xl: 3rem;
    
    /* Transition Variables */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s ease;
    
    /* Border Variables */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    --border-radius-circle: 50%;
    
    /* Gradient Variables */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-light: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
}

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

body {
    margin: 0;
    padding: 0;
    background: #1a1a1a;
    position: relative;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    background: rgba(0, 0, 0, 0.8);
    padding: var(--spacing-md) var(--spacing-xl);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(30, 60, 114, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

nav a {
    color: white;
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Portfolio Section */
.portfolio {
    padding: var(--spacing-xl);
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    border: var(--portfolio-border-width) solid var(--portfolio-border-color);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    transition: var(--transition-normal);
    border: 4px solid #4a90e2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #357abd;
    background: rgba(255, 255, 255, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    border-radius: 50%;
}

.portfolio-overlay-content {
    color: white;
    text-align: center;
    padding: var(--spacing-md);
}

.portfolio-overlay-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.portfolio-overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.project-details span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    transition: var(--transition-normal);
}

.project-details span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.project-details span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    transition: var(--transition-normal);
}

.project-details span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    color: white;
    text-align: center;
    padding: var(--spacing-md);
}

/* Portfolio Item Details */
.portfolio-overlay-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.portfolio-overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Portfolio Navigation */
.portfolio-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-nav button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--portfolio-border-color);
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
}

.portfolio-nav button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.portfolio-nav button.active {
    background: var(--accent-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    z-index: -1;
    opacity: 0.9;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9));
    z-index: -1;
    opacity: 0.9;
}

/* Hero Content */
.content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content .profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-content .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* About page styles */
.about-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gradient-bg {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 100%;
}

.profile-container {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: white;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 0 0 50% 50%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.profile-image:hover .overlay {
    transform: translateY(0);
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
}

.profile-info {
    margin-top: 2rem;
    color: white;
}

.profile-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.info-item i {
    color: var(--accent-color);
}

.about-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.about-content h3 {
    color: white;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.about-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.skill-card h4 {
    color: white;
    margin: 0;
}

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

.interest-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
}

.interest-card i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.interest-card span {
    color: white;
    font-size: 0.9rem;
}

/* About page layout styles */
.about-section {
    padding: 80px 0;
    min-height: 100vh;
}

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

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.profile-info {
    margin-top: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.info-item i {
    color: var(--primary-color);
}

.about-details {
    width: 100%;
    max-width: 800px;
}

.bio-section, 
.experience-section, 
.education-section, 
.skills-section, 
.interests-section {
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: #ddd;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 20px 0;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 50%;
    transform: translateX(-100%);
}

.timeline-item:nth-child(even) .timeline-content {
    right: 50%;
    transform: translateX(100%);
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.category {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.skills-list li {
    padding: 5px 0;
    color: #666;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.interest-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.interest-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-dark);
}

.profile-info {
max-width: 600px;
text-align: center;
}

.profile-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.description {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.skills span {
    background: var(--portfolio-border-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.skills span:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Text Content */
.text-content {
    max-width: 600px;
}

.text-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
}

.text-content h1 span {
    display: inline-block;
    margin-right: 0.2rem;
    transition: var(--transition-normal);
}

.text-content h1 span:hover {
    transform: translateY(-2px);
}

.tagline {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--portfolio-border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Star Animation */
@keyframes flyStars1 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(100vw, -100vh);
        opacity: 0;
    }
}

@keyframes flyStars2 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-100vw, -100vh);
        opacity: 0;
    }
}

@keyframes flyStars3 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(100vw, 100vh);
        opacity: 0;
    }
}

@keyframes flyStars4 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-100vw, 100vh);
        opacity: 0;
    }
}

/* Star Styles */
.star {
    position: absolute;
    width: var(--star-size);
    height: var(--star-size);
    border-radius: 50%;
    background: var(--star-color-1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    opacity: 0.8;
    cursor: move;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
}

.star:hover {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.star:nth-child(5n+1) { background: var(--star-color-1); }
.star:nth-child(5n+2) { background: var(--star-color-2); }
.star:nth-child(5n+3) { background: var(--star-color-3); }
.star:nth-child(5n+4) { background: var(--star-color-4); }
.star:nth-child(5n+5) { background: var(--star-color-5); }

.star.dragging {
    opacity: 1;
    z-index: 1000;
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

/* Bubble Styles */
.bubble {
    position: absolute;
    width: var(--bubble-size);
    height: var(--bubble-size);
    border-radius: 50%;
    background: var(--bubble-color-1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: float 10s linear infinite;
    opacity: 0.8;
    cursor: move;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
}

.bubble:hover {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.bubble.dragging {
    opacity: 1;
    z-index: 1000;
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}


.bubble:nth-child(5n+1) { background: var(--bubble-color-1); }
.bubble:nth-child(5n+2) { background: var(--bubble-color-2); }
.bubble:nth-child(5n+3) { background: var(--bubble-color-3); }
.bubble:nth-child(5n+4) { background: var(--bubble-color-4); }
.bubble:nth-child(5n+5) { background: var(--bubble-color-5); }

@keyframes float {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        transform: translate(0, -20px);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes twinkle {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
    
    /* Enhanced Animation */
    animation: parallax 30s linear infinite;
    filter: blur(10px);
}

.hero .content {
    /* Container */
    background: var(--light-bg);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-top: 0;
}

:root {
    /* Profile Image Variables */
    --profile-box-width: 130px;
    --profile-box-padding: 0.5rem;
    --profile-outer-size: 130px;
    --profile-middle-size: 130px;
    --profile-inner-size: 130px;
    --profile-border-color: #FFD700;
    --profile-border-width-outer: 4px;
    --profile-border-width-middle: 2px;
    --profile-border-width-inner: 4px;
    --profile-shadow-outer: 0 0 20px rgba(255, 215, 0, 0.4);
    --profile-shadow-middle: 0 0 15px rgba(255, 215, 0, 0.3);
    --profile-shadow-inner: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.profile-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    gap: var(--spacing-sm);
    margin-top: 1rem;
    width: var(--profile-box-width);
    padding: var(--profile-box-padding);
    overflow: hidden;
    border-radius: 50%;
}

.profile-image-outer {
    width: var(--profile-outer-size);
    height: var(--profile-outer-size);
    border-radius: 50%;
    position: relative;
    border: var(--profile-border-width-outer) solid var(--profile-border-color);
    box-shadow: var(--profile-shadow-outer);
    overflow: hidden;
}

.profile-image-middle {
    width: var(--profile-middle-size);
    height: var(--profile-middle-size);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: var(--profile-border-width-middle) solid var(--profile-border-color);
    box-shadow: var(--profile-shadow-middle);
    overflow: hidden;
}

.profile-image-inner {
    width: var(--profile-inner-size);
    height: var(--profile-inner-size);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: var(--profile-border-width-inner) solid var(--profile-border-color);
    box-shadow: var(--profile-shadow-inner);
    overflow: hidden;
}

.profile-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Typing animation */
.typing-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid;
    animation: typing 3.5s steps(40, end),
               blink-caret 0.75s step-end infinite;
    margin: 1rem 0;
}

.tagline.typing-text {
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: currentColor }
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--light-bg);
    
    /* Clean yellow border */
    border: 4px solid #FFD700;
    
    /* Subtle hover effect */
    &:hover {
        transform: scale(1.05);
    }
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.0);
    transition: transform 0.3s ease;
}

.profile-box {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

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

/* Text Animations */
.text-content h1 {
    font-size: var(--font-4xl);
    margin-bottom: var(--spacing-lg);
    color: #0074D9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Letter animation */
    & span {
        display: inline-block;
        opacity: 0;
        transform: translateY(20px);
        animation: letterFadeIn 0.5s ease-out forwards;
        
        /* Stagger animation */
        &:nth-child(1) { animation-delay: 0.1s; }
        &:nth-child(2) { animation-delay: 0.2s; }
        &:nth-child(3) { animation-delay: 0.3s; }
        &:nth-child(4) { animation-delay: 0.4s; }
        &:nth-child(5) { animation-delay: 0.5s; }
        &:nth-child(6) { animation-delay: 0.6s; }
        &:nth-child(7) { animation-delay: 0.7s; }
        &:nth-child(8) { animation-delay: 0.8s; }
        &:nth-child(9) { animation-delay: 0.9s; }
        &:nth-child(10) { animation-delay: 1s; }
        &:nth-child(11) { animation-delay: 1.1s; }
        &:nth-child(12) { animation-delay: 1.2s; }
    }
}

.tagline {
    font-size: var(--font-xl);
    color: #0074D9;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.text-content {
    flex: 1;
    min-width: 0;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.profile-image {
    margin: 2rem 0;
    position: relative;
}

.profile-image picture {
    width: 100%;
    max-width: 200px;
    height: 200px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .profile-image picture {
        max-width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .profile-image picture {
        max-width: 100px;
        height: 100px;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-icon {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
 * Profile Box Component
 * ======================================== */

.profile-box {
    /* Positioning */
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: var(--border-radius-circle);
    background: var(--light-bg);
    border: 2px solid var(--light-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    cursor: pointer;
    margin: 0 auto;
    
    /* Hover state preparation */
    will-change: transform, box-shadow, border-color;
    
    /* Hover overlay */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-light);
        opacity: 0;
        transition: opacity var(--transition-normal);
        pointer-events: none;
    }
}

/* Hover States */
.profile-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.3);
    
    /* Enhanced overlay */
    &::before {
        opacity: 1;
    }
    
    /* Glow effect */
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        opacity: 1;
        transition: opacity var(--transition-normal);
        pointer-events: none;
    }
}

/* Profile Image Component */
.profile-image {
    /* Positioning */
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Border and Shadow */
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    
    /* Hover state preparation */
    will-change: transform;
    
    /* Hover Effects */
    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }
    
    &:hover::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        opacity: 1;
        transition: opacity var(--transition-fast);
    }
}

.profile-image img {
    /* Size and Shape */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
    transition: var(--transition-normal);
    
    /* Image optimization */
    image-rendering: crisp-edges;
    -webkit-image-rendering: crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: pixelated;
    
    /* Ensure image is visible */
    z-index: 3;
}

.profile-image img:hover {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

.text-content {
    flex: 1;
    min-width: 0;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.profile-image {
    margin: 2rem 0;
    position: relative;
}

.profile-image picture {
    width: 100%;
    max-width: 200px;
    height: 200px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

  /* On hover, scale the profile image by 5% to make it slightly larger */
.profile-image img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .profile-image picture {
        max-width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .profile-image picture {
        max-width: 100px;
        height: 100px;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon.fa-github {
    background: linear-gradient(45deg, rgba(33, 33, 33, 0.2), rgba(51, 51, 51, 0.2));
}

.social-icon.fa-facebook {
    background: linear-gradient(45deg, rgba(24, 119, 242, 0.2), rgba(18, 77, 152, 0.2));
}

.social-icon.fa-tiktok {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2), rgba(33, 33, 33, 0.2));
}

.social-icon.fa-instagram {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.2), rgba(225, 48, 108, 0.3));
}

.social-icon i {
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.social-icon i.fa-github {
    color: #181717;
}

.social-icon i.fa-facebook {
    color: #1877F2;
}

.social-icon i.fa-tiktok {
    color: #010101;
}

.social-icon i.fa-instagram {
    color: #E1306C;
}

/* Social icon hover effects */
.social-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Floating Stars Animation */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Make stars visible in home and profile sections */
#home {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

#profile {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    padding: 4rem 2rem;
}

#home .stars-container,
#profile .stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Profile Picture Styles */
.profile-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.frame-container {
    width: 350px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.frame-1 {
    width: 100%;
    height: 100%;
    position: relative;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all 0.5s ease;
}

.frame-1-inner {
    width: 95%;
    height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.frame-1:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--accent-color);
}

.frame-2 {
    width: 100%;
    height: 100%;
    position: relative;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all 0.5s ease;
}

.frame-2-inner {
    width: 95%;
    height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 15px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.frame-2:hover {
    transform: scale(1.05) rotate(-2deg);
    border-color: var(--accent-color);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: inherit;
}

.profile-img:hover {
    transform: scale(1.05) rotate(3deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-image {
        flex-direction: column;
        gap: 1.5rem;
    }

    .frame-container {
        width: 300px;
        height: 400px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-image {
        flex-direction: column;
        gap: 1.5rem;
    }

    .rectangular-frame,
    .circular-frame {
        width: 250px;
        height: 250px;
    }
}

.star {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    cursor: move;
    user-select: none;
    animation: float 15s linear infinite;
}

.draggable {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: grab;
}

.draggable:active {
    cursor: grabbing;
}



@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        transform: translate(10px, -15px) rotate(30deg);
    }
    20% {
        transform: translate(-15px, 20px) rotate(60deg);
    }
    30% {
        transform: translate(20px, -25px) rotate(90deg);
    }
    40% {
        transform: translate(-25px, 10px) rotate(120deg);
    }
    50% {
        transform: translate(15px, -20px) rotate(150deg);
    }
    60% {
        transform: translate(-10px, 15px) rotate(180deg);
    }
    70% {
        transform: translate(25px, -10px) rotate(210deg);
    }
    80% {
        transform: translate(-20px, 25px) rotate(240deg);
    }
    90% {
        transform: translate(30px, -5px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(300deg);
    }
}

/* Navigation Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    flex: 1;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
    background-color: var(--light-bg-hover);
}

/* Search Bar Styles */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.search-bar input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-border);
    border-radius: 20px;
    background: var(--light-bg);
    color: var(--text-color);
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.search-bar button {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: var(--light-bg-hover);
    color: var(--primary-color);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .search-bar {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 1rem;
        text-align: center;
        box-shadow: var(--shadow-md);
        z-index: 1000;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
    }

    .nav-links.active {
        display: block;
        transform: translateY(0);
        transition: transform 0.3s ease-out;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        padding: 1rem;
        z-index: 1001;
        position: relative;
        width: 30px;
        height: 20px;
        margin-left: auto;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: white;
        margin: 5px 0;
        transition: all 0.3s ease;
        position: relative;
    }

    .hamburger span::before,
    .hamburger span::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: white;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hamburger.active span::before,
    .hamburger.active span::after {
        transform: scale(0.8);
    }

    .hero {
        padding-top: 70px;
    }

    .hero .content {
        margin-top: 20px;
    }

    nav {
        padding: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 1rem;
        color: white;
        font-size: 1.1rem;
        transition: color 0.3s ease;
    }

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

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
        color: white;
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: var(--transition-normal);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero .content {
        padding: 2rem 1rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

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

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .logo h1 {
        font-size: 1.2rem;
    }
}

/* Smooth Scroll for Navigation Links */
.nav-links li a {
    scroll-behavior: smooth;
}

/* About Section */
.about-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
}

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

.submit-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero .content {
        gap: 2.5rem;
        padding: 3rem 2rem;
    }
    
    .profile-box {
        width: 220px;
        height: 220px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
}

@media (max-width: 1200px) {
    .hero .content {
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
    
    .profile-box {
        width: 200px;
        height: 200px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero .content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding: 2rem 1rem;
    }
    
    .profile-box {
        margin: 0 auto;
        width: 180px;
        height: 180px;
    }
    
    .text-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .social-links a {
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero {
        padding: 1rem;
        margin-top: 40px;
    }
    
    .hero .content {
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .profile-box {
        width: 150px;
        height: 150px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    body {
        font-size: 0.9rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links a {
        margin: 0 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 0.75rem;
        margin-top: 30px;
    }
    
    .hero .content {
        padding: 1.5rem 0.75rem;
        gap: 1.5rem;
    }
    
    .profile-box {
        width: 130px;
        height: 130px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .social-links a {
        margin: 0 0.6rem;
        font-size: 1.2rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem;
        margin-top: 20px;
    }
    
    .hero .content {
        padding: 1rem 0.5rem;
        gap: 1rem;
    }
    
    .profile-box {
        width: 120px;
        height: 120px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .social-links a {
        margin: 0 0.5rem;
        font-size: 1rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}


