/* ===========================
   MAIORANO GOMME - Landing Page
   Custom Styles
   Colori aziendali: #b51e23, #000000, #363636
   =========================== */

:root {
    --primary: #b51e23;
    --primary-dark: #8e171b;
    --black: #000000;
    --dark-gray: #363636;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #2d2d2d;
    --text-muted: #6c757d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================
   NAVBAR - Split: bianco a sinistra (logo), nero a destra (menu)
   ======================== */
#mainNav {
    padding: 0;
    transition: var(--transition);
    background: var(--black);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#mainNav .container-fluid {
    display: flex;
    align-items: stretch;
}

/* Area logo - sfondo bianco dal margine sinistro */
.navbar-brand-wrapper {
    background: var(--white);
    display: flex;
    align-items: center;
    padding: 8px 25px 8px 45px;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
    margin-right: 10px;
}

.navbar-brand-wrapper .navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand-wrapper .navbar-brand img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}
#mainNav.scrolled .navbar-brand-wrapper .navbar-brand img{
	height: 40px;
}
/* Area menu - sfondo nero */
.navbar-menu-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 10px;
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--white);
    background: var(--primary);
}

#mainNav .btn-cta-nav {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

#mainNav .btn-cta-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(181, 30, 35, 0.4);
    color: #fff;
}

/* Toggler (mobile) */
#mainNav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(181, 30, 35, 0.3);
}

/* Navbar scrolled */
#mainNav.scrolled {
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
}

/* ========================
   HERO SLIDER
   ======================== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ken Burns Effect */
.ken-burns {
    animation: kenBurns 12s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0);
    }
    100% {
        transform: scale(1.1) translateX(-2%);
    }
}

.slick-active .ken-burns {
    animation: kenBurnsActive 8s ease-in-out forwards;
}

@keyframes kenBurnsActive {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(54, 54, 54, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta .btn {
    margin: 5px;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
}

.hero-cta .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hero-cta .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(181, 30, 35, 0.4);
}

.hero-cta .btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* Slick Slider Arrows - Triangoli bianchi */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
}

.hero-slider .slick-prev {
    left: 30px;
}

.hero-slider .slick-next {
    right: 30px;
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.9;
    font-size: 0;
}

.hero-slider .slick-prev:before {
    border-width: 12px 18px 12px 0;
    border-color: transparent #fff transparent transparent;
}

.hero-slider .slick-next:before {
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
}

/* Slick Dots - Trapezio bianco */
.hero-slider .slick-dots {
    bottom: 0;
    z-index: 10;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
	position: relative;
}

.hero-slider .slick-dots li {
    position: relative;
    z-index: 2;
    margin: 0 6px;
}

.hero-slider .slick-dots li button:before {
    font-size: 0;
    color: transparent;
    opacity: 1;
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #b0b0b0;
}

.hero-slider .slick-dots li.slick-active button:before {
    background: var(--primary);
    opacity: 1;
    width: 14px;
    height: 14px;
}

/* Trapezio bianco dietro i dots */
.slick-dots-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    padding: 18px 20px 12px;
    background: #fff;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

/* ========================
   SECTIONS - Alternating backgrounds
   ======================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 15px;
    border-radius: 2px;
}

.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-title.text-white {
    color: #fff;
}

.section-title.text-white::after {
    background: #fff;
}

/* Background alternati */
.bg-alt {
    background-color: var(--light-gray);
}

/* ========================
   CHI SIAMO (sfondo bianco) - testo sovrapposto all'immagine
   ======================== */
#chi-siamo {
    background: var(--white);
}

#chi-siamo .row {
    position: relative;
}

#chi-siamo .col-lg-6:first-child {
    position: relative;
    z-index: 1;
}

#chi-siamo .col-lg-6:last-child {
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    #chi-siamo .col-lg-6:last-child {
        margin-left: -60px;
        background: var(--white);
        padding: 40px 40px 40px 50px;
        border-radius: var(--radius);
    }
}

#chi-siamo .lead {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1.2rem;
}

