body {
background-color: #DADADA;
margin: 0;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
max-width: 960px;
margin: 0 auto;
}

.nav-logo img {
width: 200px;
}

.nav-links {
list-style: none;
display: flex;
gap: 20px;
padding: 0;
margin: 0;
}

.nav-links li {
display: inline;
}

.nav-links a {
text-decoration: none;
color: #333;
display: inline-block;
padding: 18px;
border-radius: 50%;
transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
background-color: #EDEDED;
}

.nav-links i {
font-size: 18px;
transition: color 0.3s;
}

.contact-btn {
background: none;
color: #333;
border: none;
padding: 18px;
cursor: pointer;
font-size: 18px;
border-radius: 50%;
transition: background-color 0.3s, color 0.3s;
display: flex;
align-items: center;
justify-content: center;
}

.contact-btn:hover {
background-color: #EDEDED;
}

.modal {
visibility: hidden;
position: fixed;
z-index: 10;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(41,41,41,0.90);
opacity: 0;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal.show {
visibility: visible;
opacity: 1;
}

.modal-content {
background: #DADADA;
padding: 30px;
width: 400px;
max-width: 90%;
border-radius: 8px;
text-align: center;
position: relative;
opacity: 0;
transform: translateY(-20px);
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.modal-content.show {
opacity: 1;
transform: translateY(0);
}

.modal-content h1 {
font-size: 50px;
font-weight: bold;
margin: 0 0 20px 0;
text-align: center;
color:#333;
}

.close {
position: absolute;
top: 10px;
right: 10px;
font-size: 22px;
cursor: pointer;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 50%;
transition: background-color 0.3s ease-in-out;
}

.close:hover {
background: #EDEDED;
}

.contact-form input,
.contact-form textarea {
width: 100%;
margin: 12px 0;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
box-sizing: border-box;
color:#333;
}

.contact-form textarea {
resize: none;
height: 120px;
}

.contact-form,
.contact-form input,
.contact-form textarea,
.contact-form button {
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.contact-form button {
background-color: #333;
color: white;
border: none;
padding: 18px 12px;
cursor: pointer;
width: 100%;
font-size: 23px;
font-weight:700;
border-radius: 5px;
line-height: normal;
transition: background-color 0.3s ease-in-out;
}

.contact-form button:hover {
background: #727272;
}

/* wrapper spacing consistent with your inputs */
.contact-form .captcha-row{
  margin: 12px 0;
  display: flex;
  justify-content: center;
}

/* keep it from shrinking or misaligning */
.contact-form .g-recaptcha{
  display: inline-block;
  transform: scale(1);
  transform-origin: center;
}

/* prevent your modal from forcing awkward width behavior */
.contact-form .captcha-row iframe{
  max-width: 100%;
}

.intro {
max-width: 960px;
margin: -30px auto 5px;
padding: 15px;
text-align: center;
color: #333;
}

.intro h1 {
font-size: 65px;
margin-bottom: -10px;
}

.intro p {
font-size: 25px;
}

.project {
    display: flex;
    align-items: center;
    padding: 20px 0;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    gap: 25px;
    color: #333;
}

.project h2 {
    margin: 0;
    text-align: left;
    font-size: 25px;
    white-space: nowrap;
    flex-shrink: 0;
}

.project p {
    margin: 0;
    text-align: left;
    flex-grow: 1;
    min-width: 0;
}

.divider {
    width: 5px;
    height: 150px;
    background-color: #333;
    margin: 0 20px;
}
.container {
margin: 0 auto;
max-width: 960px;
padding: 20px;
margin-top:35px;
}

.container > img {
width:80%;
height: auto;
display: block;
margin: 0 auto 10px;
}

.columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
}

.column {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

.column-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
}

.column img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.column:hover img {
    transform: scale(1.1);
}

.column::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    z-index: 1;
}

.column-1:hover::before { background-color: rgba(93,174,70,0.90); }
.column-2:hover::before { background-color: rgba(27,91,168,0.90);}
.column-3:hover::before { background-color: rgba(230,44,72,0.90);}
.column-4:hover::before { background-color: rgba(39,180,232,0.90);}
.column-5:hover::before { background-color: rgba(255,218,48,0.90);}
.column-6:hover::before { background-color: rgba(24,24,24,0.90);}
.column-7:hover::before { background-color: rgba(252,218,42,0.90);}
.column-8:hover::before { background-color: rgba(35,60,88,0.90);}
.column-9:hover::before { background-color: rgba(255,114,36,0.90);}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: white;
    font-size: 25px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
}

.column:hover .caption {
    opacity: 1;
}


footer {
text-align: center;
padding: 20px 0;
font-size:12px;
color: #333;
}

@media (max-width: 727px) {
.columns {
column-count: 2;
}
    
}
@media (max-width: 479px) {
    .columns {
        column-count: 1;
    }
    
    .container {
        margin-top:-10px;
    }

    .nav-logo img {
        width: 130px;
    }

    .intro, 
    .caption, 
    .headercontainer,
    .project,  /* Hide project section */
    .divider,
    .project h2,
    .project p {
        display: none !important; /* Use !important to ensure it takes effect */
    }

    .container > img {
        width: 100%;
    }
}