@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:wght@400;700&family=Raleway&family=Readex+Pro:wght@160..700&family=Space+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,800;1,800&family=Reem+Kufi:wght@400..700&display=swap');

/* 
font-family: 'Playfair Display SC', serif;
font-family: 'Raleway', sans-serif;
font-family: 'Space Mono', monospace;
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    letter-spacing: 2px;
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
}

header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-size: 1rem;
}

.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fullscreen img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.logo button a {
    position: absolute;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    top: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f5f5f5;
    font-size: 2.5rem;
    z-index: 5;
    width: 175px;
}

img[alt="logo"] {
    margin-top: 125px;
    width: 250px;
}

.black-logo button a img {
    color: #212121;
    transition: 0.2s;
}

nav ul {
    display: flex;
    flex-direction: row;
    position: absolute;
    list-style: none;
    right: 0;
}

nav ul li {
    margin: 25px 70px 10px 0px;
}

nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 1rem;
}

nav ul li a:hover {
    border-bottom: 2px solid #f5f5f5;
}

@media (max-width: 1400px) {
    nav ul {
        display: none;
    }
    img[alt="logo"] {
        margin-top: 50px;
        width: 200px;
    }
}

.title {
    position: absolute;
    top: 50vh;
    left: 10vw;
    color: #f5f5f5;
    font-size: 3rem;
}

.subtitle {
    position: absolute;
    top: 60vh;
    left: 10vw;
    color: #f5f5f5;
    font-size: 2rem;
}

@media (max-width: 750px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 550px) {
    .title {
        font-size: 1.85rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: black;
    padding: 100px 20px;
    text-align: left;
}

.hero-content {
    max-width: 30%;
    margin-left: 10vw;
    margin-right: auto;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Hero Section */
.hero-second {
    background-size: cover;
    background-position: center;
    color: black;
    padding: 100px 20px;
    text-align: right;
}

.hero-content-second {
    max-width: 30%;
    margin-right: 10vw;
    margin-left: auto;
}

.hero-second h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-second p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero .cta {
    padding: 15px 30px;
    background-color: black;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.hero .cta:hover {
    background-color: #666;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content {
        max-width: 80%;
        margin-left: 10%;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero .cta {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-content {
        max-width: 90%;
        margin-left: 5%;
    }

    .hero h1 {
        font-size: 1.75em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .hero .cta {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content-second {
        max-width: 80%;
        margin-right: 10%;
    }

    .hero-second h1 {
        font-size: 2em;
    }

    .hero-second p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-content-second {
        max-width: 90%;
        margin-right: 5%;
    }

    .hero-second h1 {
        font-size: 1.75em;
    }

    .hero-second p {
        font-size: 0.9em;
    }
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #fff;
    flex-wrap: wrap;
    margin-left: 10vw;
    margin-right: auto;
    max-width: 80vw;
}

.feature {
    max-width: 300px;
    text-align: left;
    margin-bottom: 30px;
}

.feature i {
    font-size: 20px;
    color: black;
}

.feature h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #333;
}

.feature p {
    font-size: 1em;
    color: #666;
}

/* Footer */
.footer-first {
    text-align: center;
    padding: 12px;
    color: black;
    margin-bottom: 50px;
}

/* Mobile-specific styles for dropdown */
@media (max-width: 1400px) {
    .dropdown-content {
        display: none; /* Ensure dropdown is hidden by default */
        background-color: #aaa;
        position: absolute;
        width: 100%;
        z-index: 10;
        left: 0;
        top: 100%;
        width: 100%;
        padding: 10px;
    }

    .dropdown-content a {
        padding: 10px;
        display: block;
        text-align: left;
    }

    .dropdown-content a:hover {
        background-color: #ddd;
    }

    .dropdown.show .dropdown-content {
        display: block; /* Display dropdown content when 'show' class is added */
    }
    .dropdown-content.show {
        position: absolute;
        background-color: #aaa;
        top: 100%; /* Position below the button */
        background-color: transparent;
        padding: 10px; /* Add some padding */
        z-index: 1; /* Ensure it appears above other content */
    }
}

/* Mobile Navigation (default hidden) */
.mobile-nav {
    display: none;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    text-transform: capitalize;
    color: black;
    font-size: 1rem;
}

.dropdown-content {
    display: none; /* Hide by default */
    position: absolute;
    top: 75%; /* Position below the button */
    left: 0;
    padding: 10px; /* Add some padding */
    border-radius: 5px; /* Rounded corners */
    z-index: 1; /* Ensure it appears above other content */
}

/* Show dropdown content when .show class is added */
.dropdown-content.show {
    display: block;
    position: absolute;
    top: 75%; /* Position below the button */
    left: 0;
    padding: 10px; /* Add some padding */
    min-width: 300px; /* Ensure a minimum width */
    border-radius: 5px; /* Rounded corners */
    z-index: 1; /* Ensure it appears above other content */
}

.dropdown-content a {
    display: block;
    padding: 8px 12px; /* Add padding for easier clickability */
    text-decoration: none;
    color: #212121;
    font-size: 1rem;
    border-radius: 3px; /* Slightly rounded corners for links */
}

/* Change link color on hover */
.dropdown-content a:hover {
    background-color: #f0f0f0; /* Light gray background on hover */
    color: #000; /* Darker text color on hover */
}

/* Media Query for Mobile */
@media (max-width: 1400px) {

    .mobile-nav {
        display: block;
    }
    .dropdown-content {
        position: static; /* Adjust positioning for mobile */
        box-shadow: none;
    }
    img[alt="logo"] {
        margin-top: 50px;
        width: 200px;
    }
}

.security-header {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 100px;
}

.security-stack {
    padding: 50px 20px;
    background-color: white;
    color: black;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 100vw;
    margin-bottom: 100px;
}

.security-feature {
    max-width: 300px;
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

.security-feature h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.security-feature p {
    font-size: 1em;
    line-height: 1.5;
}

.security-feature:nth-child(even) {
    align-self: flex-start;
    margin-left: 20vw;
}

.security-feature:nth-child(odd) {
    align-self: flex-end;
    text-align: left;
    margin-right: 20vw;
}

/* Media query for screens below 850px */
@media (max-width: 850px) {
    .security-feature:nth-child(even),
    .security-feature:nth-child(odd) {
        align-self: center;
        margin-left: 0;
        margin-right: 0;
    }
}