#chi-siamo p {
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* ========================
   SERVIZI (sfondo grigio chiaro)
   ======================== */
#servizi {
    background: var(--light-gray);
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 50px 25px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 35px;
	height: calc(100% - 30px) !important;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(181, 30, 35, 0.3);
}

.service-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================
   VIDEO SECTION (sfondo bianco)
   ======================== */
#video-section {
    background: var(--white);
}

#video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ========================
   PROMOZIONI (sfondo scuro)
   ======================== */
#promozioni {
    background: var(--dark-gray);
}

.promo-card {
    background: #4a4a4a;
    border: none;
    border-radius: var(--radius);
    padding: 0;
    display: flex;
    align-items: stretch;
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    min-height: 100px;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Trapezio rosso a sinistra con icona */
.promo-card-icon {
    background: var(--primary);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 15px;
    min-width: 80px;
    width: 80px;
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
}

.promo-card-icon i {
    font-size: 1.5rem;
    color: #fff;
    margin-right: 8px;
}

/* Testo a destra */
.promo-card-text {
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 10px;
    flex: 1;
}

.promo-card-text p {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

/* ========================
   PERCHÉ SCEGLIERCI (sfondo bianco)
   ======================== */
#perche-noi {
    background: var(--white);
}

#perche-noi .lead {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.3rem;
    font-weight: 600;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background: #ebebeb;
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--primary);
}

.feature-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* RECENSIONI */
.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-stars {
    margin-bottom: 12px;
}

.review-stars i {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========================
   CONTATTI (sfondo grigio chiaro)
   ======================== */
#contatti {
    background: var(--light-gray);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 3px;
}

.contact-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--black);
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-item a {
    color: var(--dark-gray);
}

.contact-item a:hover {
    color: var(--primary);
}

.fb-embed iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ========================
   CTA FINALE
   ======================== */
.cta-section {
    padding: 100px 0;
    position: relative;
    background: url('../img/bg1.jpeg') center/cover no-repeat fixed;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.cta-section .btn {
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    margin: 5px;
}

.cta-section .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.cta-section .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(181, 30, 35, 0.4);
}

.cta-section .btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ========================
   FOOTER
   ======================== */
