:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-dim: #888888;
    --accent: #ffffff;
    --font-main: 'Manrope', sans-serif;
    --spacing-container: 120px 20px;
    --transition-slow: 0.6s ease-out;
}

/* Custom Scrollbar Global */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
    border: 2px solid var(--bg-color);
    /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid #111;
}

nav {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Space between Logo and Links */
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    white-space: nowrap;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--text-color);
}

/* General Layout */
section {
    padding: var(--spacing-container);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #111;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

h2 {
    font-size: 1rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    border-left: 2px solid var(--accent);
    padding-left: 15px;
}

/* Hero Section */
#hero {
    height: 100vh;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -4px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto 40px;
}

.highlight {
    background: linear-gradient(90deg, #fff, #666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

/* About Section */
.large-text {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    max-width: 800px;
}

.large-text strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Offer Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.card {
    padding: 30px;
    border: 1px solid #1a1a1a;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.card p {
    color: var(--text-dim);
}

/* Contact Section Revamp */
#contact {
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

.section-label {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.contact-heading {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -2px;
}

.contact-box {
    margin-top: 40px;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.huge-mail-link {
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    transition: all 0.4s ease;
}

.huge-mail-link:hover {
    border-bottom-color: var(--text-color);
    padding-left: 10px;
}

.arrow-icon {
    transition: transform 0.4s ease;
}

.huge-mail-link:hover .arrow-icon {
    transform: translate(5px, -5px);
}

.contact-glow {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Footer & Modals */
footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #111;
    color: var(--text-dim);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

.footer-links a:hover {
    color: var(--text-color);
}

.separator {
    margin: 0 10px;
    color: #333;
}

/* Modal Styling */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #0a0a0a;
    margin: 5% auto;
    /* 5% from the top and centered */
    padding: 60px 40px;
    border: 1px solid #222;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #666;
    float: right;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

.modal h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.legal-text h3 {
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text p {
    color: var(--text-dim);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.legal-text strong {
    color: #ccc;
}

/* Scrollbar for modal */
.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background: #000;
}

.modal::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.fade-in {
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn var(--transition-slow) 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn var(--transition-slow) 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Breakpoints */

/* Tablets and smaller laptops */
@media (max-width: 1024px) {
    :root {
        --spacing-container: 80px 30px;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 6rem);
    }

    .contact-heading {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }

    .large-text {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .huge-mail-link {
        font-size: clamp(1.2rem, 4vw, 3rem);
    }
}

/* Tablets Portrait */
@media (max-width: 768px) {
    :root {
        --spacing-container: 60px 20px;
    }

    header {
        padding: 15px 20px;
    }

    nav {
        gap: 0;
        justify-content: space-between;
    }

    .nav-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid #222;
        z-index: 1000;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    nav ul.active li {
        opacity: 1;
        transform: translateX(0);
    }

    nav ul.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    nav ul.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    nav ul.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    nav a {
        font-size: 1.2rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    section {
        min-height: auto;
        padding: 60px 20px;
    }

    #hero {
        height: 100vh;
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 12vw, 4rem);
        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    h2 {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }

    .large-text {
        font-size: 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card {
        padding: 25px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .contact-heading {
        font-size: clamp(2rem, 10vw, 3.5rem);
        margin-bottom: 40px;
    }

    .contact-text {
        font-size: 1rem;
    }

    .huge-mail-link {
        font-size: clamp(1rem, 6vw, 2rem);
        gap: 10px;
        flex-wrap: wrap;
        word-break: break-all;
    }

    .arrow-icon {
        width: 30px;
        height: 30px;
    }

    .fairness-promise {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .fairness-promise h3 {
        font-size: 1rem;
    }

    .fairness-promise p {
        font-size: 0.95rem;
    }

    .modal-content {
        width: 95%;
        padding: 40px 25px;
        margin: 10% auto;
    }

    .modal h2 {
        font-size: 1.2rem;
    }

    .legal-text p {
        font-size: 0.9rem;
    }

    footer {
        padding: 40px 20px;
    }

    .background-glow {
        width: 80vw;
        height: 80vw;
    }

    .contact-glow {
        width: 400px;
        height: 400px;
    }
}




/* Mobile Phones */
@media (max-width: 480px) {
    :root {
        --spacing-container: 40px 24px;
        /* Increased horizontal padding */
    }

    header {
        padding: 12px 20px;
        /* Increased padding */
    }

    /* ... existing styles ... */

    /* Utility Classes */
    .mb-6 {
        margin-bottom: 1.5rem;
    }

    .mb-4 {
        margin-bottom: 1rem;
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    .logo {
        font-size: 1.1rem;
    }

    nav ul {
        width: 80%;
        gap: 35px;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 14vw, 3rem);
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }

    section {
        padding: 40px 16px;
    }

    #hero {
        padding: 60px 16px;
    }

    h2 {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .large-text {
        font-size: 1.2rem;
    }

    .card {
        padding: 20px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .contact-heading {
        font-size: clamp(1.5rem, 12vw, 2.5rem);
        margin-bottom: 30px;
    }

    .section-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .contact-text {
        font-size: 0.9rem;
    }

    .huge-mail-link {
        font-size: clamp(0.9rem, 7vw, 1.5rem);
        padding-bottom: 8px;
        border-bottom-width: 1px;
    }

    .arrow-icon {
        width: 24px;
        height: 24px;
    }

    .fairness-promise {
        padding: 25px 16px;
        margin-top: 30px;
    }

    .fairness-promise h3 {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .fairness-promise p {
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 15% auto;
    }

    .close-modal {
        font-size: 1.5rem;
        top: 15px;
        right: 20px;
    }

    .modal h2 {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .legal-text h3 {
        font-size: 0.9rem;
        margin-top: 20px;
    }

    .legal-text p {
        font-size: 0.85rem;
    }

    footer {
        padding: 30px 16px;
        gap: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    footer p {
        font-size: 0.75rem;
    }
}

/* Landscape orientation for mobile devices */
@media (max-height: 600px) and (orientation: landscape) {
    #hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 15px;
    }

    .hero-content p {
        margin-bottom: 20px;
    }

    section {
        min-height: auto;
    }

    nav ul {
        padding: 20px;
        gap: 25px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .cta-button,
    .card,
    nav a,
    .huge-mail-link,
    .footer-links a {
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }

    /* Larger touch targets */
    nav a,
    .footer-links a {
        padding: 10px;
        margin: -10px;
    }

    .cta-button {
        min-height: 48px;
    }
}

/* Fairness Promise Section */
.fairness-promise {
    margin-top: 60px;
    padding: 40px;
    border: 1px dashed #333;
    /* Subtle dashed border */
    text-align: center;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.fairness-promise:hover {
    border-color: var(--text-color);
}

.fairness-promise h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fairness-promise p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dim);
}

.fairness-promise strong {
    color: var(--text-color);
    font-weight: 600;
}