/* ESET Reseller Landing Page CSS */

/* Variables */
:root {
    /* ESET Brand Colors */
    --eset-blue: #00828b; /* Updated primary color */
    --eset-dark-blue: #00828b;
    --eset-light-blue: #E4F5F6; /* Updated light blue color */
    --coduna-accent: #00828b;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
    --text-color: #333333;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tahoma', sans-serif; 
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

section {
    padding: var(--section-padding);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

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

a {
    text-decoration: none;
    color: var(--eset-blue);
}

ul {
    list-style: none;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--eset-blue);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--eset-blue);
}

.cta-button:hover {
    background-color: var(--eset-dark-blue);
    border-color: var(--eset-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.highlight {
    background-color: var(--coduna-accent);
    border-color: var(--coduna-accent);
}

.cta-button.highlight:hover {
    background-color: #E06000;
    border-color: #E06000;
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.coduna-logo {
    max-height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--eset-blue);
}

.nav-cta {
    background-color: var(--eset-blue);
    color: var(--white) !important;
    padding: 8px 15px;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: var(--eset-dark-blue);
}

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-gray);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--eset-light-blue) 0%, var(--white) 100%);
    padding: 100px 0;
}

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

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--eset-dark-blue);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.robot-overlay {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Product Benefits Section */
.product-benefits {
    background-color: var(--white);
}

.product-benefits .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.benefits-content {
    flex: 1;
}

.benefits-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .product-benefits .container {
        flex-direction: column;
    }
    
    .benefits-image {
        margin-top: 40px;
    }
}

.benefit-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-box {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-box:hover {
    transform: translateY(-5px);
}

.benefit-box i {
    font-size: 2rem;
    color: var(--eset-blue);
    margin-bottom: 15px;
}

.benefit-box h3 {
    margin-bottom: 10px;
}

.benefit-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--eset-blue);
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: var(--eset-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-color);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .benefit-list {
        margin-top: 20px;
        gap: 15px;
    }

    .benefit-card {
        padding: 20px;
    }
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    max-width: 500px;
}

.benefit-item h3 {
    color: var(--eset-blue);
    margin-bottom: 10px;
}

.benefit-item p {
    margin-bottom: 0;
    color: var (--text-color);
}

/* Partner Section */
.partner-section {
    background-color: var(--eset-light-blue);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.partner-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-card i {
    font-size: 2.5rem;
    color: var(--eset-blue);
    margin-bottom: 20px;
}

.partner-card h3 {
    margin-bottom: 15px;
}

.partner-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.partner-section .cta-button {
    display: block;
    max-width: 250px;
    margin: 0 auto;
}

/* Social Proof Section */
.social-proof-section {
    background-color: var(--white);
}

.global-map {
    margin-bottom: 40px;
    text-align: center;
}

.global-map img {
    max-width: 100%;
    border-radius: 10px;
}

.awards-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.award {
    text-align: center;
    padding: 15px;
}

.award img {
    max-width: 120px;
    height: 120px;
    margin-bottom: 10px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.award p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.social-proof-section .cta-button {
    display: block;
    max-width: 250px;
    margin: 0 auto;
}

.awards-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 0 20px;
}

.award-link {
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.award-hero-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Add these media queries for better mobile responsiveness */
@media (max-width: 768px) {
    .awards-showcase {
        padding: 0 15px;
        margin: 30px 0;
    }

    .award-link {
        max-width: 100%;
    }

    .award-hero-image {
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 576px) {
    .awards-showcase {
        padding: 0 10px;
        margin: 20px 0;
    }
}

/* Features Section */
.features-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

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

.feature {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--eset-blue);
    margin-bottom: 20px;
}

.feature h3 {
    color: var(--eset-blue);
    margin-bottom: 15px;
}

.feature p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.features-section .cta-button {
    display: block;
    max-width: 250px;
    margin: 40px auto 0;
    text-align: center;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Risk-Free Section */
.risk-free-section {
    background-color: var(--white);
    padding: 80px 0;
}

.risk-free-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.risk-free-content h2 {
    color: var(--eset-blue);
    margin-bottom: 20px;
}

.risk-free-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.risk-free-content .cta-button {
    margin-top: 30px;
    display: inline-block;
}

/* Industries Section */
.industries-section {
    background-color: var(--eset-light-blue);
    padding: 80px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.industry-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-card h3 {
    color: var(--eset-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.industry-card i {
    font-size: 1.5rem;
}

.industry-card p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-color);
}

.industries-section .cta-button {
    display: block;
    min-width: 300px;
    max-width: fit-content;
    margin: 40px auto 0;
    text-align: center;
    white-space: nowrap;
    padding: 12px 30px;
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--eset-blue);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.final-cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.final-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-section .cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.final-cta-section .cta-button:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 20px 0;
    text-align: center;
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo p {
    margin-top: 15px;
    color: var(--medium-gray);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    min-width: 150px;
}

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

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

.footer-column ul li a {
    color: var(--medium-gray);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var (--medium-gray);
    margin-bottom: 0;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--eset-blue);
    transform: translateY(-3px);
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.features-ticker {
    display: flex;
    gap: 30px;
    animation: tickerAnimation 20s linear infinite;
    /* Duplicate the items to create seamless loop */
    padding-right: 30px;
}

.features-ticker .feature {
    flex: 0 0 300px;
    min-width: 300px;
}

/* Create a continuous loop by duplicating the content */
.features-ticker {
    display: flex;
    gap: 30px;
}

.features-ticker .feature {
    animation: slide 40s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6 - 30px * 6));
    }
}

/* Update the gradient overlays */
.ticker-wrapper::before,
.ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray), transparent);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray), transparent);
}

/* Pause on hover */
.features-ticker:hover {
    animation-play-state: paused;
}

@keyframes tickerAnimation {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-200%);
    }
}

/* Add gradient overlay for smooth edges */
.ticker-wrapper::before,
.ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray), transparent);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray), transparent);
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Add this for smooth infinite scroll */
.ticker-wrapper:before,
.ticker-wrapper:after {
    content: "";
    height: 100%;
    position: absolute;
    width: 50px;
    z-index: 2;
}

.ticker-wrapper:before {
    left: 0;
    background: linear-gradient(to right, var(--eset-light-blue), transparent);
}

.ticker-wrapper:after {
    right: 0;
    background: linear-gradient(to left, var(--eset-light-blue), transparent);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .product-benefits .container {
        flex-direction: column;
    }
    
    .risk-free-section .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .benefit-boxes,
    .partner-grid,
    .features-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

.copyright {
    margin: 0;
}
