/* Definições Gerais e Cores */
:root {
    --bg-dark: #050b11;
    --bg-darker: #02060a;
    --cyan:#54a5a7;
    --cyan-hover: #3cb8ba;
    --text-light: #ffffff;
    --text-muted: #a0aab5;
    --text-dark: #11161a;
    --bg-light: #f8f9fa;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Utilitários */
.cyan-text { color: var(--cyan) !important; }
.white-text { color: var(--text-light) !important; }

/* Botões */
.btn-cyan {
    background-color: var(--cyan);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-cyan:hover { background-color: var(--cyan-hover); }

.btn-outline {
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-whatsapp {
    background-color: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-whatsapp:hover { background: var(--cyan); color: var(--bg-dark); }

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 20px 8%;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Vídeo de background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
}

/* Overlay escuro sobre o vídeo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 3;
}

.navbar-options{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:50px;
}

.logo-image {
    width: 300px;
    height: auto;
    margin-left: -35px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-light);
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    margin-top: 60px;
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* SECCÇÕES PADRÃO */
.section-subtitle {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 50px;
}

/* Quem somos */
.about-section {
    background: linear-gradient(135deg, #050b11 0%, #09131d 45%, #0c1f2a 100%);
    padding: 90px 8%;
}

.about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.about-intro-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    padding: 32px;
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(84,165,167,.2);
    box-shadow: 0 30px 70px rgba(2,6,23,.25);
}

.about-intro-copy p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 620px;
}

.about-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.about-pill-row span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(84,165,167,.16);
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 700;
}

.about-visual-card {
    position: relative;
    min-height: 240px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.08);
    background: radial-gradient(circle at top left, rgba(84,165,167,.3), rgba(255,255,255,0.02));
}

.about-visual-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
}

.about-visual-ring {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 2px solid rgba(84,165,167,.45);
    background: rgba(5,11,17,.35);
    text-align: center;
    padding: 18px;
}

.about-visual-ring span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
}

.about-visual-ring small {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 6px;
    line-height: 1.4;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.value-card {
    position: relative;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f3f7fa 100%);
    border: 1px solid rgba(84,168,179,.16);
    box-shadow: 0 24px 60px rgba(15,23,42,.06);
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(84,168,179,.16) 0%, transparent 70%);
    bottom: -40px;
    left: -30px;
}

/* .value-card--focus {
    transform: translateY(-8px);
    border-color: rgba(84,165,167,.35);
    box-shadow: 0 30px 70px rgba(84,165,167,.16);
} */

.value-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(84,165,167,.12);
    color: var(--cyan);
    margin-bottom: 14px;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.value-card p {
    color: #5f6b76;
    line-height: 1.7;
    font-size: 0.95rem;
}

.navbar {
    position: relative;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-light);
}

.mobile-menu-close{
    display: none;
}

.navbar-options {
    display: flex;
    align-items: center;
    gap: 40px;
}

.feedbacks-section {
    padding: 80px 8%;
    background: var(--bg-light);
    border-top: 1px solid rgba(15,23,42,.06);
}

.feedbacks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.feedbacks-nav {
    display: none;
}

.feedback-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(84,165,167,.25);
    border-radius: 50%;
    background: #fff;
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.feedback-arrow:hover {
    background: var(--cyan);
    color: #fff;
}

.feedbacks-track {
    display: flex;
    gap: 16px; /* Espaço fixo e pequeno entre os cartões */
    width: 100%; /* Garante que ocupa a largura total da página */
}

.feedbacks-track::-webkit-scrollbar {
    display: none;
}

