/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #2a2a2a;
    --primary: #FF9900;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--text-white);
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Mobile Menu Toggle Button
   =================================== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background-color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: #fd8523;
    transform: scale(1.05);
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===================================
   Fixed Sidebar Menu (col-1)
   =================================== */
.sidebar-menu {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    background-color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-left: 1px solid #e0e0e0;
    width: 8.333333%; /* col-1 width */
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.menu-item {
    position: relative;
    width: 100%;
}

.menu-link {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
    transition: var(--transition);
    padding: 18px 10px;
    background-color: transparent;
    border-bottom: 1px solid #e0e0e0;
}

.menu-link:hover {
    background-color: #f5f5f5;
    color: var(--text-dark);
}

.menu-link.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-bottom: 1px solid var(--primary);
}

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

/* ===================================
   Content Wrapper (col-11)
   =================================== */
.content-wrapper {
    width: 100%;
}

.section-full {
    /* min-height: 100vh; */
    padding: 80px 0;
    position: relative;
}

/* ===================================
   Welcome/Hero Section
   =================================== */
#welcome {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

.welcome-section{
    padding-top: 80px;
    /* height: 80vh; */
}

.exo-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
        position: absolute;
    top: 30px;

}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.text-accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0;
}

/* .hero-image{
    width: 700px;
} */

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(20%);
}

/* ===================================
   Section Titles
   =================================== */
.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bg-light .section-title {
    color: var(--text-dark);
}

#welcome .section-title,
#about .section-title,
#skills .section-title {
    color: var(--text-dark);
}

#welcome {
    color: var(--text-white);
}

#welcome .section-title {
    color: var(--text-white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* ===================================
   Works Section
   =================================== */
#works {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

#works::before {
    content: 'WORKS';
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.034);
    letter-spacing: 10px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition);
    height: 350px;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.work-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-overlay h3 {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.work-overlay p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 0;
}

/* ===================================
   About Section
   =================================== */
