/* Portfolio CSS - Custom CSS3 conversion from Tailwind */

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-14 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Background Colors */
.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

/* Grid Layout */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-10 {
    gap: 2.5rem;
}

.items-center {
    align-items: center;
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

/* Spacing */
.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.ms-6 {
    margin-left: 1.5rem;
}

.pl-6 {
    padding-left: 1.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6-2 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Typography */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Text Colors */
.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-500 {
    color: #3b82f6;
}

.text-white {
    color: #ffffff;
}

.text-center {
    text-align: center;
}

/* Lists */
.list-disc {
    list-style-type: disc;
}

.list-inside {
    list-style-position: inside;
}

/* Border and Border Radius */
.border {
    border-width: 1px;
    border-color: #e5e7eb;
}

.border-s {
    border-left-width: 1px;
    border-left-color: #e5e7eb;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Background Colors - Extended */
.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-indigo-100 {
    background-color: #e0e7ff;
}

.bg-teal-100 {
    background-color: #ccfbf1;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.bg-amber-100 {
    background-color: #fef3c7;
}

.bg-rose-100 {
    background-color: #ffe4e6;
}

.bg-sky-100 {
    background-color: #e0f2fe;
}

/* Colors for timeline icons */
.text-blue-600 {
    color: #2563eb;
}

.text-indigo-600 {
    color: #4f46e5;
}

.text-teal-600 {
    color: #0d9488;
}

.text-purple-600 {
    color: #9333ea;
}

.text-amber-600 {
    color: #d97706;
}

.text-rose-600 {
    color: #e11d48;
}

.text-sky-600 {
    color: #0284c7;
}

/* Shadows */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dimensions */
.w-48 {
    width: 12rem;
}

.h-48 {
    height: 12rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-3\.5 {
    width: 0.875rem;
}

.h-3\.5 {
    height: 0.875rem;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.-start-3 {
    left: -0.75rem;
}

.ring-8 {
    box-shadow: 0 0 0 8px var(--tw-ring-color);
}

.ring-gray-50 {
    --tw-ring-color: #f9fafb;
}

/* Transitions and Hover States */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hover\:bg-white:hover {
    background-color: #ffffff;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.hover\:shadow:hover {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.max-w-3xl {
    max-width: 48rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }
    
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:items-center {
        align-items: center;
    }
    
    .md\:justify-between {
        justify-content: space-between;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Timeline Specific Styles */
.portfolio-timeline {
    position: relative;
    border-left: 1px solid #e5e7eb;
    padding-left: 1.5rem;
}

.timeline-item {
    margin-bottom: 2.5rem;
    margin-left: 1.5rem;
}

.timeline-icon {
    position: absolute;
    left: -0.75rem;
    display: flex;
    height: 1.5rem;
    width: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: 0 0 0 8px #f9fafb;
}

.timeline-icon-blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.timeline-icon-indigo {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.timeline-icon-teal {
    background-color: #ccfbf1;
    color: #0d9488;
}

.timeline-icon-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.timeline-icon-amber {
    background-color: #fef3c7;
    color: #d97706;
}

.timeline-icon-rose {
    background-color: #ffe4e6;
    color: #e11d48;
}

.timeline-icon-sky {
    background-color: #e0f2fe;
    color: #0284c7;
}

/* Portfolio specific component styles */
.portfolio-hero {
    background-color: #ffffff;
}

.portfolio-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.portfolio-hero-content {
    grid-column: span 2 / span 2;
}

.portfolio-hero-image {
    grid-column: span 1 / span 1;
    text-align: center;
}

.portfolio-hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
}

.portfolio-hero-subtitle {
    color: #2563eb;
    font-weight: 600;
    margin-top: 0.25rem;
}

.portfolio-hero-description {
    margin-top: 1rem;
    color: #374151;
    line-height: 1.625;
}

.portfolio-hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.portfolio-btn-secondary {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.portfolio-btn-secondary:hover {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.portfolio-btn-primary {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #2563eb;
    color: #ffffff;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.portfolio-btn-primary:hover {
    background-color: #1d4ed8;
}

.portfolio-profile-image {
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 12rem;
    height: 12rem;
    object-fit: cover;
}

.portfolio-section {
    padding: 3rem 0;
}

.portfolio-section-gray {
    background-color: #f9fafb;
}

.portfolio-section-white {
    background-color: #ffffff;
}

.portfolio-section-blue {
    background-color: #eff6ff;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.portfolio-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.portfolio-section-title-large {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
}

.portfolio-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.portfolio-skill-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.portfolio-experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.portfolio-experience-card {
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.portfolio-experience-header {
    display: flex;
    flex-direction: column;
}

.portfolio-experience-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.portfolio-experience-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.portfolio-experience-details {
    margin-top: 0.75rem;
    color: #374151;
    list-style-type: disc;
    list-style-position: inside;
}

.portfolio-experience-details li {
    margin-top: 0.25rem;
}

.portfolio-projects-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-project-card {
    display: block;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.portfolio-project-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.portfolio-project-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.portfolio-project-description {
    color: #4b5563;
    margin-top: 0.25rem;
}

.portfolio-services-intro {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2.5rem auto;
}

.portfolio-services-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
}

.portfolio-services-description {
    color: #4b5563;
    margin-top: 0.5rem;
}

.portfolio-services-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-service-card {
    background-color: #f9fafb;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.portfolio-service-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.portfolio-service-description {
    color: #4b5563;
    margin-top: 0.5rem;
}

.portfolio-cta-center {
    text-align: center;
    margin-top: 2rem;
}

.portfolio-btn-cta {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-btn-cta:hover {
    background-color: #1d4ed8;
}

.portfolio-education-list {
    color: #374151;
    list-style-type: disc;
    list-style-position: inside;
}

.portfolio-education-list li {
    margin-top: 0.25rem;
}

.portfolio-final-cta {
    padding: 4rem 0;
    background-color: #eff6ff;
}

.portfolio-final-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.portfolio-final-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.portfolio-final-cta-description {
    color: #4b5563;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive Design for Portfolio Components */
@media (min-width: 768px) {
    .portfolio-hero-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .portfolio-experience-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .portfolio-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .portfolio-hero-title {
        font-size: 3rem;
        line-height: 1;
    }
    
    .portfolio-services-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .portfolio-final-cta-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .portfolio-services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}