.feedback-card {
    background: #fff;
    border: 1px solid rgba(84,165,167,.12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(15,23,42,.06);
    min-height: 380px;
    transition: 0.3s;
    flex: 1; 
    min-width: 0;
}

.feedback-card.is-center {
    transform: none;
    border-color: rgba(84,165,167,.12);
    box-shadow: 0 20px 50px rgba(15,23,42,.06);
}

.feedback-card video {
    width: 100%;
    min-height: 240px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    display: block;
    background: #000;
}

.feedback-card video::-webkit-media-controls-panel,
.feedback-card video::-webkit-media-controls-overlay-play-button {
    background: rgba(0, 0, 0, 0.4);
}

.feedback-card-content {
    padding: 18px 20px 20px;
}

.feedback-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feedback-card-content p {
    font-size: 0.88rem;
    color: #5f6b76;
    line-height: 1.6;
}

/* O QUE FAZEMOS */
.services-section {
    padding: 80px 8%;
    background-color: #ffffff;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

.service-card {
    padding: 45px;
    transition: 0.3s;
    text-align: center;
    /* max-width: 300px; */
    width: 450px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), -12px 12px 25px rgba(0, 0, 0, 0.35);
    border-radius: 15px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 15px;
}

.service-icon img{
    width: 60px;    
    height: auto;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* PARA QUEM TRABALHAMOS */
.target-section {
    background-color: var(--bg-darker);
    padding: 80px 8%;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.target-card {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.target-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 11, 17, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    transition: 0.3s;
    padding: 10px;
    text-align: center;
}

.target-overlay span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.target-card:hover .target-overlay {
    background: rgba(84, 165, 167, 0.85);    
    color: var(--text-light);
}

/* PROJECTOS */
.projects-section {
    padding: 80px 8%;
    background-color: var(--bg-light);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.btn-projects-outline {
    border: 1px solid #ccc;
    color: #555;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}
.btn-projects-outline:hover { background: #eee; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.project-card {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    opacity: 0.8;
    display: block;
    transition: 0.3s;
}

.project-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--text-light);
}

.project-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.project-info p {
    font-size: 0.75rem;
    color: var(--cyan);
}

.project-card:hover img {
    opacity: 0.5;
    transform: scale(1.03);
}

/* CONTACT + CTA UNIFIED SECTION */
.contact-cta-section {
    background-color: var(--bg-dark);
    padding: 80px 8%;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-cta-header {
    margin-bottom: 50px;
}

.contact-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: min(100%, 620px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.05);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background-color: rgba(63,195,206,0.1);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cta-highlight {
    background: linear-gradient(135deg, rgba(63,195,206,0.1) 0%, rgba(63,195,206,0.05) 100%);
    border: 1px solid rgba(63,195,206,0.2);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cta-content h3 {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-highlight-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.cta-highlight-buttons a {
    text-align: center;
    padding: 12px 24px;
}

/* PAGE LOADER */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #54a5a7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loader-content {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.loader-logo {
    display: inline-block;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    opacity: 0.95;
}

#page-loader.fade-out {
    animation: loader-fade 0.8s ease-in-out forwards;
}

@keyframes loader-fade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.08); }
}

.hero-typing {
    min-height: 8rem;
}

.typing-line {
    display: inline-block;
    white-space: pre;
    position: relative;
}

.typing-line.active::after {
    content: '|';
    position: absolute;
    right: -12px;
    color: #fff;
    animation: blink-cursor 0.8s step-start infinite;
}

@keyframes blink-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

#page-loader.loading {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

body.loading {
    overflow: hidden;
}

.loader-diamonds span {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.45);
    transform: rotate(45deg) scale(0.7);
    border-radius: 6px;
    opacity: 0.75;
    animation: loader-diamond 1.6s ease-in-out infinite;
}

@keyframes loader-diamond {
    0%, 100% { opacity: 0.5; transform: rotate(45deg) scale(0.7); }
    50% { opacity: 1; transform: rotate(45deg) scale(1); }
}

.scroll-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-section:nth-of-type(1).visible { transition-delay: 0.1s; }
.scroll-section:nth-of-type(2).visible { transition-delay: 0.15s; }
.scroll-section:nth-of-type(3).visible { transition-delay: 0.2s; }
.scroll-section:nth-of-type(4).visible { transition-delay: 0.25s; }

@media (max-width: 768px) {
    .contact-cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-highlight {
        padding: 30px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* CTA BANNER PRE-FOOTER */
.cta-banner {
    background-color: var(--bg-dark);
    padding: 50px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cta-text h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 800;
}

.cta-actions {
    text-align: right;
}

.cta-actions p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-outline-white {
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* FOOTER */
footer {
    background-color: var(--bg-darker);
    color: var(--text-muted);
    padding: 60px 8% 20px 8%;
    font-size: 0.85rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo-text {
    margin-bottom: 15px;
    display: inline-block;
}

.footer-container h3 {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--text-light); }

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--cyan);
    margin-top: 3px;
}

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

.social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: var(--cyan);
    color: var(--bg-dark);
    border-color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.75rem;
}

/* ========================= */
/* WHATSAPP FLOAT BUTTON */
/* ========================= */
.whatsapp-float{
  position:fixed;
  right:25px;
  bottom:25px;

  width:65px;
  height:65px;

  background:#25D366;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 10px 30px rgba(0,0,0,.15);

  z-index:999;

  transition:.3s;
}

.whatsapp-float img{
  width:34px;
  height:34px;
}

.whatsapp-float:hover{
  transform:translateY(-5px) scale(1.05);

  box-shadow:0 20px 40px rgba(37,211,102,.35);
}

/* ========================= */
/* PORTFOLIO PAGE STYLES */
/* ========================= */

