/********** portfolio CSS **********/
:root {
    --primary: #6244C5;
    --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-out, visibility 0s linear .2s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.spinner-role {
    width: 3rem; 
    height: 3rem;
}
/* End Spinner ***/
/* skills */
.progress-bar {
    width: 0;
    transition: width 1s ease-in-out;
}

.skill.in-view .progress-bar {
    width: var(--progress-width); /* set via CSS class */
}

/* Individual widths for each skill */
.progress-html       { width: 100%; }
.progress-js         { width: 95%; }
.progress-bootstrap5 { width: 100%; }
.progress-ux         { width: 95%; }
.progress-php         { width: 90%; }
.progress-sql         { width: 95%; }
.progress-mysql       { width: 95%; }
.progress-cms         { width: 100%; }

@media (max-width: 768px) {
    #skill .row > .col-lg-6 {
        margin-bottom: 2rem;
    }
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.modal {
    margin: 0 !important;
    padding: 0 !important;
}

/* Navbar links default */

/*** Navbar ***/
.navbar.fixed-top {
    display: none;
    transition: .5s;
}
/*** Navbar ***/
.navbar.fixed-top {
    transition: .5s;
    z-index: 3000; /* higher than glow-signup children (1) */
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;

}
.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
        transform: scale(1.05); /* slight zoom effect */

}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

/*** Header ***/
/* =============== DARK MODE =============== */
html.dark-mode, html.dark-mode body {
    transition: background-color 0.3s, color 0.3s;
}

/* ===== Dark Mode Styles ===== */
html.dark-mode body {
    background-color: #050b10;
    color: #e5e5e5;
}

/* Navbar */
html.dark-mode .navbar {
    background-color: #040910 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.dark-mode .navbar .nav-link {
    color: #f5f5f5 !important;
}

html.dark-mode .navbar .nav-link.active,
html.dark-mode .navbar .nav-link:hover {
    color: #0d6efd !important;
}
/* nav search  */

/* Sections that were bg-white */
html.dark-mode .bg-white {
    background-color: #050b10 !important;
}

/* Cards (pricing, services) */
html.dark-mode .card,
html.dark-mode .service-item,
html.dark-mode .team-text,
html.dark-mode .testimonial-item,
html.dark-mode .portfolio-img {
    background-color: #071017 !important;
    color: #e5e5e5;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-mode .card h2,
html.dark-mode h1,
html.dark-mode h2,
html.dark-mode h3,
html.dark-mode h4,
html.dark-mode h5,
html.dark-mode h6 {
    color: #ffffff;
}

/* Text that was text-dark */
html.dark-mode .text-dark {
    color: #f0f0f0 !important;
}

/* Footer */
html.dark-mode .footer-about,
html.dark-mode .bg-dark {
    background-color: #02060a !important;
}

/* Contact form and inputs */
html.dark-mode input.form-control,
html.dark-mode textarea.form-control,
html.dark-mode select.form-select {
    background-color: #02060a;
    color: #f5f5f5;
    border-color: #1f2a38;
}

html.dark-mode input.form-control::placeholder,
html.dark-mode textarea.form-control::placeholder {
    color: #999;
}

/* ===== Toggle Switch (Moon / Sun) ===== */
.checkbox {
    opacity: 0;
    position: absolute;
    display: none !important;
}

.checkbox-label {
    width: 50px;
    height: 25px;
    background: #111;
    display: flex;
    border-radius: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Optional: Change toggle background in dark mode */
html.dark-mode .checkbox-label {
    background: #333;
}

.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f39c12;
}

.checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
    transform: translateX(24px);
}

/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
    .checkbox-label {
        width: 40px;
        height: 20px;
        padding: 4px;
    }
    .checkbox-label .ball {
        width: 16px;
        height: 16px;
        top: 2px;
        left: 2px;
    }
    .checkbox:checked + .checkbox-label .ball {
        transform: translateX(20px);
    }
}


/* section home */
#home {
    margin-bottom: 6rem;
    background: url(../img/bg-header.png) left top no-repeat;
}
.hero-img {
    max-width: 380px;
}

@media (max-width: 576px) {
    .hero-img {
        max-width: 260px;
    }
}


.typed-cursor {
    font-size: 30px;
    color: var(--dark);
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** About ***/
#about .years .display-1 {
    font-size: 10rem;
    line-height: 9rem;
}

#about .years h5 {
    letter-spacing: 30px;
    margin-right: -30px;
}


