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

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

.loader-inner {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.loader-line-wrap {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: spin 2000ms cubic-bezier(.175, .885, .32, 1.275) infinite;
}

.loader-line {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
}

.loader-line-wrap:nth-child(1) { animation-delay: -50ms; }
.loader-line-wrap:nth-child(2) { animation-delay: -100ms; }
.loader-line-wrap:nth-child(3) { animation-delay: -150ms; }
.loader-line-wrap:nth-child(4) { animation-delay: -200ms; }
.loader-line-wrap:nth-child(5) { animation-delay: -250ms; }

.loader-line-wrap:nth-child(1) .loader-line { border-top-color: var(--primary-color); }
.loader-line-wrap:nth-child(2) .loader-line { border-top-color: #e8c24e; }
.loader-line-wrap:nth-child(3) .loader-line { border-top-color: #f5a623; }
.loader-line-wrap:nth-child(4) .loader-line { border-top-color: #ff9800; }
.loader-line-wrap:nth-child(5) .loader-line { border-top-color: #ff5722; }

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

.loader-text {
    font-family: 'Red Rose', sans-serif;
    color: var(--primary-color);
    font-size: 24px;
    letter-spacing: 2px;
    margin-top: 10px;
    position: relative;
}

.dots {
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        opacity: 0;
    }
    40% {
        opacity: 0.3;
    }
    60% {
        opacity: 0.6;
    }
    80%, 100% {
        opacity: 1;
    }
}

/* Global Styles */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Red Rose', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-weight: 700;
}

.section-title {
    font-family: 'Red Rose', sans-serif;
    font-weight: 700;
}
:root {
    --primary-color: #ffb400;
    --dark-bg: #1e1e28;
    --darker-bg: #191923;
    --card-bg: #2b2b35;
    --text-color: #fff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Red Rose', 'Poppins', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

.btn:active{
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.btn-download {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.btn-download:hover {
    background-color: var(--primary-color);
    color: #000;
}

.btn-call {
    background-color: #28a745;
    color: #fff;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-call i {
    margin-left: 8px;
}

.btn-call:hover {
    background-color: #218838;
    color: #fff;
}

/* Sidebar Styles */
.sidebar {
    background-color: var(--dark-bg);
    height: 100vh;
    position: fixed;
    overflow-y: auto;
      scrollbar-width: none;
  -ms-overflow-style: none; 
    width: 16.666667%;
    z-index: 100;
}

.profile-section {
    padding: 20px 0;
}

.profile-img-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

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

.name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.title {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.personal-info {
    margin-bottom: 20px;
    text-align: left;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.info-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.info-label {
    font-weight: 600;
    font-size: 14px;
}

.info-value {
    color: var(--text-muted);
    font-size: 14px;
    text-align: right;
}

/* Circular Progress for Languages */
.language-skills {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.circular-progress {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) var(--percentage), #2c2c38 0);
    position: relative;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #2c2c38;
}

.circular-progress::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--dark-bg);
}

.progress-value {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
}

.skill-name {
    font-size: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* Technical Skills Progress Bars */
.technical-skills {
    margin-bottom: 20px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.skill-item {
    margin-bottom: 15px;
}

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

.skill-name {
    font-size: 12px;
    color: var(--text-muted);
}

.skill-percentage {
    color: var(--text-muted);
    font-size: 12px;
}

.progress {
    height: 3px;
    background-color: #2c2c38;
    border-radius: 0;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 0;
}

/* Additional Skills List */
.additional-skills {
    margin-bottom: 20px;
    padding: 0 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.skill-item-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.skill-item-check i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 12px;
}

/* Download CV Button */
.download-cv {
    margin-bottom: 30px;
}

.btn-download {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.btn-download:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2c38;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Content Area Styles */
.content-area {
    margin-left: 18.666667%;
    width: 81.333333%;
    background-color: var(--dark-bg);
    padding-left: 0;
    padding-right: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sidebar::-webkit-scrollbar {
    display: none;
}

/* Navigation */
.content-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: var(--dark-bg);
    position: fixed;
    width: 82%;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo a span {
    color: var(--primary-color);
}

.logo-small {
    font-size: 18px;
    font-weight: 600;
}

.nav-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.nav-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: none;
    align-items: center;
    gap: 15px;
}

.menu-toggle,
.sidebar-toggle {
    display: none;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle:hover,
.sidebar-toggle:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.sidebar-toggle {
    display: none;
}

/* Tab Content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    padding: 30px 0;
    margin-top: 70px;
}

.tab-pane.active {
    display: block;
}

/* Hero Section */
.hero-section {
    background-image: url('../img/img3.webp');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 40, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding-top: 50px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Red Rose', sans-serif;
    letter-spacing: 0.5px;
}

.code-snippet {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px 0;
    display: inline-block;
}

.code-snippet code {
    color: var(--primary-color);
}

/* Statistics Section */
.statistics-section {
    padding: 30px 0;
    background-color: var(--darker-bg);
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.plus {
    font-size: 24px;
    margin-left: 2px;
    font-weight: 400;
}

.stat-text {
    font-size: 17px;
    color: var(--text-muted);
    font-weight: 300;
}

.services-section .col-md-4 {
    padding: 0 15px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    padding-left: 15px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 5px;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
}

.service-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Pricing Section */
.pricing-section {
    padding: 25px 0;
    margin-bottom: 30px;
}

.pricing-card {
    background-color: var(--darker-bg);
    border-radius: 5px;
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-card.popular {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 180, 0, 0.1);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    transform: rotate(45deg) translateX(28px) translateY(-15px);
    width: 120px;
    text-align: center;
    z-index: 1;
}

.pricing-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.price, .monthly-price, .yearly-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amount {
    font-size: 48px;
    line-height: 1;
}

.currency {
    font-size: 24px;
    margin-right: 5px;
    align-self: flex-start;
    margin-top: 10px;
    font-weight: 400;
}

.period {
    font-size: 16px;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 10px;
    font-weight: 400;
    margin-left: 2px;
}

.asterisk {
    font-size: 20px;
    vertical-align: super;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.feature-item span {
    margin-left: 5px;
}

.feature-item i {
    margin-right: 10px;
    width: 15px;
    text-align: center;
}

.feature-item.available i {
    color: var(--primary-color);
}

.feature-item.unavailable i {
    color: #666;
}

.btn-order {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Price Toggle */
.price-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.toggle-label {
    color: var(--text-muted);
    font-size: 16px;
    margin: 0 15px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-bg);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--primary-color);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--card-bg);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.monthly-price, .yearly-price {
    display: none;
}

.monthly-price.active, .yearly-price.active {
    display: flex;
}

.btn-order i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.btn-order:hover i {
    transform: translateX(5px);
}

.pricing-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.client-logo {
    flex: 0 0 calc(16.666% - 30px);
    max-width: calc(16.666% - 30px);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--darker-bg);
    border-radius: 5px;
    padding: 15px;
    transition: all 0.3s ease;
    filter: grayscale(100%) opacity(0.7);
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-5px);
}

.client-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}



/* Recommendations Section */
.recommendations-section {
    margin-bottom: 30px;
}

.testimonial-card {
    background-color: var(--darker-bg);
    border-radius: 5px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    margin: 0 15px;
    height: 100%;
}

.testimonial-content {
    flex: 1;
    padding-right: 20px;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.author-title {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-rating {
    color: var(--primary-color);
    font-size: 16px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

/* Splide Customization */
.splide__slide {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.splide__slide.is-active {
    opacity: 1;
}

.splide-custom-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.splide-custom-arrow {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.splide-custom-arrow:hover {
    color: var(--primary-color);
}

.splide-pagination {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.splide-pagination .splide__pagination__page {
    width: 30px;
    height: 3px;
    border-radius: 0;
    background-color: var(--card-bg);
    margin: 0 5px;
    opacity: 0.5;
}

.splide-pagination .splide__pagination__page.is-active {
    background-color: var(--primary-color);
    opacity: 1;
    transform: none;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

/* About Section */
.about-header {
    margin-bottom: 30px;
}

.about-header .section-title {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Vertical divider between education and work history */
#about .row {
    position: relative;
}

#about .row:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-caption {
    margin: auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
    font-size: 18px;
}

/* Footer */
.footer {
    padding: 25px 0;
    background-color: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    line-height: 30px;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.footer .social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2c38;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.footer .social-link:hover {
    background-color: var(--primary-color);
    color: #000;
}



/* Portfolio Filter */
.portfolio-filter {
    margin-bottom: 30px;
    text-align: left;
    padding: 0 20px;
}

.portfolio-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.portfolio-filter li {
    font-size: 12px;
    font-weight: 500;
    color: #9e9e9e;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

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

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--darker-bg);
}

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

.portfolio-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    aspect-ratio: 16/9;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-item:hover .portfolio-hover {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.portfolio-item:hover .action-btn {
    transform: translateY(0);
}

.action-btn a {
    color: #000;
    font-size: 16px;
}

.portfolio-info {
    padding: 20px;
    background-color: var(--darker-bg);
    border-radius: 0 0 10px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.portfolio-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.portfolio-link {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.portfolio-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.portfolio-link:hover i {
    transform: translateX(5px);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.education, .work-history {
    padding: 0 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}
    
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
    background-color: var(--darker-bg);
    border-radius: 10px;
    overflow: hidden;
}

.timeline-marker {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: var(--darker-bg);
}

.timeline-content {
    padding: 25px 30px;
    position: relative;
}

.timeline-header {
    margin-bottom: 10px;
    width: 45%;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.timeline-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    display: block;
}

.timeline-date {
    position: absolute;
    top: 25px;
    right: 50px;
    background-color: #2c2c38;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    min-width: 120px;
}

.timeline-body {
    margin: 25px 0 15px;
}

.timeline-body p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.timeline-footer {
    margin-top: 15px;
}

.timeline-link {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.timeline-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.timeline-link:hover i {
    transform: translateX(5px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-date {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-description {
    color: var(--text-muted);
}

/* Contact Section */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-form .form-control {
    background-color: var(--card-bg);
    border: none;
    color: var(--text-color);
    padding: 12px 15px;
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .circular-progress::before{
        width: 40px;
        height: 40px;
    }

    .circular-progress{
        width: 50px;
    height: 50px;
    }
}

@media (max-width: 1199px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-nav{
        width: 78%;
    }

    .sidebar{
        width: 20%;
    }

    .content-area{
        margin-left: 22.666667%;
    width: 78.333333%;
    }
}

@media (max-width: 991px) {
    .sidebar {
        width: 25%;
    }

    .nav-buttons {
        display: flex;
    }

    .content-area {
        margin-left: 25%;
        width: 75%;
    }

    .client-logo {
        flex: 0 0 calc(33.333% - 30px);
        max-width: calc(33.333% - 30px);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar{
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.178);
    }

    .circular-progress{
        width: 50px;
    height: 50px;
    }

    .circular-progress::before{
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -300px;
        width: 280px;
        z-index: 99;
        transition: all 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        height: 100vh;
        overflow-y: auto;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content-area {
        margin-left: 0;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* Desktop and larger devices */
@media (min-width: 992px) {
    .menu-toggle,
    .sidebar-toggle {
        display: none;
    }
}

/* Tablet and mobile devices */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        width: 280px;
        height: 100vh;
        z-index: 1001; /* Higher than anything else */
        transition: all 0.3s ease;
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        padding-top: 20px;
        background-color: var(--darker-bg);
    }

    .content-nav{
        width: 100%;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content-area {
        margin-left: 0;
        width: 100%;
    }
    
    .menu-toggle,
    .sidebar-toggle {
        display: flex;
        cursor: pointer;
    }
    
    body.sidebar-open {
        overflow: hidden;
    }
    .nav-tabs {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--darker-bg);
        flex-direction: column;
        padding: 15px 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 98;
    }
    
    .nav-tabs.active {
        display: flex;
    }
    
    .nav-tabs .nav-item {
        padding: 12px 20px;
        text-align: center;
        margin: 0;
        width: 100%;
    }
    
    .nav-tabs .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    .hero-title {
        font-size: 36px;
    }

    .footer .row {
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filter ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .client-logo {
        flex: 0 0 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }

    .statistics-section .row>*{
        width: 50%;

    }
}