/* Portfolio Full Page */
.portfolio-full-page {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

/* Portfolio Header */
.portfolio-header {
    padding: 100px 8% 80px 8%;
    text-align: center;
}

.portfolio-header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
    letter-spacing: -1px;
}

.portfolio-header-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Portfolio List */
.portfolio-list {
    padding: 0 8% 80px 8%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Portfolio Item Expanded */
.portfolio-item-expanded {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(84, 165, 167, 0.1);
    transition: 0.3s;
}

.portfolio-item-expanded:hover {
    border-color: rgba(84, 165, 167, 0.3);
    background: rgba(255,255,255,0.04);
}

/* Portfolio Item Header */
.portfolio-item-header {
    display: flex;
    align-items: center;
    padding: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.portfolio-item-header:hover {
    background: rgba(84, 165, 167, 0.05);
}

.portfolio-item-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-right: 40px;
    min-width: 50px;
}

.portfolio-item-left {
    flex: 1;
}

.portfolio-item-left h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.portfolio-item-left .portfolio-services {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.portfolio-item-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(84, 165, 167, 0.15);
    border-radius: 50%;
    color: var(--cyan);
    transition: 0.3s;
    margin-left: 20px;
}

.portfolio-item-arrow i {
    font-size: 1.1rem;
    transition: 0.3s transform;
}

.portfolio-item-expanded.active .portfolio-item-arrow i {
    transform: rotate(180deg);
}

/* Portfolio Item Details */
.portfolio-item-details {
    display: none;
    padding: 0 40px 40px 40px;
    border-top: 1px solid rgba(84, 165, 167, 0.1);
    animation: expandItem 0.3s ease-out;
}

@keyframes expandItem {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item-expanded.active .portfolio-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-top: 40px;
}

/* Portfolio Gallery Carousel */
.portfolio-gallery-carousel {
    width: 100%;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 6px;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.carousel-image.active {
    opacity: 1;
}

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

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(84, 165, 167, 0.2);
    border: 1px solid rgba(84, 165, 167, 0.4);
    color: var(--cyan);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.carousel-btn:hover {
    background-color: rgba(84, 165, 167, 0.4);
    border-color: var(--cyan);
}

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

/* Portfolio Details Info */
.portfolio-details-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.detail-section h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0;
}

.detail-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Portfolio CTA Section */
.portfolio-cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 80px 8%;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.portfolio-cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
    letter-spacing: -1px;
}

.portfolio-cta-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.portfolio-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Home Float Button */
.home-float {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    background: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 998;
    transition: 0.3s;
    color: var(--text-dark);
    font-size: 1.5rem;
    text-decoration: none;
}

.home-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(84, 165, 167, 0.35);
}

/* Responsive Portfolio */
@media (max-width: 1024px) {
    .portfolio-header {
        padding: 80px 6% 60px 6%;
    }

    .portfolio-header-content h1 {
        font-size: 2.8rem;
    }

    .portfolio-list {
        padding: 0 6% 60px 6%;
    }

    .portfolio-item-expanded.active .portfolio-item-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .carousel-wrapper {
        height: 300px;
    }

    .portfolio-cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .portfolio-header {
        padding: 60px 4% 40px 4%;
    }

    .portfolio-header-content h1 {
        font-size: 2rem;
    }

    .portfolio-header-content p {
        font-size: 1rem;
    }

    .portfolio-list {
        padding: 0 4% 50px 4%;
    }

    .portfolio-item-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        gap: 15px;
    }

    .portfolio-item-number {
        margin-right: 0;
    }

    .portfolio-item-arrow {
        align-self: flex-end;
        margin-left: 0;
    }

    .portfolio-item-left h3 {
        font-size: 1.4rem;
    }

    .portfolio-item-left .portfolio-services {
        font-size: 0.85rem;
    }

    .portfolio-item-expanded.active .portfolio-item-details {
        padding: 25px;
        padding-top: 25px;
    }

    .carousel-wrapper {
        height: 250px;
    }

    .carousel-container {
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .portfolio-details-info {
        padding: 0;
    }

    .detail-section {
        margin-bottom: 20px;
    }

    .detail-section h4 {
        font-size: 1.2rem;
    }

    .detail-text {
        font-size: 0.9rem;
    }

    .portfolio-cta-section {
        padding: 60px 4%;
    }

    .portfolio-cta-content h2 {
        font-size: 1.8rem;
    }

    .portfolio-cta-content p {
        font-size: 0.95rem;
    }

    .portfolio-cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .portfolio-cta-actions a {
        width: 100%;
    }

    .home-float {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        right: 25px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}