:root {
    /* Colors */
    --bg-primary: #E2E2E2;
    --bg-page: #EEEEEE;
    --bg-white: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --accent-color: #BFCE99;
    --accent-hover: #a8b884;
    --success: #BFCE99;
    --error: #ef4444;
    --border: #d0d0d0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(238, 238, 238, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    flex-shrink: 0;
}

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

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent-color);
}

.btn-header {
    background: var(--accent-color);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(191, 206, 153, 0.2);
}

/* Hero Section */
.hero {
    background: var(--bg-page);
    padding: 140px 0 80px;
}

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

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.badge-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(191, 206, 153, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--accent-color);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-main);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(191, 206, 153, 0.4);
}

/* Portfolio Slider Section */
.portfolio {
    background: var(--bg-page);
    padding: 80px 0;
}

.portfolio-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    height: 100%;
    padding: 0;
}

.slide-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: var(--accent-hover);
}

.dot.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 6px;
}

/* Services Section */
.services {
    background: var(--bg-page);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

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

.about-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-highlight {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.features-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.features-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.accent {
    color: var(--accent-color);
}

/* Partners Section */
.partners {
    background: var(--bg-primary);
    padding: 80px 0;
}

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

.partners-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.partners-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.partners-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.partners-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.partners-logos {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.partners-logos img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    transform: scale(1.05);
}

/* FAQ Section */
.faq {
    background: var(--bg-page);
    padding: 80px 0;
}

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

.faq-left h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.faq-left p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-form input {
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-main);
    background: var(--bg-white);
}

.quick-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-primary);
    padding: 20px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: var(--bg-white);
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 16px 0 0 0;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-white);
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.modal-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.modal-content ul {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
}

.modal-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Blog Section */
.blog {
    background: var(--bg-page);
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px 20px 12px;
    line-height: 1.4;
}

.blog-card p {
    padding: 0 20px 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.blog-link {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.blog-link:hover {
    color: var(--accent-color);
}

.blog-cta {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.blog-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    min-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-main);
    background: var(--bg-white);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Contact Section */
.contact {
    background: var(--bg-page);
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-left {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-right h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-right>p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(191, 206, 153, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
    cursor: pointer;
}

.form-status {
    text-align: center;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
}

.form-status.success {
    color: var(--success);
    background: rgba(191, 206, 153, 0.2);
}

.form-status.error {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

/* Footer */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #d1d5db;
    font-size: 1rem;
}

.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-contact p {
    color: #d1d5db;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--accent-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-image img {
        height: 400px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-text {
        margin: 0 auto;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-image img {
        height: 400px;
    }

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

    .nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-content {
        padding: 12px 20px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        display: none;
    }

    .btn,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .about {
        padding: 60px 0;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .about-grid {
        gap: 30px;
    }

    .about-image img {
        height: 300px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .portfolio-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 30px;
    }

    .portfolio-header h2 {
        font-size: 1.8rem;
    }

    /* Portfolio Mobile Fix - Force 1 column */
    .slide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .slider-wrapper {
        height: auto;
        min-height: 500px;
    }

    .portfolio-image {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partners-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partners-logos {
        justify-content: center;
        padding: 20px;
    }

    .faq-content {
        grid-template-columns: 1fr;
    }

    /* Blog Mobile Fix - Force 1 column */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Contact Mobile Fix - Stack and align */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-left {
        order: -1;
        /* Image/Info above form */
    }

    .contact-info-card {
        padding: 30px 20px;
    }

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

    .footer-section {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }

    input,
    select,
    textarea {
        font-size: 16px;
        /* Prevent zoom on mobile */
        padding: 14px 16px;
    }
}