body {
    background-image: url(../imgs/windowCleaning.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
}

#left-header-div {
    background-color: white;
    justify-content: center;
    align-items: center;
}




#telephone-div {
    display: flex;
    flex-direction: row;
}


#right-header-div {
    padding: calc(1rem/3) 0;
    background-color: rgb(98, 166, 245);
    align-items: center;
}

.text-spacer {
    font-size: 1.1rem;
    padding: 0 2rem 0 2rem;
    color: rgba(98, 166, 245, 0.9);
    max-height: 100%;
    margin: auto 0;
}

.icon-spacer {
    font-size: 1.1rem;
    padding: 0 0.5rem 0 0.5rem;
    color: rgba(98, 166, 245, 0.9);
    max-height: 100%;
    margin: auto 0;
}

#time-div * {
    margin: auto;
}


#telephone-div * {
    margin: auto;
}

.header-img {
    
    width: auto;
    height: 1.67rem;
}

#location-div {
    display: flex;
    flex-direction: row;
}

#location-div * {
    margin: auto;
}


.inherit-styles {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1060px) {
    
    header * {
        display: none;
        /*remove header when the screen is less than or equal to 1060px wide*/
        /*i chose this width was chosen because its the exact breakpoint where the text will begin to wrap*/
        
    }

    #tools-img {
        display: none;
    }
    #menu-svg {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 1000;
        cursor: pointer;
    }

    .menu-div-li {
        display: none !important;
    }

    #nav-center-menu-div {
        justify-items: end;
    }

}
@media (min-width: 1061px) {
    #menu-svg {
        display: none;
    }
}

#nav-container {
    padding: 1rem;
    background-color: rgb(32, 83, 143);
    max-height: 20vh;  
}

#nav-container * {
    color: white;
}

#nav-logo {
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

#img-wrapper {
    background-color: white;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    height: 10vh;
    border-radius: 6vh;    
    width: 10vh;
    justify-content: center;
    aspect-ratio: 1/1 !important;
}

#nav-title {
    margin: 0 1rem 0 1rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1.5;
    font-family: "Bubblegum Sans", sans-serif;
    
}

#nav-center-menu-div li {
    display: inline-block;
}


#nav-center-menu-div {
    max-width: fit-content;
}

#nav-center-col {
    align-content: center;
    justify-items: left;
}

.nav-spacer {
    display: inline-block;
    width: 2.5vw;
    margin: auto;
}

.nav-title-p {
    font-weight: bold;
    font-size: 1.4rem;
    margin: auto;
}

.nav-title-p:hover {
    font-weight: bold;
    font-size: 1.4rem;
    margin: auto;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

#tools-img {
    height: 3.50588235295rem; /*calculated to prevent menu-nav wrap*/
    width: auto;
}

#slogan-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1rem;
}

#slogan {
  position: relative;
}
#slogan::before {
  content: "";
  display: block;
  margin-top: 0.5rem;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: 999px;
}
#slogan::after {
  content: "";
  display: block;
  margin-top: 0.5rem;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: 999px;
}

#main-content {
    margin-top: 2rem;
    height: --webkit-fill-available;
    background-color: rgba(98, 166, 245, 0.9);
    padding: 2rem;
    border-radius: 1rem;
}

#about-us-logo {
    margin: auto;
    background-color: white;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 0.9rem;
    border: solid 0.25rem darkblue;
}


#services {
    color: black;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 1);
    background: rgba(255,255,255,0.9);
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    font-family: "Bubblegum Sans", sans-serif;
    border-radius: 0.75rem;

    /*for mobile compatibility for ::before and ::after */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-wrapper p {
    font-size: clamp(0.75rem, 2vw, 2rem);
}

#services::before {
    content: "";
    display: block;
    margin-top: 0.5rem;
    width: 25%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    border-radius: 999px;
    align-self: flex-end;
}

#services::after {
    content: "";
    display: block;
    margin-top: 0.5rem;
    width: 25%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    border-radius: 999px;   
    align-self: flex-start;
}

