/* Custom CSS for Portfolio with Tailwind CSS support */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Custom Properties for Dark Mode */
:root {
    --primary-color: #FFB6C1;
    --secondary-color: #87CEEB;
    --accent-color: #DDA0DD;
    --light-pink: #FFE4E1;
    --light-blue: #E6F3FF;
    --light-purple: #F0E6FF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #FFB6C1 0%, #DDA0DD 100%);
    --gradient-secondary: linear-gradient(135deg, #87CEEB 0%, #98D8C8 100%);
}

/* Dark Mode Variables */
.dark {
    --primary-color: #F472B6;
    --secondary-color: #60A5FA;
    --accent-color: #C084FC;
    --text-dark: #F3F4F6;
    --text-light: #D1D5DB;
    --white: #1F2937;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.nav-link {
    color: #374151;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    transition: color 0.2s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.dark .nav-link {
    color: #D1D5DB;
}

.nav-link:hover {
    color: #EC4899;
}

.dark .nav-link:hover {
    color: #F472B6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    transition: color 0.2s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.dark .mobile-nav-link {
    color: #D1D5DB;
}

.mobile-nav-link:hover {
    color: #EC4899;
}

.dark .mobile-nav-link:hover {
    color: #F472B6;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: #EC4899;
    border: 2px solid #EC4899;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.dark .btn-secondary {
    color: #F472B6;
    border-color: #F472B6;
}

.btn-secondary:hover {
    background: #EC4899;
    color: white;
    transform: translateY(-1px);
}

.dark .btn-secondary:hover {
    background: #F472B6;
}

/* Section Title */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.dark .section-title {
    color: white;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Contact Cards */
.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.dark .contact-card {
    background: #1F2937;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.dark .contact-card h3 {
    color: white;
}

.contact-card p,
.contact-card a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.dark .contact-card p,
.dark .contact-card a {
    color: #D1D5DB;
}

.contact-card a:hover {
    color: #EC4899;
}

.dark .contact-card a:hover {
    color: #F472B6;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark .contact-form {
    background: #1F2937;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    background: white;
    color: #111827;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.dark .form-input,
.dark .form-textarea {
    background: #374151;
    border-color: #4B5563;
    color: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #EC4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 1rem;
}

.dark .faq-item {
    background: #1F2937;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    background: #F9FAFB;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.dark .faq-question {
    background: #374151;
}

.faq-question:hover {
    background: #F3F4F6;
}

.dark .faq-question:hover {
    background: #4B5563;
}

.faq-question span {
    font-weight: 600;
    color: #111827;
    font-family: 'Quicksand', sans-serif;
}

.dark .faq-question span {
    color: white;
}

.faq-question i {
    color: #EC4899;
    transition: transform 0.2s ease;
}

.dark .faq-question i {
    color: #F472B6;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    line-height: 1.7;
}

.dark .faq-answer {
    background: #1F2937;
}

.faq-answer.active {
    max-height: 24rem;
    padding: 1rem 1.5rem;
}

/* Footer Links */
.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.footer-link:hover {
    color: #EC4899;
}

/* Floating Shapes */
.floating-shapes {
    position: relative;
    height: 400px;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-shape 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    top: 30%;
    right: 60%;
    animation-delay: 4s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    background: var(--light-pink);
    top: 80%;
    right: 40%;
    animation-delay: 1s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.dark .timeline-content {
    background: #1F2937;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.school-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-info h3 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.dark .timeline-info h3 {
    color: white;
}

.timeline-period {
    color: #EC4899;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Quicksand', sans-serif;
}

.dark .timeline-period {
    color: #F472B6;
}

.timeline-role {
    color: #6B7280;
    font-size: 0.875rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.dark .timeline-role {
    color: #D1D5DB;
}

.timeline-description {
    color: #374151;
    line-height: 1.6;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.dark .timeline-description {
    color: #D1D5DB;
}

/* Skills Styles */
.skills-category {
    margin-bottom: 3rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #FCE7F3;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.dark .category-title {
    color: white;
    border-bottom-color: #4C1D95;
}

.category-title i {
    color: #EC4899;
}

.dark .category-title i {
    color: #F472B6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark .skill-card {
    background: #1F2937;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.skill-icon i {
    font-size: 1.5rem;
    color: white;
}

.skill-card h4 {
    color: #111827;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.dark .skill-card h4 {
    color: white;
}

.skill-card p {
    color: #6B7280;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.dark .skill-card p {
    color: #D1D5DB;
}

.skill-level {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 0.75rem;
    background: #F3F4F6;
    border-radius: 0.25rem;
    overflow: hidden;
}

.dark .progress-bar {
    background: #4B5563;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    border-radius: 0.25rem;
    transition: width 1s ease;
    animation: progressAnimation 2s ease-out;
}

@keyframes progressAnimation {
    from {
        width: 0;
    }
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Typing Animation */
.typing-animation {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.notification.success {
    background: #10B981;
    color: white;
}

.notification.error {
    background: #EF4444;
    color: white;
}

.notification.info {
    background: #3B82F6;
    color: white;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Section Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dark .project-card {
    background: #1F2937;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Quicksand', sans-serif;
}

.dark .project-title {
    color: white;
}

.project-description {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.dark .project-description {
    color: #D1D5DB;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: linear-gradient(135deg, #EC4899 0%, #C084FC 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #EC4899;
    border: 2px solid #EC4899;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    flex: 1;
    justify-content: center;
}

.dark .project-link {
    color: #F472B6;
    border-color: #F472B6;
}

.project-link:hover {
    background: #EC4899;
    color: white;
    transform: translateY(-1px);
}

.dark .project-link:hover {
    background: #F472B6;
}

.project-link i {
    font-size: 0.875rem;
}

/* Dark mode transitions */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

.dark ::-webkit-scrollbar-track {
    background: #374151;
}

::-webkit-scrollbar-thumb {
    background: #EC4899;
    border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #F472B6;
}

::-webkit-scrollbar-thumb:hover {
    background: #DB2777;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #EC4899;
} 