/*** Skills ***/
#skill .progress {
    height: 5px;
    border-radius: 5px;
}

#skill .progress .progress-bar {
    width: 0px;
    border-radius: 5px;
    transition: 3s;
}

#skill .nav-pills .nav-link {
    color: var(--dark);
}

#skill .nav-pills .nav-link.active {
    color: #FFFFFF;
}

#skill .tab-content hr {
    width: 30px;
}
/* section card- prices */
.pricing-section-title {
    max-width: 700px;
}
.price-currency {
    font-size: 20px;
    line-height: 40px;
    vertical-align: top; /* replaces align-top */
    text-align: center;  /* keep text-center effect if needed */
}
.price-currency1 {
    font-size: 20px;
    line-height: 40px;
}
.price-currency2 {
    font-size: 20px; 
    line-height: 40px;
}
/* prices */
 ul.list-unstyled li i {
    width: 20px; /* adjust if needed */
    text-align: left; /* left the icon */
    margin:5px;
}
.pricing-card {
    width: 100%;
    min-height: 520px;
    box-shadow: rgba(0,0,0,0.24) 0 3px 8px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    overflow: hidden;
    position: relative;
    border: 0;
    /* smooth animation */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        color 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.23);
}
/* default state */
.pricing-card ul.list-unstyled li {
    padding: 4px 6px;
    border-radius: 6px;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.pricing-card ul.list-unstyled li i {
    width: 20px;
    text-align: left;
    margin: 5px;
    font-size: 12px;
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

/* hover on each line */
.pricing-card ul.list-unstyled li:hover {
    background-color: rgba(27,156,227,0.08); /* light blue */
    transform: translateX(4px);
}

.pricing-card ul.list-unstyled li:hover i {
    transform: translateX(2px) scale(1.1);
    color: #1b9ce3;
}
.pricing-card .btn.btn-outline-primary {
    border-radius: 25px;
    padding: 6px 16px;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.pricing-card:hover .btn.btn-outline-primary,
.pricing-card .btn.btn-outline-primary:hover {
    background: #fff !important;
    color: var(--primary) !important;
    border-color: #000000 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.16);
    transform: translateY(-2px);
}
  /* end */

/*** Service ***/
.service-item .bg-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/bg-icon.png) center center no-repeat;
    background-size: cover;
}
/* continue of the services */
/* Service items - similar style to pricing cards */
.service-item {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    overflow: hidden;

}

.service-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.23);
}

/* Icon container */
.service-item .bg-icon {
    flex-shrink: 0;
    transition: transform 0.35s ease, color 0.35s ease;
}

.service-item:hover .bg-icon i {
    transform: scale(1.2) rotate(10deg); /* subtle zoom & tilt */
    color: #1b9ce3; /* change color on hover */
}

/* Text content */
.service-item h4 {
    font-weight: 600;
    transition: color 0.25s ease;  

}

.service-item h6 {
    font-weight: 500;
}

.service-item span {
    font-size: 14px;
    color: #555;
    transition: color 0.25s ease;
}

/* Button (if you want hover similar to pricing) */
.service-item a.btn {
    border-radius: 25px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item a.btn:hover {
    background-color: #1b9ce3 !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.16);
    transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .service-item {
        flex-direction: column !important; /* stack icon and text on mobile */
        padding: 1.5rem;
    }
    .service-item .bg-icon {
        margin-bottom: 1rem;
    }
}
/* end of services */
/* section quote */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}
quote-form {
    width: 60px;
    height: 60px;
}
quote-user-name, quote-user-email, quote-user-select {
    width: 100%;
    height: 55px;
}
/* start of quote */
/* Quote section container */
#quote {
    position: relative;
    padding: 3rem 0;
}

/* Section title */
#quote .section-title h5 {
    color: #1b9ce3;
    text-transform: uppercase;
}

#quote .section-title h1 {
    color: #333;
}

/* Info blocks (Reply/Support) */
#quote .col-sm-6 h5 {
    display: flex;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

#quote .col-sm-6 h5 i {
    color: #1b9ce3;
    margin-right: 0.75rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

#quote .col-sm-6:hover h5 {
    color: #1b9ce3;
    transform: translateX(4px);
}

#quote .col-sm-6:hover h5 i {
    transform: scale(1.2) rotate(10deg);
}

/* Call info block */
#quote .d-flex.bg-primary {
    border-radius: 12px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#quote .d-flex.bg-primary:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.23);
}

