/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0369A1;
    --primary-dark: #075985;
    --primary-light: #0EA5E9;
    --secondary-color: #0C4A6E;
    --hero-bg: url("../images/backgrounds/DJI_0731-hero.jpg");
    --page-hero-bg: url("../images/backgrounds/oceanauta-bg-04.jpg");
    --services-bg: url("../images/backgrounds/oceanauta-bg-02.jpg");
    --cta-bg: url("../images/backgrounds/oceanauta-bg-03.jpg");
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: clamp(38px, 3.6vw, 54px);
    width: auto;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo h1,
.logo-title {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: clamp(0.6rem, 0.9vw, 0.75rem);
    color: var(--text-light);
    margin-top: -1px;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.6rem 0;
    }
}

@media (max-width: 520px) {
    .logo-image {
        height: 36px;
        width: auto;
    }
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: 50% 40%;
    background-repeat: no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 20, 40, 0.35) 0%,
        rgba(0, 20, 40, 0.2) 40%,
        rgba(0, 20, 40, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
    margin-bottom: 3.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.6;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* Wave animation at bottom of hero */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-waves .waves {
    width: 100%;
    height: 80px;
    min-height: 40px;
    max-height: 100px;
    display: block;
}

.hero-waves .parallax > use {
    animation: waveMove 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.hero-waves .parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.hero-waves .parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.hero-waves .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.hero-waves .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes waveMove {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

@media (max-width: 768px) {
    .hero-waves .waves {
        height: 50px;
        min-height: 30px;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-block {
    width: 100%;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-image:
        linear-gradient(180deg, rgba(226, 235, 244, 0.92) 0%, rgba(220, 232, 244, 0.88) 50%, rgba(226, 235, 244, 0.92) 100%),
        var(--services-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(234, 246, 255, 0.9) 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(2px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(2, 8, 20, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
}

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

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    gap: 1rem;
}

/* Service Card Link */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card .service-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-more {
    gap: 0.8rem;
}

/* Service Detail Page */
.service-detail {
    padding: 4rem 0;
    background: var(--bg-white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.service-detail-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.service-detail-main h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-detail-list li {
    padding: 0.85rem 0;
    padding-left: 2rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.service-detail-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
    top: 0.85rem;
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.service-detail-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: 12px;
}

.service-detail-cta h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-detail-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-detail-nav {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.service-detail-nav h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-detail-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-detail-nav ul li {
    border-bottom: 1px solid var(--border-color);
}

.service-detail-nav ul li:last-child {
    border-bottom: none;
}

.service-detail-nav ul li a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.service-detail-nav ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.service-portfolio {
    padding: 4rem 0;
    background: var(--bg-light);
}

/* Service detail animations */
.service-detail-main,
.service-detail-sidebar,
.service-portfolio .section-header,
.service-portfolio .portfolio-grid {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.service-detail-main.animate-in,
.service-detail-sidebar.animate-in,
.service-portfolio .section-header.animate-in,
.service-portfolio .portfolio-grid.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-detail-sidebar {
    transition-delay: 0.2s;
}

.service-detail-list li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-detail-list li.animate-in {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-sidebar {
        position: static;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.about-header-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.08), rgba(14, 165, 233, 0.12));
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.5rem;
}

.about-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
}

.about-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(3, 105, 161, 0.3);
    text-align: center;
    min-width: 140px;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-label {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.95;
    line-height: 1.3;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin: 0;
}

.credentials-grid {
    display: grid;
    gap: 1rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.credential-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.credential-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.credential-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-team {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.about-team-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.about-team-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-member:hover {
    background: white;
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(3, 105, 161, 0.1);
}

.team-member-avatar {
    position: relative;
    flex-shrink: 0;
}

.team-member-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member-info {
    flex: 1;
}

.team-member-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.team-member-role {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }

    .about-header {
        margin-bottom: 3rem;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-badge {
        bottom: -15px;
        right: -15px;
        padding: 1.25rem 1.5rem;
        min-width: 120px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-label {
        font-size: 0.8rem;
    }

    .about-team {
        padding: 2rem 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        padding: 1.25rem;
    }
}

/* Clients Section */
.clients {
    padding: 4rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    transition: all 0.3s ease;
}

.client-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.client-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Portfolio CTA Section */
.portfolio-cta {
    position: relative;
    padding: 5rem 0;
    background-image:
        linear-gradient(135deg, rgba(3, 105, 161, 0.95), rgba(7, 89, 133, 0.92)),
        var(--cta-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.portfolio-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(3, 105, 161, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.portfolio-cta-content {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
    color: white;
    z-index: 1;
}

.portfolio-cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.portfolio-cta-icon svg {
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

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

.portfolio-cta-text {
    flex: 1;
}

.portfolio-cta-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 1rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.portfolio-cta-text > p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 2rem;
    opacity: 0.95;
    max-width: 680px;
}

.portfolio-cta-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.portfolio-cta-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.portfolio-cta-stat .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-cta-stat .stat-label {
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
}

.portfolio-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.btn-portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-portfolio-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    gap: 1rem;
}

.btn-portfolio-cta svg {
    transition: transform 0.3s ease;
}

.btn-portfolio-cta:hover svg {
    transform: translateX(4px);
}

.portfolio-cta-subtext {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.85;
    font-weight: 500;
    text-align: right;
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .client-logo {
        height: 80px;
        padding: 0.75rem;
    }

    .client-logo img {
        max-height: 50px;
    }

    .portfolio-cta {
        padding: 3.5rem 0;
        background-attachment: scroll;
    }

    .portfolio-cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .portfolio-cta-icon {
        margin: 0 auto;
        width: 70px;
        height: 70px;
    }

    .portfolio-cta-icon svg {
        width: 48px;
        height: 48px;
    }

    .portfolio-cta-text h2 {
        font-size: 1.75rem;
    }

    .portfolio-cta-text > p {
        font-size: 1rem;
        max-width: 100%;
    }

    .portfolio-cta-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .portfolio-cta-stat {
        text-align: center;
    }

    .portfolio-cta-stat .stat-number {
        font-size: 1.5rem;
    }

    .portfolio-cta-stat .stat-label {
        font-size: 0.8rem;
    }

    .portfolio-cta-action {
        align-items: center;
    }

    .portfolio-cta-subtext {
        text-align: center;
    }

    .btn-portfolio-cta {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.95rem 1.75rem;
    }
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: var(--bg-light);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 3.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.cta-text {
    flex: 1;
}

.cta-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}

.cta-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
    max-width: 560px;
    line-height: 1.7;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(3, 105, 161, 0.2);
    gap: 0.85rem;
}

.btn-cta-secondary svg {
    transition: transform 0.3s ease;
}

.btn-cta-secondary:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .cta {
        padding: 3rem 0;
    }

    .cta-content {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding: 2.5rem 2rem;
        text-align: center;
    }

    .cta-text h3 {
        font-size: 1.5rem;
    }

    .cta-text p {
        font-size: 1rem;
        max-width: 100%;
    }

    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    color: white;
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Page Hero (for internal pages) */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-image: var(--page-hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.page-hero .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 20, 40, 0.5) 0%,
        rgba(0, 20, 40, 0.3) 40%,
        rgba(0, 20, 40, 0.55) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.page-hero-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease both;
}

.page-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.15s both;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.portfolio-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-item-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

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

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

.portfolio-item-content {
    padding: 1.5rem;
}

.portfolio-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-item-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Portfolio Modal */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.portfolio-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
}

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

.portfolio-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.portfolio-modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.portfolio-modal-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
}

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

.portfolio-modal-body {
    padding: 2.5rem;
}

.portfolio-modal-category {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--primary-light);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.portfolio-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.portfolio-modal-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.portfolio-modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.portfolio-modal-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portfolio-modal-detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-modal-detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.portfolio-modal-actions {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-list.active {
        left: 0;
    }

    .hero {
        padding: 6rem 1rem 4rem;
        min-height: 80vh;
        background-position: 75% 40%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .page-hero {
        min-height: 50vh;
        padding-top: 80px;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-modal-content {
        margin: 1rem;
        max-height: 95vh;
    }

    .portfolio-modal-image {
        height: 250px;
    }

    .portfolio-modal-body {
        padding: 1.5rem;
    }

    .portfolio-modal-title {
        font-size: 1.5rem;
    }

    .portfolio-modal-details {
        grid-template-columns: 1fr;
    }

    .portfolio-modal-actions {
        flex-direction: column;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