.about-section-dark {
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.about-section-dark::before {
    content: 'ABOUT ME';
    position: absolute;
    top: 10%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 10px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.about-content-left {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 30px;
}

.about-description {
    font-size: 15px;
    line-height: 1.8;
    color: #999999;
    margin-bottom: 30px;
}

.personal-info {
    margin-top: 30px;
}

.info-item {
    font-size: 15px;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-item strong {
    font-weight: 400;
    color: var(--text-white);
}

.about-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-frame {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, transparent 100%);
    border-radius: 8px;
    pointer-events: none;
}

.about-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.about-service-card {
    background-color: #2a2a2a;
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 2;
}

.about-service-card:hover {
    background-color: #333333;
    transform: translateY(-5px);
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card-text {
    font-size: 14px;
    line-height: 1.8;
    color: #999999;
    margin-bottom: 0;
}

/* ===================================
   Services Section
   =================================== */
#services {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

#services::before {
    content: 'SERVICES';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.034);
    letter-spacing: 10px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.service-card {
    background-color: var(--text-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6666 100%);
    border-radius: 50%;
    font-size: 32px;
    color: var(--text-white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===================================
   Resume Section
   =================================== */
.resume-section-light {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.resume-section-light::before {
    content: 'RESUME';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.034);
    letter-spacing: 10px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.resume-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

.resume-title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.resume-timeline {
    position: relative;
    z-index: 2;
}

.resume-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.resume-icon-box {
    width: 60px;
    height: 60px;
    border: 2px solid #e0e0e0;
    background-color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
    transition: var(--transition);
}

.resume-icon-box i {
    font-size: 24px;
    color: var(--text-dark);
}

.resume-item:hover .resume-icon-box {
    border-color: var(--primary);
    background-color: var(--primary);
}

.resume-item:hover .resume-icon-box i {
    color: var(--text-white);
}

.resume-content {
    flex: 1;
}

.resume-job-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.resume-company {
    font-size: 14px;
    color: #999999;
    margin-bottom: 10px;
    line-height: 1.5;
}

.resume-date {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resume-center-image {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.resume-center-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* ===================================
   Skills Section
   =================================== */
.skills-section-light {
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.skills-section-light::before {
    content: 'SKILL';
    position: absolute;
    top: 20%;
    left: 35%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.034);
    letter-spacing: 10px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.skills-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

.skills-title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.skill-circle-item {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.circle-progress {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary) calc(var(--percent) * 1%),
        #e0e0e0 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.circle-progress[data-percent="90"] {
    --percent: 90;
}

.circle-progress[data-percent="80"] {
    --percent: 80;
}

.circle-progress[data-percent="94"] {
    --percent: 94;
}

.circle-progress[data-percent="85"] {
    --percent: 85;
}

.circle-progress[data-percent="92"] {
    --percent: 92;
}

.circle-percentage {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.skill-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.skill-circle-item {
    text-align: center;
    margin-bottom: 30px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section-dark {
    background-color: #2a2a2a;
    position: relative;
    overflow: hidden;
}

.testimonials-section-dark::before {
    content: 'CLIENT';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 10px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.testimonials-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

.testimonials-title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.client-photos-grid {
    position: relative;
    z-index: 2;
}

.client-photo {
    padding: 8px;
    background-color: var(--text-white);
    border-radius: 4px;
    transition: var(--transition);
}

.client-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.client-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.testimonial-slider {
    position: relative;
    z-index: 2;
    padding-left: 40px;
    min-height: 250px;
}

.testimonial-content {
    position: absolute;
    top: 0;
    left: 40px;
    width: calc(100% - 40px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.testimonial-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    left: 0;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #cccccc;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.testimonial-position {
    font-size: 14px;
    color: #999999;
    margin-bottom: 0;
}

.testimonial-dots {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
    padding-left: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #555555;
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background-color: var(--primary);
}

.dot.active {
    background-color: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* ===================================
   Contact Section
   =================================== */
#contact {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: 'CONTACT';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.034);
    letter-spacing: 10px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.contact-info {
    padding-right: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6666 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-white);
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--text-white);
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-5px);
}

.contact-form .form-control {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.15);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6666 100%);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 68, 68, 0.3);
}

/* ===================================
   Success Modal
   =================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-modal.show {
    opacity: 1;
    visibility: visible;
}

.success-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(-50px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.success-modal.show .success-modal-content {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 1s ease-in-out;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.success-icon i {
    font-size: 50px;
    color: var(--text-white);
    animation: successCheck 0.6s ease-in-out 0.3s both;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successCheck {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    animation: slideInUp 0.5s ease-out 0.4s both;
}

.success-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    animation: slideInUp 0.5s ease-out 0.5s both;
}

@keyframes slideInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-close-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6666 100%);
    color: var(--text-white);
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.3);
    animation: slideInUp 0.5s ease-out 0.6s both;
}

.success-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
}

.success-close-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 180px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.3);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #fd8523;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-gray);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0;
    font-size: 14px;
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Devices (Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium to Large Devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-title,
    .resume-title,
    .skills-title,
    .testimonials-title {
        font-size: 36px;
    }
}

/* Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .sidebar-menu {
        position: relative;
        width: 100%;
        height: auto;
        border-left: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px 0;
    }
    
    .menu-list {
        flex-direction: row;
        justify-content: center;
        gap: 0;
        flex-wrap: wrap;
    }
    
    .menu-item {
        width: auto;
    }
    
    .menu-link {
        font-size: 12px;
        padding: 12px 20px;
        border-bottom: none;
        border-right: 1px solid #e0e0e0;
    }
    
    .menu-item:last-child .menu-link {
        border-right: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-title,
    .resume-title,
    .skills-title,
    .testimonials-title {
        font-size: 32px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .about-content-left {
        margin-bottom: 40px;
    }
    
    .about-section-dark::before {
        font-size: 120px;
    }
    
    #works::before,
    #services::before,
    #contact::before {
        font-size: 120px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
    
    .success-modal-content {
        padding: 40px 30px;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .success-icon i {
        font-size: 40px;
    }
    
    .success-title {
        font-size: 28px;
    }
    
    .success-text {
        font-size: 15px;
    }
    
    .success-close-btn {
        padding: 12px 40px;
        font-size: 15px;
    }
}

/* Mobile Devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--text-white);
        border-left: 1px solid #e0e0e0;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .sidebar-menu.active {
        right: 0;
    }

    #works::before, .about-section-dark::before{
        top: 4%;
    }

    #services::before{
        top:5%;
    }
    
    .menu-list {
        flex-direction: column;
        gap: 0;
    }
    
    .menu-item {
        width: 100%;
    }
    
    .menu-link {
        padding: 15px 20px;
        border-bottom: 1px solid #e0e0e0;
        border-right: none;
        justify-content: flex-start;
    }
    
    .menu-item:last-child .menu-link {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .menu-link {
        font-size: 11px;
        padding: 10px 15px;
        border-bottom: none;
        border-right: 1px solid #e0e0e0;
    }
    
    .menu-item:last-child .menu-link {
        border-right: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-title,
    .resume-title,
    .skills-title,
    .testimonials-title {
        font-size: 28px;
    }
    
    .section-full {
        padding: 60px 0;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .about-content-left {
        margin-bottom: 40px;
    }
    
    .about-section-dark::before {
        font-size: 80px;
    }
    
    #works::before,
    #services::before,
    #contact::before {
        font-size: 100px;
    }
    
    .circle-progress {
        width: 90px;
        height: 90px;
    }
    
    .circle-progress::before {
        width: 68px;
        height: 68px;
    }
    
    .circle-percentage {
        font-size: 18px;
    }
    
    .skill-label {
        font-size: 12px;
    }
    
    .skill-circle-item {
        margin-bottom: 25px;
    }
    
    .about-image-frame {
        padding: 15px;
    }
    
    .resume-section-light::before {
        font-size: 120px;
    }
    
    
    .resume-center-image {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .skills-section-light::before {
        font-size: 120px;
    }
    
    .circle-progress {
        width: 110px;
        height: 110px;
    }
    
    .circle-progress::before {
        width: 82px;
        height: 82px;
    }
    
    .circle-percentage {
        font-size: 22px;
    }
    
    .skill-label {
        font-size: 14px;
    }
    
    .skill-circle-item {
        margin-bottom: 35px;
    }
    
    .testimonials-section-dark::before {
        font-size: 120px;
    }
    
    
    .testimonial-slider {
        padding-left: 0;
        min-height: 280px;
    }
    
    .testimonial-content {
        left: 0;
        width: 100%;
    }
    
    .testimonial-content.active {
        margin-top: 40px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
    
    .work-card {
        height: 280px;
    }
}


/* Small Mobile Devices (below 576px) */
@media (max-width: 575.98px) {
    .mobile-menu-toggle {
        display: flex;
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .burger-line {
        width: 22px;
        height: 2.5px;
    }

    #works::before, .about-section-dark::before,#services::before{
        top: 3%;
    }

    .skills-section-light::before,.testimonials-section-dark::before,#contact::before{
        top: 8%;
    }

    .resume-section-light::before{
        top: 5%;
    }
    
    .sidebar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--text-white);
        border-left: 1px solid #e0e0e0;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .sidebar-menu.active {
        right: 0;
    }
    
    .menu-list {
        flex-direction: column;
        gap: 0;
    }
    
    .menu-item {
        width: 100%;
    }
    
    .menu-link {
        font-size: 13px;
        padding: 15px 20px;
        border-bottom: 1px solid #e0e0e0;
        border-right: none;
        justify-content: flex-start;
    }
    
    .menu-item:last-child .menu-link {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .exo-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-title,
    .resume-title,
    .skills-title,
    .testimonials-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .section-full {
        padding: 50px 0;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .about-content-left {
        margin-bottom: 30px;
    }
    
    .about-section-dark::before {
        font-size: 60px;
        opacity: 0.5;
    }
    
    #works::before,
    #services::before,
    #contact::before {
        font-size: 70px;
    }
    
    .about-image-frame {
        padding: 12px;
    }
    
    .about-service-card {
        padding: 30px 20px;
    }
    
    .service-card-title {
        font-size: 16px;
    }
    
    .resume-section-light::before {
        font-size: 80px;
    }
    
    
    .resume-icon-box {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .resume-icon-box i {
        font-size: 20px;
    }
    
    .resume-job-title {
        font-size: 16px;
    }
    
    .resume-company {
        font-size: 13px;
    }
    
    .resume-date {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .resume-center-image {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .skills-section-light::before {
        font-size: 100px;
    }

    .circle-progress {
        width: 100px;
        height: 100px;
    }
    
    .circle-progress::before {
        width: 75px;
        height: 75px;
    }
    
    .circle-percentage {
        font-size: 20px;
    }
    
    .skill-label {
        font-size: 13px;
    }
    
    .skill-circle-item {
        margin-bottom: 30px;
    }
    
    .testimonials-section-dark::before {
        font-size: 80px;
    }
    
    
    .testimonial-slider {
        padding-left: 0;
        min-height: 300px;
    }
    
    .testimonial-content {
        left: 0;
        width: 100%;
    }
    
    .testimonial-content.active {
        margin-top: 30px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .testimonial-author {
        font-size: 18px;
    }
    
    .client-photo {
        padding: 6px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
    
    .success-modal-content {
        padding: 35px 25px;
        width: 95%;
    }
    
    .success-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }
    
    .success-icon i {
        font-size: 35px;
    }
    
    .success-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .success-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .success-close-btn {
        padding: 12px 35px;
        font-size: 14px;
    }
    
    .work-card {
        height: 250px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Extra Small Devices (below 400px) */
@media (max-width: 399.98px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .menu-link {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image,
.work-card,
.service-card,
.about-image,
.about-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.bg-light {
    background-color: var(--bg-light) !important;
}

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

.min-vh-100 {
    min-height: 100vh;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .sidebar-menu {
        display: none;
    }
    
    .content-wrapper {
        width: 100%;
    }
}
