/* Modern Portfolio Styles - Optimized */
:root {
    --primary-color: #6366f1;
    --secondary-color: #f59e0b;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-text: linear-gradient(45deg, #fff, #f0f0f0);
  }
  
  /* Reset and Base */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
  }
  
  /* Layout */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    position: relative;
  }
  
  /* Flexbox Utilities */
  .flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-color);
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
  }
  
  .btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-light);
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-primary:hover {
    background: #5856eb;
    box-shadow: var(--shadow-medium);
  }
  
  .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
  }
  
  /* Section Headers */
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
  }
  
  /* Hero Section */
  .slide--hero {
    background: var(--bg-gradient);
    color: white;
    overflow: hidden;
  }
  
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .hero-text {
    z-index: 2;
  }
  
  .hero-greeting {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .hero-name {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    display: block;
    margin-bottom: 0.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .hero-role {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 2rem;
  }
  
  .hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 500px;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  /* Floating Elements */
  .hero-visual {
    position: relative;
    height: 500px;
  }
  
  .floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .float-item {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    color: white;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .item-1 { top: 20%; left: 20%; animation-delay: 0s; }
  .item-2 { top: 60%; right: 30%; animation-delay: 1.5s; }
  .item-3 { bottom: 20%; left: 30%; animation-delay: 3s; }
  .item-4 { top: 10%; right: 10%; animation-delay: 4.5s; }
  
  /* Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    opacity: 0.7;
  }
  
  .scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
  }
  
  /* About Section */
  .slide--about {
    background: var(--bg-white);
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
  }
  
  .about-image {
    position: relative;
  }
  
  .image-frame {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    position: relative;
    transform: rotate(-2deg);
    transition: var(--transition);
  }
  
  .image-frame:hover {
    transform: rotate(0deg) scale(1.05);
  }
  
  .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  
  .about-content {
    padding: 2rem 0;
  }
  
  .about-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
  }
  
  .about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
  }
  
  /* Contact Info */
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
  }
  
  .contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
  }
  
  /* Skills Section */
  .slide--skills {
    background: var(--bg-light);
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .skill-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
  }
  
  .skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
  }
  
  .skill-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
  }
  
  .skill-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .skill-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .skill-level {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }
  
  .skill-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: var(--skill-level);
    transition: width 1s ease-in-out;
  }
  
  /* Portfolio Section */
  .slide--portfolio {
    background: var(--bg-white);
  }
  
  .portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }
  
  .filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
  }
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  .portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
  }
  
  .portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
  }
  
  .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(207, 208, 250, 0.9);
    background: linear-gradient(45deg, rgba(99, 146, 241, 0.9), rgba(55, 216, 252, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
  }
  
  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
  }
  
  .portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
  }
  
  .portfolio-content {
    text-align: center;
    color: white;
  }
  
  .portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .portfolio-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
  }
  
  .portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
  }
  
  .portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }
  
  /* Contact Section */
  .slide--contact {
    background: var(--bg-light);
  }
  

  .contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
  }
  
  .contact-method:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
  }
  
  .contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
  }
  
  .contact-details p {
    color: var(--text-light);
    margin: 0;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
  }
  
  /* Footer */
  .footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }
  
  .footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
  }
  
  .footer-brand p {
    opacity: 0.7;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
  }
  
  /* Animations */
  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Utility Classes */
  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .text-right { text-align: right; }
  .mb-1 { margin-bottom: 0.5rem; }
  .mb-2 { margin-bottom: 1rem; }
  .mb-3 { margin-bottom: 1.5rem; }
  .mb-4 { margin-bottom: 2rem; }
  .mt-1 { margin-top: 0.5rem; }
  .mt-2 { margin-top: 1rem; }
  .mt-3 { margin-top: 1.5rem; }
  .mt-4 { margin-top: 2rem; }