/* ===============================
   JTPay - Modern Minimalist Design
   Colors: White & Blue Palette
   =============================== */

:root {
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --pale-blue: #dbeafe;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --off-white: #f9fafb;
    --light-gray: #e5e7eb;
    --gray: #6b7280;
    --dark-gray: #374151;
    --text-dark: #1f2937;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* ===============================
   Reset & Base Styles
   =============================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

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

/* ===============================
   Container & Layout
   =============================== */

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

section {
    padding: 60px 0;
}

/* ===============================
   Navigation Bar
   =============================== */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Language Switcher */
.language-switcher {
    margin-left: 15px;
}

.lang-btn {
    background-color: var(--pale-blue);
    color: var(--primary-blue);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.lang-btn:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

#otherLang {
    opacity: 0.6;
}

/* ===============================
   Hero Section
   =============================== */

.hero {
    background: linear-gradient(135deg, var(--pale-blue) 0%, var(--white) 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================
   Buttons
   =============================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===============================
   Mission Section
   =============================== */

.mission {
    background-color: var(--off-white);
    text-align: center;
}

.mission h2 {
    margin-bottom: 30px;
}

.mission p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===============================
   Features Section
   =============================== */

.features {
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-hover);
    border-color: var(--light-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.feature-card a {
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

/* ===============================
   Values Section
   =============================== */

.values {
    background-color: var(--pale-blue);
    text-align: center;
}

.values h2 {
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

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

.value-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===============================
   CTA Section
   =============================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

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

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

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
    background-color: var(--off-white);
}

/* ===============================
   Content Pages Styles
   =============================== */

.page-header {
    background: linear-gradient(135deg, var(--pale-blue) 0%, var(--white) 100%);
    padding: 80px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray);
}

.content-wrapper ul, .content-wrapper ol {
    margin-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray);
}

.content-wrapper li {
    margin-bottom: 10px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

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

.card p {
    color: var(--gray);
    line-height: 1.7;
}

.card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ===============================
   Blog Styles
   =============================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.blog-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-card a {
    color: var(--primary-blue);
    font-weight: 500;
}

/* ===============================
   Contact Form
   =============================== */

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.contact-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

/* Map Styles */
.contact-map {
    margin-top: 50px;
    text-align: center;
}

.contact-map iframe {
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    max-width: 100%;
}

/* ===============================
   Footer
   =============================== */

.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--pale-blue);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--pale-blue);
}

/* ===============================
   Cookie Banner
   =============================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -2px 10px var(--shadow);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
}

.cookie-banner button {
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-banner button:hover {
    background-color: var(--pale-blue);
    transform: translateY(-2px);
}

/* ===============================
   Responsive Design
   =============================== */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 8px var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-cta {
        flex-direction: column;
    }

    .features-grid,
    .values-grid,
    .cards-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-map iframe {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero {
        padding: 60px 0;
    }

    section {
        padding: 40px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
