* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: black;
    font-family: "Inter", sans-serif; 
}


/* Navigation */
#navbar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw;
    padding: 0 5rem; 
    height: 5rem;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 100;
    gap: 1rem;
   background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    z-index: 1000; 
}

#logo {
    background: url(img/logo_thick.svg) no-repeat center/contain; 
    height: 2rem;
    width: 2rem;
}

#navbar p {
    font-size: .8rem; 
    letter-spacing: 0.15em; 
    font-weight: 300;
}

#get-started {
    margin-left: auto;
     color: #808080;
    font-size: 0.9rem;
    transition: filter 0.2s; 
     font-family: "Inter", sans-serif; 
     font-weight: 400;
}

#get-started:hover {
    filter: brightness(1);
}

/* Main Content */
main {
    width: 100vw;
    min-height: 100vh;
}

#build-project {
    display: flex;
    flex-direction: column;
    width: 55vw;
    margin-top: 10rem;
    margin-left: 15rem;
    color: white; 
    position: relative;
}

.headlines {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; 
    margin-bottom: 1.5rem;
}

.headlines p {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.description {
    color: #808080;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 40rem;
}

/* Buttons */
#button-container {
    margin-top: 2.5rem; 
    display: flex;
    gap: 3rem; 
    flex-direction: row;
    align-items: center;
}

#button-container p {
    font-size: .9rem;
    color: #808080;
}

#button-container p:hover{
    color: white;
    transition: filter .2s;
}

#start-a-project-btn {
    color: white;
    border: .25px solid #3F3F46;;
    border-radius: 7px;
    width: 10rem;
    height: 2.2rem; 
    cursor: pointer; 
    transition: border-color 0.2s; 
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
}

#start-a-project-btn:hover {
    border-color: white;
}


#capabilities-container{
    width: 60vw;
    height: 60vh;
    margin-left: 10rem;
    margin-top: 20rem;
}

 #capabilities-container-text{
      color: #808080;
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.6;
    max-width: 40rem;
    letter-spacing: 1px;
 }

 #capabilities-text-box{
    width: 85vw;
    height: 35vh;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
 }


#capabilities-text-container{
       width: 35vw;
       display: flex;
       flex-direction: column;
       gap: 20px;
}

#capabilities-headline{
   color: white;
     font-family: "Inter", sans-serif; 
     font-weight: 300;
     font-size: 1.45rem;
 }

#Capabilities-text{
    color: #808080;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 40rem;
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 2.5s steps(20, end) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in 2.5s forwards;
}

@keyframes typing {
    to { 
        width: 100%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/*Build Container Section*/

#build-container{
    width: 30vw;
    height: 25vh;
    margin-left: 20rem;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 9.375rem;
}

#build-headline{
   color: white;
     font-family: "Inter", sans-serif; 
     font-weight: 400;
     font-size: 1.9rem;
 }
#contact-container{
    height: auto; 
    min-height: 35vh; 
    width: 65vw;
    margin-top: 12.5rem;
    margin-left: 20rem;
    margin-bottom: 10rem; 
    display: flex;
    flex-direction: row;
}

.contact-form-container{
    height: auto; 
    min-height: 50vh; 
    width: 60vw;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 2.5rem;
}
 

 .contact-text-container{
height: 100%;
    width: 50vw;

 }

 

 #contact-uppercase-text{
  color: #808080;
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.6;
    max-width: 40rem;
    letter-spacing: 1px;
 }

 #contact-headline{
   color: white;
     font-family: "Inter", sans-serif; 
     font-weight: 400;
     font-size: 1.6rem;
     margin-top: 30px;
 }

 #contact-subtext{
    color: #808080;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 40rem;
    margin-top: 1rem;
 }

 .icon-container{
    height: 1vh;
    width: 20vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4rem;
 }
 
 .icon-sub-container{
   height: 1vh;
    width: 20vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4rem;
 }

 .grey-icon{
    color: grey;
    font-size: 1.3rem;
 }

 #email {
   color: white;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-left: 1rem;
 }

 #email-subtext{
     color: #808080;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.6;
    margin-left: 2.3rem;
 }

 #consultation-text{
   color: white;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-left: 1rem;
 }

 #strategy-text{
    color: #808080;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.6;
    margin-left: 2.3rem;
 }

.contact-form-container{
    height: 50vh;
    width: 60vw;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 2.5rem;
}

.form-input {
    background: transparent;
    border: .5px solid #2A2A2A;
    height: 7vh;
    width: 25vw;
    color: white;
    padding: 0 1rem;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #505050;
}

.form-input::placeholder {
    color: #3A3A3A;
    font-weight: 300;
}

.form-textarea {
    background: transparent;
    border: .5px solid #2A2A2A;
    height: 22vh;
    width: 25vw;
    color: white;
    padding: 1rem;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    border-radius: 5px;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    border-color: #505050;
}

.form-textarea::placeholder {
    color: #3A3A3A;
    font-weight: 300;
}

.send-message-btn {
    background: transparent;
    border: .5px solid #2A2A2A;
    height: 7vh;
    width: 25vw;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}   

.send-message-btn:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.05);
}


.project-container p{
 margin: 1rem;
 }


.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 45s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; animation-duration: 52s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; animation-duration: 58s; }
.particle:nth-child(4) { left: 40%; top: 60%; animation-delay: 1s; animation-duration: 48s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-delay: 3s; animation-duration: 55s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 5s; animation-duration: 50s; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-delay: 2s; animation-duration: 60s; }
.particle:nth-child(8) { left: 80%; top: 90%; animation-delay: 4s; animation-duration: 53s; }
.particle:nth-child(9) { left: 15%; top: 10%; animation-delay: 1s; animation-duration: 62s; }
.particle:nth-child(10) { left: 25%; top: 50%; animation-delay: 3s; animation-duration: 47s; }
.particle:nth-child(11) { left: 35%; top: 70%; animation-delay: 5s; animation-duration: 56s; }
.particle:nth-child(12) { left: 45%; top: 20%; animation-delay: 2s; animation-duration: 58s; }
.particle:nth-child(13) { left: 55%; top: 80%; animation-delay: 4s; animation-duration: 49s; }
.particle:nth-child(14) { left: 65%; top: 40%; animation-delay: 1s; animation-duration: 54s; }
.particle:nth-child(15) { left: 75%; top: 60%; animation-delay: 3s; animation-duration: 61s; }
.particle:nth-child(16) { left: 85%; top: 30%; animation-delay: 5s; animation-duration: 51s; }
.particle:nth-child(17) { left: 12%; top: 90%; animation-delay: 2s; animation-duration: 57s; }
.particle:nth-child(18) { left: 42%; top: 15%; animation-delay: 4s; animation-duration: 59s; }
.particle:nth-child(19) { left: 62%; top: 85%; animation-delay: 1s; animation-duration: 52s; }
.particle:nth-child(20) { left: 72%; top: 25%; animation-delay: 3s; animation-duration: 63s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}


footer {
    background-color: black;
    border-top: 1px solid #1A1A1A;
    margin-top: 10rem;
    padding: 4rem 10rem;
    color: white;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8rem;
}

.footer-tagline {
    color: white;
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 300px;
    line-height: 1.4;
}

