/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Modern Portfolio CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10B981;
    --primary-light: #34D399;
    --primary-dark: #059669;
    --dark-color: #111827;
    --darker-color: #0F172A;
    --light-color: #1F2937;
    --white: #FFFFFF;
    --text-primary: #FFFFFF;
    --text-secondary: #E5E7EB;
    --border-color: #374151;
    --shadow-light: 0 4px 12px rgba(16, 185, 129, 0.1);
    --shadow-medium: 0 8px 20px rgba(16, 185, 129, 0.15);
    --shadow-heavy: 0 12px 30px rgba(16, 185, 129, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    font-weight: 400;
    background: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.025em;
    position: relative;
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-logo:hover h2::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(249,250,251,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 50vh;
}

.hero-text {
    color: var(--white);
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    line-height: 1.2;
    word-wrap: break-word;
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
    font-weight: 400;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.hero-location {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-location p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.hero-location i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.025em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1s ease 0.8s forwards;
}

.profile-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    cursor: pointer;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* Section Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
}

.about-skills h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill {
    position: relative;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-bar {
    height: 8px;
    background: var(--light-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--light-color);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    margin-bottom: 1rem;
    height: 280px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.portfolio-overlay p {
    margin-bottom: 1.3rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--white);
    opacity: 0.95;
}

.portfolio-link {
    color: var(--white);
    font-size: 1.3rem;
    text-decoration: none;
    padding: 10px;
    border: 2px solid var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.portfolio-link:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-color);
}

.contact-content {
    display: block;
    width: 100%;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 1rem;
}

.contact-form {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Hero location info */
.hero-location {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-location p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.hero-location i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* About highlights */
.about-highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.highlight-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.highlight-item span {
    color: var(--text-primary);
    line-height: 1.5;
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
}

.portfolio-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--dark-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-content {
    text-align: center;
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonials-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
}

.testimonials-cta p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

/* Contact Section Updates */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.response-time {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.response-time p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.response-time i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Profile Icon (replacing image) */
.profile-icon {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12rem;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.profile-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Portfolio Icons */
.portfolio-icon {
    width: 100%;
    height: 280px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-icon {
    transform: scale(1.05);
    background: var(--primary-dark);
}

.portfolio-item:nth-child(1) .portfolio-icon {
    background: var(--primary-color);
}

.portfolio-item:nth-child(2) .portfolio-icon {
    background: var(--primary-light);
}

.portfolio-item:nth-child(3) .portfolio-icon {
    background: var(--primary-color);
}

.portfolio-item:nth-child(4) .portfolio-icon {
    background: var(--primary-dark);
}

.portfolio-item:nth-child(5) .portfolio-icon {
    background: var(--primary-light);
}

/* Contact Info Card */
.contact-info-card {
    background: var(--dark-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: center;
    border: 1px solid var(--border-color);
}

.profile-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-color);
}

.profile-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-section .title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 2fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.availability-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.availability-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.availability-item:last-child {
    margin-bottom: 0;
}

.availability-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--darker-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Typography Enhancement */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--white);
}

h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
}

p,
span,
a {
    font-family: 'Inter', sans-serif;
}

/* Enhanced button styles */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes blinkCursor {

    0%,
    50% {
        border-right-color: var(--white);
    }

    51%,
    100% {
        border-right-color: transparent;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .hero-content {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
        padding: 0 5px;
        margin-top: 38px;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
        color: var(--white);
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 3.5vw, 1.3rem);
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: clamp(0.95rem, 2.5vw, 1.05rem);
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 1rem;
    }

    .hero-location p {
        font-size: clamp(0.85rem, 2vw, 0.9rem);
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        justify-content: center;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }

    .highlight-item i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }

    .contact-content {
        display: block;
        width: 100%;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-detail-item {
        flex-direction: column;
        text-align: left;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .profile-section h3 {
        font-size: 2rem;
    }

    .footer {
        text-align: left !important;
        padding: 2rem 0;
    }

    .footer p {
        text-align: left !important;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2rem);
        line-height: 1.2;
        margin-bottom: 1rem;
        color: var(--white);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .hero-location p {
        font-size: clamp(0.8rem, 2.5vw, 0.85rem);
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .profile-section h3 {
        font-size: 1.8rem;
    }

    .contact-detail-item {
        padding: 1rem;
    }

    .footer {
        text-align: left !important;
        padding: 2rem 0;
    }

    .footer p {
        text-align: left !important;
        padding: 0 20px;
        font-size: 0.9rem;
    }
}

/* Tablet and medium devices */
@media (max-width: 950px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-detail-item {
        min-width: 300px;
    }
}

/* Scroll animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.name-highlight {
    color: #FFF;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    display: inline-block;
}

.typing-animation {
    display: inline-block;
    border-right: 2px solid var(--white);
    animation: blinkCursor 1s infinite;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

.footer p {
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .footer {
        text-align: left;
        padding: 2rem 0;
    }

    .footer p {
        text-align: left;
        padding: 0 20px;
    }
}