/* === GOOGLE ADS SPECIFIC STYLES === */

/* === HERO SECTION IMAGE STYLES === */
.hero-image {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px 20px 20px;
}

.overlay-content {
    text-align: center;
}

.overlay-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* === EXPLANATION SECTION IMAGE STYLES === */
.visual-image {
    text-align: center;
    margin-bottom: 20px;
}

.google-ads-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.google-ads-logo:hover {
    transform: scale(1.1);
}

/* === WHAT IS GOOGLE ADS - TITLE SIZE === */
.what-is-google-ads .section-header .small-caps {
    font-size: 1.25rem; /* larger than global 0.9rem */
}

/* === WHAT IS GOOGLE ADS SECTION STYLES (scoped) === */
.what-is-google-ads {
    padding: 100px 0;
}

.what-is-google-ads .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.what-is-google-ads .section-header h2 {
    margin: 10px 0 20px;
}

.what-is-google-ads .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.explanation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

.explanation-content h3 {
    color: var(--dark-teal);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.explanation-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.ads-types h4 {
    color: var(--dark-teal);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.type-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.type-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.type-card h5 {
    color: var(--dark-teal);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.type-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.explanation-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    max-width: 500px;
    width: 100%;
}

.visual-card h4 {
    color: var(--dark-teal);
    font-size: 1.6rem;
    margin-bottom: 30px;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item h5 {
    color: var(--dark-teal);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.what-is-google-ads .section-cta {
    text-align: center;
    margin-top: 50px;
}

.what-is-google-ads .section-cta p {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Responsive adjustments for explanation layout */
@media (max-width: 1024px) {
    .explanation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .type-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .explanation-grid {
        gap: 30px;
    }
    .visual-card {
        padding: 30px 20px;
    }
    .type-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    .type-card {
        padding: 20px 18px;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }
    .type-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    .type-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    .type-card h5 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        color: var(--dark-teal);
        line-height: 1.3;
    }
    .type-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-light);
        margin: 0;
    }
    .benefits-list {
        gap: 20px;
    }
    .benefit-item {
        gap: 12px;
        align-items: flex-start;
    }
    .benefit-icon {
        font-size: 1.6rem;
        margin-top: 2px;
        flex-shrink: 0;
    }
    .benefit-item h5 {
        font-size: 1rem;
        margin-bottom: 4px;
        color: var(--dark-teal);
    }
    .benefit-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-light);
        margin: 0;
    }
}

/* === TEAM SECTION STYLES (scoped) === */
.team-section {
    padding: 60px 0;
    background: var(--white);
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
}
/* === MODERN TEAM REDESIGN (scoped to .modern-team) === */
.modern-team .team-header {
    text-align: center;
    margin-bottom: 48px;
}

.team-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.member-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px 20px 28px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    overflow: hidden;
    border: 6px solid var(--light-bg);
    box-shadow: inset 0 0 0 2px var(--white), 0 8px 30px rgba(0,0,0,0.08);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    color: var(--dark-teal);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 8px 0 6px 0;
}