.services-wrapper {
    text-align: center;
    align-content: center;
    justify-items: center;
    padding: 0.5rem;
    aspect-ratio: 1/1 !important;
    border-radius: 0.75rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: box-shadow 0.1s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 10px 10px 8px rgba(0,0,0,0.3);
    }
    100% {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

.services-wrapper * {
    font-family: "Bubblegum Sans", sans-serif;
}

.services-wrapper:hover {
    text-align: center;
    align-content: center;
    justify-items: center;
    padding: 0.5rem;
    aspect-ratio: 1/1 !important;
    border-radius: 0.75rem;
    background-color: white;
    box-shadow: 10px 10px 8px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
    cursor: pointer;
}


#about-us {
    font-family: "Bubblegum Sans", sans-serif;
}

#about-us-col {
    position: relative;
    padding: clamp(1rem, 2vw, 2rem);
    background-color: white;
    border-radius: 1rem;
}

#about-us-col:hover {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 10px -10px rgb(47, 125, 214);
}

#about-us-col {
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    #about-us-logo{
        display: none;
    }
}

#services-logo-col {
    flex-wrap: wrap;
}

.bi::before, .bi::after {
    font-size: clamp(1rem, 3vw, 3rem);
}


@media (max-width: 768px) {
    .bi::before, .bi::after {
    font-size: clamp(1rem, 10vw, 3rem);
    }
    /* medium */
    .services-wrapper p {
    font-size: clamp(0.75rem, 3vw, 2rem);
    }
}

@media (min-width: 225px) and (max-width: 575px) {
    .services-wrapper p {
        /*extra small*/
    font-size: clamp(0.75rem, 4vw, 2rem);
    }
}

@media (max-width: 224px) {
    .services-wrapper p {
        /*extra extra small*/
    font-size: clamp(0.5rem, 2vw, 2rem);
    }

    #nav-title {
        display: none;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    .services-wrapper {
        box-sizing: content-box;
        padding: 0.5rem !important;
    }
}



.decorative-blue-line::after {
    content: "";
    display: block;
    width: clamp(50px, 10vw, 100px);
    height: 4px;
    background: linear-gradient(90deg, #34fcff, #38bdf8);
    border-radius: 1px;
    margin: 1rem auto;
}



#footer {
    background-color: rgb(31, 83, 143);
    color: white;
}






















#contact-container {
    background-color: white;
    padding: 3rem 1rem;
    border-top: 0.5rem solid rgb(32, 83, 143);
}

#contact {
    color: rgb(32, 83, 143);
    font-family: "Bubblegum Sans", sans-serif;
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

#contact::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    border-radius: 999px;
    margin: 0.5rem auto 0;
}

.contact-content {
    background-color: rgba(98, 166, 245, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid rgba(98, 166, 245, 0.3);
}

.contact-content p {
    font-size: 1.1rem;
    color: #333;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2rem;
    color: rgb(98, 166, 245);
    min-width: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: rgb(32, 83, 143);
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

.contact-item a {
    color: rgb(32, 83, 143);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    padding-top: 1.5rem;
    border-top: 2px solid rgba(98, 166, 245, 0.3);
}

.social-links h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: rgb(32, 83, 143);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    width: clamp(3rem, 8vw, 5rem);
    height: clamp(3rem, 8vw, 5rem); /* ADD THIS - force same height */
    background-color: rgb(98, 166, 245);
    border-radius: 50%;
    margin: 0 clamp(0.25rem, 1vw, 0.5rem);
    transition: all 0.3s ease;
    padding: clamp(0.5rem, 3vw, 0.75rem);
    flex-shrink: 0; /* ADD THIS - prevents squishing */
}

.social-icon i {
    font-size: 1.5rem;
    color: white;
}

.social-icon:hover {
    background-color: rgb(32, 83, 143);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #contact-container {
        padding: 2rem 1rem;
    }
    
    .contact-content {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
    }
}

/* Medium screens fix */
@media (min-width: 768px) and (max-width: 1199px) {
    .social-icon {
        width: 4rem;
        height: 4rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .social-icon {
        width: 5rem;
        height: 5rem;
    }
}

/* Small/mobile screens */
@media (max-width: 767px) {
    .social-icon {
        width: 5rem;
        height: 5rem;
        padding: 0.5rem;
    }
}

@media (max-width: 400px) {
    .social-icon {
        width: 4rem;
        height: 4rem;
        padding: 0.5rem;
    }
}



nav {
    background-color: rgb(31, 83, 143);
}