@import url('https://fonts.cdnfonts.com/css/devil-breeze');
@import url('https://fonts.cdnfonts.com/css/poppins');
@import url('https://fonts.cdnfonts.com/css/bimbo');


body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #0A192F;
    color: #E5E7EB;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-image:
    url(images/bg.triangle.webp)
    repeating-linear-gradient(
        to right, transparent 0 500px, #ffae00 500px 501px
    );
    background-size: 100%;
}
*::-webkit-scrollbar {
    width: 0;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    }
.section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Add padding-left to push content away from fixed header */
    padding-left: 200px; /* Same width as header */
}
/* Adjust .content-fit within sections to accommodate the header */
.section .content-fit {
    width: min(1200px, 90vw);
    margin: auto;
    min-height: 100vh;
    position: relative;
    padding-block: 10em;
    z-index: 2;
    /* Adjust width to account for the header if needed for inner content */
    max-width: calc(100vw - 220px); /* 200px header + 20px padding */
}


header {
    padding-block: 1em;
    position: fixed;
    top: 0;
    width: 200px; /* Example width for the vertical nav */
    height: 100vh; /* Make header take full height */
    left: 0; /* Position header on the left */
    z-index: 100;
    backdrop-filter: blur(20px);
    background-color: #1B2A41;
    background-image: repeating-linear-gradient(
        to right, transparent 0 500px, #eee1 500px 501px
    );
    display: flex; /* Use flexbox for header content */
    flex-direction: column; /* Stack logo and nav vertically */
    align-items: flex-start; /* Align items to the start (left) */
    padding-left: 1em; /* Add some padding to the left */
}

header .content-fit {
    display: flex; /* Ensure logo and nav are aligned */
    flex-direction: column; /* Stack logo and nav vertically */
    justify-content: flex-start; /* Align content to the top */
    align-items: flex-start; /* Align items to the start (left) */
    min-height: unset!important;
    padding-block: unset!important;
    z-index: 2;
    width: 100%; /* Ensure content-fit takes full width of header */
}

header .logo {
    margin-bottom: 2em; /* Space between logo and nav */
    font-size: 1.5em; /* Adjust logo size */
    font-weight: bold;
}

header .logo a {
    color:#64FFDA; /* Color for your logo link */
    text-decoration: none;
}

header nav {
    width: 100%; /* Make nav take full width of header */
}

header nav ul {
    display: flex; /* Use flexbox for list items */
    flex-direction: column; /* Stack list items vertically */
    gap: 10px; /* Space between nav buttons */
    list-style: none; /* Remove default list style */
    padding: 0; /* Remove default padding */
}

header nav ul li {
    width: 100%; /* Make list items take full width of nav */
}

header nav ul li a {
    display: block; /* Make links behave like blocks for button styling */
    padding: 10px 15px; /* Padding inside the buttons */
    background-color: #F7B32B; /* Text color for buttons */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners for buttons */
    text-align: center; /* Center text within buttons */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    color: #1B2A41; /* Adjust link color for better contrast on button */
}

header nav ul li a:hover {
    background-color: #555; /* Slightly lighter background on hover */
    color: white; /* Ensure text color is visible on hover */
}

/* Dropdown specific styles */
.dropdown {
    position: relative;
    display: block; /* Important for dropdown to work vertically */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #444; /* Darker background for dropdown */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 101; /* Higher z-index than header to appear on top */
    left: 100%; /* Position dropdown to the right of the button */
    top: 0; /* Align dropdown with the top of the button */
    border-radius: 5px;
}

.dropdown-content.show { /* For JS control */
    display: block;
}

.dropdown-content a {
    color: white; /* Changed to white for better visibility on dark background */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left; /* Align dropdown items to the left */
    background-color: #444; /* Background for dropdown items */
    border-bottom: 1px solid #555; /* Separator between items */
}

.dropdown-content a:last-child {
    border-bottom: none; /* No border on the last item */
}

.dropdown-content a:hover {
    background-color: #64FFDA; /* Accent color on hover */
    color: #1B2A41; /* Dark text on accent hover */
}

h1 {
    color: #64FFDA;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
}

#banner .title {
    color:burlywood;
    font-size: 150px;
    font-family: "Helvetica";
    font-weight: bold;
    position: relative;
    text-align: center;
    z-index: 1;
}
#banner .title::before {
    content: attr(data-before);
    position: absolute;
    top: 0.5em;
    inset: 0.66em 0 0 0;
    z-index: 0;
    color: #64FFDA ;
}
.section .decorate {
    position: absolute;
    z-index: -1;
}
#intro .content-fit {
    display:inline-block;
    gap: 30%;
    justify-content: space-between;
    align-items: center;
    font-size: 23px;
}
.section .number {
    font-family: "Lucida Console";
    font-size: 5em;
    font-weight: bold;
    color:#1B2A41;
}
.section .number ul {
    list-style-type: none;
    color:#A6E3F4;
    margin-left: 1.5em;
    display: flex; /* Makes the list items arrange horizontally */
    align-items: center; /* Vertically centers the bullets if the li had different heights (less relevant for empty li) */
    justify-content: space-between; /* Centers the group of bullets horizontally within its parent (.number) */
    gap: 10px; /* Adds space between each bullet (adjust as needed) */
    padding: 0; /* Remove default padding from ul that might affect positioning */
    margin: 0;
}
.section .content-fit .title {
    font-family: Helvetica;
    font-size: 5em;
    font-weight: bold;
}
#description .content-fit {
    padding-right: 30%;
    font-size: 15px;
}
#description .number {
    font-size: 5em;
}
#description .title {
    font-size: 5em;
    font-weight: 500;
}

