/* 
  Adjoy Finance - Premium Institutional Stylesheet
  Colors: Background #FFFFFF, Text #2C3E50, Accent #006400, Gold #D4AF37
  Typography: Body 20px Verdana, Headers clamp(30px, 6vw, 52px) sans-serif
*/

:root {
    --bg-color: #FFFFFF;
    --text-color: #2C3E50;
    --accent-color: #006400;
    --gold-highlight: #D4AF37;
    --body-font: Verdana, sans-serif;
    --header-font: Arial, Helvetica, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 20px;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1, h2 {
    font-size: clamp(30px, 6vw, 52px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--gold-highlight);
}

/* Layout & Organization */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    border-bottom: 2px solid var(--text-color);
}

/* Sharp Corners & Defined Borders */
.institutional-box {
    border: 2px solid var(--text-color);
    padding: 40px;
    background-color: var(--bg-color);
    border-radius: 0; /* Sharp corners */
    position: relative;
}

.institutional-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold-highlight);
}

/* Navigation */
header {
    border-bottom: 3px solid var(--text-color);
    padding: 20px 0;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 50px;
    display: block;
}

.logo-text {
    font-family: var(--header-font);
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    color: var(--text-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #FFFFFF;
    padding: 15px 30px;
    font-family: var(--header-font);
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--gold-highlight);
    border-radius: 0; /* Sharp corners */
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--gold-highlight);
    color: var(--text-color);
    border-color: var(--text-color);
}

/* Hero Sections */
.hero {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--gold-highlight);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85); /* Light overlay for text readability */
    z-index: 1;
}

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

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Calculator */
.calculator-wrapper {
    background-color: #f9f9f9;
    border: 2px solid var(--text-color);
    padding: 40px;
    margin-top: 40px;
}

.slider-container {
    margin: 30px 0;
}

input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    background: var(--accent-color);
    cursor: pointer;
    margin-top: -8px;
    border: 2px solid var(--gold-highlight);
    border-radius: 0; /* Sharp */
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: var(--text-color);
}

.calc-results {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--text-color);
    padding-top: 20px;
    margin-top: 20px;
    font-weight: bold;
}

.calc-val {
    font-size: 28px;
    color: var(--accent-color);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--text-color);
    font-family: var(--body-font);
    font-size: 16px;
    border-radius: 0;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: #FFFFFF;
    padding: 60px 0 20px;
    text-align: center;
}

footer p {
    color: #FFFFFF;
    font-size: 16px;
}

/* Global Sticky WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    width: 70px;
    height: 70px;
    border-radius: 50%; /* Exception for circular button */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    border: 2px solid #FFF;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 60px 0;
    }
}