@media (max-width: 575.98px) {
    h1, .h1 {
        font-size: 4.2rem;
    }

    .s-hero__text p.text {
        font-size: 1.6rem;
    }
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: clamp(26px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.hero-title .name {
    color: #FA144B;
    font-weight: 600;
}

.hero-title .highlight {
    color: #FA144B;
    font-weight: 600;
}

.worked-for {
    font-size: clamp(14px, 2vw, 18px);
    color: #888;
    margin-bottom: 50px;
    font-weight: 300;
}

.companies-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 0 20px;
}

.company-logo {
    height: clamp(35px, 4vw, 50px);
    display: flex;
    align-items: center;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: brightness(1.2);
}

.company-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
    filter: brightness(1.5);
}

.company-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Custom logos using text */
.logo-text {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-allegro {
    color: #FF5A00;
}

.additional-info {
    font-size: clamp(14px, 2vw, 18px);
    color: #888;
    font-weight: 300;
    margin-top: 40px;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        min-height: auto;
    }

    .companies-grid {
        gap: 30px;
    }

    .hero-title {
        margin-bottom: 40px;
        font-size: 30px;
    }
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: fadeInUp 0.8s ease-out;
}

.worked-for {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.companies-grid {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.additional-info {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.services-section {
    min-height: 100vh;
    padding: 80px 20px 110px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #020414;
    color: #fff;
}

.services-section-title {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 180px;
    letter-spacing: -1px;
}

.services-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 0 20px;
    background: transparent;
}

.service-card {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-description {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 33px;
    margin-bottom: 20px;
    color: #fff;
}

ul.tags {

}

ul.tags li {
    display: inline-block;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    color: #000;
    margin: 0 2px 5px 0;
}

.service-button {
    background: #FA144B;
    color: #fff;
    border: none;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
}

.service-button:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-button:active {
    transform: scale(0.98);
}

/* Responsive design */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .testimonials-section-title {
        margin-bottom: 20px;
    }

    .services-section {
        padding: 60px 20px;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    animation: fadeInUp 0.6s ease-out;
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.about-section {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-section-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.about-section .dot-list li {
    margin-bottom: 20px;
}

.intro-text {
    max-width: 1100px;
    text-align: center;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 33px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.intro-text strong {
    font-weight: 700;
}

.separator-text {
    font-size: clamp(18px, 2.5vw, 24px);
    text-align: center;
    margin: 60px 0;
    font-weight: 600;
    font-style: italic;
    border-bottom: 4px solid #FA144B;
    padding: 0 20px;
}

.content-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
    padding: 40px 20px;
}

.magazine-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: 100px;
}

.magazine-cover {
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 8px solid #fff;
}

.magazine-cover:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.highlight-box {
    background: transparent;
    padding: 0;
}

.highlight-title {
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.highlight-title .highlight {
    color: #000;
    font-weight: 700;
}

.highlight-box hr {
    max-width: 200px;
    background: #e4e4e4;
    height: 4px;
    border-radius: 20px;
    border: 0;
}

.description-text {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 33px;
    margin-bottom: 30px;
}

.conference-text {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 33px;
}

.heart {
    color: #e74c3c;
    font-size: 1.1em;
}

/* Responsive design */
@media (max-width: 1024px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .magazine-container {
        position: relative;
        top: 0;
    }

    .magazine-cover {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .separator-text {
        margin: 40px 0;
    }

    .content-container {
        gap: 40px;
        padding: 20px;
    }

    .magazine-cover {
        max-width: 350px;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    animation: fadeInUp 0.6s ease-out;
}

.intro-text {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.separator-text {
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.magazine-container {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.text-content {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.testimonials-section {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonials-section-title {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

.slider-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    padding: 0 80px;
}

.testimonial-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    opacity: 1;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(0, 0, 0, 0.1);
}

.author-details {
    text-align: left;
}

.author-name {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
    fill: #0077B5;
}

.author-title {
    font-size: clamp(14px, 2vw, 18px);
    color: #1a1a1a;
}

.company-highlight {
    font-weight: 700;
}

.testimonial-text {
    font-size: clamp(17px, 2vw, 20px);
    line-height: 33px;
    text-align: center;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-text strong {
    font-weight: 700;
    font-style: normal;
}

/* Navigation */
.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    gap: 20px;
}

.slider-dots {
    display: flex;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: #FA144B;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(0, 0, 0, 0.5);
}

.nav-arrows {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid #020414;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background: #020414;
    color: #FA144B;
    transform: scale(1.05);
}

.arrow-btn:hover svg {
    fill: #fff;
}

.arrow-btn:active {
    transform: scale(0.95);
}

.arrow-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.arrow-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .slider-dots {
        margin-top: 40px;
    }

    .services-section-title {
        margin-bottom: 50px;
    }

    .testimonial-slide {
        padding: 0;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .slider-container {
        padding: 0 20px;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
    }

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

    .author-name {
        justify-content: center;
    }

    .slider-controls {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .arrow-btn {
        width: 45px;
        height: 45px;
    }
}

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

.section-title {
    animation: fadeInUp 0.6s ease-out;
}

.slider-container {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
