/*
Theme Name: Faxitchildtheme
Theme URI:  https://www.inventive-architects.com/
Author:     hagargad
Author URI: https://www.inventive-architects.com/
Template:   fax-it
Version:    1.0
License:    GNU General Public License v2 or later
*/


/*
 * CSS Styling for Footer
 * 
 */

/*
 * CSS Styling for Footer
 * Add this to your theme's style.css or custom CSS
 */

.site-footer {
    background-color: #1a1d2e;
    color: #ffffff;
    padding: 80px 0 0;
}

.footer-top {
    text-align: center;
    margin-bottom: 60px;
}

.footer-heading h2 {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.15);
    margin: 0;
    text-transform: uppercase;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-column h3,
.footer-column h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
}

.footer-tagline h3 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 8px 0;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.footer-widget a:hover {
    color: #00bcd4;
    border-bottom-color: #00bcd4;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #00bcd4;
    border-color: #00bcd4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-menu li {
    display: inline-block;
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #00bcd4;
}

/* Fix for WordPress menu widget */
.footer-menu .menu {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu .menu-item {
    display: inline-block;
    margin: 0;
}

/* Fix for custom HTML widget lists */
.footer-bottom .footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.footer-bottom .footer-widget li {
    display: inline-block;
    margin: 0;
}

.footer-copyright {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.back-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;;
    background-color: #99AA92 !important;
    border: none;
    color: #ffffff !important;;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding:0px !important;;
}

.back-to-top:hover {
    background-color: #00a5bb;
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 30px;
    height: 30px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .footer-heading h2 {
        font-size: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-tagline h3 {
        font-size: 24px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-copyright {
        position: static;
        transform: none;
    }

    .footer-menu ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-heading h2 {
        font-size: 36px;
    }

    .site-footer {
        padding: 60px 0 0;
    }
}
.footer-top {
    text-align: left;
    margin-bottom: 0;
    position: relative;
}

.footer-heading h2 {
    font-size: 120px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.08);
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 40px;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000cc;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-image: url('http://www.inventive-architects.com/wp-content/uploads/2026/01/INVENTIVE-FINAL-LOGOO-01-scaled-e1769385747677.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
}

.loader .circle {
    display: none !important;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.main_menu .navbar-nav .nav-item .nav-link:hover :active{
	text-decoration-line:underline;
}
.elementor-kit-38 button, .elementor-kit-38 input[type="button"], .elementor-kit-38 input[type="submit"], .elementor-kit-38 .elementor-button {
	color:#000;
}
.back-to-top{
	background-color:#fff;
}

.single_team .text a:hover {
     color:#f2f2f2;
}



@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.elementor-kit-38 button{
	padding:0px;
}
.main_menu {
    position: fixed !important; 

}

/* Mobile 2-column layout for "what we do" services section */
@media (max-width: 767px) {
  [data-id="04d1f10"],
  [data-id="cb4f223"] {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}

/* ============================================================
 *    PERFORMANCE & CLS IMPROVEMENTS
 *    ============================================================ */

/* Fix non-composited animation - replace border-color with outline or use compositor-friendly properties */
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control:focus {
	    outline: 2px solid currentColor;
	    border-color: inherit;
	    transition: outline 0.3s ease;
}

/* Prevent layout shift for images without explicit dimensions */
img {
	    height: auto;
}

/* Ensure the video element has proper aspect ratio to prevent CLS */
.elementor-video,
.e-hosted-video video {
	    aspect-ratio: 16/9;
	    width: 100%;
	    height: auto;
}

/* Fix images in portfolio cards to prevent CLS */
.portfolio-thumbnail img,
.portfolio-card img {
	    width: 100%;
	    height: auto;
	    aspect-ratio: 4/3;
	    object-fit: cover;
}

/* Add explicit height to logo image to prevent CLS */
.site-logo img,
.navbar-brand img {
	    height: 70px;
	    width: auto;
}




/* Services icons - 2 column layout on mobile */
@media (max-width: 767px) {
  .elementor-element-29e5544 .elementor-column,
  .elementor-element-0fa99cc .elementor-column {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .elementor-element-29e5544 .elementor-container,
  .elementor-element-0fa99cc .elementor-container {
    flex-wrap: wrap !important;
    flex-direction: row !important;
  }
  .elementor-element-29e5544 .elementor-image-box-wrapper,
  .elementor-element-0fa99cc .elementor-image-box-wrapper {
    text-align: center;
  }
}

/* Hero video section - full screen cover, no whitespace */
.elementor-element-d53f3f0 {
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  min-height: 100vh !important;
}
.elementor-element-d53f3f0 .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}
.elementor-element-d53f3f0 .elementor-widget-wrap {
  padding: 0 !important;
}
.elementor-element-d53f3f0 .elementor-col-100 {
  width: 100% !important;
}
.elementor-element-f3cfb05,
.elementor-element-d53f3f0 .elementor-widget-container,
.elementor-element-d53f3f0 .e-hosted-video {
  width: 100% !important;
  height: 100% !important;
}
.elementor-element-d53f3f0 video.elementor-video {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100vh !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.elementor-element-525eeac {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}
