body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #1c1c1c;
    color: white;
    scroll-behavior: smooth;
}
::selection {
    background: rgba(255, 255, 255, 0.85);
    color: black;
}
::-moz-selection {
    background: rgba(255, 255, 255, 0.85);
    color: black;
}
.link::selection {
    background: rgba(255, 255, 255, 0.85);
    color: black;
    -webkit-text-fill-color: black;
}
.link::-moz-selection {
    background: rgba(255, 255, 255, 0.85);
    color: black;
    -webkit-text-fill-color: black;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.navbar {
    background:transparent;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    padding: 30px 0;
    transition: all 0.3s ease;
}
.navbar.shrink {
    padding: 10px 0;
    background-color:#000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.navbar-logo {
    opacity:0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.shrink .navbar-logo {
    pointer-events: auto;
    opacity:1;
    
}
.navbar-links {
    float:right;
    margin-right:15px;
}
.navbar a {
    float: left;
    position: relative;
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s, border-bottom 0.3s ease;
}
.navbar a:hover {
    background-color: #2c2c2c;
}
.navbar-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: -5px;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-links a.active::after {
    width: 100%;
    left: 0;
}

.navbar .logo {
    float: left;
    font-size: 22px;
    padding: 12px 20px;
}
.logo:hover {
    cursor:pointer;
}
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 60px;
    min-height: 100vh;
    box-sizing: border-box;
    transition: background-color 0.3s;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section-content {
    max-width: 800px;
}

.section h2 {
    font-size: 2em;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #dddddd;
    margin: 0 auto;
    max-width: 600px;
}
.landing {
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding-top: 80px;
    box-sizing: border-box;
    z-index: 1;
}

.landing::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../assets/img/65893.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    z-index: -1;
}
.landing-inner {
    text-align: center;
}
.landing h1 {
    font-size: 3.5em;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight:500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.cta-button {
    padding: 15px 30px;
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #555;
    transform: translateY(-2px);
}
.ctaArrow {
    margin: 25px auto;
    cursor:pointer;
    color:inherit;
    font-size:1.5em;
    transition: color 0.2s;
}
.ctaArrow:hover {
    color:#54b3d6;
}
.ctaLink {
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align:middle;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    border-bottom: solid 1px;
    transition:border-bottom-color 0.1s;
}
.ctaLink:hover {
    border-bottom: solid 1px transparent;
}

.ctaLink::before,
.ctaLink::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
}
.ctaLink::before {
    background-color: #54b3d6;
    height: 2px;
    bottom: 0;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}
.ctaLink::after {
    content: attr(data-replace);
    height: 100%;
    top: 0;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
    color: #54b3d6;
}

.ctaLink:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}
.ctaLink:hover::after {
    transform: translate3d(0, 0, 0);
}

.ctaLink span {
    display: inline-block;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.ctaLink:hover span {
    transform: translate3d(-200%, 0, 0);
}

.section:first-child {
    margin-top: -80px;
}

h1, h2 {
    margin: 0;
    font-weight: 600;
}
p {
    font-weight: 300;
    line-height: 1.6;
}
p a {
    color: inherit;
    text-decoration:none;
}
.link {
    background-image: linear-gradient(to right, #54b3d6, #54b3d6 50%, #fff 50%);
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.link:before {
    content: "";
    background: #54b3d6;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

.link:hover {
    background-position: 0;
}

.link:hover::before {
    width: 100%;
}

.accordion {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.accordion-item {
    background-color: #2c2c2c;
    color: white;
    margin: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.accordion-button {
    background-color: #333;
    color: white;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
}

.accordion-button:hover {
    background-color: #444;
}
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.service-card {
    background-color: #333;
    color: white;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    box-sizing: border-box;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.8);
}

.service-icon {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #ffffff;
}
.service-card p {
    color: #cccccc;
    font-size: 1em;
}
.panel {
    padding: 0 15px;
    background-color: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-radius: 0 0 4px 4px;
}

.panel a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #ddd;
    border-bottom: 1px solid #444;
    transition: background-color 0.3s;
}

.panel a:last-child {
    border-bottom: none;
}

.panel a:hover {
    background-color: #444;
}
.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    width: 100%;
    margin: auto;
}
.floating-contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    border-radius: 25px;
    padding:0 10px;
    width: default;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.1);    
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
    font-weight:bold;
    letter-spacing:1px;
    z-index: 99;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
}

.floating-contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 25px;
    transition: left 0.3s ease-in-out;
    z-index: -1;
}

.floating-contact-button:hover::before,
.floating-contact-button.active::before {
    left: 0;
}


.floating-contact-button:hover,
.floating-contact-button.active {
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6),0 0 15px rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);

}

.floating-contact-button:active {
    background-color: #ddd;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(255, 255, 255, 0.15);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(720deg);
    }
}

@keyframes shrink {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0); opacity: 0; }
}

@keyframes grow {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-10deg); }
}

.floating-contact-button.shake {
    animation: shake 0.5s ease-in-out both;
}

.floating-contact-button.shrink {
    animation: shrink 0.5s ease forwards;
}

.floating-contact-button.grow {
    animation: grow 0.5s ease forwards;
}

.contact-container {
    position:relative;
    min-height:300px;
    background-color: #2c2c2c;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
    max-width: 600px;
    width: 100%;
    text-align: left;
}

.success-icon {
    font-size: 3rem;
    background-color: #4CAF50;
    color: #fff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    user-select:none;
}
.success-message {
    font-size: 1.5rem;
    text-align: center;
}
.form-success-container {
    position: relative;
    height: auto;
    overflow: hidden;
}
#errorMsg {
    padding-left:5px;
}
.typewriter-text {
    font-family: monospace;
    display: inline-block;
    white-space: nowrap; 
    overflow: hidden; 
    animation: typing 2s steps(30, end);
}

.blinking-cursor {
    font-family: monospace;
    font-weight: bold;
    color: white;
    animation: blink 1s infinite;
    opacity: 1;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0; }
}

.contact-form {
    transition: transform 0.5s ease, opacity 0.5s ease;
    padding: 5px;
}

.success-container {
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateY(100%);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: -1; 
}

.form-slide-up {
    transform: translateY(-100%);
    opacity: 0;
}
.success-slide-up {
    transform: translateY(50%);
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.input-container {
    position: relative;
    padding-top: 15px;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #333;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.floating-label {
    position: absolute;
    pointer-events: none;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: #aaa;
    font-size: 16px;
}

.input-field:focus + .floating-label,
.input-field:not(:placeholder-shown) + .floating-label {
    top: -1px;
    left: 10px;
    font-size: 12px;
    color: #fff;
}

.input-container textarea.input-field {
    min-height: 100px;
    padding-top: 20px;
    padding-left: 10px;
}

.input-container textarea.input-field + .floating-label {
    top: 40px;
    left: 10px;
    font-size: 16px;
}

.input-container textarea.input-field:focus + .floating-label,
.input-container textarea.input-field:not(:placeholder-shown) + .floating-label {
    top: -1px;
    left: 10px;
    font-size: 12px;
    color: #fff;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #333;
    color: white;
    resize: none;
    font-family: inherit;
    font-size: inherit;
    box-sizing:border-box;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid rgba(255, 255, 255, 0.7);
}
.contact-form button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    
}
.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1em;
}

.icon-phone, .icon-mail {
    margin-right: 10px;
}

.footer {
    background-color:#000;
    color: white;
    text-align: center;
    padding: 20px 0;
}
.survey-link {
    color: #4CAF50;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.survey-link:hover {
    background-color: rgba(76, 175, 80, 0.3);
    color: #fff;
    text-decoration: underline;
}

.footer-text {
    margin-bottom: 10px;
}
#portfolio { 
    background-color: #262626;
    background: url('../assets/img/357800.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}
#contact {
    background: url('../assets/img/11199.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}
#about {background-color:#1a1a1a;}
#services { background-color: #1e1e1e; }

@media screen and (max-width:900px) {
    .service-card {
        width: 80%;
        margin: 10px auto;
    }
}
@media screen and (max-width: 768px) {
    #contact,#portfolio,.landing::before {
        background-attachment: scroll;
        background-size: cover; 
        background-position: center center;
    }
}
@media screen and (max-width: 670px) {
    .navbar-links, .navbar-logo {
        float: left;
        text-align:center;
        margin: 0 auto;
        width:100%;
    }
    .navbar-logo {
        display:none;
    }
    .navbar-links {
        white-space: nowrap;
        font-size: 2.5vw;
        padding: 0 7px;
    }
    .service-card {
        width: 100%;
        margin: 10px 0;
    }
    .contact-container {
        padding: 20px;
        box-shadow: none;
    }
    .footer-text {
        font-size:3vw;
    }
}