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

:root {
    --primary-orange: #ff6b35;
    --dark-bg: #2d2d2d;
    --darker-bg: #1f1f1f;
    --light-bg: #f5f5f5;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --gradient-orange: #ff6b35;
    --gradient-red: #ff359a;
}

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

section {
    /* padding: 80px 0; */
    margin: 50px 15px;
}

/* ===================================
   Navbar Styles
   =================================== */
.navbar {
    background-color: transparent;
    /* padding: 20px 0; */
    transition: all 0.3s ease;
    margin-bottom: 50px;
    padding: 0 15px;
}

.navbar .container {
    background-color: var(--dark-bg);
    padding: 10px 40px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* padding: 15px 0; */
}

/* Change container to full width on scroll */
.navbar.scrolled .container {
    max-width: 100%;
    /* padding: 15px 40px; */
    background-color: transparent;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-orange) !important;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-size: 15px;
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* ===================================
   Hero Section Styles
   =================================== */
.hero-section {
    background-color: transparent;
    display: flex;
    align-items: center;
    padding-top: 0;
    position: relative;
    padding-bottom: 0;
}

.hero-container {
    background-color: var(--dark-bg);
    padding: 20px 40px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 20px 0;
}

.hero-subtitle {
    color: var(--text-gray);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 65px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

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

.title-gradient {
    background: linear-gradient(135deg, var(--gradient-orange) 0%, var(--gradient-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-btn {
    background-color: var(--primary-orange);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.hero-btn:hover {
    background-color: #ff5520;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* Hero Image Graphics */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
}


/* ===================================
   About Section Styles
   =================================== */
.about-section {
    background-color: transparent;
    position: relative;
}

.about-container {
    background-color: var(--dark-bg);
    padding: 50px 40px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    padding: 20px 0;
}

.section-subtitle {
    color: var(--primary-orange);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.section-title {
    color: var(--text-white);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

/* About Image Graphics */
.about-image {
    position: relative;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    height: 350px;
}

.about-image img{
    width: 100%;
}

/* ===================================
   Resume Section Styles
   =================================== */
.resume-section {
    background-color: transparent;
    position: relative;
}

.resume-container {
    background-color: var(--dark-bg);
    padding: 25px 40px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.resume-title {
    text-align: center;
    color: var(--primary-orange);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Resume Carousel */
.resume-carousel {
    position: relative;
    /* min-height: 400px; */
    cursor: grab;
    user-select: none;
}

.resume-carousel:active {
    cursor: grabbing;
}

.resume-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.resume-slide.active {
    display: block;
}

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

/* Resume Content */
.resume-content {
    padding: 20px 0;
}

.resume-label {
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.resume-heading {
    color: var(--text-white);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
}

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

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 5px;
    width: 14px;
    height: 14px;
    background-color: var(--text-white);
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
    z-index: 2;
}

.timeline-content {
    padding-left: 10px;
}

.timeline-title {
    color: var(--text-white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-subtitle {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}

/* Skills Styles */
.skill-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
}

.skill-tab {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: flex-start;
}

.skill-tab:hover {
    color: var(--primary-orange);
}

.skill-tab.active {
    color: var(--text-white);
}

.skill-tab .skill-dot {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.skill-tab.active .skill-dot {
    background-color: var(--text-white);
}

.skills-container {
    padding: 0;
}

.skill-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.skill-tab-content.active {
    display: block;
}

.skill-category {
    margin-bottom: 40px;
}

.skill-category:last-child {
    margin-bottom: 0;
}

.skill-category-title {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.skill-dot {
    width: 14px;
    height: 14px;
    background-color: var(--text-white);
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
}

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

.skill-name {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff3366 0%, var(--primary-orange) 100%);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.skill-progress.animated {
    width: var(--progress-width);
}

/* Carousel Dots */
.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.carousel-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background-color: rgba(255, 107, 53, 0.7);
}

/* ===================================
   Portfolio Section Styles
   =================================== */
.portfolio-section {
    background-color: transparent;
    position: relative;
}

.portfolio-container {
    background-color: var(--dark-bg);
    padding: 25px 40px 40px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.portfolio-title {
    text-align: center;
    color: var(--primary-orange);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Portfolio Tabs */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-tab {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.portfolio-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.portfolio-tab:hover,
.portfolio-tab.active {
    color: var(--primary-orange);
}

.portfolio-tab.active::after {
    width: 100%;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 250px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.5s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

/* Masonry Layout */
.portfolio-item:nth-child(1) {
    grid-row: span 2;
}

.portfolio-item:nth-child(4) {
    grid-row: span 2;
}

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

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

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

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.portfolio-info h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

/* ===================================
   Clients Section Styles
   =================================== */
.clients-section {
    background-color: transparent;
    position: relative;
}

.clients-container {
    background-color: var(--dark-bg);
    padding: 40px 40px;
    border-radius: 0;
    position: relative;
}

.clients-title {
    text-align: center;
    color: var(--primary-orange);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.client-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 53, 154, 0.1) 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 53, 0.1) 50%, transparent 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.client-card:hover::before {
    left: 100%;
}

.client-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

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

.client-name {
    color: var(--text-white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.client-tagline {
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Testimonials Section Styles
   =================================== */
.testimonials-section {
    background-color: transparent;
    position: relative;
}

.testimonials-container {
    background-color: var(--dark-bg);
    padding: 40px 40px;
    border-radius: 0;
    position: relative;
}

.testimonials-title {
    text-align: center;
    color: var(--primary-orange);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-orange) 0%, var(--gradient-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-orange) 0%, var(--gradient-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.quote-icon i {
    color: var(--text-white);
    font-size: 20px;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 53, 154, 0.2) 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    color: var(--primary-orange);
    font-size: 24px;
}

.author-info {
    flex: 1;
}

.author-name {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-position {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    gap: 3px;
}

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

/* ===================================
   Contact Section Styles
   =================================== */
.contact-section {
    background-color: transparent;
    position: relative;
}

.contact-container {
    background-color: var(--dark-bg);
    padding: 40px 40px;
    border-radius: 0;
    position: relative;
}

.contact-info {
    padding: 20px 0;
}

.contact-label {
    color: var(--primary-orange);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-heading {
    color: var(--text-white);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* Contact Form */
.contact-form {
    padding: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: var(--text-white);
    padding: 12px 0;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-control:focus {
    background-color: transparent;
    border-bottom-color: var(--primary-orange);
    box-shadow: none;
    color: var(--text-white);
}

.contact-form textarea.form-control {
    resize: none;
    padding-top: 12px;
}

.contact-btn {
    background: linear-gradient(135deg, var(--gradient-orange) 0%, var(--gradient-red) 100%);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: capitalize;
    color: var(--text-white);
    margin-top: 10px;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* ===================================
   Footer Section Styles
   =================================== */
.footer-section {
    background-color: transparent;
    padding: 0;
    margin-top: 50px;
}

.footer-container {
    background-color: var(--dark-bg);
    padding: 30px 40px;
    border-radius: 0;
}

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

.copyright {
    color: var(--text-white);
    font-size: 15px;
    margin: 0;
    font-weight: 400;
}

/* ===================================
   Success Modal
   =================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.success-modal-content {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95) 0%, rgba(35, 35, 35, 0.95) 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: scale(0.7) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

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

.success-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Success Icon */
.success-icon {
    margin-bottom: 30px;
    position: relative;
}

.success-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s forwards;
    transform: scale(0);
}

@keyframes scaleIn {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-checkmark {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-circle-bg {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: drawCircle 0.8s ease-out 0.4s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

.success-checkmark-path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.6s ease-out 0.8s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Success Text */
.success-title {
    color: var(--text-white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.success-text {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

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

/* Success Button */
.success-btn {
    background: linear-gradient(135deg, var(--gradient-orange) 0%, var(--gradient-red) 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease 1s backwards;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.success-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.6);
}

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

.success-btn i {
    font-size: 18px;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-orange) 0%, var(--gradient-red) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

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

.back-to-top i {
    color: var(--text-white);
    font-size: 20px;
    position: relative;
    z-index: 2;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Progress Ring */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 169.56;
    stroke-dashoffset: 169.56;
    transition: stroke-dashoffset 0.1s linear;
}

/* Pulse Animation */
.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-orange) 0%, var(--gradient-red) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}


/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-container,
    .about-container,
    .resume-container,
    .portfolio-container,
    .clients-container,
    .testimonials-container,
    .contact-container {
        padding: 40px 30px;
    }
    
    .hero-image,
    .about-image {
        height: 300px;
        margin-top: 30px;
    }
    
    .resume-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .resume-heading {
        font-size: 36px;
    }
    
    .timeline-title {
        font-size: 20px;
    }
    
    .portfolio-title {
        font-size: 36px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .contact-heading {
        font-size: 36px;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .clients-title {
        font-size: 36px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .client-name {
        font-size: 24px;
    }
    
    .testimonials-title {
        font-size: 36px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
}

@media (max-width: 767px) {
    section {
        padding-top: 30px;
        margin: 30px 15px;
    }

    .navbar{
        margin-bottom: 20px;
    }
    
    .hero-container,
    .about-container,
    .resume-container,
    .portfolio-container,
    .clients-container,
    .testimonials-container,
    .contact-container {
        padding: 35px 20px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .hero-image,
    .about-image {
        height: 280px;
    }
    
    .resume-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .resume-heading {
        font-size: 28px;
    }
    
    .resume-content {
        margin-bottom: 30px;
    }
    
    .timeline-title {
        font-size: 18px;
    }
    
    .timeline-subtitle {
        font-size: 14px;
    }
    
    .timeline-item {
        margin-bottom: 30px;
    }
    
    .portfolio-title {
        font-size: 32px;
    }
    
    .portfolio-tabs {
        gap: 20px;
    }
    
    .portfolio-tab {
        font-size: 14px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        grid-auto-rows: 300px;
    }
    
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(4) {
        grid-row: span 1;
    }
    
    .contact-heading {
        font-size: 28px;
    }
    
    .contact-label {
        font-size: 16px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-btn {
        width: 100%;
    }
    
    .clients-title {
        font-size: 32px;
    }
    
    .clients-grid {
        /* grid-template-columns: 1fr; */
        gap: 15px;
    }
    
    .client-card {
        padding: 30px 20px;
    }
    
    .client-name {
        font-size: 22px;
    }
    
    .client-tagline {
        font-size: 13px;
    }
    
    .testimonials-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-avatar i {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .hero-container,
    .about-container,
    .resume-container,
    .portfolio-container,
    .clients-container,
    .testimonials-container,
    .contact-container {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .resume-title {
        font-size: 28px;
    }
    
    .resume-heading {
        font-size: 24px;
    }
    
    .resume-label {
        font-size: 12px;
    }
    
    .portfolio-title {
        font-size: 28px;
    }
    
    .portfolio-tabs {
        gap: 15px;
    }
    
    .portfolio-tab {
        font-size: 13px;
    }
    
    .contact-heading {
        font-size: 24px;
    }
    
    .copyright {
        font-size: 14px;
    }
    
    .clients-title {
        font-size: 28px;
    }
    
    .client-name {
        font-size: 20px;
    }
    
    .testimonials-title {
        font-size: 28px;
    }
    
    .quote-icon {
        width: 45px;
        height: 45px;
    }
    
    .quote-icon i {
        font-size: 18px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top i {
        font-size: 18px;
    }
    
    .progress-ring {
        width: 50px;
        height: 50px;
    }
    
    .progress-ring svg {
        width: 50px;
        height: 50px;
    }
    
    .success-modal-content {
        padding: 40px 30px;
    }
    
    .success-circle {
        width: 100px;
        height: 100px;
    }
    
    .success-checkmark svg {
        width: 70px;
        height: 70px;
    }
    
    .success-title {
        font-size: 24px;
    }
    
    .success-text {
        font-size: 14px;
    }
    
    .success-btn {
        padding: 12px 35px;
        font-size: 15px;
    }
}