/* Styles for the new Universal Web Services section */
.linked-website-section {
    background-color: #1B2A41; /* Darker background for this section */
    color: #E5E7EB; /* Lighter text color */
}

.linked-website-section .des {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center;
}

.linked-website-section .title {
    font-size: 4em; /* Smaller title for section heading */
    color: #F7B32B; /* Accent color for title */
    margin-bottom: 20px;
}

.linked-website-section h2 {
    font-size: 2.5em;
    color: #64FFDA; /* Complementary color */
    margin-bottom: 15px;
}

.website-preview-card {
    background-color: #0A192F; /* Even darker background for the card */
    border: 1px solid #334e6e;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 30px;
    margin-top: 30px;
    width: 80%; /* Adjust width as needed */
    max-width: 700px; /* Max width for larger screens */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.website-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.website-preview-card img {
    max-width: 90%; /* Ensure image fits well inside card */
    height: auto;
    border: 2px solid #64FFDA; /* Highlight border */
    border-radius: 8px;
    display: block;
    margin: 0 auto 15px auto; /* Center image and add space below */
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.website-preview-card img:hover {
    border-color: #F7B32B; /* Change border on hover */
}

/* Ensure the .click-to-view paragraph has the correct color,
    even if it's inside an <a> tag that might apply a different default color. */
.website-preview-card a .click-to-view {
    font-style: italic;
    color: #A6E3F4; /* Light blue/cyan for instruction - explicitly set here */
    font-size: 0.9em;
    margin-top: 10px;
    text-decoration: none; /* Remove underline from the text itself */
}

#contact .content-fit {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
#contact table {
    width: min(800px, 90vw);
    padding-top: 2em;
    font-size: 2em;
    margin: auto;
}
#contact table td {
    padding-block: 0.5em;
    border-bottom: 1px double #000;
}
#contact table td:nth-child(1) {
    text-align: left;
    font-weight: 500;
}
#contact table td:nth-child(2) {
    text-align: right;
    font-weight: 400;
    color: rgb(204, 241, 141);
}
#contact .sign {
    font-family: "devil breeze";
    font-size: 4em;
}
#container3D {
    position: fixed; /* Keep it fixed so it's always behind content */
    inset: 0;
    z-index: 1; /* Make sure it's behind everything but above the body background */
    pointer-events: none;
}
/* Responsive Layout */
@media screen and (max-width: 1023px){
    #banner .title {
        font-size: 4em;
    }
    #intro .content-fit {
        flex-direction: column;
    }
    /* Adjust main content padding for smaller screens if header becomes horizontal */
    .section {
        padding-left: 0; /* Remove fixed padding when header is not vertical */
    }
    .section .content-fit {
        max-width: 90vw; /* Reset max-width for content-fit */
    }
}
@media screen and (max-width: 767px){
    /* Adjust header for smaller screens */
    header {
        width: 100%;
        height: auto;
        flex-direction: row; /* Back to horizontal for smaller screens */
        justify-content: space-between;
        padding-left: 0;
        padding-right: 1em; /* Add some padding on the right */
        box-sizing: border-box; /* Ensure padding is included in width */
    }

    header .content-fit {
        flex-direction: row;
        justify-content: space-between;
        align-items: center; /* Vertically center items in row */
    }

    header nav ul {
        flex-direction: row; /* Keep nav items horizontal for smaller header */
        flex-wrap: wrap; /* Allow nav items to wrap if space is tight */
        justify-content: flex-end; /* Align nav items to the right */
        gap: 5px; /* Smaller gap for horizontal items */
    }

    header nav ul li {
        width: auto; /* Allow list items to size according to content */
    }

    header nav ul li a {
        padding: 8px 12px; /* Smaller padding for nav links */
        font-size: 0.9em; /* Smaller font size */
    }

    .dropdown-content {
        left: 0; /* Position dropdown below for smaller screens */
        top: 100%;
        width: 100%; /* Make dropdown span full width of header */
        box-shadow: none;
        border-radius: 0;
    }

    #banner .title {
        font-size: 5em;
    }
    #intro .content-fit {
        flex-direction: column;
    }
    .section .number {
        font-size: 5em;
    }
    .section .content-fit .title {
        font-size: 2em;
    }
    #description .content-fit {
        padding-right: 0;
    }
    #contact table {
        font-size: 2em;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    #contact .sign {
        font-size: 2em;
    }
    #container3D {
        position: absolute;
    }
}