/* Form container */
#quote form {
    width: 100%;
}

#quote form input,
#quote form select,
#quote form textarea {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#quote form input:focus,
#quote form select:focus,
#quote form textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(27,156,227,0.25);
    border-color: #1b9ce3;
}

/* Submit button */
#quote .btn-dark {
    border-radius: 25px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#quote .btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    #quote .d-flex.bg-primary {
        flex-direction: column !important;
        padding: 2rem !important;
        text-align: center;
    }
    #quote .d-flex.bg-primary .ps-4 {
        padding-left: 0 !important;
        margin-top: 1rem;
    }
}
html.dark-mode input.form-control,
html.dark-mode textarea.form-control,
html.dark-mode select.form-select {
    background-color: #02060a;
    color: #f5f5f5;
    border-color: #1f2a38;
}
/* ========== LIGHT MODE (default) ========== */

/* Inputs, textarea, select background + text */
input.form-control,
textarea.form-control,
select.form-select {
    background-color: #f8f9fa;   /* like bg-light */
    color: #212529;              /* dark text */
    border-color: #ced4da;
}

/* Placeholder text (inputs + textarea) */
input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Select placeholder option (the disabled + selected one) */
select.form-select option[disabled][selected] {
    color: #6c757d;
}

/* Dropdown options (when opened) */
select.form-select option {
    background-color: #ffffff;
    color: #212529;
}

/* ========== DARK MODE ========== */

html.dark-mode input.form-control,
html.dark-mode textarea.form-control,
html.dark-mode select.form-select {
    background-color: #02060a;
    color: #f5f5f5;
    border-color: #1f2a38;
}

/* Placeholder text in dark mode */
html.dark-mode input.form-control::placeholder,
html.dark-mode textarea.form-control::placeholder {
    color: #9aa3ad;
    opacity: 1;
}

/* Dark mode select placeholder option */
html.dark-mode select.form-select option[disabled][selected] {
    color: #9aa3ad;
}

/* Dropdown options in dark mode */
html.dark-mode select.form-select option {
    background-color: #1e1e1e;
    color: #f5f5f5;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

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

.portfolio-img {
    position: relative;
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 68, 197, .9);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important;
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    opacity: 99;
}

.team-item .team-text {
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    right: 30px;
    opacity: 1;
}

.team-item .team-text div {
    transition: .5s;
}

.team-item:hover .team-text div {
    margin-left: 30px;
}
/* end of team */
/* section testimonial */
.testimonial-paragraph {
    font-size: 16px;
    line-height: 28px;
    color: #555555;
    margin-bottom: 25px;
    letter-spacing:1px;
}
/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px solid var(--secondary);
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.testimonial-carousel .testimonial-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--secondary);
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 5px;
    left: 5px;
    border-radius: 16px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}
/* contact */
/* Contact container */
.container-fluid.bg-light {
    padding: 5rem 0;
    font-family: 'Roboto', sans-serif;
}

/* Section title */
#contact h1 {
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}

/* Form styling */
#contact form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#contact form:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.23);
}

/* Input and textarea */
#contact input.form-control,
#contact textarea.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#contact input.form-control:focus,
#contact textarea.form-control:focus {
    transform: scale(1.02);
    border-color: #28a745; /* green focus color */
    box-shadow: 0 4px 12px rgba(40,167,69,0.25);
    outline: none;
}

/* Labels */
#contact label {
    font-weight: 500;
}

/* Submit button */
#contact button.btn-success {
    border-radius: 25px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#contact button.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    background-color: #218838 !important; /* darker green */
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    #contact form {
        padding: 1.5rem;
    }
}
/* end of contact */
/* Footer Base */
#footer {
    font-size: 0.95rem;
    background-color: #062729; /* main footer */
    color: #ffffff; /* text color */
}

#footer p,
#footer a {
    line-height: 1.6;
}

/* Section titles (Get in Touch, Quick Links, Popular Links) */
#footer .section-title-sm h3 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    position: relative;
}

#footer .section-title-sm h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: var(--primary, #0d6efd);
}

/* About box */
#footer .footer-about > div {
    padding: 1.5rem 1.5rem 2rem;
    border-radius: 10px;
}

#footer .footer-about p {
    font-size: 0.9rem;
}

/* Newsletter input */
#footer .footer-about .input-group input {
    font-size: 0.9rem;
    border-radius: 6px 0 0 6px;
}