.member-role-accent {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    background: rgba(251, 77, 23, 0.08);
    border: 1px solid rgba(251, 77, 23, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.member-bio {
    color: var(--text-dark);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .team-modern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .member-avatar {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .team-modern-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .member-card {
        padding: 20px 16px 22px 16px;
        border-radius: 16px;
    }
    .member-avatar {
        width: 180px;
        height: 180px;
        border-width: 5px;
    }
    .member-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* === FAQ SECTION STYLES (scoped) === */
#faq.faq-section {
    padding: 60px 0;
    background: var(--white);
}

/* === RESPONSIVE STYLES FOR NEW PERSONAL IMAGES === */

/* Tablet Styles (768px - 968px) */
@media (max-width: 968px) {
    /* Hero Image */
    .hero-img {
        height: 350px;
    }
    
    .overlay-text {
        font-size: 1rem;
    }
    
    /* Process Step Images */
    .step-img {
        width: 50px;
        height: 50px;
    }
    
    /* Feature Images */
    .feature-img {
        width: 45px;
        height: 45px;
    }
    
    /* Case Study Images */
    .case-img {
        width: 60px;
        height: 60px;
    }
    
    /* Partner Badge */
    .partner-badge {
        width: 80px;
        height: 80px;
    }
    
    /* MKB Logo */
    .mkb-logo {
        width: 70px;
        height: 70px;
    }

    .member-overlay .social-links {
        display: none;
    }
}

/* Mobile Styles (480px - 768px) */
@media (max-width: 768px) {
    /* Hero Image */
    .hero-img {
        height: 300px;
    }

    #cases {
        padding-bottom: 0;
    }
    
    .hero-image-overlay {
        padding: 20px 15px 15px;
    }
    
    .overlay-text {
        font-size: 0.9rem;
    }

    /* Reorder cases section elements on mobile */
    #cases .container {
        display: flex;
        flex-direction: column;
    }
    #cases .section-header {
        order: 1;
    }
    #cases .cases-grid {
        order: 2;
    }
    #cases .cases-cta {
        order: 3;
        margin-bottom: 40px;
    }
    #cases .cases-stats {
        order: 4;
    }

    .team-section {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* Process Step Images */
    .step-image {
        margin-bottom: 10px;
    }
    
    .step-img {
        width: 45px;
        height: 45px;
    }
    
    /* Feature Images */
    .feature-image {
        margin-bottom: 10px;
    }
    
    .feature-img {
        width: 40px;
        height: 40px;
    }
    
    /* Case Study Images */
    .case-image {
        margin-bottom: 10px;
    }
    
    .case-img {
        width: 55px;
        height: 55px;
    }
    
    /* Partner Badge */
    .partner-badge {
        width: 70px;
        height: 70px;
    }
    
    /* MKB Logo */
    .mkb-logo {
        width: 60px;
        height: 60px;
    }
    
    /* Google Ads Logo */
    .google-ads-logo {
        width: 60px;
        height: 60px;
    }

    .member-overlay .social-links {
        display: none;
    }
}

/* Small Mobile Styles (320px - 480px) */
@media (max-width: 480px) {
    /* Hero Image */
    .hero-img {
        height: 250px;
    }
    
    .hero-image-overlay {
        padding: 15px 10px 10px;
    }
    
    .overlay-text {
        font-size: 0.8rem;
    }
    
    /* Process Step Images */
    .step-img {
        width: 40px;
        height: 40px;
    }
    
    /* Feature Images */
    .feature-img {
        width: 35px;
        height: 35px;
    }
    
    /* Case Study Images */
    .case-img {
        width: 50px;
        height: 50px;
    }
    
    /* Partner Badge */
    .partner-badge {
        width: 60px;
        height: 60px;
    }
    
    /* MKB Logo */
    .mkb-logo {
        width: 50px;
        height: 50px;
    }
    
    /* Google Ads Logo */
    .google-ads-logo {
        width: 50px;
        height: 50px;
    }
}

/* Extra Small Mobile Styles (max-width: 320px) */
@media (max-width: 320px) {
    /* Hero Image */
    .hero-img {
        height: 200px;
    }
    
    .overlay-text {
        font-size: 0.75rem;
    }
    
    /* Process Step Images */
    .step-img {
        width: 35px;
        height: 35px;
    }
    
    /* Feature Images */
    .feature-img {
        width: 30px;
        height: 30px;
    }
    
    /* Case Study Images */
    .case-img {
        width: 45px;
        height: 45px;
    }
    
    /* Partner Badge */
    .partner-badge {
        width: 50px;
        height: 50px;
    }
    
    /* MKB Logo */
    .mkb-logo {
        width: 45px;
        height: 45px;
    }
    
    /* Google Ads Logo */
    .google-ads-logo {
        width: 45px;
        height: 45px;
    }
}

/* === TIMELINE SECTION === */
.timeline-section {
    padding: 30px 0 40px 0;
    background: linear-gradient(to bottom, var(--light-bg), var(--white));
}

.timeline-header {
    text-align: center;
    margin-bottom: 35px;
}

.timeline-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-teal);
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange), var(--dark-teal));
    transform: translateX(-50%);
}

.timeline-items {
    position: relative;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: white;
    border: 4px solid var(--orange);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -12.5px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--dark-teal);
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 17.5px;
        right: auto;
    }

    .timeline-item:nth-child(even)::after {
        left: 17.5px;
    }
}



