/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00B7B2;
    --secondary-color: #38B0E4;
    --dark-color: #2E2F39;
    --light-color: #F8F9FA;
    --text-color: #555;
    --text-dark: #333;
    --white: #FFFFFF;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --danger-color: #DC3545;

    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    --container-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-secondary);
}

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

.btn-primary:hover {
    background-color: #00a09c;
    border-color: #00a09c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 183, 178, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-light {
    background-color: var(--white);
    color: var(--dark-color);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

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

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 70px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 5px 0;
    position: relative;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

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

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    /*animation: float 3s ease-in-out infinite;*/
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== COMPANY OVERVIEW ===== */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-text h3 {
    margin-bottom: 20px;
}

.mission-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(0, 183, 178, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.mission-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
}

.overview-locations h3 {
    margin-bottom: 30px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.location-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.location-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* ===== FEATURES SECTION ===== */
.features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* ===== ADVANTAGES SECTION ===== */
.advantage-item {
    display: grid;
    grid-template-columns: 100px 1fr 400px;
    gap: 40px;
    align-items: center;
    margin-bottom: 110px;
}

.advantage-item.reverse {
    grid-template-columns: 400px 1fr 100px;
}

.advantage-item.reverse .advantage-number {
    order: 3;
}

.advantage-item.reverse .advantage-text {
    order: 2;
}

.advantage-item.reverse .advantage-image {
    order: 1;
}

.advantage-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 183, 178, 0.2);
    line-height: 1;
}

.advantage-text h3 {
    margin-bottom: 15px;
}

.advantage-list {
    margin-top: 20px;
}

.advantage-list li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.advantage-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.advantage-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.advantage-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.advantage-image:hover img {
    transform: scale(1.05);
}

/* ===== CASE STUDY ===== */
.case-study {
    background-color: var(--light-color);
}

.case-study-card {
    /*background: var(--white);*/
    border-radius: var(--border-radius);
    /*box-shadow: var(--box-shadow);*/
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.client-logo {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    width: 50px;
}

.case-challenge,
.case-solution {
    margin-bottom: 30px;
}

.case-challenge h4,
.case-solution h4,
.case-results h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.result-item {
    background: linear-gradient(135deg, rgba(0, 183, 178, 0.1), rgba(56, 176, 228, 0.1));
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.result-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* ===== CTA SECTIONS ===== */
.cta-sections {
    margin: 0;
}

.cta-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cta-item {
    padding: 80px 40px;
    color: var(--white);
}

.publisher-cta {
    background: linear-gradient(135deg, var(--primary-color), #00a09c);
}

.advertiser-cta {
    background: linear-gradient(135deg, var(--secondary-color), #2a9cd6);
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 25px;
}

.cta-list {
    margin-bottom: 30px;
}

.cta-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.cta-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-item .btn-light {
    margin-top: 20px;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h4 {
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-social {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

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

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--primary-color);
}