#footer .footer-about .input-group .btn {
    border-radius: 0 6px 6px 0;
}

/* Make input & button full width on mobile */
@media (max-width: 576px) {
    #footer .footer-about .input-group {
        flex-direction: column;
    }

    #footer .footer-about .input-group input,
    #footer .footer-about .input-group .btn {
        border-radius: 6px;
        width: 100%;
    }

    #footer .footer-about .input-group .btn {
        margin-top: 0.5rem;
    }
}

/* Link lists - menu style */
#footer .link-animated {
    gap: 4px;
}

#footer .link-animated a {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.85;
    font-size: 0.93rem;
    transition: all 0.2s ease-in-out;
}

#footer .link-animated a i {
    font-size: 0.8rem;
    margin-right: 6px;
}

#footer .link-animated a:hover {
    opacity: 1;
    transform: translateX(4px);
}

#footer .link-animated a:hover i {
    color: var(--primary, #0d6efd);
}

/* Social icons */
#footer .btn-square {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

#footer .btn-square:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    background: #ffffff;
}

#footer .btn-square:hover i {
    color: #0d6efd; /* match primary color */
}

/* Bottom bar / copyright */
/* Footer base */
/* Footer container */
#footer .copy-footer {
    position: relative;
    z-index: 0; /* base layer */
    background: linear-gradient(135deg, #000000, #003300);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    padding: 30px 20px;
    color: #bbbbbb;
    text-align: center;
    overflow: hidden;
}

/* Glowing overlay behind everything */
#footer .copy-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #003300, #00cc44, #006600, #003300);
    filter: blur(30px);
    animation: spin 8s linear infinite;
    z-index: -1; /* <- send behind all content */
}

/* Keep footer text above glow */
#footer .copy-footer * {
    position: relative;
    z-index: 1;
}

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

/* Footer links */
#footer .copy-footer a {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

#footer .copy-footer a:hover {
    border-bottom-color: #00cc44; /* neon green on hover */
    color: #00cc44; /* optional: neon green text on hover */
}

/* Optional headings or important text inside footer */
#footer .copy-footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

#footer .copy-footer small {
    font-size: 0.8rem;
    color: #aaaaaa;
}


/* Footer About section margin on large screens */
@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}
/* Animated colorful footer links - resolved */
#footer .link-animated a {
    display: inline-block;
    position: relative;
    font-size: 0.93rem;
    text-decoration: none;
    font-weight: 500;
    background: linear-gradient(90deg, #FF5F6D, #FFC371, #47CACC, #6244C5);
    background-size: 200% auto;
    
    /* Make gradient appear as text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;       /* for Firefox */
    color: transparent;           /* fallback */
    
    transition: all 0.4s ease;
}

#footer .link-animated a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF5F6D, #FFC371, #47CACC, #6244C5);
    border-radius: 2px;
    transition: width 0.4s ease;
}

#footer .link-animated a:hover {
    background-position: 100% center;
}

#footer .link-animated a:hover::after {
    width: 100%;
}

/* End footer section */
/* Electric / Glowing Back to Top Button */
/* -------------------------- */
/* Glowing Social Icons */
/* -------------------------- */
.glow-social .btn-square {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #222; /* base color */
    color: #fff;
    border: none;
    overflow: hidden;
    box-shadow: 0 0 10px #FF5F6D, 0 0 20px #FFC371, 0 0 30px #47CACC;
    transition: all 0.3s ease;
}

/* Animated glowing gradient overlay */
.glow-social .btn-square::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, #FF5F6D, #FFC371, #47CACC, #6244C5);
    filter: blur(1px);
    animation: spin 4s linear infinite;
    z-index: 0;
}

/* Keep icon above glow */
.glow-social .btn-square i {
    position: relative;
    z-index: 1;
}

/* Hover effect */
.glow-social .btn-square:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #FF5F6D, 0 0 40px #FFC371, 0 0 60px #47CACC;
}

/* -------------------------- */
/* Glowing Back-to-Top Button */
/* -------------------------- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222; /* base */
    color: #fff;
    border: none;
    z-index: 999;
    box-shadow: 0 0 15px #FF5F6D, 0 0 30px #FFC371, 0 0 45px #47CACC;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

/* Hover effect */
.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 20px #FF5F6D, 0 0 40px #FFC371, 0 0 60px #47CACC, 0 0 80px #6244C5;
    color: #fff;
}

