/* Copyright 2025 Unhinged Capital. All rights reserved. */
* {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, Arial, sans-serif;
}

body {
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #002d62;
    white-space: nowrap;
    max-width: 50%;
    display: flex;
    align-items: center;
}

.logo-tm {
    font-size: 0.3rem;
    margin-left: 2px;
    vertical-align: super;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333333;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

nav ul li a:hover {
    color: #002d62;
}

.header-action-link {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #002d62;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.header-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #002d62;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background-color: #001a38;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 650px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background-color: #002d62;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #002d62;
    color: #ffffff;
    font-weight: 500;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #001a38;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    color: #002d62;
}

.about-image {
    background-color: #e0e5ec;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.contact h2 {
    text-align: center;
    color: #002d62;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 15px 30px;
    background-color: #002d62;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #001a38;
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: 20px;
}

/* Page Header */
.page-header {
    padding: 180px 0 100px;
    background-color: #002d62;
    color: #ffffff;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 20px;
}

/* Legal Section */
.legal-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.legal-text {
    grid-column: span 2;
    max-width: 900px;
    margin: 0 auto;
}

.legal-container {
    margin-top: 40px
}

.legal-text h2 {
    color: #002d62;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.legal-text p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.legal-text a {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: #333333;
    text-decoration: underline;
}

.legal-update {
    font-style: italic;
}

/* Footer */
footer {
    background-color: #001a38;
    color: #ffffff;
    padding: 60px 0 30px;
}

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

.footer-about p {
    font-size: 1rem;
    line-height: 1.5;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 1rem;
    line-height: 1;
    color: #dddddd;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Copyright Row */
.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: #dddddd;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .logo {
        font-size: 1.5rem;
    }
    
    nav ul li {
        margin-left: 20px;
    }

    .about-image {
        height: 380px;
    }
}

@media screen and (max-width: 992px) {
    .logo {
        font-size: 1.3rem;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    .header-content {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-y: auto; /* Allow scrolling */
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 30px;
        box-sizing: border-box;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        font-size: 1.2rem;
        padding: 10px 0;
        display: inline-block;
    }
    
    .header-action-link {
        margin-top: 20px;
        justify-content: center;
    }

    .header-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: auto;
        display: inline-block;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 576px) {
    .logo {
        font-size: 1.2rem;
        max-width: 75%;
    }
    
    .header-content {
        padding: 10px 0;
        height: 70px;
    }

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

    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

/* Animation styles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }