/* 
* Portfolio Website CSS
* Author: John Deon
*/

/* Global Styles */
:root {
    /* Light Mode (Default) */
    --primary-color: #8f00ff;
    --primary-dark: #6208a7;
    --secondary-color: #333333e7;
    --light-color: #f8f9fa;
    --dark-color: #181818;
    --border-color: #e9ecef;
    --text-color: #333;
    --bg-color: #fff;
    --card-bg: #f5f5f5;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --section-bg: #f8f9fa;
    --transition: all 0.3s ease;
    --form-bg:#f3f3f3;
}

[data-theme="dark"] {
    /* Dark Mode */
    --primary-color: #a64dff;
    --primary-dark: #8f00ff;
    --secondary-color: #ecececda;
    --light-color: #2a2a2a;
    --dark-color: #f8f9fa;
    --border-color: #444;
    --text-color: #f8f9fa;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --section-bg: #1a1a1a;
    --form-bg:#1d1d1d;
}

body {
    font-family: 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

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

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

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

.loader-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.loader-circle {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 0 20px rgba(143, 0, 255, 0.6);
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.loader-orbit {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(143, 0, 255, 0.2);
    border-radius: 50%;
    animation: rotate3d 3s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(143, 0, 255, 0.8);
}

.loader-text {
    position: absolute;
    bottom: -40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
    font-size: 16px;
    color: var(--primary-color);
    animation: flicker 2s linear infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 20px rgba(143, 0, 255, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(143, 0, 255, 0.8);
    }
}

@keyframes rotate3d {
    0% {
        transform: rotateX(60deg) rotateZ(0);
    }
    100% {
        transform: rotateX(60deg) rotateZ(360deg);
    }
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 22%, 24%, 55% {
        opacity: 0.5;
    }
}

/* Dark Mode Specific Styles */
/* [data-theme="dark"] .navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
} */

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

[data-theme="dark"] .service-box,
[data-theme="dark"] .project-box,
[data-theme="dark"] .skill-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .stat-box {
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
}

/* [data-theme="dark"] .footer {
    background-color: var(--secondary-color);
} */

[data-theme="dark"] .footer-bottom {
    background-color: var(--section-bg);
}

[data-theme="dark"] .modal-content {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] .form-control {
    background-color: var(--section-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .form-control:focus {
    background-color: var(--card-bg);
}

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

/* Header & Navigation */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

header .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
}

/* Logo Styling */
.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -0.5px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
}

.logo-accent {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}
.btn-primary{
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
}
.navbar-brand {
    font-size: 24px;
    font-weight: 700;
}

.logo-text {
    color: var(--dark-color);
    position: relative;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 10px 15px !important;
    position: relative;
    color: var(--text-color);
    letter-spacing: 0.3px;
}

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

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

.nav-link.active{
    color: var(--text-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.sidebar-toggle, .menu-toggle {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 18px;
    transition: var(--transition);
}

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

.sidebar-toggle:focus, .menu-toggle:focus {
    box-shadow: none;
}

.btn-contact {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Sidebar Menu */
.offcanvas {
    width: 350px;
    max-width: 100%;
    background-color: var(--bg-color) !important;
}

.offcanvas-header {
    border-bottom: 1px solid #eee;
}

.offcanvas-title {
    font-weight: 700;
    position: relative;
    color: var(--dark-color);
}

.btn-close{
    opacity: 0.8;
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.sidebar-content {
    padding: 10px;
}

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

.sidebar-profile-info h3 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-color);
}

.offcanvas-details{
    color: var(--secondary-color);
}

.sidebar-profile-info p {
    color: var(--secondary-color);
    font-size: 15px;
    line-height: 1.6;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.sidebar-social .social-icons {
    display: flex;
}

.sidebar-social .social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sidebar-social .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-nav {
    margin-top: 30px;
}

.sidebar-nav .nav-link {
    padding: 10px 0 !important;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

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

.sidebar-nav .nav-link.active {
    font-weight: 600;
}

/* Main Container */
.main-container {
    padding: 50px 0;
    max-width: 1600px;
    margin: 0 auto;
}

/* Profile Section */
.profile-column {
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
}

.profile-box {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 0;
    .content-section {
        padding: 40px 0;
        margin-bottom: 30px;
        position: relative;
        background-color: var(--card-bg);
        border-radius: 10px;
        box-shadow: var(--card-shadow);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    overflow: hidden;
    height: 100%;
    max-height: 600px;
    box-shadow: var(--card-shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    overflow: hidden;
}

.profile-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-color), rgba(255,255,255,0));
    z-index: 1;
}

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

.social-icons-top {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.social-circle {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.social-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-info {
    position: absolute;
    bottom: 40px;
    left: 25px;
    z-index: 2;
    color: #000;
}

.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--dark-color);
    letter-spacing: 0.5px;
}

.profile-designation {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

#animated-text {
    display: inline-block;
    transition: opacity 0.5s ease;
    color: var(--primary-color);
    font-weight: 700;
}

.profile-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    z-index: 2;
}

.profile-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
}

/* Content Column (Right) */
.content-column {
    padding-left: 40px;
    flex: 1;
}

.content-section {
    margin-bottom: 60px;
}

.section-icon {
    display: inline-block;
    background-color: var(--light-color);
    padding: 8px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.section-icon i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Introduction Section */
#intro h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 18px;
    margin-bottom: 40px;
}

/* Statistics */
.stats-container {
    margin-top: 40px;
}

.service-box {
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-box {
    padding: 20px;
    border-radius: 10px;
    border-right: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.096);
    height: 100%;
    transition: var(--transition);
    background-color: var(--light-color);
    text-align: center;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stat-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 14px;
    color: var(--secondary-color);
}

/* About Section */
.about-heading {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-story {
    font-size: 16px;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

/* Skills */
.skills-container {
    margin-top: 40px;
}

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

.skill-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.skill-percentage {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
}

.progress {
    height: 14px;
    background-color: #f0f0f0;
    border-radius: 0;
    overflow: hidden;
}

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

/* Resume Section */
.resume-heading {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
}

.resume-timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 40px;
}

.resume-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #f0f0f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    position: relative;
}

.timeline-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 5px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.timeline-rating {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
}

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

.timeline-description {
    color: var(--secondary-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Skills Section */
.skills-heading {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
}

.skill-cards-container {
    margin-top: 30px;
}

.skill-card {
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    height: 100%;
    border-right: 2px solid var(--primary-color);
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(154 31 255 / 10%) 0%, rgb(113 31 255 / 5%) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(143, 0, 255, 0.1);
    border-right: 4px solid var(--primary-color);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.figma-icon, .framer-icon, .webflow-icon {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
}

.react-icon i, .wordpress-icon i, .laravel-icon i {
    font-size: 40px;
}

.skill-percentage {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.skill-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.skill-card:hover .skill-percentage {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 31, 89, 0.2);
}

.skill-card:hover .skill-name {
    font-weight: 600;
}

/* Services */
.service-heading {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
}

.service-box {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.096);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(165, 31, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Projects */
.project-heading {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
}

.project-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    background-color: var(--card-bg);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.project-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.project-box:hover .project-overlay {
    opacity: 1;
}

.project-box:hover img {
    transform: scale(1.1);
}

.project-overlay h3 {
    color: white;
    margin-bottom: 5px;
}

.project-overlay p {
    color: #ddd;
    margin-bottom: 15px;
}

.btn-view {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

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

/* Pricing Section */
.pricing-heading {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.pricing-toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0 15px;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-toggle-label.active {
    color: var(--dark-color);
    font-weight: 600;
}

.pricing-discount {
    background-color: rgba(143, 0, 255, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 5px;
    font-weight: 600;
}

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

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

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

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

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

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

.pricing-container {
    margin-top: 30px;
}

.pricing-card {
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 30px;
    height: 100%;
    position: relative;
    border-right: 2px solid var(--primary-color);
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-right: 4px solid var(--primary-color);
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-description p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.pricing-amount {
    margin-bottom: 25px;
}

.currency {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
    vertical-align: top;
    position: relative;
    top: 5px;
}

.amount {
    font-size: 60px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 18px;
    color: var(--secondary-color);
    margin-left: 5px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul {
    padding-left: 0;
}

.pricing-features li {
    margin-bottom: 10px;
}

.pricing-section-title {
font-family: 'Montserrat', sans-serif;
margin-bottom: 40px;
position: relative;
letter-spacing: 0.5px;
color: var(--text-color);
transition: color 0.3s ease;
}

.btn-pricing {
background-color: var(--primary-color);
color: white;
padding: 12px 25px;
border-radius: 5px;
transition: var(--transition);
border: none;
display: block;
width: 100%;
text-align: center;
font-weight: 600;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.btn-pricing:hover {
    background-color: #7700d9;
    color: white;
}

/* Contact */
.contact-heading {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
}

.contact-container {
    margin-top: 30px;
}

.contact-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.contact-form .form-control {
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--form-bg);
    font-size: 16px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.contact-form .form-control::placeholder {
    color: #999;
}

.btn-send-message {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

.btn-send-message:hover {
    background-color: #7700d9;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(143, 0, 255, 0.2);
}

/* Footer */
.footer {
    background-color: var(--section-bg);
    padding: 60px 0 0;
}

.footer .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-cta {
    max-width: 700px;
    margin: 0 auto 60px;
}

.footer-heading {
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        margin-bottom: 20px;
        line-height: 1.3;
    }
}

.footer-subheading {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-purchase {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    font-weight: 600;
    display: inline-block;
}

.btn-purchase:hover {
    background-color: #7700d9;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(143, 0, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-top: 0;
}

.footer-bottom .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

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


.social-circle-footer:hover {
    background-color: #7700d9;
    transform: translateY(-3px);
    color: white;
}

.social-circle.sidebar-toggle, .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: var(--transition);
}

.sidebar-toggle:hover, .menu-toggle:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    color: white;
}

.footer-copyright p {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: 14px;
}

@media (max-width: 767px) {
    .footer-links {
        justify-content: center;
    }
    
    .footer-social, .footer-copyright {
        margin-bottom: 15px;
    }
    
    .footer-bottom .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .center-box{
        margin: 10px 0;
    }
}



/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

.dark-icon, .light-icon {
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.light-icon {
    opacity: 0;
    transform: translateY(20px);
}

[data-theme="dark"] .dark-icon {
    opacity: 0;
    transform: translateY(-20px);
}

[data-theme="dark"] .light-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(143, 0, 255, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

/* Project Modal */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(143, 0, 255, 0.1);
    padding: 20px 30px;
}

.modal-title {
    font-weight: 700;
    color: var(--primary-color);
}

.modal-body {
    padding: 30px;
}

.project-modal-image {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.project-modal-category .badge {
    background-color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

.project-modal-description {
    color: var(--secondary-color);
    line-height: 1.6;
}

.detail-item h6 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.detail-item p, .detail-item a {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.project-modal-url {
    color: var(--primary-color);
    text-decoration: none;
}

.project-modal-url:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    /* Mobile menu structure */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-color);
        z-index: 1050;
        padding: 0;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .contact-image{
        height: 300px;

    }

    .profile-box {
    max-height: 100%;
    }
    
    .navbar-collapse.show {
        right: 0;
        transform: translateX(0);
    }
    
    /* Menu content wrapper */
    .mobile-menu-content {
        width: 100%;
        height: 100%;
        background-color: var(--bg-color);
        padding: 20px;
        overflow-y: auto;
        position: relative;
    }
    
    /* Closing animation */
    .navbar-collapse.closing {
        right: -300px;
        transform: translateX(20px);
    }
    
    /* Menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Menu header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        z-index: 1060;
    }
    
    .mobile-menu-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: var(--primary-color);
        color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .mobile-menu-close:hover {
        background-color: var(--primary-dark);
    }
    
    .navbar-nav {
        margin-top: 20px;
    }
    
    .nav-item {
        margin-bottom: 10px;
        transform: translateX(20px);
        transition: transform 0.3s ease;
    }
    
    .navbar-collapse.show .nav-item {
        transform: translateX(0);
    }
    
    /* Staggered animation for nav items */
    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.3s; }
    .navbar-collapse.show .nav-item:nth-child(6) { transition-delay: 0.35s; }
    
    .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid var(--border-color);
    }
    .profile-column {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }
    
    .content-column {
        padding-left: 15px;
    }
}

@media (max-width: 767px) {
    .navbar-nav {
        margin: 15px 0;
    }
    
    .btn-contact {
        margin-top: 10px;
        display: block;
        text-align: center;
    }
    
    #intro h1 {
        font-size: 28px;
    }
    
    .stat-box, .service-box, .project-box, .blog-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 500px) {
    .btn-contact{
        display: none;
    }
}


/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1050;
    padding: 20px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

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

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

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background-color: var(--primary-dark);
}

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

.mobile-nav-item {
    margin-bottom: 10px;
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.active .mobile-nav-item {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered animation for nav items */
.mobile-menu.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-item:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-link {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

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

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