/* Glowing gradient overlay */
.back-to-top::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, #FF5F6D, #FFC371, #47CACC, #6244C5);
    animation: spin 4s linear infinite;
    filter: blur(1px);
    z-index: 0;
}

/* Keep icon above glow */
.back-to-top i {
    position: relative;
    z-index: 1;
}

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

/* signup  */
.glow-signup {
    position: relative; /* establishes stacking context */
    z-index: 10; /* bring to front */
    padding: 2rem;
    border-radius: 25px;
    overflow: hidden;
    background: rgba(0,0,0,0.15); /* semi-transparent base */
    box-shadow: 0 0 20px #FF5F6D, 0 0 40px #FFC371, 0 0 60px #47CACC;
    transition: transform 0.3s ease;
}

/* Animated glowing gradient behind form */
.glow-signup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, #FF5F6D, #FFC371, #47CACC, #6244C5);
    filter: blur(10px);
    animation: spin 6s linear infinite;
    z-index: -1; /* make sure the glow is behind content */
}

/* Keep inner content above glow */
.glow-signup > * {
    position: relative;
    z-index: 1;
}

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

/* Optional: hover scale effect */
.glow-signup:hover {
    transform: scale(1.02);
}

/* Form input styling */
.glow-signup form input.form-control {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    outline: none;
    z-index: 2; /* make sure above glow */
}

.glow-signup form input.form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

/* Button styling */
.glow-signup form button.btn-dark {
    border-radius: 50px;
    background: #FF5F6D;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 2; /* above glow */
}

.glow-signup form button.btn-dark:hover {
    background: #6244C5;
    box-shadow: 0 0 20px #FF5F6D, 0 0 40px #FFC371, 0 0 60px #47CACC;
}



section.searchable * {
    transition: all 0.3s ease-in-out;
}


/* General container padding on small screens */
@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1.display-3,
    h1.display-5 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h3,
    h4 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* HERO section text + image */
@media (max-width: 768px) {
    #home .row.g-5 {
        text-align: center;
    }

    #home .d-flex.align-items-center.pt-5 {
        justify-content: center;
    }

    .hero-img {
        max-width: 260px;
        margin-top: 1.5rem;
    }
}

/* Skills section: stack columns nicely */
@media (max-width: 768px) {
    #skill .row > .col-lg-6 {
        margin-bottom: 2rem;
    }

    .progress {
        height: 0.8rem;
    }
}

/* Pricing cards: full width on mobile */
@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 1.5rem;
    }

    #card-prices .display-5 {
        font-size: 2rem;
    }
}

/* Services: spacing + readable text */
@media (max-width: 768px) {
    #service .service-item {
        text-align: left;
    }

    #service .bg-icon {
        margin-right: 1rem;
    }
}

/* Quote section: form under text */
@media (max-width: 992px) {
    #quote .col-lg-7,
    #quote .col-lg-5 {
        margin-bottom: 2rem;
    }
}

/* Projects: cards spacing */
@media (max-width: 768px) {
    #project .portfolio-item {
        margin-bottom: 1.5rem;
    }

    #portfolio-flters {
        text-align: left;
        font-size: 0.9rem;
    }
}

/* Team section: center text and image */
@media (max-width: 768px) {
    #team .team-item {
        text-align: center;
    }

    #team img.img-fluid {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Testimonial text: responsive sizing */
#testimonial .testimonial-paragraph1 {
    font-size: 1.25rem; /* default for large screens */
    line-height: 1.6;
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    #testimonial .testimonial-paragraph1 {
        font-size: 1.1rem;
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    #testimonial .testimonial-paragraph1 {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    #testimonial .testimonial-paragraph1 {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}


/* Footer: stack columns nicely */
@media (max-width: 992px) {
    #footer .footer-about {
        margin-bottom: 2rem;
    }

    #footer .section-title-sm h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    #footer p,
    #footer a {
        font-size: 0.9rem;
    }

    #footer .btn-square {
        width: 34px;
        height: 34px;
    }
}

/* Back to top button: move slightly up on small screens */
@media (max-width: 576px) {
    .back-to-top {
        bottom: 70px;
        right: 15px;
    }
}
/* Make about description text more responsive */
/* Make about description text more responsive */
@media (max-width: 768px) {
    #about p[itemprop="description"] {
        font-size: 1rem;
        line-height: 1.6;
        text-align: justify;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    #about p[itemprop="description"] {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 400px) {
    #about p[itemprop="description"] {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}
