/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;

    /* Background image properties */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/Hero bg/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    background-color: #FFC500;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--black);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Section Styling */
section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    scroll-margin-top: 90px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
}

/* Trusted By Section */
.trusted-container {
    width: 100%;
    overflow: hidden;
    background: var(--dark-bg);
    padding: 40px 0;
    position: relative;
    display: flex;
}

.trusted-slider {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 80px;
    padding-left: 80px;
    animation: scroll 20s linear infinite;
}

/* This creates the seamless loop */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.slider-item {
    flex-shrink: 0;
    /* Prevents logos from squishing */
}

.client-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, var(--primary), #FFD302);
    height: 400px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--black);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    background-color: var(--dark-bg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Services Grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--dark-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* How It Works Section */
.stats {
    background-color: var(--dark-bg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* How It Works (Process) with Hover Effects */
.process {
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background-color: var(--dark-bg);
    padding: 3rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background-color: #222;
    box-shadow: 0 10px 30px rgba(255, 211, 2, 0.2);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.2);
}

/* Brands Section */
.publishers-section {
    padding: 5rem 2rem;
    background-color: var(--black);
}

.publishers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pub-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pub-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255, 211, 2, 0.1);
}

/* Circular Logo Style (Matches Team Member) */
.pub-circular-logo {
    height: 180px;
    width: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
    object-fit: contain;
    display: block;
}

.pub-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.pub-type {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pub-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.visit-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission Section */
.mission-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--dark-bg), #111);
    text-align: center;
}

.mission-container {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-statement {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(255, 211, 2, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0.5rem;
}

.mission-main {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

.mission-details {
    text-align: left;
    margin: 2rem 0;
    line-height: 1.8;
}

.mission-details p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--dark-bg);
    padding: 2rem;
    border-radius: 0.8rem;
    border-top: 3px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 211, 2, 0.2);
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.process {
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background-color: var(--dark-bg);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step h4 {
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Team Section */
/* LinkedIn Icon Styling */
.linkedin-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.linkedin-link:hover {
    color: #FFFFFF;
    /* Turns white on hover */
    transform: scale(1.2);
}

/* Container & Slider */
.team-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 40px 0;
}

/* Scrollable Grid */
.team-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0;

    /* Hide scrollbars */
    scrollbar-width: none;
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-member {
    flex: 0 0 calc(25% - 1.5rem);
    /* Exactly 4 cards in a row */
    min-width: 280px;
    scroll-snap-align: start;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.member-image {
    height: 180px;
    width: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Hover Effect */
.team-member:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255, 211, 2, 0.1);
}

/* Navigation Buttons Styling */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--black);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #FFC500;
    scale: 1.1;
}

.slider-btn.prev {
    left: -25px;
}

.slider-btn.next {
    right: -25px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .team-member {
        flex: 0 0 calc(33.33% - 1.4rem);
    }

    .slider-btn {
        display: none;
    }
}

@media (max-width: 900px) {
    .team-member {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .team-member {
        flex: 0 0 85%;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background-color: var(--dark-bg);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #252525;
}

.faq-question.active {
    background-color: var(--primary);
    color: var(--black);
}

.faq-answer {
    padding: 1.5rem;
    background-color: #0a0a0a;
    color: var(--text-muted);
    display: none;
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

/* Testimonials Section */
.testimonial-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.testimonial-grid {
    display: flex;
    flex-wrap: nowrap;
    /* THIS: Prevents cards from jumping to a new line */
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(25% - 1.5rem);
    /* Keeps 4 cards visible at once */
    flex-shrink: 0;
    /* THIS: Prevents cards from shrinking to fit the screen */
    min-width: 280px;
    min-height: 580px;
    scroll-snap-align: start;
    background-color: #0a0a0a;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.stars {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.brand-context {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
}

.industry-info {
    margin-top: auto;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.industry-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.industry-name {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.client-info {
    margin-top: auto;
    /* Pushes info to the bottom of the card */
    margin-bottom: 1rem;
}

.client-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.client-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 2px 0 0 0;
}

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Company Branding Replacement */
.client-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 1rem;
    height: 60px;
    flex-shrink: 0;
}

.company-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-logo {
    max-height: 45px;
    width: auto;
    max-width: 100%;
    /* Prevents wide logos from overflowing sides */
    object-fit: contain;
    align-self: flex-start;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: 0.3s ease;
}

.testimonial-card:hover .company-logo {
    filter: grayscale(0%) opacity(1);
}


/* Responsive View */
@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 calc(33.33% - 1.4rem);
    }
}

@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 88%;
    }

    .slider-btn {
        display: none;
    }
}

/* Contact Section */
.contact-container {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.contact-form .comment-group{
    grid-column: 1 / -1;
}
.contact-form .btn{
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--dark-bg);
    color: var(--white);
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 211, 2, 0.2);
    background-color: #222;
}

.form-group textarea {
    resize: vertical;
    /* min-height: 140px; */
}

/* Success Message Container Styles */
#thankYouMessage {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Style for the Send Message Button */
.contact-form .btn-primary {
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    box-shadow: 0 4px 15px rgba(255, 211, 2, 0.3);
    transform: translateY(-2px);
}

/* Select menu looks professional on all systems */
select option {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 10px;
}

/* --- Global Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 250px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-form {
    grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}