/* GLOBAL STYLES */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
    color: #333;
    background-color: #ffffff;
    font-weight: 300;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* TYPOGRAPHY */
button, input, select, textarea {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* LAYOUT CONTAINERS */
.max-width-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

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

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

.font-14 {
    font-size: 14px;
}

.font-18 {
    font-size: 18px;
}

.bold {
    font-weight: bold;
}

.hidden {
    display: none !important;
}

/* COLORS */
.text-pink { color: #EC008C; }
.text-blue { color: #1a73e8; }
.text-green { color: #2fa464; }
.text-red { color: #ea4335; }
.text-yellow { color: #fabc04; }

.bg-pink { background-color: #EC008C; }
.bg-blue { background-color: #1a73e8; }
.bg-green { background-color: #2fa464; }
.bg-red { background-color: #ea4335; }
.bg-yellow { background-color: #fabc04; }
.bg-grey { background-color: #777777; }

/* HEADER / MENU */
.main-header {
    width: 100%;
    z-index: 100;
    position: relative;
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mobile-header {
    display: none;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    background-color: #1e1e1e;
    position: relative;
}

.mobile-logo {
    max-width: 150px;
    height: auto;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 10px;
    top: 15px;
    z-index: 101;
}

.mobile-round-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EC008C;
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    margin: 5px 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.desktop-header-container {
    background-color: #1e1e1e;
}

.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: all 0.3s;
    padding: 10px 0;
}

.main-header.sticky .desktop-header {
    height: 60px;
    padding: 0;
}

.desktop-logo {
    max-height: 78px;
    width: auto;
    display: block;
}

.middle-header-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.main-header.sticky .middle-header-area {
    flex-direction: row;
}

.middle-slogan-area {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.main-header.sticky .middle-slogan-area {
    display: none;
}

.slogan-text {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.slogan-text span {
    padding: 0 0.3em;
}

.quote-icon {
    vertical-align: middle;
}

.quote-right-container {
    display: inline-block;
    position: relative;
    top: 10px;
}

.header-partner {
    max-width: 67px;
    height: auto;
}

.desktop-menu-nav {
    display: flex;
    align-items: center;
}

.menu-list {
    display: flex;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.main-header.sticky .menu-list {
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    height: 60px;
    border-left: 1px solid black;
    border-right: 1px solid #323232;
    transition: background 0.3s;
}

.menu-item:first-child {
    border-left: none;
}

.menu-item:last-child {
    border-right: none;
}

.main-header.sticky .menu-item {
    border: none;
    height: 60px;
}

.menu-item:hover {
    background: linear-gradient(180deg, rgba(119, 119, 119, 0) 8%, rgba(0, 0, 0, 0.9) 100%);
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.menu-icon {
    max-width: 24px;
    height: auto;
    margin-right: 6px;
    display: inline-block;
}

.main-header.sticky .menu-icon {
    display: inline-block !important;
}

.menu-lbl-group {
    display: flex;
    flex-direction: column;
    margin-left: 6px;
}

.main-header.sticky .menu-lbl-group {
    display: none;
}

.lbl-small {
    font-size: 12px;
    font-weight: 300;
}

.header-right-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hdr-btn-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    background: none;
    border: 1px solid #323232;
    padding: 4px 8px;
    margin: 4px auto;
    cursor: pointer;
    text-align: left;
    width: 207px;
    transition: all 0.2s;
    white-space: nowrap;
}

.hdr-btn-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hdr-btn-link svg {
    margin-right: 8px;
    flex-shrink: 0;
}

.main-header.sticky .hdr-btn-link svg {
    width: 18px;
    height: 18px;
}

.phone-text {
    font-size: 24px;
    font-weight: bold;
}

.main-header.sticky .phone-text {
    font-size: 18px;
}

.contact-text-inline {
    font-size: 18px;
    font-weight: bold;
}

.contact-text-compact {
    font-size: 18px;
    font-weight: bold;
}

.main-header.sticky .contact-text-inline {
    display: none;
}

.main-header.sticky .contact-text-compact {
    display: inline !important;
}

.line-sep {
    height: 1px;
    background-color: black;
    width: 100%;
}

.main-header.sticky .line-sep {
    display: none;
}

.nav-lines {
    width: 100%;
}

.line-black {
    height: 1px;
    background-color: black;
}

.line-grey {
    height: 1px;
    background-color: #323232;
}

/* SLIDER */
.slider-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #000;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease-out;
}

.slide-item {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.slide-pic {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-pic img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

@media screen and (min-width: 480px) {
    .slide-pic img {
        object-fit: contain;
    }
}

.slider-dots {
    position: absolute;
    z-index: 5;
    bottom: 20px;
    right: 20%;
    text-align: center;
}

.slider-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 15px;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.slider-dot:last-child {
    margin-right: 0;
}

.slider-dot.active {
    background-color: #EC008C;
}

.slider-dot:hover {
    background-color: #232323;
}

/* SECTION CONTAINERS */
.section-container {
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    width: 100%;
}

.section-anchor {
    position: absolute;
    top: -150px;
}

.line-divider {
    width: 100%;
    border-bottom: 1px solid #DDDDDD;
    position: absolute;
    top: 0;
}

/* TITRES */
.title-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 60px;
    height: 60px;
}

.title-block {
    z-index: 7;
    background: white;
    border: 1px solid #ddd;
    padding: 15px 28px;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: -55px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.title-tag {
    position: absolute;
    left: 50px;
    top: -18px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 4px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.title-text {
    font-weight: bold;
    font-size: 64px;
    line-height: 1;
}

/* AGENCY CONTENT */
.agency-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 586px;
    margin: 40px auto;
    gap: 20px;
}

.badge-main {
    max-width: 228px;
    height: auto;
}

.badge-sub-group {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.badge-sub-group img {
    max-height: 50px;
    width: auto;
}

.agency-text {
    max-width: 1113px;
    padding: 15px;
    margin-bottom: 60px;
    line-height: 1.6;
}

/* SITES & LANDING PAGE SECTION */
.bg-gradients-sites {
    background: linear-gradient(180deg, #DEDDDB 0%, #E2E1DF 45%, #E1E0DE 100%);
}

.sites-content {
    position: relative;
    z-index: 1;
}

.sites-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 40px;
}

.sites-col-img {
    flex: 0 1 50%;
}

.responsive-sites-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sites-col-text {
    flex: 0 1 50%;
    padding-left: 20px;
}

.services-container {
    margin-top: 40px;
}

.services-diagram {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px;
}

/* ENSEIGNE RESPONSIVE CARD */
.enseigne-card {
    background-color: white;
    border: 1px solid #dfdfdf;
    max-width: 1064px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-left-badge {
    color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 279px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-speech-icon {
    display: block;
    margin-bottom: 10px;
}

.card-badge-caption {
    max-width: 156px;
    line-height: 1.3;
}

.card-triangle {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    flex-shrink: 0;
}

.triangle-rose { border-left: 30px solid #CF007B; }
.triangle-blue { border-left: 30px solid #1a73e8; }
.triangle-green { border-left: 30px solid #2fa464; }
.triangle-red { border-left: 30px solid #ea4335; }
.triangle-yellow { border-left: 30px solid #fabc04; }

.card-middle-content {
    font-size: 14px;
    padding: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.card-right-actions {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 260px;
    flex-shrink: 0;
}

.card-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    padding: 8px 12px;
    margin: 8px 0;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.2s;
}

.card-action-btn:hover {
    filter: brightness(0.9);
}

.card-action-btn svg {
    margin-right: 8px;
    flex-shrink: 0;
}

.card-action-btn .btn-text {
    font-weight: bold;
    font-size: 24px;
}

.card-action-btn .btn-text.font-18 {
    font-size: 18px;
}

/* ADS / BUSI / SEARCH / ANALYTICS DESKTOP BACKGROUNDS */
.bg-ads-desktop {
    background-image: url('/static/Bg_GoogleAs 2.png');
    background-repeat: no-repeat;
    background-position: top right;
}

.bg-busi-desktop {
    background-image: url('/static/Bg_GoogleMyBusiness 1.png');
    background-repeat: no-repeat;
    background-position: top left;
}

.bg-search-desktop {
    background-image: url('/static/Bg_GoogleSearchConsole 1.png');
    background-repeat: no-repeat;
    background-position: top right;
}

.bg-analytics-desktop {
    background-image: url('/static/bga1.png');
    background-repeat: no-repeat;
    background-position: top left;
}

.ads-flex-row, .busi-flex-row, .search-flex-row, .analytics-flex-row {
    display: flex;
    margin-bottom: 40px;
}

.ads-col-text, .search-col-text {
    flex: 0 1 56%;
    padding-bottom: 40px;
    line-height: 1.6;
}

.ads-col-spacer {
    flex: 0 1 44%;
}

.busi-col-text, .analytics-col-text {
    flex: 0 1 56%;
    padding-bottom: 40px;
    line-height: 1.6;
}

.busi-col-spacer, .analytics-col-spacer {
    flex: 0 1 44%;
}

.google-partner-badge-icon, .gmb-badge-icon, .gsc-badge-icon, .ga-badge-icon {
    display: block;
    margin: 0 auto 15px;
}

.text-block-gap {
    margin-bottom: 25px;
}

.mobile-bg-block {
    display: none;
    width: 100%;
    margin-bottom: 20px;
}

.mobile-bg-block img {
    width: 100%;
    height: auto;
}

/* CONTACT & FORM */
.bg-form-contact {
    position: relative;
    background-image: url('/static/bg-form.jpg');
    background-size: cover;
    background-position: center;
}

.contact-content-wrapper {
    position: relative;
    z-index: 2;
}

.contact-flex-row {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-col-info {
    flex: 1 1 50%;
    padding: 20px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.contact-col-info p, .contact-col-info span, .contact-col-info a {
    color: white;
}

.contact-col-form {
    flex: 1 1 50%;
}

.contact-form-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.form-split {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.form-fields-left {
    flex: 1 1 50%;
}

.form-fields-right {
    flex: 1 1 50%;
    display: flex;
}

.styled-select, .styled-input, .styled-textarea {
    display: block;
    width: 100%;
    border: 1px solid #dddddd;
    background-color: white;
    padding: 10px;
    margin: 10px 0;
    font-family: inherit;
    font-size: 14px;
}

.styled-select {
    height: 42px;
}

.styled-input {
    height: 42px;
}

.styled-textarea {
    resize: none;
    flex-grow: 1;
    height: 100%;
    min-height: 350px;
}

.captcha-row {
    margin: 15px 0;
}

.form-error-message {
    color: red;
    margin: 10px 0;
    font-size: 16px;
    font-weight: bold;
}

.form-loading-message {
    color: #EC008C;
    font-size: 24px;
    padding: 15px;
    text-align: center;
}

.form-submit-row {
    padding: 15px;
    text-align: center;
}

.submit-pink-btn {
    color: white;
    border: none;
    padding: 10px 60px;
    background-color: #EC008C;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.submit-pink-btn:hover {
    background-color: #CF007B;
}

.form-success-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 80px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.success-message {
    color: #EC008C;
    font-size: 24px;
    font-weight: bold;
}

.contact-bottom-info {
    text-align: center;
    max-width: 1178px;
    font-size: 14px;
    margin-top: 30px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* FOOTER */
.site-footer {
    width: 100%;
}

.david-banner-bg {
    background: linear-gradient(to top, #e5e1e1, #fff 90%);
}

.david-banner {
    position: relative;
    display: flex;
    align-items: center;
    height: 300px;
}

.david-photo-box {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

.david-img {
    height: 100%;
    width: auto;
    display: block;
}

.david-quote-box {
    margin-left: 10%;
    text-align: center;
    max-width: 660px;
    padding: 40px 0;
}

.quote-container {
    position: relative;
    padding: 0 40px;
}

.quote-text {
    font-size: 18px;
    color: #E90D8C;
    font-style: italic;
    line-height: 1.6;
}

.quote-container .quote-left {
    position: absolute;
    left: 0;
    top: -20px;
}

.quote-container .quote-right {
    position: absolute;
    right: 0;
    bottom: -20px;
}

.footer-contact-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15px;
}

.contact-phone-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 30px;
    color: #EC008C;
    font-weight: bold;
    margin-left: 8px;
}

.address-text {
    font-size: 18px;
    font-weight: 300;
}

.footer-logo {
    max-height: 50px;
}

.footer-email-link {
    font-weight: bold;
    font-size: 30px;
    color: #EC008C;
    transition: color 0.2s;
}

.footer-email-link:hover {
    color: #CF007B;
}

.divider-footer {
    position: relative;
    border-bottom: 1px solid #eeeeee;
}

.footer-legal-bar {
    padding: 30px 0;
}

.btn-legal {
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 300;
    color: black;
    background: #f5f5f5;
    border: solid 1px #e1e1e1;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-legal:hover {
    background: #e8e8e8;
}

.copyright-bg {
    background: linear-gradient(180deg, #F8F8F8 0%, rgba(255, 255, 255, 0) 100%);
}

.copyright-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    font-size: 11px;
}

.maker-link {
    color: #EC008C;
    text-decoration: underline;
}

/* MODAL OVERLAY & CONTENT */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(to right, rgba(236, 0, 140, 0.9) 0%, rgba(236, 0, 140, 0.75) 100%);
    backdrop-filter: blur(2px);
}

.modal-overlay.open {
    display: block;
}

.modal-content {
    background-color: white;
    border: 1px solid #40001f;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: calc(100% - 100px);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px 30px;
    box-shadow: 0 10px 80px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.modal-close svg {
    transition: fill 0.2s;
}

.modal-close:hover svg {
    fill: #EC008C;
}

.modal-body-scroll {
    overflow-y: auto;
    padding: 10px 0;
}

.legal-text-content {
    font-size: 14px;
    line-height: 1.6;
}

/* RESPONSIVE DESIGN - MEDIA QUERIES */

/* SMALL SCREEN / MOBILE (max-width: 878px) */
@media screen and (max-width: 878px) {
    .desktop-header-container {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .title-text {
        font-size: 32px;
    }
    
    .title-block {
        padding: 15px 20px;
        top: 18px;
    }
    
    .title-tag {
        font-size: 14px;
        top: -15px;
        left: 20px;
    }
    
    .partner-badges {
        flex-direction: column;
        margin: 20px auto;
        width: 100%;
        max-width: 320px;
    }
    
    .badge-sub-group {
        width: 100%;
    }
    
    .section-container {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    /* Gradients backgrounds for desktop disabled on mobile */
    .bg-ads-desktop, .bg-busi-desktop, .bg-search-desktop, .bg-analytics-desktop {
        background-image: none !important;
    }
    
    .mobile-bg-block {
        display: block;
    }
    
    .ads-flex-row, .busi-flex-row, .search-flex-row, .analytics-flex-row {
        flex-direction: column;
    }
    
    .ads-col-text, .busi-col-text, .search-col-text, .analytics-col-text {
        flex: 1 1 100%;
        padding-bottom: 20px;
    }
    
    .ads-col-spacer, .busi-col-spacer, .search-col-spacer, .analytics-col-spacer {
        display: none;
    }
    
    /* Layout details */
    .sites-flex-row {
        flex-direction: column;
    }
    
    .sites-col-img, .sites-col-text {
        flex: 1 1 100%;
        padding-left: 0;
    }
    
    .hide-on-mobile {
        display: none !important;
    }
    
    /* Enseigne cards */
    .enseigne-card {
        flex-direction: column;
        max-width: 100%;
    }
    
    .card-left-badge {
        width: 100%;
    }
    
    .card-middle-content {
        text-align: center;
    }
    
    .card-right-actions {
        width: 100%;
    }
    
    .card-action-btn {
        width: 100%;
        padding: 4px 0;
        margin: 8px auto;
    }
    
    /* Contact Form */
    .contact-flex-row {
        flex-direction: column;
    }
    
    .form-split {
        flex-direction: column;
    }
    
    .styled-textarea {
        min-height: 200px;
    }
    
    /* Footer & David Banner */
    .david-banner-bg {
        display: none;
    }
    
    .footer-contact-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-email-link {
        font-size: 20px;
    }
    
    .copyright-bar {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
        gap: 5px;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px 20px;
    }
}

/* TABLET VIEWPORT SPECIFIC (min-width: 879px) and (max-width: 1162px) */
@media screen and (min-width: 879px) and (max-width: 1162px) {
    .middle-slogan-area {
        display: none;
    }
    
    .menu-lbl-group {
        display: none;
    }
    
    .menu-icon {
        display: inline-block !important;
        margin-right: 0;
        max-width: 32px;
    }
    
    .menu-item {
        border: none;
    }
    
    .title-text {
        font-size: 42px;
    }
    
    .title-block {
        top: 40px;
    }
}

/* TABLET AND DESKTOP WIDTH SPECIFICATIONS FOR BUTTONS */
@media screen and (min-width: 480px) {
    .card-right-actions {
        width: 260px;
    }
    .card-action-btn {
        width: 235px;
        padding: 4px 8px;
    }
}

/* BIG MONITORS / BG RESIZES */
@media screen and (min-width: 879px) and (max-width: 1400px) {
    .bg-ads-desktop, .bg-search-desktop {
        background-size: 550px;
    }
    .bg-busi-desktop, .bg-analytics-desktop {
        background-size: 550px;
    }
}

/* ADDITIONAL FIXED HEADER RULES */
.menu-icon.hide-icon-not-sticky {
    display: none;
}

.main-header.sticky .menu-icon.hide-icon-not-sticky {
    display: inline-block;
}

.header-placeholder {
    width: 100%;
    transition: height 0.3s;
}

@media screen and (min-width: 879px) {
    .header-placeholder.sticky-active {
        height: 120px; /* Exact height occupied by header before sticky */
    }
}
