/* 
   CV Duta Sarana Bersama
   Style Sheet
   Theme: Navy Blue, Concrete Grey, Safety Yellow
*/

:root {
    /* Colors */
    --primary-color: #0d253f;
    /* Deep Navy Blue */
    --secondary-color: #6c757d;
    /* Concrete Grey */
    --accent-color: #FFD700;
    /* Safety Yellow / Gold */
    --accent-hover: #ffc107;
    --text-dark: #333333;
    --text-light: #f8f9fa;
    --white: #ffffff;
    --bg-light: #f4f6f8;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: --font-body;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-white {
    color: var(--white);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 0 30px 0;
}

.divider.center {
    margin: 0 auto 30px auto;
}

.divider.white {
    background-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.full-width {
    width: 100%;
}

/* Header & Navbar */
.header {
    background-color: rgba(13, 37, 63, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100%;
    padding: 0 50px;
    /* Increase padding for better visual balance on edges */
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

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

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

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 37, 63, 0.9), rgba(13, 37, 63, 0.4));
}

.hero-content {
    color: var(--white);
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-title .accent {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

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

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

/* About Section */
.about {
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-desc {
    margin-bottom: 30px;
    font-size: 1.05rem;
    text-align: justify;
}

.advantages-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.advantages-list .icon {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
}

.about-image {
    min-height: 300px;
    height: 100%;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: bold;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: #ddd;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-content p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 37, 63, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--accent-color);
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    color: var(--text-dark);
    align-self: flex-start;
    /* Prevent stretching */
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

.error-msg {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.error .error-msg {
    display: block;
}

/* Footer */
.footer {
    background-color: #081a2f;
    /* Darker Navy */
    color: #adb5bd;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        /* Reduced padding */
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        /* Slightly wider */
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

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

    .nav-link {
        font-size: 1.2rem;
    }

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

    /* Fix Contact Wrapper Layout and Map */
    .contact-wrapper {
        flex-direction: column;
    }

    .map-container iframe {
        width: 100%;
        /* Force full width on mobile */
        height: 300px;
    }

    /* Fix Stats layout */
    .stats-container {
        gap: 20px;
    }

    .stat-item {
        width: 45%;
    }

    /* Adjust floating buttons position to not overlap */
    .wa-float {
        bottom: 80px;
        /* Move up slightly */
    }

    .back-to-top {
        bottom: 80px;
        /* Align with WA button */
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* --- New Features Styles --- */

/* Statistics Section */
.stats {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Service Icon Placeholders */
.icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background-color: #e9ecef;
    color: var(--primary-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
}

.client-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Clients/Partners */
.clients {
    background-color: var(--white);
    padding: 50px 0;
}

.clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    opacity: 0.7;
}

.client-logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #ccc;
    border: 2px dashed #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    user-select: none;
}

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.wa-float img {
    width: 35px;
    height: 35px;
}

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

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation: slideIn 0.3s;
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin: 20px 0;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

/* --- Final Polish Features --- */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Positioned left to avoid WA button */
    padding: 10px 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    /* Hidden by default */
    z-index: 1000;
    font-size: 1.2rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Portfolio Filter */
.portfolio-filter {
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
}

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

.project-item {
    transition: all 0.3s ease;
}

.project-item.hide {
    display: none;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 15px;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust based on content */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Operational Hours & Enhanced Footer --- */
.footer-content-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    text-align: left;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.footer-hours {
    flex: 1;
    min-width: 300px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-indicator {
    margin-top: 10px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: bold;
}

.status-open {
    background-color: #2ecc71;
    color: white;
}

.status-closed {
    background-color: #e74c3c;
    color: white;
}

.status-closing-soon {
    background-color: #f1c40f;
    color: #333;
}

.mb-0 {
    margin-bottom: 2px;
}

/* Updated Copyright Alignment */
.copyright {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-content-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo,
    .footer-hours {
        width: 100%;
    }

    .hours-list li {
        justify-content: center;
        gap: 20px;
    }
}


/* --- New Feature Sections --- */

/* Legality Section */
.legality {
    background-color: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}

.legality-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.legal-item {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid #e9ecef;
}

.legal-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Workflow Section */
.workflow {
    background-color: var(--white);
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    gap: 20px;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 4px;
    background-color: #eee;
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    background: transparent;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 4px solid var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.step-card:hover .step-number {
    background-color: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-desc {
    font-size: 0.9rem;
    padding: 0 10px;
    color: var(--secondary-color);
}

/* Team Section */
.team {
    background-color: var(--bg-light);
}

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

.team-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img-wrapper {
    height: 250px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.team-img-placeholder {
    font-size: 1.2rem;
    font-weight: 600;
}

.team-info {
    padding: 20px;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Activity Gallery */
.activity {
    background-color: var(--white);
}

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

.activity-item {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #eee;
}

.activity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.activity-item:hover .activity-overlay {
    transform: translateY(0);
}

/* Responsive Fixes for New Sections */
@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .workflow-steps::before {
        width: 4px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .step-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: var(--white);
        /* To cover the line */
        padding: 10px;
        border-radius: 8px;
    }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1a3c5e);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Refined Client Logos */
.client-logo-icon {
    font-size: 2.5rem;
    color: #ccc;
    background: #f8f9fa;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.client-logo-icon:hover {
    color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}