/* =============================================
   CLIENT REVAMP - SC International
   Clean, responsive, professional
   ============================================= */

/* ===== 1. LOGO – no white background ===== */
.nav-logo {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    mix-blend-mode: normal;
}

/* ===== 3. TICKER BAR (running text, above hero, half size) ===== */
.ticker-bar {
    background: #e53e3e;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 0;
    margin-top: 70px; /* offset fixed navbar */
}

.ticker-track {
    display: inline-block;
    animation: ticker 40s linear infinite;
    white-space: nowrap;
}

.ticker-track span {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 0.6rem;
}

.ticker-track .sep {
    color: rgba(255,255,255,0.6);
    font-size: 0.6rem;
    padding: 0;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero sits right below ticker, no extra margin */
.hero-rrd {
    margin-top: 0 !important;
}

/* ===== 5. SERVICE CARDS – blue, compact, no icons ===== */
.sc-services {
    padding: 4rem 0;
    background: #f8fafc;
}

.sc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.sc-card {
    display: block;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #fff;
    padding: 1.4rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(26,54,93,0.25);
}

.sc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26,54,93,0.35);
    color: #fff;
}

.sc-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.sc-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.82);
    margin: 0;
}

/* ===== FEATURED PROJECTS ===== */
.sc-projects {
    padding: 4rem 0;
    background: #fff;
}

.sc-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.sc-project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.sc-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

/* 7 & 8: images NOT cropped */
.sc-project-img {
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 200px;
}

.sc-project-img img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    display: block;
}

.sc-project-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sc-project-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.sc-project-body p {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.sc-btn-outline {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 2px solid #1a365d;
    color: #1a365d;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.sc-btn-outline:hover {
    background: #1a365d;
    color: #fff;
}

/* ===== 9. AWARDS – image NOT cropped ===== */
.sc-awards {
    padding: 4rem 0;
    background: #f8fafc;
}

.sc-awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2.5rem;
}

.sc-awards-img img {
    width: 100%;
    height: auto;
    object-fit: contain;   /* no crop */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sc-awards-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a365d;
    margin: 1.25rem 0 0.75rem;
}

.sc-awards-text p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.7;
}

.sc-cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sc-cert-list li {
    font-size: 0.88rem;
    color: #2d3748;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid #e2e8f0;
}

.sc-cert-list li:last-child { border-bottom: none; }

.sc-cert-list .fa-check-circle {
    color: #38a169;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ===== 10-13. CONTACT – Google Maps, no fax, global offices simple ===== */
.sc-contact {
    padding: 4rem 0;
    background: #fff;
}

.sc-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2.5rem;
}

.sc-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-height: 380px;
}

.sc-map iframe {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
}

.sc-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sc-office h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sc-office h3 i { color: #e53e3e; }

.sc-office p {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sc-office p i {
    color: #718096;
    width: 14px;
    flex-shrink: 0;
}

.sc-office a {
    color: #2b6cb0;
    text-decoration: none;
}

.sc-office a:hover { text-decoration: underline; }

.sc-btn-primary {
    display: inline-block;
    background: #e53e3e;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

.sc-btn-primary:hover {
    background: #c53030;
    transform: translateY(-2px);
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sc-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ticker-bar {
        margin-top: 76px; /* navbar height 60px + navbar padding 0.5rem*2 = 76px */
        padding: 8px 0;  /* slightly more vertical room for text */
    }

    .sc-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-projects-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .sc-awards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sc-contact-grid {
        grid-template-columns: 1fr;
    }

    .sc-map {
        min-height: 280px;
    }

    .sc-map iframe {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .sc-services-grid {
        grid-template-columns: 1fr;
    }

    .sc-card {
        padding: 1.1rem 1.2rem;
    }
}

/* ===== Hero buttons centered on mobile ===== */
@media (max-width: 768px) {
    .hero-rrd-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        gap: 1rem !important;
    }

    .hero-rrd-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* ===== CTA buttons centered on mobile ===== */
@media (max-width: 768px) {
    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        gap: 1rem !important;
    }

    .cta-buttons .btn-outline-white {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
    }
}

/* ===== Hero buttons centered on desktop ===== */
@media (min-width: 769px) {
    .hero-rrd {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 2rem !important;
    }

    .hero-rrd-buttons {
        position: static !important;
        transform: none !important;
        display: flex !important;
        gap: 1.5rem !important;
        justify-content: center !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* ===== Hero buttons mobile fix ===== */
@media (max-width: 768px) {
    .hero-rrd {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    .hero-rrd-content {
        text-align: center !important;
        width: 100% !important;
    }

    .hero-rrd-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 320px !important;
        gap: 1rem !important;
        margin: 0 auto !important;
    }

    .hero-rrd-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* ===== Card image → heading gap (mobile) ===== */
@media (max-width: 768px) {
    .card-image {
        margin-bottom: 15px !important;
    }
}
