/* ===== CSS Variables ===== */
:root {
    --primary-green: #01973F;
    --primary-green-dark: #017830;
    --primary-yellow: #FFE200;
    --primary-orange: #F29017;
    --kverneland-red: #D3031B;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(1, 151, 63, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 151, 63, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
}

.btn-full {
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

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

.logo-img {
    height: 50px;
    width: auto;
}

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

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

.header.scrolled .nav-link {
    color: var(--gray-800);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--gray-800);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #015a28 100%);
    overflow: hidden;
}

/* Background Pattern */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 226, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 144, 23, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.15;
    color: var(--primary-yellow);
}

.floating-gear {
    top: 15%;
    right: 10%;
    width: 120px;
    height: 120px;
    animation: float-rotate 20s linear infinite;
}

.floating-wheat {
    bottom: 20%;
    left: 5%;
    width: 80px;
    height: 80px;
    animation: float-up 8s ease-in-out infinite;
}

.floating-leaf {
    top: 60%;
    right: 15%;
    width: 60px;
    height: 60px;
    animation: float-diagonal 12s ease-in-out infinite;
}

.floating-circle {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 226, 0, 0.2);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: pulse-slow 4s ease-in-out infinite;
}

.floating-circle-2 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: 10%;
    animation: pulse-slow 5s ease-in-out infinite reverse;
}

@keyframes float-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

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

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 200px);
}

/* Hero Content */
.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-yellow);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.hero-badge .kverneland-text {
    color: var(--kverneland-red);
    font-weight: 700;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
    display: block;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
}

.title-highlight {
    color: var(--primary-yellow);
    position: relative;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons .btn-primary {
    gap: 10px;
    padding: 16px 28px;
}

.hero-buttons .btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn-primary:hover svg {
    transform: translateX(5px);
}

.hero-buttons .btn-secondary {
    padding: 16px 28px;
}

/* Hero Visual / Right Side */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(-10px);
    border-color: var(--primary-yellow);
}

.hero-card-1 { animation: slideInCard 0.6s ease 0.5s both; }
.hero-card-2 { animation: slideInCard 0.6s ease 0.7s both; }
.hero-card-3 { animation: slideInCard 0.6s ease 0.9s both; }

@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-green-dark);
}

.card-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    display: block;
}

.card-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 2px;
}

/* Partner Badge - New Design */
.hero-partner-badge {
    position: relative;
    max-width: 360px;
    width: 100%;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.partner-badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    border-radius: 20px;
    filter: blur(20px);
    opacity: 0.4;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.05); }
}

.partner-badge-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 24px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.partner-badge-content:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.partner-badge-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-badge-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-green-dark);
}

.partner-badge-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.partner-badge-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.partner-badge-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.partner-badge-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partner-badge-content:hover .partner-badge-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 1.3s both;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: var(--white);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--gray-900);
    position: relative;
    display: inline-block;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-yellow));
    border-radius: 2px;
}

.section-title::before {
    right: calc(100% + 20px);
}

.section-title::after {
    left: calc(100% + 20px);
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--gray-100);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 24px;
    color: var(--gray-700);
}

.about-features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-300);
}

.feature:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

.about-logo-card {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-yellow), var(--primary-orange));
}

.about-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

/* ===== Partners Section ===== */
.partners {
    padding: 100px 0;
    background: var(--white);
}

/* Partners Tabs */
.partners-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.partners-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.partners-tab svg {
    width: 24px;
    height: 24px;
}

.partners-tab:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.partners-tab.active {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(1, 151, 63, 0.3);
}

.partners-tab.active svg {
    color: var(--white);
}

/* Partners Content */
.partners-content {
    position: relative;
}

.partners-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.partners-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New Partner Cards */
.partners-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.partners-grid-small {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.partner-card-new {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--gray-200);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.partner-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 151, 63, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.partner-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.partner-card-new:hover::before {
    opacity: 1;
}

.partner-logo-wrapper {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.partner-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-card-new:hover .partner-img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.partner-card-new:hover .partner-name {
    color: var(--primary-green);
}

/* ===== Contacts Section ===== */
.contacts {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

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

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text a,
.contact-text p {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-900);
}

.contact-text a:hover {
    color: var(--primary-green);
}

.contacts-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contacts-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    transition: var(--transition);
    background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-logo .logo-img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: var(--gray-500);
    font-size: 14px;
    max-width: 300px;
}

.footer-links h4,
.footer-partner h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--gray-500);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-partner-logo {
    height: 35px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-visual {
        align-items: center;
    }

    .hero-card-stack {
        max-width: 400px;
    }

    .hero-partner-badge {
        max-width: 400px;
    }

    .partner-badge-glow {
        filter: blur(15px);
    }

    .floating-gear {
        width: 80px;
        height: 80px;
        top: 10%;
        right: 5%;
    }

    .floating-circle {
        width: 200px;
        height: 200px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 30px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--gray-800);
        font-size: 18px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        gap: 30px;
        padding-top: 20px;
    }

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

    .hero-badge {
        margin-bottom: 20px;
        font-size: 13px;
        padding: 8px 16px;
    }

    .title-line {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .hero-card-stack {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
        gap: 12px;
    }

    .hero-card {
        flex: 1;
        min-width: 140px;
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
    }

    .hero-partner-badge {
        max-width: 100%;
    }

    .partner-badge-content {
        padding: 16px 20px;
        gap: 12px;
    }

    .partner-badge-icon {
        width: 40px;
        height: 40px;
    }

    .partner-badge-icon svg {
        width: 20px;
        height: 20px;
    }

    .partner-badge-name {
        font-size: 14px;
    }

    .partner-badge-logo {
        height: 26px;
    }

    .partner-badge-glow {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .floating-element {
        display: none;
    }

    .about-logo-card {
        padding: 40px;
    }

    .about-logo-img {
        max-height: 200px;
    }

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

    .feature {
        padding: 16px 0;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .partners-tabs {
        flex-direction: column;
        gap: 12px;
    }

    .partners-tab {
        justify-content: center;
        padding: 14px 24px;
    }

    .partners-grid-new,
    .partners-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-card-new {
        padding: 16px 12px;
    }

    .partner-logo-wrapper {
        height: 55px;
        margin-bottom: 10px;
    }

    .partner-name {
        font-size: 11px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-text h4 {
        font-size: 13px;
    }

    .contact-text a,
    .contact-text p {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo p {
        margin: 0 auto;
    }

    .footer-logo .logo-img {
        margin: 0 auto 15px;
        height: 40px;
    }

    .contacts-form {
        padding: 30px 20px;
    }

    .contacts-form h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .about,
    .partners,
    .contacts {
        padding: 50px 0;
    }

    .hero {
        padding: 70px 0 30px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        gap: 8px;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
    }

    .title-line {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-card {
        min-width: 120px;
        padding: 14px 10px;
    }

    .card-icon {
        width: 38px;
        height: 38px;
    }

    .card-icon svg {
        width: 18px;
        height: 18px;
    }

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

    .card-count {
        font-size: 11px;
    }

    .partners-grid-new,
    .partners-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .partner-card-new {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .partner-logo-wrapper {
        height: 45px;
        margin-bottom: 8px;
    }

    .partner-name {
        font-size: 10px;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .contact-card:hover {
        transform: none;
    }

    .about-content {
        gap: 30px;
    }

    .about-text p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .about-lead {
        font-size: 16px;
    }

    .about-logo-card {
        padding: 25px;
    }

    .about-logo-img {
        max-height: 150px;
    }

    .feature {
        padding: 14px 0;
        gap: 12px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
    }

    .feature-text h4 {
        font-size: 14px;
    }

    .feature-text p {
        font-size: 13px;
    }

    .partners-tab {
        padding: 12px 20px;
        font-size: 14px;
    }

    .partners-tab svg {
        width: 20px;
        height: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-content {
        gap: 25px;
        padding-bottom: 30px;
    }

    .footer-links h4,
    .footer-partner h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

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

    .footer-partner-logo {
        height: 28px;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Overlay for mobile menu ===== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