.footer-nav {
    display: flex;
    gap: 8rem;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-column a {
    color: white;
    font-size: 1rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-column a:hover {
    color: #808080;
}

.footer-center {
    text-align: center;
    margin-bottom: 8rem;
}

.footer-brand {
    font-size: 12rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1A1A1A;
    padding-top: 2rem;
}

.footer-logo-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#footer-logo-icon {
    background: url(img/logo_thick.svg) no-repeat center/contain;
    height: 1.5rem;
    width: 1.5rem;
}

.footer-logo-small p {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-weight: 300;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #808080;
    font-size: 0.85rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Design - Mobile First Approach */

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    #navbar {
        padding: 0 3rem;
    }
    
    #build-project {
        width: 70vw;
        margin-left: 10rem;
    }
    
    .headlines p {
        font-size: 3rem;
    }
    
    #capabilities-container {
        width: 70vw;
        margin-left: 8rem;
    }
    
    #capabilities-text-box {
        width: 75vw;
    }
    
    #build-container {
        margin-left: 10rem;
    }
    
    #contact-container {
        width: 70vw;
        margin-left: 10rem;
    }

    /* Icon Fixes for Tablet */
    .icon-container, .icon-sub-container {
        height: auto !important;
        width: 100% !important;
        margin-top: 2rem;
    }
    
    .contact-form-container {
        width: 55vw;
        margin-top: 5rem; /* Adjusted from 20rem for better spacing */
    }
    
    .form-input,
    .form-textarea,
    .send-message-btn {
        width: 30vw;
    }
    
    footer {
        padding: 3rem 5rem;
    }
    
    .footer-brand {
        font-size: 8rem;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    #navbar {
        padding: 0 2rem;
    }
    
    #build-project {
        width: 80vw;
        margin-left: 5rem;
        margin-top: 8rem;
    }
    
    .headlines p {
        font-size: 2.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    #capabilities-container {
        width: 80vw;
        margin-left: 5rem;
        margin-top: 15rem;
    }
    
    #capabilities-text-box {
        width: 80vw;
    }
    
    #capabilities-text-container {
        width: 100%;
    }
    
    #build-container {
        width: 80vw;
        margin-left: 5rem;
    }
    
    #contact-container {
        width: 80vw;
        margin-left: 5rem;
        flex-direction: column;
        gap: 3rem;
    }

    /* FIXED ICON FORMATTING FOR 991px */
    .icon-container, .icon-sub-container {
        height: auto !important;
        width: 100% !important;
        margin-top: 2rem !important;
        display: flex !important;
        flex-wrap: wrap !important; /* Forces wrap */
        align-items: center !important;
    }

    #email, #consultation-text {
        font-size: 1rem;
        margin-left: 1rem;
    }

    #email-subtext, #strategy-text {
        width: 100% !important; /* Forces to new line */
        margin-left: 2.3rem !important; /* Aligns under text, not icon */
        margin-top: 0.3rem;
        display: block !important;
    }
    
    .contact-text-container {
        width: 100%;
    }
    
    .contact-form-container {
        width: 100%;
        margin-left: 0;
    }
    
    .form-input,
    .form-textarea,
    .send-message-btn {
        width: 100%;
    }
    
    footer {
        padding: 3rem 3rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-brand {
        font-size: 6rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    #navbar {
        padding: 0 1.5rem;
    }
    
    #navbar p {
        font-size: 0.7rem;
    }
    
    #get-started {
        font-size: 0.8rem;
    }
    
    #build-project {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 6rem;
    }
    
    .headlines p {
        font-size: 2rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    #button-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 3.2rem;
    }
    #view-capabilities{
        margin-top: .5rem;
        margin-left: 1rem; 
    }
    
   
    #capabilities-container {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 10rem;
    }
    
    #capabilities-headline {
        font-size: 1.2rem;
    }
    
    #Capabilities-text {
        font-size: 0.85rem;
    }
    
    #build-container {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 6rem;
    }
    
    #build-headline {
        font-size: 1.4rem;
    }
    
    #contact-container {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 8rem;
    }
    
    .icon-container,
    .icon-sub-container {
        height: auto !important;
        width: 100% !important;
        margin-top: 2rem;
    }
    
    footer {
        padding: 2rem 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-brand {
        font-size: 4rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    #navbar {
        padding: 0 1.5rem;
        height: 3.5rem;
    }
    
    #logo {
        height: 1.9rem;
        width: 1.9rem;
    }
    
    #navbar p {
        font-size: 1.5rem;
    }
    
    #get-started {
        font-size: 0.7rem;
    }
    
    /* Hero Section */
    #build-project {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 10rem;
    }
    
    .headlines p {
        font-size: 4rem;
        line-height: 1.2;
    }
    
    .typewriter, .fade-in {
        white-space: normal;
        overflow: visible;
        width: 100%;
    }
    
    .description {
        font-size: 1.25rem;
    }
    
    #start-a-project-btn {
        width: 100%;
        max-width: 12rem;
        height: 2.5rem;
        font-size: 1rem;
        margin-bottom: 300px;
        border: 1.5px solid #3F3F46;
    }
    
    /* Capabilities Section */
    #capabilities-container {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 8rem;
        height: auto;
    }
    
    #capabilities-text-box, #capabilities-text-container {
        width: 100%;
        height: auto;
    }
    
    #capabilities-container-text, #Capabilities-text {
        font-size: 0.9rem;
    }
    
    #capabilities-headline {
        font-size: 1.2rem;
    }
    
    /* Build Section */
    #build-container {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 20rem;
        height: auto;
    }
    
    #build-headline {
        font-size: 1.4rem;
    }
    
    /* Contact Section */
    #contact-container {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-top: 15rem;
        margin-bottom: 5rem;
        height: auto;
    }
    
    #contact-uppercase-text {
        font-size: 0.9rem;
    }
    
    #contact-headline {
        font-size: 1.4rem;
    }
    
    #contact-subtext {
        font-size: 0.9rem;
    }
    
    /* CRITICAL ICON FIX: FORCING SUBTEXT BELOW EMAIL */
    .icon-container,
    .icon-sub-container {
        width: 100% !important;
        height: auto !important;
        margin-top: 2rem !important;
        display: flex !important;
        flex-wrap: wrap !important; /* Allows subtext to wrap to next line */
        align-items: center !important;
        flex-direction: row !important;
    }
    
    #email, #consultation-text {
        font-size: 0.95rem;
        margin-left: 0.8rem;
        flex: 1; /* Helps keep it next to the icon */
    }
    
    #email-subtext,
    #strategy-text {
        width: 100% !important; /* Forces this element to take its own line */
        margin-left: 2.1rem !important; /* Aligns perfectly under the email text */
        margin-top: 0.3rem !important;
        font-size: 0.85rem;
        display: block !important;
    }
    
    .contact-form-container {
        width: 100%;
        height: auto;
    }
    
    .form-input, .send-message-btn {
        width: 100%;
        height: 3rem;
    }
    
    .form-textarea {
        width: 100%;
        height: 10rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1.5rem;
        margin-top: 5rem;
    }
    
    .footer-tagline { font-size: 1rem; }
    .footer-top, .footer-center { margin-bottom: 3rem; }
    .footer-nav-column a { font-size: 0.9rem; }
    .footer-brand { font-size: 3.5rem; }
    #footer-logo-icon { height: 1.2rem; width: 1.2rem; }
    .footer-logo-small p { font-size: 0.8rem; }
    .footer-bottom-links a { font-size: 0.75rem; }
}