:root {
    --primary: #1a3c34;
    --primary-dark: #132a24;
    --secondary: #ffd700;
    --secondary-dark: #e6c200;
    --accent: #ff6b6b;
    --dark: #212529;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* Header & Navigation (copied from home.php) */
header {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--primary-dark);
}

header.scrolled {
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-dark);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--light);
    margin-top: 2px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 0rem;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.nav-links>li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    display: block;
    font-size: 0.95rem;
}

.nav-links>li>a {
    padding: 0rem 1rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--light-gray);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links>li>a:hover::after {
    width: calc(100% - 2rem);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 0.8rem 0rem;
    z-index: 999;
}

.nav-links>li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    padding: 0.1rem 1.5rem;
    font-size: 0.95rem;
    color: var(--dark);
}

.dropdown a:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 2rem;
}

.has-dropdown>a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-links>li:hover>.has-dropdown>a::after {
    transform: rotate(180deg);
}

.mobile-dropdown-toggle {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 60, 52, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--light);
    cursor: pointer;
    z-index: 1001;
    min-height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-nav-buttons {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
}

/* Consultation Hero */
.consultation-hero {
    background: linear-gradient(rgba(26, 60, 52, 0.9), rgba(19, 42, 36, 0.9));
    color: white;
    padding: 50px 0 50px;
    text-align: center;
    margin-top: 50px;
}

.consultation-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.consultation-hero p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Consultation Form */
.consultation-form {
    padding: 80px 0;
    background-color: var(--light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--light-gray);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary);
    color: white;
}

.step.completed .step-number {
    background: var(--secondary);
    color: var(--dark);
}

.step-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.form-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 52, 0.1);
}

.form-text {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--gray);
}

.form-check-label a {
    color: var(--primary);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* .btn-submit {
            background: var(--primary);
            color: white;
            border: none;
            padding: 1rem 0.5rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
            margin-top: 2rem;
        } */

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 60, 52, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-next,
.btn-prev,
.btn-submit {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary);
    background: var(--primary);
    color: white;
}

.btn-next:hover,
.btn-prev:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-prev {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-prev:hover {
    background: var(--light);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 1rem;
    display: none;
}

.success-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--dark);
}

.success-message h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.notification-simulation {
    background: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    animation: slideIn 0.5s ease;
    display: none;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-content {
    color: var(--gray);
    font-size: 0.95rem;
}

.notification-content strong {
    color: var(--primary);
}

/* Error Styling */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: #ccc;
    padding: 1rem 2rem 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-share {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-share span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.social-icons a {
    color: var(--secondary);
    font-size: 0.8rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    color: #fff;
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.copyright-text {
    font-size: 0.8rem;
    color: #aaa;
}

.copyright-text strong {
    color: var(--secondary);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Scroll to Top */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: var(--transition);
    border: none;
}

#scrollToTop.show {
    opacity: 1;
}

#scrollToTop:hover {
    background: var(--secondary-dark);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultation-hero {
        padding: 130px 0 40px;
        margin-top: 0px;
    }

    .consultation-hero h1 {
        font-size: 2.2rem;
    }

    .form-container {
        padding: 2rem;
        margin: 0 0.5rem;
    }

    .step-indicator::before {
        left: 40px;
        right: 40px;
    }

    .step-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .consultation-hero {
        padding: 110px 0 30px;
    }

    .consultation-hero h1 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .step-indicator::before {
        display: none;
    }

    .step {
        margin-bottom: 1rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-next,
    .btn-prev {
        width: 100%;
    }

}

/* RESPONSIVE: Below 850px */
@media (max-width: 850px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 100px;
        transition: left 0.4s ease;
        z-index: 999;
        gap: 0;
        overflow-y: auto;
        color: var(--dark);
        background-color: var(--primary);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links>li>a {
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-dropdown-toggle {
        display: flex;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(248, 249, 250, 0.8);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        border-radius: 0;
    }

    .dropdown.open {
        max-height: 600px;
        padding: 0.5rem 0;
    }

    .dropdown a {
        padding: 0.8rem 3rem;
        font-size: 1rem;
    }

    .has-dropdown>a::after {
        display: none;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-nav-buttons {
        display: flex;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-sub {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .logo-main {
        font-size: 1.4rem;
    }

    .logo-sub {
        font-size: 0.75rem;
    }

    .mobile-menu-btn {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .nav-links>li>a {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .dropdown a {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        min-height: 40px;
        font-size: 0.9rem;
    }

    .mobile-nav-buttons {
        padding: 0 1.2rem;
    }
}