:root {
    /* Color Palette */
    --primary-color: #050505;
    /* Black */
    --primary-light: #1A1A1A;
    /* Dark Gray */
    --accent-color: #CDA66A;
    /* Metallic Gold #D4AF37 */
    --accent-hover: #C9A25E;
    /* Darker Gold */
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --text-main: #EDEDED;
    --text-muted: #A3A3A3;
    --text-light: #FFFFFF;
    --border-color: #262626;

    /* Typography */
    --font-family: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --container-padding: 2rem;
    --section-padding: 5rem 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

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

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

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-hover);
    color: var(--primary-color);
    transform: scale(1.05);
    outline: none;
}

.btn-dark {
    background-color: var(--primary-light);
    color: var(--text-light);
}

.btn-dark:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    outline: none;
}

/* Typography elements */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-light);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header / Navigation */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

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

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

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    padding: 4px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 4px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #94A3B8;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 230px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border-radius: 6px;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    border: 1px solid var(--border-color);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: dropdownFadeIn 0.2s ease forwards;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

.nav-actions .btn {
    padding: 0.4rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 50px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 10rem;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920&ixlib=rb-4.0.3') center/cover no-repeat;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(197, 155, 39, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Trust Indicators */
.trust-bar {
    background-color: var(--primary-color);
    padding: 2rem 0;
    color: var(--text-light);
    margin-top: -3rem;
    /* Overlap hero slightly */
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-text {
    font-weight: 600;
    font-size: 1.125rem;
}

/* Services Section */
.services {
    padding: var(--section-padding);
}

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

.service-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-list {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.service-list i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.service-link {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.service-link i {
    transition: var(--transition);
}

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

.service-link:hover i {
    transform: translateX(5px);
}

/* Methodology Section */
.methodology {
    padding: var(--section-padding);
    background-color: var(--card-bg);
}

.workflow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--card-bg);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 30px;
    /* Half of step-number height */
    position: relative;
    z-index: 1;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
}


/* Team Section */
.team {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    margin-bottom: 1.5rem;
    padding: 4px;
    background-color: var(--card-bg);
    transition: var(--transition);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-name {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(197, 155, 39, 0.2);
}

.btn-submit {
    margin-top: 1rem;
    align-self: center;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem;
    }
}

/* 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);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text-light);
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.modal-content h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.close-modal-btn {
    width: 100%;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background-color: var(--card-bg);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #0A0A0A;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.faq-question {
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer Section */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.footer-desc {
    color: #94A3B8;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #94A3B8;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: #050505;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94A3B8;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Terms Modal Specific Styles */
.terms-modal-content {
    max-width: 800px;
    width: 95%;
}

.terms-text {
    text-align: left;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 20px;
}

.terms-text h4 {
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.terms-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Scrollbar for terms */
.terms-text::-webkit-scrollbar {
    width: 8px;
}

.terms-text::-webkit-scrollbar-track {
    background: var(--bg-color);
    border-radius: 4px;
}

.terms-text::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.terms-text::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}



/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .workflow {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1.5rem var(--container-padding);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

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

    .dropdown-content {
        position: static;
        display: none;
        flex-direction: column;
        box-shadow: none;
        background-color: transparent;
        padding-left: 1rem;
        margin-top: 1rem;
        gap: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.open .dropdown-content {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn i {
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.open i {
        transform: rotate(90deg);
    }

    .hero {
        padding: 6rem 0 8rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .trust-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}