/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out, background-color 0.3s ease;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles::before,
.particles::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particles::before {
    background: radial-gradient(circle at 20% 30%, var(--primary-color) 0%, transparent 8%),
                radial-gradient(circle at 80% 70%, var(--primary-color) 0%, transparent 8%);
    background-size: 150% 150%;
    animation: particlesBg 15s infinite alternate;
}

.particles::after {
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.8) 0%, transparent 0.2%);
    background-size: 150% 150%;
    animation: particles 10s infinite linear;
}

@keyframes particlesBg {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes particles {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    font-family: 'Pacifico', cursive;
    font-size: 5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    position: relative;
    animation: pulse 1.5s infinite alternate, spin 8s infinite linear;
    transform-origin: center center;
}

.loader-logo::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    border: 2px dashed transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    border-radius: 50%;
    animation: spin-reverse 6s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.loader-bar {
    width: 200px;
    height: 5px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.loader-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    animation: loading 2s infinite linear;
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    letter-spacing: 3px;
    animation: blink 1s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    50% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

:root {
    --primary-color: #ff4949;
    --primary-gradient: linear-gradient(145deg, #ff5656, #f800a5);
    
    /* Light Mode (Default) */
    --bg-color: #fafafa;
    --content-bg: #ffffff;
    --text-color: #333333;
    --text-color-light: #666666;
    --card-bg: #ffffff;
    --border-color: #eeeeee;
    --shadow-color: rgba(0, 0, 0, 0.07);
    --shadow-hover: rgba(0, 0, 0, 0.1);
    --service-card-bg: #f8f9fa;
    --resume-card-bg: #fff5f8;
    --knowledge-tag-bg: #f0f0f0;
    --input-border: #dddddd;
    --education-bg: #fff5fec9;
    --experience-bg: #f0f8ff;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-color: #202020;
    --content-bg: #1e1e1e;
    --text-color: #f0f0f0;
    --text-color-light: #b0b0b0;
    --card-bg: #2d2d2d;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --shadow-hover: rgba(0, 0, 0, 0.3);
    --service-card-bg: #2d2d2d;
    --resume-card-bg: #2d2d2d;
    --knowledge-tag-bg: #3d3d3d;
    --input-border: #444444;
    --education-bg: #2d2d2d;
    --experience-bg: #2d2d2d;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease, background-image 0.3s ease;
    overflow-x: hidden;
    background-image: url('../images/bg-light.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] body {
    background-image: url('../images/bg-dark.webp');
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background-color: transparent;
    position: relative;
    z-index: 100;
}

.navbar-brand {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme Toggle */
/* From Uiverse.io by RiccardoRapelli */ 
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch #input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196f3;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  z-index: 0;
  overflow: hidden;
}

.sun-moon {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: yellow;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

#input:checked + .slider {
  background-color: black;
}

#input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

#input:checked + .slider .sun-moon {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: white;
  -webkit-animation: rotate-center 0.6s ease-in-out both;
  animation: rotate-center 0.6s ease-in-out both;
}

.moon-dot {
  opacity: 0;
  transition: 0.4s;
  fill: gray;
}

#input:checked + .slider .sun-moon .moon-dot {
  opacity: 1;
}

.slider.round {
  border-radius: 34px;
}

.slider.round .sun-moon {
  border-radius: 50%;
}

#moon-dot-1 {
  left: 10px;
  top: 3px;
  position: absolute;
  width: 6px;
  height: 6px;
  z-index: 4;
}

#moon-dot-2 {
  left: 2px;
  top: 10px;
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 4;
}

#moon-dot-3 {
  left: 16px;
  top: 18px;
  position: absolute;
  width: 3px;
  height: 3px;
  z-index: 4;
}

#light-ray-1 {
  left: -8px;
  top: -8px;
  position: absolute;
  width: 43px;
  height: 43px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-2 {
  left: -50%;
  top: -50%;
  position: absolute;
  width: 55px;
  height: 55px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-3 {
  left: -18px;
  top: -18px;
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

.cloud-light {
  position: absolute;
  fill: #eee;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

.cloud-dark {
  position: absolute;
  fill: #ccc;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}

#cloud-1 {
  left: 30px;
  top: 15px;
  width: 40px;
}

#cloud-2 {
  left: 44px;
  top: 10px;
  width: 20px;
}

#cloud-3 {
  left: 18px;
  top: 24px;
  width: 30px;
}

#cloud-4 {
  left: 36px;
  top: 18px;
  width: 40px;
}

#cloud-5 {
  left: 48px;
  top: 14px;
  width: 20px;
}

#cloud-6 {
  left: 22px;
  top: 26px;
  width: 30px;
}

@keyframes cloud-move {
  0% {
    transform: translateX(0px);
  }

  40% {
    transform: translateX(4px);
  }

  80% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0px);
  }
}

