/********** Template CSS **********/

:root {
    --primary: #FF800F;
    --secondary: #001064;
    --light: #F6F7F8;
    --dark: #010A35;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Spinner ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/

.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/

.brand-logo{
    width:42px;
    height:42px;
    object-fit:contain;
}

.brand-text{
    font-weight:900;
    font-size:19px;
    color:#0d2a6b;
    letter-spacing:1px;
    white-space:nowrap;
}

@media(max-width:768px){
    .brand-text{font-size:16px;}
}

/*** Header ***/

/* Bottom Center Caption */
.bottom-caption {
    top: auto !important;
    bottom: 40px !important;
    transform: none !important;
    background: rgba(0,0,0,0.55);
    padding: 30px;
    border-radius: 20px;
}

/* Mobile perfect spacing */
@media(max-width:768px){
    .bottom-caption{
        bottom:20px!important;
        padding:20px;
    }
    .bottom-caption h1{
        font-size:22px;
    }
}

.hero-yellow{
    position:relative;
    min-height:100vh;
    background:
      linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
      url("https://www.bradhambrothers.com/wp-content/uploads/2024/08/hvac-services.jpg") center/cover no-repeat;
    padding-bottom:160px;
}

.hero-yellow .hero-overlay{display:none;}

.hero-yellow .hero-content{
    text-align:center;
    padding:100px 15px 40px;
    color:#fff;
}

.hero-yellow h6{
    color:#ffc107;
    letter-spacing:3px;
    font-weight:800;
}

.hero-yellow h1{
    color: white;
    font-size:36px;
    font-weight:900;
    margin:20px 0 30px;
}

.hero-btn-yellow{
    background:#ffc107;
    color:#000;
    padding:14px 40px;
    border-radius:12px;
    font-weight:900;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(255,193,7,.7);
}

/* Info Card */
.hero-info-card{
    background:#fff;
    width:90%;
    max-width:450px;
    margin:-80px auto 0;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    padding:30px 20px;
}

.info-item{
    text-align:center;
    margin-bottom:25px;
}

.info-item i{
    font-size:28px;
    color:#ffc107;
    background:#fff3cd;
    padding:18px;
    border-radius:50%;
    margin-bottom:10px;
}

.info-item p{
    font-size:14px;
    color:#555;
}

.info-item h4{
    font-size:18px;
    font-weight:800;
}

/* Mobile */
@media(max-width:768px){
    .hero-yellow h1{font-size:24px;}
}

.red-marquee {
    background: linear-gradient(90deg,#b80000,#ff0000,#b80000);
    padding: 22px 0;                     /* Bigger height */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255,0,0,0.7);
}

.red-marquee .marquee-track {
    display: flex;
    width: max-content;
    animation: redMarquee 16s linear infinite; /* Faster & smoother */
}

.red-marquee span {
    white-space: nowrap;
    color: #fff;
    font-size: 22px;                     /* Bigger text */
    font-weight: 900;
    letter-spacing: 1px;
    padding: 0 50px;
    text-shadow: 0 0 15px rgba(255,255,255,0.7);
}

/* Animation */
@keyframes redMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile */
@media(max-width:768px){
    .red-marquee span{
        font-size:16px;
        padding:0 25px;
    }
}

/*
    Author: Krypto Etox
    All Rights reserved
*/

.page-header {
    background: linear-gradient(rgba(1, 10, 53, .8), rgba(1, 10, 53, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}

/*** Facts ***/

.facts {
    background: rgba(1, 10, 53, .8);
}
/* Facts section dark overlay */
.facts{
    position:relative;
}

.facts::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.65);   /* Darkens background */
    z-index:1;
}

/* Bring text above overlay */
.facts .container{
    position:relative;
    z-index:2;
}

/* Improve numbers & text */
.facts h1{
    color:#ffc107 !important;
    font-weight:900;
}

.facts span{
    color:#fff !important;
    font-weight:600;
    letter-spacing:1px;
}

/*** Quote ***/

@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }
    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
    .container.quote .quote-form {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
    .container.quote .quote-form {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text {
    background: rgba(1, 10, 53, .8);
}

.container.quote .quote-form {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*** Service ***/

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

/*** Team ***/

.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

/*** Testimonial ***/

.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

/*** Footer ***/

.footer {
    color: #7F8499;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #7F8499;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #7F8499;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #7F8499;
    border: 1px solid #7F8499;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}
.about-section h1{
    font-weight:800;
    color:#0d2a6b;
}

.about-feature{
    display:flex;
    align-items:center;
    margin-bottom:15px;
}

.about-feature i{
    background:#ffc107;
    color:#000;
    padding:15px;
    border-radius:50%;
    margin-right:15px;
    font-size:18px;
}

.about-contact{
    border-top:1px solid #ddd;
    margin-top:25px;
    padding-top:20px;
}

.about-contact div{
    display:flex;
    align-items:center;
    margin-bottom:12px;
    font-weight:700;
}

.about-contact i{
    background:#0d6efd;
    color:#fff;
    padding:12px;
    border-radius:50%;
    margin-right:12px;
}

.about-img-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.about-img-grid img{
    width:100%;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

/* Mobile */
@media(max-width:768px){
    .about-section h1{font-size:24px;}
}

/* ===== MEDIA GALLERY FULL RESPONSIVE CSS ===== */

#gallery{
  max-width:1300px;
  margin:auto;
}

/* Grid setup */
.photo-grid,
.video-grid{
  display:grid;
  gap:18px;
}

/* Desktop View */
@media(min-width:992px){
  .photo-grid{ grid-template-columns:repeat(4,1fr); }
  .video-grid{ grid-template-columns:repeat(3,1fr); }
}

/* Tablet View */
@media(min-width:600px) and (max-width:991px){
  .photo-grid{ grid-template-columns:repeat(3,1fr); }
  .video-grid{ grid-template-columns:repeat(2,1fr); }
}

/* Mobile View */
@media(max-width:599px){
  .photo-grid{ grid-template-columns:1fr; }
  .video-grid{ grid-template-columns:1fr; }
}

/* PHOTO STYLE (NO CUTTING) */
.photo-grid img{
  width:100%;
  height:auto;
  object-fit:contain;
  background:#fff;
  padding:8px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:.3s ease;
}

/* VIDEO STYLE */
.video-grid video{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:.3s ease;
}

/* Hover Effect */
.photo-grid img:hover,
.video-grid video:hover{
  transform:scale(1.04);
  box-shadow:0 12px 25px rgba(0,0,0,.18);
}

.youtube-video iframe{
  width:100%;
  height:220px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* ===== END OF MEDIA GALLERY FULL RESPONSIVE CSS ===== */