/* Portfolio Hero Section 1 - Large Text with Profile Image */
.portfolio-hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero-container {
    max-width: 1400px;
    width: 100%;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top Left Description */
.hero-description {
    position: absolute;
    top: 50px;
    left: 60px;
    max-width: 380px;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin: 0;
}

.hero-description strong {
    font-weight: 700;
    color: #000;
}

/* Large Portfolio Text Background */
.portfolio-text-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    z-index: 1;
    user-select: none;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.5s forwards;
}

.text-solid {
    color: #010080;
    /* Navy blue */
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 3px #010080;
    text-stroke: 3px #010080;
}

/* Center Profile Image */
.hero-profile-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 450px;
    height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    animation: fadeInScale 1s ease-out 0.7s forwards;
}

.hero-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Bottom Right Name & Title */
.hero-name-title {
    position: absolute;
    bottom: 80px;
    right: 60px;
    text-align: right;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-name-title h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #000;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.hero-name-title p {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin: 0;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .portfolio-text-bg {
        font-size: clamp(5rem, 12vw, 10rem);
    }

    .hero-profile-image {
        width: 380px;
        height: 520px;
    }

    .hero-description {
        left: 40px;
        max-width: 320px;
    }

    .hero-name-title {
        right: 40px;
    }
}

@media (max-width: 968px) {
    .portfolio-hero-section {
        padding: 80px 20px 40px;
    }

    .portfolio-hero-container {
        min-height: 600px;
    }

    .portfolio-text-bg {
        font-size: clamp(4rem, 10vw, 8rem);
    }

    .text-outline {
        color: transparent;
        -webkit-text-stroke: 2px #010080;
        text-stroke: 2px #010080;
    }

    .hero-profile-image {
        width: 320px;
        height: 450px;
    }

    .hero-description {
        top: 30px;
        left: 20px;
        right: 20px;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-description p {
        font-size: 0.95rem;
    }

    .hero-name-title {
        bottom: 40px;
        right: 20px;
        left: 20px;
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-name-title h1 {
        font-size: 1.4rem;
    }

    .hero-name-title p {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .portfolio-text-bg {
        font-size: clamp(3rem, 12vw, 5rem);
        top: 45%;
    }

    .hero-profile-image {
        width: 250px;
        height: 380px;
        top: 48%;
    }

    .hero-description {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
    }

    .hero-name-title {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

    .portfolio-hero-container {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
        min-height: auto;
    }
}

/* New Portfolio Page Styles */

/* Portfolio Hero Section */
.portfolio-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M0 0h80v80H0z" fill="%23ffffff" fill-opacity="0.03"/><circle cx="10" cy="10" r="1" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    opacity: 0.5;
}

.portfolio-hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.portfolio-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-blue-dark);
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: none;
}

.portfolio-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.hero-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.hero-profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.hero-profile-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.profile-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.profile-title {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Portfolio Sections */
.portfolio-section {
    padding: 80px 0;
}

.section-title-portfolio {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-subtitle-portfolio {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Experience Logos */
.experience-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.logo-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(1, 0, 128, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(1, 0, 128, 0.15);
    border-color: var(--primary-color);
}

.logo-badge {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-type {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

/* Impact Highlights */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.impact-card {
    background: white;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(1, 0, 128, 0.1);
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(1, 0, 128, 0.2);
}

.impact-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), #0047AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.impact-label {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

/* Work Samples Grid */
.work-samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.work-sample-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.work-sample-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(1, 0, 128, 0.15);
}

.sample-placeholder {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    padding: 60px 30px;
    text-align: center;
    position: relative;
}

.creative-sample {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.sample-tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    position: absolute;
    top: 20px;
    right: 20px;
}

.creative-sample h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.creative-sample p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Google Ads Showcase */
.google-ads-showcase {
    background: white;
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    margin-top: 50px;
}

.google-ads-showcase h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.ads-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.ads-features li {
    padding: 15px 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.ads-features li:last-child {
    border-bottom: none;
}

.ads-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.metric-item {
    text-align: center;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 15px;
}

.metric-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 8px;
}

.metric-item span {
    color: #666;
    font-size: 0.95rem;
}

/* Social Media Grid */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.social-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(1, 0, 128, 0.1);
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(1, 0, 128, 0.15);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.social-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.social-card p {
    color: #666;
    line-height: 1.7;
}

/* Zero-Cost Content */
.zero-cost-content {
    max-width: 1000px;
    margin: 50px auto 0;
}

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.strategy-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(1, 0, 128, 0.12);
}

.strategy-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.strategy-card p {
    color: #666;
    line-height: 1.7;
}

.zero-cost-results {
    background: linear-gradient(135deg, var(--primary-color), #0047AB);
    color: white;
    border-radius: 20px;
    padding: 50px;
}

.zero-cost-results h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.zero-cost-results ul {
    list-style: none;
    padding: 0;
}

.zero-cost-results li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.zero-cost-results li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
}

.zero-cost-results li:last-child {
    border-bottom: none;
}

/* Portfolio CTA */
.portfolio-cta {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 100px 0;
}

.portfolio-cta h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-main-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .portfolio-subtitle {
        font-size: 1rem;
    }

    .hero-profile-badge {
        flex-direction: column;
        text-align: center;
    }

    .hero-profile-text {
        align-items: center;
    }

    .section-title-portfolio {
        font-size: 2rem;
    }

    .experience-logos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .impact-number {
        font-size: 2.5rem;
    }

    .google-ads-showcase {
        padding: 40px 30px;
    }

    .zero-cost-results {
        padding: 30px;
    }

    h3 {
        font-size: 1.25rem;
    }

    .glass-card {
        padding: 24px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Scroll Animation Class */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}