/* Top Bar Styles */
.top-bar {
    background-color: #046C2C;
    padding: 8px 0;
    color: #fff;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: #fff;
    color: #046C2C;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 12px;
    }

    .contact-info {
        font-size: 0.85em;
    }

    .contact-info a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    body {
        padding: 0;
    }

    .container {
        margin: 0;
        border-radius: 0;
    }
}

/* Navbar styles */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.nav-logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.trial-btn {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.trial-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.trial-btn::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile menu styles */
@media (max-width: 1024px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        clip-path: circle(0% at top right);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-menu.active {
        clip-path: circle(150% at top right);
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .trial-btn {
        display: inline-block;
        margin-top: 1rem;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
}

/* Add padding to container to account for navbar */
.container {
    padding-top: 40px;
}

:root {
    --primary-color: #046C2C;
    --primary-dark: #035823;
    --primary-light: #058337;
    --secondary-color: #04D454;
    --secondary-light: #05ff64;
    --background-light: #f8f9fa;
    --background-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f0f2f5;
    background-image: linear-gradient(135deg, rgba(4, 108, 44, 0.03) 0%, rgba(4, 212, 84, 0.03) 100%);
    min-height: 100vh;
    /*padding: 40px 20px;*/
    color: var(--text-dark);
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.container:hover {
    box-shadow: var(--box-shadow-hover);
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--background-gradient);
    border-radius: 2px;
}

.form-header h1 {
    color: var(--primary-color);
    font-size: 2.4em;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1.15em;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    flex: 1;
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.form-group:focus-within::after {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95em;
    transition: var(--transition);
}

.form-group:focus-within label {
    color: var(--primary-color);
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-size: 1em;
    transition: var(--transition);
    background-color: #fff;
    color: var(--text-dark);
}

input[type="text"]:hover,
input[type="email"]:hover,
select:hover {
    border-color: var(--primary-light);
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(4, 108, 44, 0.1);
    background-color: #fff;
}

select {
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23046C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

select:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23058337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.price-display {
    margin: 40px 0;
    padding: 30px;
    background: var(--background-gradient);
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.price-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.price-display p {
    font-size: 1.2em;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#totalPrice {
    font-size: 3em;
    font-weight: 700;
    color: var(--secondary-light);
    display: block;
    margin: 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}

.price-note {
    font-size: 0.9em !important;
    opacity: 0.9;
    margin-top: 10px !important;
}

#paypal-button-container {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(4, 108, 44, 0.1);
    transition: var(--transition);
}

#paypal-button-container:hover {
    border-color: rgba(4, 108, 44, 0.2);
    background-color: #fff;
}

/* Error states */
.error {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
}

.error-message {
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Success message */
.success-message {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .container {
        padding: 30px 20px;
    }
    
    .form-header h1 {
        font-size: 1.8em;
    }
}

/* Input with icons */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
}

.input-with-icon input,
.input-with-icon select {
    padding-left: 45px !important;
}

.input-with-icon input:focus + i,
.input-with-icon select:focus + i,
.input-with-icon input:not(:placeholder-shown) + i,
.input-with-icon select:not([value=""]):not(:focus) + i {
    color: var(--primary-color);
}

/* Update select background position for icon space */
select {
    background-position: right 16px center !important;
}

/* Footer Styles */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-about {
    max-width: 400px;
}

.footer-about p {
    margin: 20px 0;
    color: #999;
    line-height: 1.6;
}

.footer-title {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact {
    color: #999;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-footer {
        padding: 40px 0 20px;
    }
}