:root {
    --primary-color: #dd3126;
    --text-color: #20295b;
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f5;
    --footer-big: #20295b;
    --footer-text: #ffffff;
    --card-bg: #f5f5f5;
    --card-alt: #ffffff;
    --card-border: #cccccc;
 }
 body.dark-mode {
    --text-color: #ffffff;
    --bg-color: #000000;
    --bg-secondary: #0d0d0d;
    --card-bg: #1a1a1a;
    --card-alt: #2a2a2a;
        --card-border: #ffffff;
    --footer-big: #000000;
    --footer-text: #ffffff;
 }
 body.dark-mode .logo {
    background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
 ::-webkit-scrollbar{
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}
html {
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}
nav {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}
.nav-links{
    display: flex;
    list-style:none;
    gap:30px;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}
.theme-btn {
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;

}
.theme-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}
.theme-btn .sun-icon {
display: none;
}
.toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}
body.dark-mode .theme-btn .moon-icon {
    display: none;
}
body.dark-mode .theme-btn .sun-icon {
    display: block;
}
.toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
}
.logo-image {
    width: 50px;
    height: auto;
}
.hero {
    position: relative;
    z-index: 0;
    overflow: hidden;
    text-align: center;
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.hero h1 {
    font-size: 80px;
    margin: 10px 0;
    background-image: linear-gradient(to right, var(--primary-color), var(--text-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.intro {
    font-size: 24px;
    margin-bottom: 20px;
    background-image: linear-gradient(to right, var(--primary-color), var(--text-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.btn {
    display:inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
.btn-filled {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    transition: transform 0.2s ease;
}
.btn-outlined {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: transform 0.2s ease;
}
.about {
    text-align: center;
    padding: 100px 20px;
}
.about-image {
    width: 128px;
    height: 128px;
    margin-bottom: 30px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}
.about h2 {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.about h2::after {
    content: '';
    display: block;
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.about p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}
.philosophy {
    text-align: left;
    padding: 60px 20px;
    margin: 30px 0;
    background-color: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    animation: float 3s ease-in-out infinite;
}
.about p,
.philosophy,
.skills-description,
.skills-category,
.description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.skills {
    text-align: center;
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}
.skills h2 {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.skills h2::after {
    content: '';
    display: block;
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.skills-description {
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 1.6;
}
.skills-category {
    margin-bottom: 40px;
    background-color: var(--card-alt);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
    transition: transform 0.2s ease, opacity 0.6s ease;
}
.skills-category h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-image: linear-gradient(to right, var(--primary-color), var(--text-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.skills-category h3 i {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
    font-size: 24px;
}
.skills-list {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.skill {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: transform 0.2s ease;
}
.projects {
    text-align: center;
    padding: 100px 20px;
}
.projects h2 {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.projects h2::after {
    content: '';
    display: block;
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.project-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.2s ease, opacity 0.6s ease;
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}
.project-card h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
    background-image: linear-gradient(to right, var(--primary-color), var(--text-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.project-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}
.design-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.service h4 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-image: linear-gradient(to right, var(--primary-color), var(--text-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service h4 i {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}
.service {
    background-color: var(--card-alt);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}
.service p {
    text-align: left;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.tag {
    background-color: var(--card-alt);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: transform 0.2s ease;
}
.project-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
.project-link:hover {
    text-decoration: underline;
}
.project-link i {
    font-size: 12px;
    margin-left: 4px;
}
.testimonials {
    text-align: center;
    padding: 100px 20px;
}
.testimonials h2 {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
        background-image: linear-gradient(to right, var(--primary-color), var(--text-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.testimonials h2::after {
    content: '';
    display: block;
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.testimonials .section-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.testimonials h2 .highlight {
    -webkit-text-fill-color: var(--primary-color);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto 0;
    text-align: left;
}
.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
        border: 1px solid var(--card-border);
    transition: transform 0.2s ease, opacity 0.6s ease, border-color 0.2s ease;
}
.testimonial-stars {
    color: #f5b301;
    font-size: 18px;
    margin-bottom: 15px;
}
.testimonial-text {
    line-height: 1.7;
    margin-bottom: 25px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 128, 128, 0.3);
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: 16px;
    margin-bottom: 3px;
}
.testimonial-role {
    font-size: 14px;
    opacity: 0.7;
}
.contact {
    text-align: center;
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}
.contact h2 {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.contact h2::after {
    content: '';
    display: block;
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    text-align: left;
}
.contact-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    background-image: linear-gradient(to right, var(--primary-color), var(--text-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-info > p {
    margin-bottom: 30px;
    line-height: 1.6;
}
.info-card {
    background-color: var(--card-alt);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease;
}
.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form label {
    font-weight: bold;
    margin-bottom: 10px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
}
.contact-form textarea {
    resize: vertical;
}
.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgb(221, 49, 38, 0.4);
    cursor: pointer;
    align-self: self-start;
    transition: transform 0.2s ease;
}
.footer {
    text-align: left;
    background-color: var(--footer-big);
    color: var(--footer-text);
    padding: 60px 20px 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}
.footer-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
.footer-content p {
    color: #cccccc;
    line-height: 1.6;
}
.footer-links a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 10px;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a4270;
    color: #cccccc;
}
.footer-social {
    text-align: center;
    margin-bottom: 30px;
}
.footer-social h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-icons a {
    color: var(--text-color);
    background-color: var(--card-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
}
nav a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.info-card a {
    text-decoration: none;
    color: var(--text-color);
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
@media (hover: hover) and (pointer: fine) {
    .btn-filled:hover { transform: translateY(-3px); }
    .btn-outlined:hover { transform: translateY(-3px); }
    .btn-submit:hover { transform: translateY(-3px); }
    .about-image:hover { transform: scale(1.08); }
    .info-card:hover { transform: translateY(-4px); }
    .project-card:hover { transform: translateY(-4px); }
       .testimonial-card:hover { transform: translateY(-4px); border-color: var(--primary-color); }
    .service:hover { transform: translateY(-4px); }
    .skills-category:hover { transform: translateY(-4px); }
    .skill:hover { transform: translateY(-2px); }
    .tag:hover { transform: translateY(-2px); }
    .social-icons a:hover { background-color: var(--primary-color); color: #ffffff; transform: translateY(-3px); }
}
.btn-filled:active,
.btn-outlined:active,
.btn-submit:active {
    transform: scale(0.96);
}
.info-card:active,
.project-card:active,
.service:active,
.skills-category:active,
.skill:active,
.tag:active {
    transform: scale(0.97);
}
.testimonial-card:active {
    border-color: var(--primary-color);
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    .toggle {
        display: flex;
    }
    .nav-links {
        display: none;
    }
    .design-services {
        grid-template-columns: 1fr;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
        .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 20px;
        text-align: center;
        z-index: 100;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
    .logo-image {
        width: 35px;
    }
    body.dark-mode .logo {
        width: 50px;
        height: 50px;
    }
}