:root {
    --primary-color: #1a1a1a;
    --secondary-color: #666666;
    --accent-color: #FF4D4D;
    --background-color: #000000;
    --section-bg-color: #ffffff;
    --text-color: #1a1a1a;
    --heading-font: 'Google Sans', sans-serif;
    --body-font: 'Google Sans', sans-serif;
    --section-border-radius: 24px;
    --section-spacing: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.2;
    color: var(--text-color);
    background-color: var(--background-color);
    position: relative;
    overflow-x: hidden;
    padding: 3px 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#666666 0.5px, transparent 0.5px), radial-gradient(#666666 0.5px, var(--background-color) 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    body::before {
        display: none;
    }
}

.container {
    max-width: 1510px;
    margin: 0 auto;
    padding: 0 6px;
}

/* Section Wrapper */
.section-wrapper {
    background-color: var(--section-bg-color);
    border-radius: var(--section-border-radius);
    margin: var(--section-spacing) auto;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-width: 1510px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 100%);
}

/* Section positioning for decorative elements */
.about-section, 
.experience-section, 
.stack-section, 
.featured-section, 
.footer-section {
    position: relative;
    overflow: visible;
}

.decorative-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    width: auto;
}

.navbar.scrolled {
    top: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: auto;
    gap: 24px;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px 12px;
    border-radius: 100px;
}

.profile-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.location {
    font-family: var(--body-font);
    font-size: 13px;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--body-font);
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
}

.email-button {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 16px;
    border-radius: 100px;
}

.email-button:hover {
    background: #000;
    color: white;
}

/* Hero Section */
.hero {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    background-color: var(--section-bg-color);
    border-radius: var(--section-border-radius);
    margin-top: 0;
    overflow: visible;
    max-width: 1510px;
    margin-left: auto;
    margin-right: auto;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 42px;
    line-height: 1.2;
    max-width: 590px;
    margin: 0 auto 48px;
    font-weight: 400;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.hero-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin: 0 4px;
    display: inline-block;
    border-radius: 6px;
    object-fit: cover;
}

.tools-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 4px;
    vertical-align: middle;
}

.tool-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    border-radius: 6px;
    object-fit: cover;
}

.highlight {
    color: #a0a0a0;
}

.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #FF4D4D 0%, #FF7070 100%);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 8px 16px rgba(255, 77, 77, 0.16);
    position: relative;
    overflow: hidden;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px 100px 0 0;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.24);
}

.trust-section {
    text-align: center;
}