.footer-section {
    background: var(--black);
    color: #fff;
    padding: 40px 0 20px;
	
}
.footer-section p.text-muted{
		color: rgba(99,99,99,1.00) !important;
	}
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: #fff;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ========================
   WHATSAPP FLOATING BUTTON
   ======================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 5px 25px rgba(181, 30, 35, 0.5);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(181, 30, 35, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(181, 30, 35, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(181, 30, 35, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(181, 30, 35, 0);
    }
}

/* ========================
   RESPONSIVE
   ======================== */

/* TABLET (max 991px) */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .features-list {
        grid-template-columns: 1fr 1fr;
    }

    /* Navbar tablet/mobile */
    #mainNav .container-fluid {
        flex-wrap: nowrap;
    }

    .navbar-brand-wrapper {
        padding: 8px 20px 8px 15px;
        clip-path: none;
        margin-right: 0;
        flex-shrink: 0;
    }

    .navbar-brand-wrapper .navbar-brand img {
        height: 40px;
    }

    .navbar-menu-wrapper {
        padding: 8px 15px;
        justify-content: flex-end;
    }

    /* Hamburger a destra */
    #mainNav .navbar-toggler {
        order: 2;
        margin-left: auto;
    }

    /* Menu dropdown su mobile con sfondo nero */
    #mainNav .navbar-collapse {
        background: var(--black);
        padding: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 8px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    #mainNav .nav-link {
        padding: 12px 16px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    #mainNav .btn-cta-nav {
        display: block;
        text-align: center;
        margin: 15px 0 0;
    }

    /* Chi siamo - no overlap su tablet */
    #chi-siamo .col-lg-6:last-child {
        margin-left: 0;
        padding: 0;
    }

    /* Promo card */
    .promo-card-icon {
        min-width: 70px;
        width: 70px;
    }

    /* CTA */
    .cta-section {
        padding: 70px 0;
        background-attachment: scroll;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* MOBILE (max 767px) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Hero buttons full width */
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Hero slider - fix mobile */
    #hero,
    .hero-slider,
    .hero-slide {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-slide-bg {
        background-position: center center;
        background-size: cover;
    }

    .hero-content {
        padding: 0 15px;
        top: 45%;
    }

    /* Frecce nascoste su mobile */
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        display: none !important;
    }

    /* Chi siamo - padding laterale mobile */
    #chi-siamo .col-lg-6:last-child {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Servizi - 1 colonna */
    .service-card {
        margin-top: 30px;
        padding: 45px 20px 25px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        top: -30px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    /* Promo card */
    .promo-card {
        min-height: 85px;
    }

    .promo-card-icon {
        min-width: 65px;
        width: 65px;
        padding: 15px 12px;
    }

    .promo-card-icon i {
        font-size: 1.3rem;
    }

    .promo-card-text {
        padding: 15px 15px 15px 8px;
    }

    .promo-card-text p {
        font-size: 0.9rem;
    }

    /* Features list 1 colonna */
    .features-list {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section .lead {
        font-size: 1rem;
    }

    .cta-section .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Contatti - Facebook iframe */
    .fb-embed iframe {
        height: 350px;
    }

    /* Review cards */
    .review-card {
        padding: 20px;
    }

    /* Footer */
    .footer-section {
        padding: 30px 0 15px;
    }
}

/* SMALL MOBILE (max 575px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .navbar-brand-wrapper {
        padding: 6px 15px 6px 10px;
    }

    .navbar-brand-wrapper .navbar-brand img {
        height: 32px;
    }

    .navbar-menu-wrapper {
        padding: 6px 10px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-title::after {
        width: 40px;
        height: 3px;
    }

    /* WhatsApp float ridotto */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }

    /* Dots wrapper */
    .slick-dots-wrapper {
        padding: 14px 15px 8px;
    }

    .hero-slider .slick-dots li {
        margin: 0 4px;
    }

    .hero-slider .slick-dots li button:before {
        width: 10px;
        height: 10px;
    }

    .hero-slider .slick-dots li.slick-active button:before {
        width: 12px;
        height: 12px;
    }
}

/* ========================
   SCROLL ANIMATIONS
   ======================== */
.service-card,
.promo-card,
.review-card,
.contact-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate-in,
.promo-card.animate-in,
.review-card.animate-in,
.contact-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay for cards */
.col-md-6:nth-child(2) .service-card,
.col-md-6:nth-child(2) .promo-card,
.col-md-4:nth-child(2) .service-card,
.col-md-4:nth-child(2) .review-card {
    transition-delay: 0.1s;
}

.col-md-6:nth-child(3) .service-card,
.col-md-6:nth-child(3) .promo-card,
.col-lg-4:nth-child(3) .service-card {
    transition-delay: 0.2s;
}

.col-md-6:nth-child(4) .service-card,
.col-md-6:nth-child(4) .promo-card,
.col-lg-4:nth-child(4) .service-card {
    transition-delay: 0.3s;
}

.col-md-6:nth-child(5) .service-card,
.col-md-6:nth-child(5) .promo-card,
.col-lg-4:nth-child(5) .service-card {
    transition-delay: 0.4s;
}

.col-md-6:nth-child(6) .service-card,
.col-md-6:nth-child(6) .promo-card,
.col-lg-4:nth-child(6) .service-card {
    transition-delay: 0.5s;
}


.credits_link{
 color: #38B5E6 !important;
 font-weight: 700;
 font-family: sans-serif;
}

.credits_link:hover{
 color: #fff !important;
}

 .credits_link:before{
  content: "";
  vertical-align: middle;
  width:16px;
  height: 16px;
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  background-image: url(https://www.clion.it/favicon-96x96.png);
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  background-position: center center;

  transition: all 450ms ease;
 }

  .credits_link:hover:before{
   transform: rotateZ(360deg) rotateY(360deg);
  }