/* ========================================
   Global Styles & Variables
   ======================================== */
:root {
    --primary-color: #00d9a3;
    --secondary-color: #1a1d3e;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
body[data-theme="dark"] {
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-white: #2d2d2d;
    --border-color: #404040;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark Mode Specific Styles */
body[data-theme="dark"] .logo,
body[data-theme="dark"] .footer-logo {
    color: var(--primary-color);
}

body[data-theme="dark"] .profile-card,
body[data-theme="dark"] .content-box,
body[data-theme="dark"] .project-card,
body[data-theme="dark"] .service-card,
body[data-theme="dark"] .testimonial-card {
    background-color: var(--bg-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark"] img {
    opacity: 0.9;
}

body[data-theme="dark"] .name-highlight,
body[data-theme="dark"] .title-highlight {
    color: var(--primary-color);
}

body[data-theme="dark"] .theme-text {
    color: var(--text-light);
}

body[data-theme="dark"] .light-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   Page Loader
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00d9a3 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-letter {
    font-size: 60px;
    font-weight: 900;
    color: white;
    display: inline-block;
    animation: letterBounce 1.5s ease-in-out infinite;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo-letter:nth-child(1) {
    animation-delay: 0s;
}

.logo-letter:nth-child(2) {
    animation-delay: 0.1s;
}

.logo-letter:nth-child(3) {
    animation-delay: 0.2s;
}

.logo-letter:nth-child(4) {
    animation-delay: 0.3s;
}

.logo-letter:nth-child(5) {
    animation-delay: 0.4s;
}

.loader-animation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.loader-circle {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    animation: circleScale 1.5s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.loader-circle:nth-child(1) {
    animation-delay: 0s;
}

.loader-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-circle:nth-child(3) {
    animation-delay: 0.4s;
}

.loader-progress {
    width: 300px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #00d9a3);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 163, 0.8);
}

.loader-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    animation: textPulse 2s ease-in-out infinite;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Loader Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes letterBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes circleScale {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

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

/* ========================================
   Header Styles
   ======================================== */
.header {
    background-color: var(--bg-white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.theme-text {
    font-size: 14px;
    color: var(--text-light);
}

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

.theme-btn {
    background-color: transparent;
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-btn i {
    color: var(--primary-color);
    font-size: 18px;
}

body[data-theme="dark"] .theme-btn {
    border-color: var(--primary-color);
    background-color: rgba(0, 217, 163, 0.1);
}

body[data-theme="dark"] .theme-btn i {
    color: var(--primary-color);
}

.hamburger {
    background-color: transparent;
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger i {
    color: var(--text-dark);
    font-size: 18px;
}


/* ========================================
   Main Content
   ======================================== */
.main-content {
    padding: 40px 0;
}

/* ========================================
   Profile Sidebar
   ======================================== */
/* .profile-sidebar {
    position: sticky;
    top: 120px;
} */

.profile-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.profile-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--bg-light);
    box-shadow: var(--shadow);
}

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

.profile-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.name-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.profile-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.profile-contact {
    margin-bottom: 25px;
}

.contact-item {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}


.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-hire,
.btn-download {
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hire {
    background-color: var(--primary-color);
    color: white;
}


.btn-download {
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    display: inline-block;
}


/* ========================================
   Content Area
   ======================================== */
.content-area {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    min-height: 600px;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Content Boxes (Separate Sections)
   ======================================== */
.content-box {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Box Labels and Headings */
.box-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 400;
}

.box-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* ========================================
   Hero Box
   ======================================== */
.hero-box {
    padding: 50px;
    margin-bottom: 25px;
}

.hero-greeting {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 10px;
}

.title-highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 25px;
}

/* ========================================
   About Box
   ======================================== */
.about-box {
    background-color: var(--bg-white);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
    margin-bottom: 0;
}

.about-link,
.services-link,
.projects-link,
.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.testimonials-link{
    color: white;
      text-decoration: none;
    transition: color 0.3s ease;
}

.about-link:hover,
.services-link:hover,
.projects-link:hover,
.testimonials-link:hover,
.contact-link:hover {
    color: var(--primary-color);
}

.about-box:hover,
.services-box:hover,
.projects-box:hover,
.testimonials-box:hover,
.contact-box-preview:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    cursor: pointer;
}

/* ========================================
   Services Box
   ======================================== */
.services-box {
    background-color: var(--bg-white);
    min-height: 280px;
}

.skills-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.skill-icon-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.137);
}

.skill-icon-item img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

/* ========================================
   Projects Box
   ======================================== */
.projects-box {
    background-color: var(--bg-white);
    min-height: 500px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.project-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--bg-white);
}

.project-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* ========================================
   Experience Box
   ======================================== */
.experience-box {
    background-color: var(--bg-white);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   Testimonials Box
   ======================================== */
.testimonials-box {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/projects/p6.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 200px;
    overflow: hidden;
}

.testimonials-box .box-label {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-box .box-heading {
    color: white;
    margin-bottom: 20px;
}

.testimonial-image {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

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

/* ========================================
   Social Box
   ======================================== */
.social-box {
    background-color: var(--bg-white);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons-list {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.social-icon-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
}

.social-icon-link:nth-child(1) {
    background-color: #00d9a3;
    color: white;
}

.social-icon-link:nth-child(2) {
    background-color: #00d9a3;
    color: white;
}

.social-icon-link:nth-child(3) {
    background-color: #00d9a3;
    color: white;
}

/* ========================================
   Contact Box Preview
   ======================================== */
.contact-box-preview {
    background-color: var(--bg-white);
    color: var(--text-dark);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.contact-box-preview .box-label {
    color: var(--text-light);
}

.contact-box-preview .box-heading {
    color: var(--text-dark);
}

/* ========================================
   Portfolio Footer (Global)
   ======================================== */
.portfolio-footer {
    margin-top: 50px;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background-color: transparent;
}

.footer-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-brand {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 2px;
}

/* ========================================
   About Me Section
   ======================================== */
.about-me-header {
    padding: 50px;
    margin-bottom: 25px;
}

.about-profile-image {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.about-profile-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-white) 100%);
    border-radius: 0 0 15px 15px;
    pointer-events: none;
}

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

.profile-signature {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 10;
}

.profile-signature img {
    width: 150px;
    height: auto;
    opacity: 0.7;
}

.about-me-content {
    padding-left: 30px;
}

.about-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-stat-item {
    text-align: left;
}

.about-stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.about-stat-label {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   Timeline Box (Experience & Education)
   ======================================== */
.timeline-box {
    background-color: var(--bg-white);
    min-height: 350px;
}

.timeline-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.timeline-item {
    position: relative;
    padding-left: 0;
}

.timeline-year {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

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

.timeline-company {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Skills Box (About Me)
   ======================================== */
.skills-box-about {
    background-color: var(--bg-white);
    min-height: 400px;
    margin-top: 25px;
}

.skills-progress-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-progress-item {
    width: 100%;
}

.skill-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.skill-percentage {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.skill-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #00c292);
    border-radius: 10px;
    transition: width 1.5s ease;
    position: relative;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-box-main {
    background-color: var(--bg-white);
    padding: 60px;
}

.contact-main-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form-main {
    margin-top: 30px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #c0c0c0;
    font-weight: 400;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 163, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-check {
    display: flex;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    user-select: none;
}

.btn-send-message {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   Map Section
   ======================================== */
.map-box {
    background-color: var(--bg-light);
    padding: 0;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========================================
   Contact Info Section
   ======================================== */
.contact-info-section {
    background-color: var(--bg-white);
    padding: 50px;
}

.contact-info-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-info-item {
    text-align: left;
}

.info-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 400;
}

.info-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.6;
}

/* ========================================
   Projects Section
   ======================================== */
.projects-header {
    margin-bottom: 50px;
}

.projects-main-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.projects-subtitle {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 900px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-content {
    padding: 30px;
}

.project-category {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 400;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

/* ========================================
   Services Section
   ======================================== */
.services-header {
    margin-bottom: 50px;
}

.services-main-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 900px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 14px;
    color: var(--text-light);
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--text-light);
    font-size: 14px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-header {
    margin-bottom: 50px;
}

.testimonials-main-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.testimonials-subtitle {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 900px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.testimonial-quote-icon {
    font-size: 48px;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    max-width: 85%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-close:active {
    background-color: var(--bg-light);
}

.mobile-menu-nav {
    padding: 30px 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
    display: block;
    padding: 18px 30px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link.active {
    color: var(--primary-color);
    background-color: rgba(0, 217, 163, 0.05);
}

.mobile-menu-footer {
    padding: 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.mobile-follow-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.mobile-social-link {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-social-link:active {
    background-color: var(--primary-color);
    color: white;
    transform: scale(0.95);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

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

.success-modal.show {
    display: flex;
}

.success-modal-content {
    background-color: var(--bg-white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
    position: relative;
}

.success-checkmark {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--primary-color);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--primary-color);
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--primary-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--primary-color);
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

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

.success-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-close-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.success-close-btn:active {
    transform: scale(0.95);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px var(--primary-color);
    }
}

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

@media (max-width: 1199px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 991px) {
    .profile-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .content-box {
        padding: 30px;
    }
    
    .hero-box {
        padding: 35px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .skills-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .about-me-header {
        padding: 35px;
    }
    
    .about-title {
        font-size: 36px;
    }
    
    .about-stat-number {
        font-size: 40px;
    }
    
    .about-stats {
        gap: 40px;
    }
    
    .contact-box-main {
        padding: 45px;
    }
    
    .contact-main-title {
        font-size: 42px;
    }
    
    .contact-info-section {
        padding: 40px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .projects-main-title {
        font-size: 42px;
    }
    
    .projects-grid {
        gap: 25px;
    }
    
    .services-main-title {
        font-size: 42px;
    }
    
    .services-grid {
        gap: 25px;
    }
    
    .testimonials-main-title {
        font-size: 42px;
    }
    
    .testimonials-grid {
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .content-box {
        padding: 25px;
    }
    
    .hero-box {
        padding: 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .box-heading {
        font-size: 20px;
    }
    
    .skills-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .skill-icon-item {
        padding: 15px;
        height: 80px;
    }
    
    .skill-icon-item img {
        max-width: 40px;
        max-height: 40px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .social-icon-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .social-icons-list {
        gap: 15px;
    }
    
    .about-me-header {
        padding: 30px;
    }
    
    .about-me-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-stat-number {
        font-size: 36px;
    }
    
    .about-stats {
        gap: 30px;
    }
    
    .timeline-heading {
        font-size: 20px;
    }
    
    .timeline-title {
        font-size: 16px;
    }
    
    .skills-progress-list {
        gap: 20px;
    }
    
    .skill-name,
    .skill-percentage {
        font-size: 14px;
    }
    
    .contact-box-main {
        padding: 35px;
    }
    
    .contact-main-title {
        font-size: 32px;
    }
    
    .contact-input,
    .contact-textarea {
        padding: 15px 18px;
        font-size: 14px;
    }
    
    .btn-send-message {
        padding: 14px 40px;
        font-size: 15px;
    }
    
    .contact-info-section {
        padding: 30px;
    }
    
    .contact-info-heading {
        font-size: 20px;
    }
    
    .info-value {
        font-size: 15px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .projects-main-title {
        font-size: 32px;
    }
    
    .projects-subtitle {
        font-size: 14px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 280px;
    }
    
    .project-content {
        padding: 25px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .services-main-title {
        font-size: 32px;
    }
    
    .services-subtitle {
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 28px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-list li {
        font-size: 13px;
    }
    
    .testimonials-main-title {
        font-size: 32px;
    }
    
    .testimonials-subtitle {
        font-size: 14px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-name {
        font-size: 15px;
    }
    
    .testimonial-rating i {
        font-size: 13px;
    }
    
    .testimonial-quote-icon {
        font-size: 36px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .logo {
        font-size: 22px;
    }

    .profile-image{
        width: 250px;
        height: 250px;
    }

    .contact-box-preview,.social-box,.experience-box,
    .testimonials-box,.projects-box,.services-box,
    .about-box{
            min-height: 100px;
    }
    
    .theme-toggle {
        gap: 10px;
    }
    
    .theme-text {
        font-size: 12px;
    }
    
    .theme-btn,
    .hamburger {
        width: 35px;
        height: 35px;
    }
    
    .profile-card {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .hero-box {
        padding: 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .box-heading {
        font-size: 18px;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .social-icon-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .social-icons-list {
        gap: 12px;
    }
    
    .about-me-header {
        padding: 25px;
    }
    
    .about-title {
        font-size: 24px;
    }
    
    .about-stat-number {
        font-size: 32px;
    }
    
    .about-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .about-description {
        font-size: 14px;
    }
    
    .profile-signature {
        bottom: -10px;
        right: -10px;
    }
    
    .profile-signature img {
        width: 120px;
    }
    
    .skills-progress-list {
        gap: 18px;
    }
    
    .skill-name,
    .skill-percentage {
        font-size: 13px;
    }
    
    .skill-progress-bar {
        height: 6px;
    }
    
    .contact-box-main {
        padding: 25px;
    }
    
    .contact-main-title {
        font-size: 28px;
    }
    
    .contact-subtitle {
        font-size: 14px;
    }
    
    .contact-input,
    .contact-textarea {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .btn-send-message {
        padding: 13px 35px;
        font-size: 14px;
        width: 100%;
    }
    
    .form-check-label {
        font-size: 13px;
    }
    
    .contact-info-section {
        padding: 25px;
    }
    
    .contact-info-heading {
        font-size: 18px;
    }
    
    .info-label {
        font-size: 13px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .success-modal-content {
        padding: 40px 30px;
    }
    
    .success-checkmark {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    
    .checkmark {
        width: 80px;
        height: 80px;
    }
    
    .success-title {
        font-size: 22px;
    }
    
    .success-text {
        font-size: 14px;
    }
    
    .success-close-btn {
        padding: 12px 35px;
        font-size: 14px;
    }
    
    .projects-main-title {
        font-size: 28px;
    }
    
    .projects-header {
        margin-bottom: 35px;
    }
    
    .project-image {
        height: 250px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-category {
        font-size: 13px;
    }
    
    .project-title {
        font-size: 16px;
    }
    
    .services-main-title {
        font-size: 28px;
    }
    
    .services-header {
        margin-bottom: 35px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .service-list li {
        font-size: 12px;
        padding: 8px 0;
        padding-left: 20px;
    }
    
    .testimonials-main-title {
        font-size: 28px;
    }
    
    .testimonials-header {
        margin-bottom: 35px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-header {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .testimonial-avatar {
        width: 55px;
        height: 55px;
    }
    
    .testimonial-author {
        gap: 12px;
    }
    
    .testimonial-name {
        font-size: 14px;
    }
    
    .testimonial-rating i {
        font-size: 12px;
    }
    
    .testimonial-quote-icon {
        font-size: 32px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
}
