@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fafafa;
    color: #1a1a1a;
    /* Removed overflow-x: hidden to fix unlimited scrolling */
}

.services {
    padding: 8rem 3rem;
    background: #fff;
    position: relative;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 6rem;
}

.services-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.services-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.services-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card {
    background: #fafafa;
    padding: 3rem 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: bold;
}

.services-cta {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.services-btn {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    border-radius: 0;
}

.services-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.2);
}

.services-accent-line {
    position: absolute;
    background: #1a1a1a;
    opacity: 0.05;
}

.services-accent-line-1 {
    width: 2px;
    height: 200px;
    top: 20%;
    left: 10%;
    transform: rotate(15deg);
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.services-accent-line-2 {
    width: 100px;
    height: 2px;
    bottom: 30%;
    right: 15%;
    animation: fadeIn 1s ease-out 1.7s forwards;
}

.services-floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.9s forwards;
}

.services-dot-1 {
    top: 25%;
    right: 20%;
}

.services-dot-2 {
    bottom: 25%;
    left: 8%;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 0.1;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 3rem;
    padding-top: 8rem;
    /* Account for fixed navbar */
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.greeting {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.name {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: #333;
    margin-bottom: 3rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 500px;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
    border-radius: 0;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.2);
}

.btn-secondary {
    background: transparent;
    color: black;
    /* Ensure text is visible */
    border: 2px solid #1a1a1a;
    border-radius: 0;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease-out 0.5s forwards;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s ease;
}

.profile-image:hover {
    filter: grayscale(0%) contrast(1);
}

/* Featured Project Section */
.featured-project {
    padding: 8rem 3rem;
    background: #fafafa;
    position: relative;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.project-content {
    z-index: 2;
}

.project-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.project-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.project-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.tech-tag {
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.project-links {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.project-btn {
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.project-btn-primary {
    background: #1a1a1a;
    color: white;
    border-radius: 0;
}

.project-btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.2);
}

.project-btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    border-radius: 0;
}

.project-btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

.project-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-preview {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease-out 0.5s forwards;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-preview:hover {
    filter: grayscale(0%) contrast(1);
    transform: translateX(0) scale(1.02);
}

/* Contact Section */
.contact {
    padding: 8rem 3rem;
    background: #ffffff;
    position: relative;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 6rem;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.contact-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 2px;
}

.contact-item:nth-child(2) .contact-icon::before {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.contact-item:nth-child(3) .contact-icon::before {
    background: linear-gradient(45deg, #4ecdc4, #6dd5ed);
}

.contact-item:nth-child(4) .contact-icon::before {
    background: linear-gradient(45deg, #45b7d1, #96c7ed);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-details p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.contact-form {
    background: #fafafa;
    padding: 3rem;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    border-radius: 0;
    width: 100%;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.2);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer Section */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 3rem 2rem 3rem;
    position: relative;
}

/* Responsive Contact Section */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 600px) {
    .contact {
        padding: 3rem 0.5rem;
    }

    .contact-header {
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 1rem 0.5rem;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.social-link:nth-child(1)::before {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.social-link:nth-child(2)::before {
    background: linear-gradient(45deg, #4ecdc4, #6dd5ed);
}

.social-link:nth-child(3)::before {
    background: linear-gradient(45deg, #45b7d1, #96c7ed);
}

.social-link:nth-child(4)::before {
    background: linear-gradient(45deg, #f9ca24, #f0932b);
}

.social-link:hover {
    background: #555;
    transform: translateY(-2px);
}

.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.footer-section:nth-child(2) {
    animation-delay: 0.4s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.6s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.8s;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.footer-copyright {
    color: #999;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Geometric accent elements */
.accent-line {
    position: absolute;
    background: #1a1a1a;
    opacity: 0.1;
}

.accent-line-1 {
    width: 2px;
    height: 200px;
    top: 20%;
    left: 15%;
    transform: rotate(15deg);
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.accent-line-2 {
    width: 100px;
    height: 2px;
    bottom: 25%;
    right: 20%;
    animation: fadeIn 1s ease-out 1.7s forwards;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.9s forwards;
}

.dot-1 {
    top: 30%;
    right: 10%;
}

.dot-2 {
    bottom: 40%;
    left: 5%;
}

/* Featured Project Accent Elements */
.project-accent-line {
    position: absolute;
    background: #1a1a1a;
    opacity: 0.1;
}

.project-accent-line-1 {
    width: 2px;
    height: 150px;
    top: 30%;
    right: 20%;
    transform: rotate(-15deg);
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.project-accent-line-2 {
    width: 80px;
    height: 2px;
    bottom: 20%;
    left: 15%;
    animation: fadeIn 1s ease-out 1.7s forwards;
}

.project-floating-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.9s forwards;
}

.project-dot-1 {
    top: 25%;
    left: 10%;
}

.project-dot-2 {
    bottom: 30%;
    right: 8%;
}

/* Contact Accent Elements */
.contact-accent-line {
    position: absolute;
    background: #1a1a1a;
    opacity: 0.05;
}

.contact-accent-line-1 {
    width: 2px;
    height: 180px;
    top: 20%;
    left: 8%;
    transform: rotate(12deg);
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.contact-accent-line-2 {
    width: 90px;
    height: 2px;
    bottom: 25%;
    right: 12%;
    animation: fadeIn 1s ease-out 1.7s forwards;
}

.contact-floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.9s forwards;
}

.contact-dot-1 {
    top: 30%;
    right: 15%;
}

.contact-dot-2 {
    bottom: 35%;
    left: 10%;
}

/* Footer Accent Elements */
.footer-accent-line {
    position: absolute;
    background: white;
    opacity: 0.1;
}

.footer-accent-line-1 {
    width: 2px;
    height: 100px;
    top: 20%;
    right: 15%;
    transform: rotate(15deg);
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.footer-accent-line-2 {
    width: 60px;
    height: 2px;
    bottom: 30%;
    left: 10%;
    animation: fadeIn 1s ease-out 1.4s forwards;
}

.footer-floating-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.6s forwards;
}

.footer-dot-1 {
    top: 25%;
    left: 12%;
}

.footer-dot-2 {
    bottom: 25%;
    right: 20%;
}

/* Animations */
@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .contact-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .profile-image {
        max-width: 350px;
        animation: fadeInUp 1s ease-out 0.5s forwards;
    }

    .description {
        max-width: 100%;
    }

    .accent-line-1 {
        display: none;
    }

    .featured-project {
        padding: 6rem 2rem;
    }

    .featured-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .project-content {
        order: 2;
    }

    .project-image {
        order: 1;
    }

    .project-preview {
        max-width: 400px;
        animation: fadeInUp 1s ease-out 0.5s forwards;
    }

    .project-accent-line-1 {
        display: none;
    }

    .services {
        padding: 6rem 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2.5rem 2rem;
    }

    .services-accent-line-1 {
        display: none;
    }

    .contact {
        padding: 6rem 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form {
        padding: 2.5rem 2rem;
    }

    .contact-accent-line-1 {
        display: none;
    }

    .footer {
        padding: 3rem 2rem 1.5rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-accent-line-1 {
        display: none;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .contact-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .arrow-icon {
        width: 10px;
        height: 10px;
    }

    .hero {
        padding: 2rem 1.5rem;
        padding-top: 6rem;
        /* Adjust for smaller navbar */
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .profile-image {
        max-width: 280px;
    }

    .greeting {
        font-size: 1rem;
    }

    .featured-project {
        padding: 4rem 1.5rem;
    }

    .featured-container {
        gap: 2rem;
    }

    .project-preview {
        max-width: 300px;
    }

    .project-links {
        flex-direction: column;
        align-items: center;
    }

    .project-btn {
        width: 100%;
        max-width: 250px;
    }

    .services {
        padding: 4rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.5rem;
    }

    .service-icon::before {
        width: 16px;
        height: 16px;
    }

    .contact {
        padding: 4rem 1.5rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-item {
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        margin-right: 1rem;
    }

    .contact-icon::before {
        width: 18px;
        height: 18px;
    }

    .footer {
        padding: 2.5rem 1.5rem 1rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: 1;
        margin-bottom: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Ensure the image upload box stays within the viewport */
.insert-image-box {
    max-width: 90%;
    width: 500px;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .insert-image-box {
        width: 90%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading state */
.hero.loading * {
    animation-play-state: paused;
}

/* About Hero Section */
.about-hero {
    padding: 8rem 3rem 6rem 3rem;
    background: #ffffff;
    position: relative;
}

.about-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content {
    z-index: 2;
}

.about-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Story Section */
.story {
    padding: 8rem 3rem;
    background: #fafafa;
    position: relative;
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.story-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-highlights {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.highlight-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.highlight-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 2px;
}

.highlight-item:nth-child(1) .highlight-icon::before {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.highlight-item:nth-child(2) .highlight-icon::before {
    background: linear-gradient(45deg, #4ecdc4, #6dd5ed);
}

.highlight-item:nth-child(3) .highlight-icon::before {
    background: linear-gradient(45deg, #45b7d1, #96c7ed);
}

.highlight-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.highlight-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}


/* Values Section */
.values {
    padding: 8rem 3rem;
    background: #fafafa;
    position: relative;
}

.values-container {
    max-width: 1000px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.values-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.value-item:nth-child(1) {
    animation-delay: 0.2s;
}

.value-item:nth-child(2) {
    animation-delay: 0.4s;
}

.value-item:nth-child(3) {
    animation-delay: 0.6s;
}

.value-item:nth-child(4) {
    animation-delay: 0.8s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
}

.value-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 2px;
}

.value-item:nth-child(1) .value-icon::before {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.value-item:nth-child(2) .value-icon::before {
    background: linear-gradient(45deg, #4ecdc4, #6dd5ed);
}

.value-item:nth-child(3) .value-icon::before {
    background: linear-gradient(45deg, #45b7d1, #96c7ed);
}

.value-item:nth-child(4) .value-icon::before {
    background: linear-gradient(45deg, #f9ca24, #f0932b);
}

.value-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.value-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}


/* Responsive Design for About Page */
@media (max-width: 968px) {
    .about-hero {
        padding: 6rem 2rem 4rem 2rem;
    }

    .about-hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .about-content {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 5rem 1.5rem 3rem 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story {
        padding: 4rem 1.5rem;
    }

    .skills {
        padding: 4rem 1.5rem;
    }

    .values {
        padding: 4rem 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding: 3rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Contact Content Section
.contact-content-section {
    padding: 8rem 3rem;
    background: #fafafa;
    position: relative;
}

.contact-content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.form-header p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-details-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.details-header {
    margin-bottom: 3rem;
}

.details-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.details-header p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 3rem;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.method-item:last-child {
    border-bottom: none;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.method-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.method-link {
    font-size: 0.9rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.method-link:hover {
    color: #666;
}

.availability {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.availability h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.availability p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
} */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* CTA Section */
.cta {
    background: #1a1a1a;
    color: white;
    padding: 6rem 3rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #ccc;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Responsive Design for Contact Page */
@media (max-width: 968px) {
    .contact-hero {
        padding: 6rem 2rem 4rem 2rem;
    }

    .contact-content-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form-section {
        padding: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 5rem 1.5rem 3rem 1.5rem;
    }

    .contact-content-section {
        padding: 4rem 1.5rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .method-item {
        flex-direction: column;
        text-align: center;
    }



    .cta {
        padding: 3rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Projects Hero Section */
.projects-hero {
    padding: 8rem 3rem 6rem 3rem;
    background: #ffffff;
    position: relative;
}

.projects-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
}

.projects-content {
    z-index: 2;
}

.projects-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.projects-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.projects-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Projects Filter */
.projects-filter {
    padding: 2rem 3rem;
    background: #fafafa;
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.filter-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
}

/* Projects Grid Section */
.projects-grid-section {
    padding: 6rem 3rem;
    background: #ffffff;
    position: relative;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:nth-child(6) {
    animation-delay: 0.6s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96c7ed);
    opacity: 0.8;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #1a1a1a;
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-category {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Design for Projects Page */
@media (max-width: 968px) {
    .projects-hero {
        padding: 6rem 2rem 4rem 2rem;
    }

    .projects-filter {
        padding: 1.5rem 2rem;
    }

    .projects-grid-section {
        padding: 4rem 2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .projects-hero {
        padding: 5rem 1.5rem 3rem 1.5rem;
    }

    .projects-filter {
        padding: 1rem 1.5rem;
    }

    .projects-grid-section {
        padding: 3rem 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .cta {
        padding: 3rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Services Hero Section */
.services-hero {
    padding: 8rem 3rem 6rem 3rem;
    background: #ffffff;
    position: relative;
}

.services-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
}

.services-content {
    z-index: 2;
}

.services-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.services-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.services-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Services Overview */
.services-overview {
    padding: 6rem 3rem;
    background: #fafafa;
    position: relative;
}

/* Tech Stack Band */
.tech-stack-band {
    padding: 3rem 3rem;
    background: #1a1a1a;
    color: white;
}

.tech-stack-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stack-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stack-subtitle {
    color: #bbbbbb;
    margin-bottom: 1.25rem;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.stack-tag {
    background: #2a2a2a;
    border: 1px solid #333;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.services-overview-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.overview-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.overview-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.overview-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Main Services */
.main-services {
    padding: 8rem 3rem;
    background: #ffffff;
    position: relative;
}

.main-services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #1a1a1a;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #1a1a1a;
    color: white;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

/* Process Section */
.process-section {
    padding: 8rem 3rem;
    background: #fafafa;
    position: relative;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.process-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.process-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.2s;
}

.process-step:nth-child(2) {
    animation-delay: 0.4s;
}

.process-step:nth-child(3) {
    animation-delay: 0.6s;
}

.process-step:nth-child(4) {
    animation-delay: 0.8s;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive Design for Services Page */
@media (max-width: 968px) {
    .services-hero {
        padding: 6rem 2rem 4rem 2rem;
    }

    .services-overview {
        padding: 4rem 2rem;
    }

    .main-services {
        padding: 4rem 2rem;
    }

    .process-section {
        padding: 4rem 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .overview-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-hero {
        padding: 5rem 1.5rem 3rem 1.5rem;
    }

    .services-overview {
        padding: 3rem 1.5rem;
    }

    .main-services {
        padding: 3rem 1.5rem;
    }

    .process-section {
        padding: 3rem 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .cta {
        padding: 3rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Minimal Contact Section Styles */
.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 1.5rem;
    background: #fafafa;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
}

.label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    fill: none;
    stroke-width: 2;
}

.info-content h3 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 0.4rem;
}

.info-content p,
.info-content a {
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
}

.info-content a:hover {
    color: #000;
}

.form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-section label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin-bottom: 0.6rem;
}

.form-section input,
.form-section textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: #111;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    outline: none;
    transition: all 0.2s;
}

.form-section input:focus,
.form-section textarea:focus {
    background: #fff;
    border-color: #111;
}

.form-section textarea {
    resize: vertical;
    min-height: 140px;
}

.form-section .btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: #111;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.form-section .btn:hover {
    background: #000;
    transform: translateY(-2px);
}

.form-section .btn:active {
    transform: translateY(0);
}

.status {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.status.success {
    background: #f0f9f4;
    color: #166534;
    border: 1px solid #d1fae5;
}

.status.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

/* Skills Section */
.skills {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.skill-card {
    background: var(--color-accent);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-md);
    transition: var(--transition-smooth);
}

.skill-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.skill-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.skill-progress {
    height: 8px;
    background: var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: var(--spacing-xs);
}

.skill-progress-bar {
    height: 100%;
    background: var(--color-text);
    transition: var(--transition-smooth);
}