.stars {
  transform: translateY(-32px);
  opacity: 0;
  transition: 0.4s;
}

.star {
  fill: white;
  position: absolute;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  animation-name: star-twinkle;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

#input:checked + .slider .stars {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

#star-1 {
  width: 20px;
  top: 2px;
  left: 3px;
  animation-delay: 0.3s;
}

#star-2 {
  width: 6px;
  top: 16px;
  left: 3px;
}

#star-3 {
  width: 12px;
  top: 20px;
  left: 10px;
  animation-delay: 0.6s;
}

#star-4 {
  width: 18px;
  top: 0px;
  left: 18px;
  animation-delay: 1.3s;
}

@keyframes star-twinkle {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.2);
  }

  80% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes rotate-center {
  0% {
    transform: translateX(26px) rotate(0);
  }
  100% {
    transform: translateX(26px) rotate(360deg);
  }
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Wrapper and Container */
.main-wrapper {
    min-height: 100vh;
    padding: 1.5rem 0 3rem;
    margin-top: 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
}

/* Profile Column (Left) */
.profile-column {
    border-radius: 15px 0 0 15px;
    height: 100%;
}

.profile-card-wrapper {
    position: sticky;
    top: 0;
    height: auto;
}
.profile-card {
    background-color: var(--content-bg);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    position: static;
    z-index: 100;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.profile-card.scrolling {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--primary-color);
    box-shadow: rgba(50, 50, 93, 0.212) 0px 50px 100px -20px, rgba(0, 0, 0, 0.26) 0px 30px 60px -30px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.role-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Contact Information */
.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-align: left;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info .label {
    color: var(--text-color-light);
    font-size: 0.8rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.info .value {
    font-weight: 500;
    margin-bottom: 0;
}

/* Download CV Button */
.cv-button {
    width: 100%;
}

.form-control {
    background-color: var(--bg-color);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.btn-download {
    font-family: 'Montserrat', sans-serif;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

.btn-download:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Content Column (Right) */
.content-column {
    padding: 0;
    min-height: 100vh;
    border-radius: 0 15px 15px 0;
}

/* Navigation Tabs */
.tabs-container {
    background-color:var(--content-bg);
    padding: 1rem;
    z-index: 99;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    margin-right: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 460px;
}

.tabs-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

}

.tab-item {
    flex: 1;
    text-align: center;
}

.tab-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.tab-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.tab-item.active .tab-icon {
    background: var(--primary-gradient);
    color: white;
}

.tab-item.active .tab-link {
    color: var(--primary-color);
}

.tab-item:hover .tab-icon {
    background: var(--primary-gradient);
    color: white;
}

.tab-item:hover .tab-link {
    color: var(--primary-gradient);
}

.tab-link span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Tab Content */
.tab-content {
    margin: 0 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color:var(--content-bg);
    border-radius: 15px;
}

.tab-pane {
    padding: 2rem;
}

/* Section Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.title-line {
    display: inline-block;
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    position: absolute;
    bottom: 10px;
    left: 160px;
}

.about-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
}

/* Services Section */
.services-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.service-card {
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Service Card Background Colors */
.ui-ux-card {
    background-color: #f9f3ff;
}

.app-card {
    background-color: #fffaf0;
}

.photo-card {
    background-color: #f5f5ff;
}

.photo2-card {
    background-color: #fff5f8;
}

.management-card {
    background-color: #fff5f5;
}

.web-card {
    background-color: #f0faff;
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.ui-ux-icon {
    color: #9370DB;
    background-color: #f0e6ff;
}

.app-icon {
    color: #FFA500;
    background-color: #fdefcc;
}

.photo-icon {
    color: #8A2BE2;
    background-color: #f0e6ff;
}

.photo-icon-2 {
    color: #FF69B4;
    background-color: #ffe6f0;
}

.management-icon {
    color: var(--primary-color);
    background-color: #ffe6e6;
}

.web-icon {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.service-description {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

/* Resume Section */
.resume-section {
    padding: 20px 0;
}

.download-btn {
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.resume-category {
    margin-bottom: 2rem;
}

.resume-category-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.resume-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary-color);
}

.education-icon {
    color: var(--primary-color);
}

.experience-icon {
    color: var(--primary-color);
}

.resume-item {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.education-item {
    background-color: var(--education-bg);
}

.experience-item {
    background-color: var(--experience-bg);
}

.resume-date {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.resume-degree, .resume-position {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.resume-institution, .resume-company {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0;
}

/* Working Skills Section */
.skills-section, .knowledge-section {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.skills-title, .knowledge-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name, .skill-percent {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
}

.skill-progress-bg {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 10px;
}

.web-design-progress {
    background: var(--primary-gradient);
}

.mobile-app-progress {
    background: var(--primary-gradient);
}

.illustrator-progress {
    background: var(--primary-gradient);
}

.photoshop-progress {
    background: var(--primary-gradient);
}

/* Knowledge Tags */
.knowledge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.knowledge-tag {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.resume-category {
    margin-bottom: 2rem;
}

.resume-category-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.resume-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary-color);
}

.education-icon {
    color: var(--primary-color);
}

.experience-icon {
    color: var(--primary-color);
}

.resume-item {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.education-item {
    background-color: var(--education-bg);
}

.experience-item {
    background-color: var(--experience-bg);
}

.resume-date {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.resume-degree, .resume-position {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.resume-institution, .resume-company {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0;
}

/* Portfolio Section */
.portfolio-section {
    margin-top: 2rem;
}

/* Portfolio Modal */
.portfolio-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-img:hover {
    transform: scale(1.05);
}

.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    max-width: 80%;
    max-height: 80vh;
    position: relative;
    margin: auto;
    animation: zoomIn 0.3s ease;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content img {
    width: 100%;
    display: block;
}

.modal-info {
    padding: 15px;
    background-color: white;
}

.modal-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.5rem;
}

.modal-info p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--education-bg);
    transition: all 0.3s ease;
}

.portfolio-item-inner {
    display: flex;
    flex-direction: column;
}

.portfolio-image {
    overflow: hidden;
    border-radius: 15px;
    margin: 15px;
}

.portfolio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.portfolio-info {
    padding: 0 1.5rem 1.5rem;
}

.portfolio-category {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

/* Contact Section */
.contact-section {
    margin-top: 2rem;
}

/* Contact Cards */
.contact-card {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.phone-card {
    background-color: var(--education-bg);
}

.email-card {
    background-color: var(--education-bg);
}

.contact-card-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--text-color-light);
}

.contact-card-content {
    flex: 1;
}

.contact-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-card-info {
    font-size: 1rem;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

/* Contact Message */
.contact-message {
    margin: 3rem 0;
}

.message-text {
    font-size: 1.5rem;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.message-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

/* Contact Form */
.contact-form {
    margin-top: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.required {
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    background: none;
    border: 1px solid #ddd;
    color: var(--text-color);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

/* Clients Section */
.clients-section {
    margin-top: 3rem;
}

.main-content {
    background-color: var(--content-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card, .ui-ux-card, .app-card, .web-card {
    background-color: var(--service-card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.client-logos {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.client-logos .col{
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logos img {
    max-height: 60px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 0;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

.footer p {
    margin-bottom: 0;
}

/* Responsive Styles */

@media (max-width: 1200px) {
    .profile-card{
        width: 30%;
    }
}


@media (max-width: 991.98px) {
    .main-wrapper {
        padding: 1rem 0;
    }

    .tabs-container{
        width: 100%;
        margin-right: 0;
    }
    
    .container {
        max-width: 95%;
    }
    
    .profile-column {
        position: relative;
        min-height: auto;
    }
    
    .content-section {
        margin-left: 300px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .main-wrapper {
        flex-direction: column;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .profile-section {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 2rem;
    }
    
    .profile-column {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .profile-card {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .content-section {
        margin-left: 0;
        width: 100%;
    }
    
    .content-column {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .resume-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resume-category {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .main-wrapper {
        padding: 0.5rem 0;
    }

    .title-line{
        left: 120px;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h1 {
        font-size: 1.8rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .nav-tabs .nav-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        margin-bottom: 0.5rem;
    }
    
    .nav-tabs .nav-link {
        text-align: center;
        padding: 0.5rem 0.1rem;
    }
    
    .nav-tabs .nav-link i {
        display: block;
        margin: 0 auto 5px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .portfolio-filter {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        margin-bottom: 0.5rem;
    }
    
    .contact-card {
        margin-bottom: 1rem;
    }
    
    .message-text, .message-highlight {
        font-size: 1.2rem;
    }
    
    .client-logos .col {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .client-logos img {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    
    .container {
        max-width: 100%;
        border-radius: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .profile-column, .content-column {
        border-radius: 0;
    }
    
    .profile-info h1 {
        font-size: 1.6rem;
    }
    
    .profile-info p {
        font-size: 0.9rem;
    }
    
    .tab-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .tab-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-card-title {
        font-size: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        margin-bottom: 1rem;
    }
    
    .portfolio-title {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card-title {
        font-size: 1rem;
    }
    
    .message-text {
        font-size: 1rem;
    }
    
    .message-highlight {
        font-size: 1.2rem;
    }
    
    .btn-submit {
        width: 100%;
    }
    
    .client-logos .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .resume-entry {
        padding: 1rem;
    }
    
    .resume-entry-title {
        font-size: 1rem;
    }
    
    .resume-entry-company, .resume-entry-year {
        font-size: 0.8rem;
    }
}