.trust-text {
    font-family: var(--body-font);
    font-size: 13px;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.company-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.company-logo {
    font-family: var(--body-font);
    font-size: 14px;
    color: var(--secondary-color);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.company-logo:hover {
    opacity: 0.8;
}

/* Like Template Section */
.like-template {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: var(--body-font);
}

.like-template p {
    font-size: 13px;
    color: var(--secondary-color);
}

.template-buttons {
    display: flex;
    gap: 8px;
}

.remix-button,
.framer-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 13px;
    transition: all 0.2s ease;
}

.remix-button:hover,
.framer-button:hover {
    background: rgba(0, 0, 0, 0.08);
}

.remix-button img,
.framer-button img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
    body {
        padding: 0;
        background-color: var(--section-bg-color);
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-wrapper {
        border-radius: 0;
        max-width: 100%;
        margin: 0;
        border: none;
        overflow: hidden;
        box-shadow: none;
    }
    
    .hero {
        padding: 180px 0 120px;
        margin: 0;
        border-radius: 0;
        background-color: var(--section-bg-color);
        min-height: 75vh;
        display: flex;
        align-items: center;
    }
    
    .hero .container {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.3;
        max-width: 80%;
        margin: 0 auto 50px;
    }
    
    .trust-text {
        font-size: 12px;
        margin-bottom: 16px;
        color: #a0a0a0;
    }
    
    .company-logos {
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 12px;
    }
    
    .company-logo {
        font-size: 14px;
        color: #a0a0a0;
        opacity: 0.6;
    }
    
    .about-section, 
    .experience-section, 
    .stack-section,
    .featured-section,
    .footer-section {
        padding: 60px 0;
    }
    
    .about-image img {
        max-height: 380px;
        border-radius: 16px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stack-item {
        padding: 20px;
    }
    
    .experience-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
    }
    
    .position-info {
        grid-column: 2;
    }
    
    .time-period {
        grid-column: 2;
    }
    
    .years {
        text-align: left;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .project-image {
        height: 240px;
    }
    
    .project-details {
        padding: 28px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonial-card {
        padding: 28px;
    }
    
    /* Add separator lines between sections */
    .about-section,
    .experience-section,
    .stack-section,
    .featured-section {
        border-bottom: 2px solid rgba(0, 0, 0, 0.15) !important;
        padding-bottom: 60px !important;
        margin-bottom: 0 !important;
    }
    
    /* Remove border from last section before footer */
    .featured-section {
        border-bottom: none;
    }
    
    /* Add a subtle visual separator */
    .section-wrapper + .section-wrapper {
        margin-top: 1px;
    }
    
    /* Add mobile-friendly particle pattern at the bottom */
    .hero::after {
        display: block;
    }
    
    .template-footer {
        display: none;
    }
    
    /* Decorative elements adjustments */
    .star, .orbit {
        opacity: 0.4;
        transform: scale(0.85);
    }
    
    /* Geometric elements adjustments */
    .geo-square, .geo-triangle, .geo-circle {
        opacity: 0.6;
        transform: scale(0.9);
    }
    
    /* Make decorative elements more visible on tablets */
    .decorative-container {
        display: block;
    }
    
    .hero .decorative-container .decorative-element {
        display: block;
    }
    
    .geo-square {
        width: 40px;
        height: 40px;
    }
    
    .geo-triangle {
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-bottom: 45px solid rgba(255, 77, 77, 0.15);
    }
    
    .geo-circle {
        width: 50px;
        height: 50px;
    }
    
    /* Navbar adjustments for tablet */
    .navbar {
        width: calc(100% - 48px);
        left: 24px;
        transform: none;
        padding: 8px 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .cta-button {
        padding: 18px 36px;
        font-size: 16px;
        box-shadow: 0 12px 24px rgba(255, 77, 77, 0.2);
    }
    
    /* Typography adjustments */
    .about-title {
        font-size: 36px;
        margin-bottom: 24px;
    }
    
    .about-text p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    /* Footer adjustments */
    .footer-section {
        padding: 60px 0;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .footer-links {
        margin-top: 8px;
        gap: 24px;
    }
    
    /* Pricing card adjustments */
    .pricing-card {
        padding: 32px 24px;
    }
    
    .pricing-card h3 {
        font-size: 24px;
    }
    
    .pricing-card .price {
        font-size: 36px;
        margin: 16px 0;
    }
    
    .pricing-card .features {
        margin: 20px 0;
    }
    
    .pricing-card .feature {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    /* Testimonial card adjustments */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .testimonial-card {
        padding: 28px 20px;
    }
    
    .testimonial-card .quote {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .testimonial-author {
        margin-top: 16px;
    }
    
    .testimonial-author .name {
        font-size: 16px;
    }
    
    .testimonial-author .title {
        font-size: 13px;
    }
    
    .tools-icons {
        margin: 0 8px;
    }
    
    .tool-icon {
        width: 36px;
        height: 36px;
    }
    
    .cta-section {
        gap: 60px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
        background-color: var(--section-bg-color);
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-wrapper {
        border-radius: 0;
        max-width: 100%;
        margin: 0;
        border: none;
        overflow: hidden;
        box-shadow: none;
    }
    
    .hero {
        padding: 140px 0 60px;
        margin: 0;
        border-radius: 0;
        background-color: var(--section-bg-color);
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 32px;
        text-align: left;
    }
    
    .navbar {
        width: calc(100% - 32px);
        left: 16px;
        padding: 8px 12px;
    }
    
    .trust-text {
        font-size: 12px;
        margin-bottom: 16px;
        color: #a0a0a0;
    }
    
    .company-logos {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }
    
    .company-logo {
        font-size: 13px;
    }
    
    .about-section, 
    .experience-section, 
    .stack-section,
    .featured-section,
    .footer-section {
        padding: 60px 0;
    }
    
    .about-image img {
        max-height: 320px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }
    
    .stack-grid {
        gap: 16px;
    }
    
    .stack-item {
        padding: 16px;
    }
    
    .experience-item {
        grid-template-columns: 32px 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px 16px;
        padding-bottom: 32px;
    }
    
    .company-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .position-info {
        grid-column: 2;
        grid-row: 2;
    }
    
    .time-period {
        grid-column: 2;
        grid-row: 3;
    }
    
    .years {
        text-align: left;
    }
    
    .projects-grid {
        gap: 32px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-details {
        padding: 20px;
    }
    
    .testimonials-grid {
        gap: 24px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    /* Decorative elements for mobile */
    .star, .orbit, .orb {
        display: none;
    }
    
    /* Add mobile-friendly particle pattern at the bottom */
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
        background-size: 12px 12px;
        opacity: 0.15;
        pointer-events: none;
        z-index: 1;
    }
    
    .tools-icons {
        display: inline-flex;
        margin: 4px 0;
        justify-content: flex-start;
    }
    
    .tool-icon {
        width: 28px;
        height: 28px;
    }
    
    /* Button style for mobile */
    .cta-button {
        background: #FF4D4D;
        padding: 14px 28px;
        font-size: 14px;
        box-shadow: 0 4px 12px rgba(255, 77, 77, 0.2);
    }
    
    .cta-section {
        gap: 32px;
    }
    
    .trust-section {
        width: 100%;
    }
    
    .hero .container {
        padding: 0 20px;
    }
    
    /* Add separator lines between sections */
    .about-section,
    .experience-section,
    .stack-section,
    .featured-section {
        border-bottom: 2px solid rgba(0, 0, 0, 0.15) !important;
        padding-bottom: 60px !important;
        margin-bottom: 0 !important;
    }
    
    /* Remove border from last section before footer */
    .featured-section {
        border-bottom: none;
    }
    
    /* Add a subtle visual separator */
    .section-wrapper + .section-wrapper {
        margin-top: 1px;
    }
}

/* Projects Section */
.projects {
    padding: 4rem 0;
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.project-details {
    padding: 32px;
    background-color: #fff;
    border-radius: 0 0 16px 16px;
}

.project-title {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.project-category {
    font-size: 15px;
    color: var(--accent-color);
    margin-bottom: 16px;
    font-weight: 500;
}

.project-description {
    font-size: 15px;
    line-height: 1.5;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-size: 13px;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 100px;
    color: var(--secondary-color);
}

/* About Section */
.about-section {
    padding: 120px 0;
    position: relative;
    background-color: var(--section-bg-color);
    border-radius: var(--section-border-radius);
    margin: var(--section-spacing) 0;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: flex-start;
}

.about-title {
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 32px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-text p {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.text-link {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: #ff7070;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0.9);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: scaleX(1);
}

.skills-section {
    margin-top: 48px;
}

.skills-title {
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skill {
    font-family: var(--body-font);
    font-size: 14px;
    color: var(--secondary-color);
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.skill:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .about-image img {
        max-height: 500px;
        width: 100%;
        object-fit: cover;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Experience Section */
.experience-section {
    padding: 120px 0;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.underline {
    position: relative;
}

.underline:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.section-subtitle {
    font-family: var(--body-font);
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 64px;
    max-width: 580px;
    line-height: 1.5;
}

.section-subtitle.text-center {
    margin-left: auto;
    margin-right: auto;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.experience-item {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 1fr;
    align-items: start;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: white;
    font-size: 16px;
}

.blue-icon {
    background-color: #4285F4;
}

.purple-icon {
    background-color: #A142F4;
}

.green-icon {
    background-color: #34A853;
}

.company-name {
    font-weight: 600;
    font-size: 18px;
}

.position {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 500;
}

.position-description {
    font-size: 14px;
    color: var(--secondary-color);
    margin-top: 8px;
    line-height: 1.4;
}

.years {
    color: var(--secondary-color);
    font-size: 15px;
    text-align: right;
    display: block;
    font-weight: 500;
}

/* Stack Section */
.stack-section {
    padding: 120px 0;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stack-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.03);
}

.stack-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: white;
    font-size: 16px;
}

.black-icon {
    background-color: #000000;
}

.dark-icon {
    background-color: #333333;
}

.stack-info {
    flex: 1;
}

.stack-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.stack-type {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

.stack-description {
    font-size: 13px;
    color: var(--secondary-color);
    margin-top: 6px;
    line-height: 1.4;
}

.arrow-icon {
    color: var(--secondary-color);
    font-size: 16px;
    opacity: 0.5;
}

/* Template Footer */
.template-footer {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 100;
}

.template-footer p {
    font-size: 13px;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
    }
    
    .position-info {
        grid-column: 2;
    }
    
    .time-period {
        grid-column: 2;
    }
    
    .years {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .stack-grid {
        grid-template-columns: 1fr;
    }
    
    .template-footer {
        display: none;
    }
}

/* Footer Section */
.footer-section {
    padding: 80px 0;
    background-color: var(--section-bg-color);
    margin-top: var(--section-spacing);
    margin-bottom: var(--section-spacing);
    border-radius: var(--section-border-radius);
    border-top: none;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.footer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-name {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 16px;
    color: var(--secondary-color);
}

.footer-time {
    font-family: var(--body-font);
    font-size: 14px;
    color: var(--secondary-color);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-family: var(--body-font);
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.footer-link:hover::after {
    transform: scaleX(1);
}

.copyright {
    font-family: var(--body-font);
    font-size: 12px;
    color: var(--secondary-color);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-section {
        padding: 60px 0;
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-links {
        margin-top: 10px;
    }
}

.pricing-card {
    background-color: var(--card-bg-color);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card {
    background-color: var(--card-bg-color);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

/* Featured Work Section */
.featured-section {
    padding: 120px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 16px 16px 0 0;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-details {
    padding: 32px;
    background-color: #fff;
    border-radius: 0 0 16px 16px;
}

.project-title {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.project-category {
    font-size: 15px;
    color: var(--accent-color);
    margin-bottom: 16px;
    font-weight: 500;
}

.project-description {
    font-size: 15px;
    line-height: 1.5;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-size: 13px;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 100px;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials-container {
    margin-top: 80px;
}

.testimonials-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 32px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .featured-section {
        padding: 80px 0;
    }
    
    .project-image {
        height: 220px;
    }
}

/* Decorative Animated Elements */
.decorative-element {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Star elements */
.star {
    position: absolute;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle 4s infinite alternate;
}

.star-sm {
    width: 4px;
    height: 4px;
}

.star-md {
    width: 6px;
    height: 6px;
}

.star-lg {
    width: 8px;
    height: 8px;
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Orbit elements */
.orbit {
    position: absolute;
    border: 1px dashed rgba(255, 77, 77, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-inner {
    width: 100px;
    height: 100px;
}

.orbit-mid {
    width: 200px;
    height: 200px;
}

.orbit-outer {
    width: 300px;
    height: 300px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Orb elements */
.orb {
    display: none;
}

.accent-text {
    position: relative;
    display: inline;
}

.accent-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* Geometric shape elements */
.geo-square {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 77, 77, 0.2);
    transform: rotate(45deg);
    animation: rotate 25s linear infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(255, 77, 77, 0.1);
    animation: float-subtle 15s ease-in-out infinite;
}

.geo-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px dashed rgba(255, 77, 77, 0.15);
    border-radius: 50%;
    animation: pulse 12s ease-in-out infinite;
}

@keyframes float-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Tablet adjustments for decorative elements */
@media (max-width: 992px) {
    /* Make stars more visible and larger on tablets */
    .star-sm {
        width: 5px;
        height: 5px;
    }
    
    .star-md {
        width: 8px;
        height: 8px;
    }
    
    .star-lg {
        width: 10px;
        height: 10px;
    }
    
    /* Enhance orbit visibility */
    .orbit {
        border-width: 1.5px;
        border-color: rgba(255, 77, 77, 0.25);
    }
    
    /* Adjust orbit sizes for better visibility */
    .orbit-inner {
        width: 120px;
        height: 120px;
    }
    
    .orbit-mid {
        width: 220px;
        height: 220px;
    }
    
    .orbit-outer {
        width: 320px;
        height: 320px;
    }
    
    /* Enhance geometric shapes */
    .geo-square {
        border-width: 2.5px;
        width: 40px;
        height: 40px;
        border-color: rgba(255, 77, 77, 0.25);
    }
    
    .geo-triangle {
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-bottom: 42px solid rgba(255, 77, 77, 0.15);
    }
    
    .geo-circle {
        width: 55px;
        height: 55px;
        border-width: 2.5px;
        border-color: rgba(255, 77, 77, 0.2);
    }
    
    /* Adjust animation speed for tablet */
    @keyframes twinkle {
        0% {
            opacity: 0.4;
            transform: scale(0.9);
        }
        100% {
            opacity: 0.8;
            transform: scale(1.3);
        }
    }
    
    @keyframes float-subtle {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-15px);
        }
    }
    
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.6;
        }
        50% {
            transform: scale(1.15);
            opacity: 0.8;
        }
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    /* Decorative elements for mobile */
    .star, .orbit, .orb {
        display: none;
    }
    
    /* Add mobile-friendly particle pattern at the bottom */
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
        background-size: 12px 12px;
        opacity: 0.15;
        pointer-events: none;
        z-index: 1;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 16px;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        z-index: 100;
        border-radius: 0 0 16px 16px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .profile-section {
        flex: 1;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        max-width: 100%;
        margin-bottom: 40px;
        text-align: left;
    }
    
    .tools-icons {
        display: inline-flex;
        margin: 4px 0;
        justify-content: flex-start;
    }
    
    .tool-icon {
        width: 28px;
        height: 28px;
    }
    
    .cta-section {
        align-items: flex-start;
    }
    
    .trust-section {
        text-align: left;
    }
    
    .company-logos {
        justify-content: flex-start;
    }
    
    .hero .container {
        text-align: left;
        padding: 0 24px;
    }
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Add subtle dot pattern to sections */
.hero-section::before,
.about-section::before,
.experience-section::before,
.stack-section::before,
.featured-section::before,
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 40%;
    background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

/* Specific tablet styling (exclude mobile) */
@media (min-width: 769px) and (max-width: 992px) {
    .hero {
        padding: 180px 0 120px;
        min-height: 75vh;
        display: flex;
        align-items: center;
    }
    
    .hero .container {
        max-width: 85%;
        margin: 0 auto;
        text-align: left;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 1.25;
        max-width: 90%;
        margin: 0 0 40px;
        text-align: left;
        letter-spacing: -0.03em;
    }
    
    .highlight {
        color: var(--secondary-color);
        font-weight: 500;
    }
    
    /* Line breaks for better text arrangement */
    .hero-title br {
        display: block;
    }
    
    /* Improve accent text appearance */
    .accent-text::after {
        height: 3px;
        bottom: -3px;
    }
    
    .tools-icons {
        margin: 0 6px;
        display: inline-flex;
        vertical-align: middle;
    }
    
    .tool-icon {
        width: 34px;
        height: 34px;
        margin: 0 1px;
    }
    
    .cta-section {
        display: flex;
        flex-direction: row;
        gap: 50px;
        align-items: center;
        justify-content: flex-start;
        margin-top: 40px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
        box-shadow: 0 12px 24px rgba(255, 77, 77, 0.2);
        transition: all 0.25s ease;
    }
    
    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(255, 77, 77, 0.25);
    }
    
    /* Improve text appearance */
    .hero p, .hero span {
        letter-spacing: -0.01em;
    }
    
    /* Other improvements */
    .navbar {
        width: calc(100% - 60px);
        left: 30px;
        border-radius: 60px;
        padding: 10px 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .email-button {
        padding: 10px 20px;
    }
    
    .trust-section {
        text-align: left;
    }
    
    .trust-text {
        margin-bottom: 12px;
        font-size: 14px;
    }
    
    .company-logos {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 24px;
    }
    
    .company-logo {
        font-size: 15px;
        opacity: 0.7;
    }
    
    .star, .orbit, .geo-square, .geo-triangle, .geo-circle {
        display: block;
    }
    
    /* Adjust hero decorative elements specifically for tablets */
    .decorative-container {
        overflow: visible;
    }
    
    /* Special positioning for tablet-specific decorative elements */
    .hero .decorative-container .star-lg {
        top: 40%;
        left: 18%;
    }
    
    .hero .decorative-container .star-md {
        top: 25%;
        left: 80%;
    }
    
    .hero .decorative-container .geo-square {
        top: 25%;
        left: 65%;
    }
    
    .hero .decorative-container .geo-triangle {
        bottom: 20%;
        right: 25%;
    }
    
    .hero .decorative-container .orbit-outer {
        top: 15%;
        right: 10%;
    }
    
    .hero .decorative-container .orbit-mid {
        top: 60%;
        left: 15%;
    }
    
    .container {
        padding: 0 30px;
    }
    
    /* Improve text hierarchy and whitespace */
    .section-title {
        font-size: 38px;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 50px;
        max-width: 650px;
    }
    
    /* Improve spacing between sections */
    .about-section, 
    .experience-section, 
    .stack-section,
    .featured-section,
    .footer-section {
        padding: 80px 0;
    }
    
    .experience-list {
        gap: 32px;
    }
}
