/*
 * Custom Styles for Choice International Shade (CI Shade)
 * Only minimal customizations to preserve template functionality
 */

/* Top Bar Styles */
.top-bar {
    background-color: var(--secondary-color, #012736);
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(204, 206, 213, 0.12);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-main {
  padding-top: 5px;
  padding-bottom: 5px;
}

.top-bar-contact a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact a:hover {
    color: var(--primary-color, #0bdbee);
}

.top-bar-contact i {
    font-size: 12px;
    color: var(--primary-color, #0bdbee);
}

/* Hide top bar when header is sticky */
.header-1.sticky .top-bar {
    display: none;
}

/* Mobile responsive - show only phone number */
@media (max-width: 767px) {
    .top-bar-email {
        display: none !important;
    }
    
    .top-bar-contact {
        justify-content: center;
    }
    
    .top-bar-contact a {
        font-size: 13px;
    }
}

/* Brand Color Variables */
:root {
    --primary-color: #078B98;
    --secondary-color: #06455E;

    
    --primary-color: #0bdbee;
    --secondary-color: #012736;

        --st-theme: var(--primary-color);
    --st-theme2: var(--secondary-color);
    --st-header: var(--secondary-color);
}

/* Logo adjustments */
.header-logo img {
    max-height: 90px;
    width: auto;
}

.header-logo-2 img {
    max-height: 90px;
    width: auto;
}

.hero-button .theme-btn {
    border: 1px solid var(--primary-color);
}
/* Hero Section - Full height fix */
.hero-section.hero-1 {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.footer-section p, .footer-section h4, .footer-section li {
    color: #ffffff;
    line-height: 30px;
}
.footer-section a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.footer-section a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.social-icon a {
    color: #ffffff;
    margin-right: 15px;
    font-size: 24px;
    transition: color 0.3s ease;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.social-icon a:hover {
    color: var(--primary-color);
    transform: scale(1.5);
    padding-left: 0px;
}


/* About Section Images */
.about-image img {
    width: 100%;
    height: auto;
}

.about-image-2 img {
    width: 100%;
    height: auto;
}

/* Propertie Feature Section - Make image bigger */
.propertie-feature-section .propertie-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
}

/* News Section Images */
.gt-news-box-items .gt-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Client logo boxes */
.client-logo-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.client-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.client-logo-box img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Certification images */
.certifications img {
    border-radius: 5px;
    background: #fff;
    padding: 5px;
}

.project-box-items .project-thumb img {
    width: 100% !important;
    height: 216px !important;
    object-fit: cover;
}

.propertie-box-image img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover;
}


.about-wrapper .about-image img:first-child {
  transform: scale(1);
  transition: transform 0.8s;
}

.about-wrapper .about-image img:first-child:hover {
  transform: scale(1.1);
}

.propertie-image {
  position: relative;
  display: inline-block;
  margin: 30px;
  overflow: hidden;
  border-radius: 15px;
}

.propertie-image img {
  border-radius: 15px;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.propertie-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: 1;
  pointer-events: none;
}

.propertie-image:hover::before {
  left: 150%;
}

.propertie-image:hover img {
  transform: scale(1.05);
}



/* Responsive adjustments */
@media (max-width: 991px) {
    .header-logo img {
        max-height: 80px;
    }
    
    
    .propertie-feature-section .propertie-image img {
        min-height: 300px;
    }
    
    .project-box-items .project-thumb,
    .project-thumb {
        height: 250px !important;
    }
    
    .project-box-items .project-thumb img,
    .project-thumb img {
        height: 250px !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .propertie-box-image {
        height: 300px !important;
    }
    
    .propertie-box-image img,
    .propertie-box-image > img {
        height: 300px !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .client-logo-box {
        height: 100px;
        margin-bottom: 15px;
    }

    
    .project-box-items .project-thumb,
    .project-thumb {
        height: 220px !important;
    }
    
    .project-box-items .project-thumb img,
    .project-thumb img {
        height: 220px !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .propertie-box-image {
        height: 250px !important;
    }
    
    .propertie-box-image img,
    .propertie-box-image > img {
        height: 250px !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .propertie-feature-section .propertie-image img {
        min-height: 250px;
    }

    .mouseCursor {
        display: none;
    }

    .propertie-box-image img:first-child {
        filter: none !important;
    }

    .project-box-items .project-thumb img:first-child {
        filter: none !important;
    }

    .swiper-slide {
      padding: 15px;
    }
    .project-box-items {
      border: 1px solid var(--secondary-color);
    }

    .propertie-box-image .propertie-content-item{
      bottom: 0px;
      visibility: visible;
      opacity: 1;
    }

    .gt-counter-wrapper p {
      top: 110%;
    }

    .hero-button a {

      margin-bottom: 10px !important;
      display: block;
      text-align: center;
      margin-left: 0px !important;
      
    }
}

/* Floating Animation for About Section Image */
.float-up-down {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


.service-section .flip-card-front {
  border: none !important;
}

.service-section .flip-card-front .icon {
  color: white;
}

/* 3D Flip Card Styles */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 280px;
    perspective: 1000px;
    margin-bottom: 20px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid var(--primary-color);
}

.flip-card-front .icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.flip-card-front .content h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.flip-card-front .content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-back h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.flip-card-back p {
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

/* Responsive adjustments for flip cards */
@media (max-width: 991px) {
    .flip-card {
        height: 250px;
    }
    
    .flip-card-front .icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .flip-card-front .content h4 {
        font-size: 20px;
    }
    
    .flip-card-back h4 {
        font-size: 22px;
    }
    
    .flip-card-back p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .flip-card {
        height: 220px;
        margin-bottom: 15px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 20px 15px;
    }
    
    .flip-card-front .icon {
        font-size: 35px;
        margin-bottom: 12px;
    }
    
    .flip-card-front .content h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .flip-card-front .content p {
        font-size: 13px;
    }
    
    .flip-card-back h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .flip-card-back p {
        font-size: 13px;
        line-height: 1.5;
    }
}
