@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Legacy compatibility stylesheet.
   This now acts as a stable entry point while the site uses
   the split component CSS files. */
@import url('./components/base.css');
@import url('./components/buttons.css');
@import url('./components/navbar.css');
@import url('./components/services.css');
@import url('./components/hero.css');

/* ============================
   Animations
   ============================ */
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scrollAnim { 
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ============================
   Swiper Icons
   ============================ */
.swiper-button-next svg,
.swiper-button-prev svg {
  height: 50%;
  object-fit: contain;
  transform-origin: center;
  width: 55%;
  fill: currentColor;
  pointer-events: none;
}

/* ============================
   Legacy Helper Classes
   ============================ */
.homepagebanner {
  padding: 30px 20px;
}

.navbar .quote-btn:hover {
  background-color: #ea580c !important;
  color: #ffffff !important;
}

.nav-center {
  margin: 0 auto;
}

.hero-title-mel {
  color: var(--accent-hover);
  font-size: 32px;
  font-weight: 800;
  margin-top: -8px;
}

.mtop {
  margin-top: 80px;
}

.trust-section i {
  font-size: 20px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  font-weight: 600;
  margin-bottom: 15px;
  color: #374151;
}

.service-item i {
  color: #0f3a8d;
  font-size: 20px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================
   Responsive breakpoints
   ============================ */
@media (max-width: 1200px) {
  .hero-title { font-size: 32px; }
  .hero-img-wrapper { max-width: 380px; }
}

@media (max-width: 992px) {
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 1rem; }
  .hero-badge { padding: 6px 16px; font-size: 0.75rem; letter-spacing: 1px; }
  .hero-btn { padding: 12px 28px; font-size: 0.95rem; }
  .hero-features { gap: 12px; }
  .hero-features span { font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .hero-container { padding: 0 20px; }
  .hero-text { padding: 40px 0; text-align: center; }
  .hero-title { font-size: 32px; }
  .hero-desc { margin: 0 auto 25px; max-width: 100%; }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btn { width: 100%; padding: 12px 20px; font-size: 0.9rem; text-align: center; }
  .hero-features { justify-content: center; }
  .hero-nav { display: none !important; }
  .hero-scroll { display: none; }
  .hero-pagination { bottom: 10px !important; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 32px; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; margin-bottom: 15px; }
  .hero-btns { max-width: 280px; gap: 8px; }
  .hero-btn { padding: 10px 18px; font-size: 0.85rem; }
  .hero-features { gap: 10px; }
  .hero-exp-num { font-size: 1.5rem; }
  .hero-exp-text { font-size: 0.65rem; }
}

.service-item span {
    line-height: 1.6;
}
.bg-color{
  background: #F5F5F5;
}
.mx-width{
  max-width: 1320px;
  margin: 0 auto;
}
.roofing-services i{
  font-size: 40px;
}
.roofing-services .roofing-icons i{
  font-size: 20px;
  color: #FFFFFF;
  position: relative;
  top:3px;
  left: 5px;
}
.roofing-services .roofing-icons {
  width: 150px;
  margin:auto;
  display:block;
}
.roofing-services p{
  margin-bottom: 20px;
  font-weight: 400;
}
.roof-inspection a{
  width: 150px;
}
.quote-form-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:30px;
}

.quote-icon{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#EDF4FF;
    color:#0F3A8D;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
}

.quote-form-header h3{
    margin:0;
    font-size:32px;
    font-weight:700;
    color:#132238;
}

.quote-form-header p{
    margin:5px 0 0;
    color:#6B7280;
}
#requirements{
  height: 120px;
}
.emergency-box{
    margin-top:40px;
    padding:22px 28px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    backdrop-filter:blur(5px);
    background:rgba(255,255,255,.03);
}

.emergency-left{
    display:flex;
    align-items:center;
    gap:18px;
}

.emergency-icon{
    width:58px;
    height:58px;
    min-width:58px;
    border-radius:50%;
    border:2px solid #F97316;
    color:#F97316;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
}

.emergency-left h5{
    color:#fff;
    margin:0;
    font-size:24px;
    font-weight:700;
}

.emergency-left p{
    color:#d1d5db;
    margin:4px 0 0;
    font-size:15px;
}

.emergency-right{
    text-align:right;
}

.emergency-right a{
    display:block;
    text-decoration:none;
    color:#F97316;
    font-size:20px;
    font-weight:800;
    line-height:1;
}

.emergency-right span{
    color:#fff;
    font-size:14px;
}
.orange-text{
  color:var(--accent) !important;
}
/* ============================
   footer css
   ============================ */

  footer{
    background:
      radial-gradient(1200px 400px at 15% -10%, rgba(var(--accent-rgb),0.12), transparent 60%),
      var(--primary-dark);
    color:var(--grey);
    position:relative;
  }
 
  /* top accent line */
  footer::before{
    content:"";
    display:block;
    height:3px;
    background:linear-gradient(90deg,var(--accent),var(--secondary-blue) 55%,transparent 90%);
  }
 
  .footer-inner{
    max-width:1180px;
    margin:0 auto;
    padding:64px 28px 40px;
  }
 
  .footer-grid{
    display:grid;
    grid-template-columns: 1.5fr 0.85fr 1fr 1.15fr;
    gap:48px;
  }
 
  /* ---- Brand column ---- */
  .brand-block{ padding-right:8px; }
 
  .logo-card{
    display:inline-flex;
    align-items:center;
    background:#fff;
    border-radius:12px;
    padding:14px 20px;
    box-shadow:0 8px 24px rgba(0,0,0,0.35);
    margin-bottom:22px;
  }
  .logo-card img{ height:42px; display:block; }
 
  .brand-desc{
    font-size:14.5px;
    line-height:1.7;
    color:var(--muted);
    max-width:34ch;
    margin:0 0 22px;
  }
 
  .contact-list{ list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:12px; }
  .contact-list li{ display:flex; align-items:center; gap:12px; font-size:14.5px; }
  .contact-list a{ color:var(--grey); text-decoration:none; }
  .contact-list a:hover{ color:var(--accent); }
  .icon-chip{
    width:32px; height:32px; border-radius:8px;
    background:var(--panel);
    border:1px solid var(--panel-border);
    display:flex; align-items:center; justify-content:center;
    flex:none;
    color:var(--accent);
    font-size:14px;
  }
 
  .social-row{ display:flex; gap:10px; }
  .social-row a{
    width:38px; height:38px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    background:var(--panel);
    border:1px solid var(--panel-border);
    color:var(--grey);
    text-decoration:none;
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  }
  .social-row a:hover{
    background:var(--accent);
    border-color:var(--accent);
    color:var(--white);
    transform:translateY(-2px);
  }
  .social-row a:focus-visible{
    outline:2px solid var(--accent-hover);
    outline-offset:2px;
  }
 
  /* ---- Link columns ---- */
  .col-title{
    font-family:'Inter',sans-serif;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--white);
    margin:0 0 20px;
    position:relative;
    padding-bottom:12px;
  }
  .col-title::after{
    content:"";
    position:absolute; left:0; bottom:0;
    width:26px; height:2px;
    background:var(--accent);
  }
 
  .link-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
  .link-list a{
    color:var(--muted);
    text-decoration:none;
    font-size:14.5px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:color .15s ease, gap .15s ease;
  }
  .link-list a::before{
    content:"";
    width:5px; height:5px;
    border-radius:1px;
    background:var(--accent);
    transform:rotate(45deg);
    opacity:.85;
    flex:none;
  }
  .link-list a:hover{ color:var(--white); }
  .link-list a:focus-visible{ outline:2px solid var(--accent-hover); outline-offset:3px; border-radius:3px; }
 
  /* ---- Map column ---- */
  .map-block{ display:flex; flex-direction:column; }
  .map-frame{
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--panel-border);
    height:180px;
    filter:saturate(0.9) brightness(0.92);
  }
  .map-frame iframe{ width:100%; height:100%; border:0; display:block; }
  .map-caption{
    display:flex; align-items:center; gap:8px;
    margin-top:14px; font-size:13px; color:var(--muted);
  }
 
  .cta-mini{
    margin-top:22px;
    display:flex; align-items:center; justify-content:space-between;
    background:var(--panel);
    border:1px solid var(--panel-border);
    border-radius:var(--radius);
    padding:14px 16px;
    gap:10px;
  }
  .cta-mini span{ font-size:13.5px; color:var(--grey); line-height:1.4; }
  .cta-mini a{
    flex:none;
    background:var(--accent);
    color:var(--white);
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    padding:9px 14px;
    border-radius:8px;
    white-space:nowrap;
    transition:background .15s ease;
  }
  .cta-mini a:hover{ background:var(--accent-hover); }
 
  /* ---- Bottom bar ---- */
  .bottom-bar{
    border-top:1px solid var(--panel-border);
    margin-top:48px;
    padding-top:22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
  }
  .bottom-bar p{ margin:0; font-size:13px; color:var(--muted); }
  .bottom-links{ display:flex; gap:20px; }
  .bottom-links a{ color:var(--muted); font-size:13px; text-decoration:none; }
  .bottom-links a:hover{ color:var(--white); }
 
  @media (max-width: 980px){
  .footer-grid{ 
    grid-template-columns: 1.4fr 0.8fr 1fr; 
    gap:40px 28px; 
  }
  .map-block{ grid-column: 1 / -1; }
}
@media (max-width: 650px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap:32px 20px; }
  .brand-block{ grid-column: 1 / -1; }
  .map-block{ grid-column: 1 / -1; }
  .footer-inner{ padding:48px 20px 32px; }
  .bottom-bar{ flex-direction:column; align-items:flex-start; }
  .link-list{ gap:6px; }
}
.navbar {
    background: #fff !important;
}

.navbar-brand img {
    transition: .3s;
}

.nav-link {
    font-weight: 600;
    color: #222;
}

.nav-link:hover {
    color: #0d6efd;
}

.dropdown-menu {
    min-width: 290px;
}

.offcanvas {
    width: 300px;
}

.offcanvas .nav-link {
    border-bottom: 1px solid #f2f2f2;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991px) {

    .navbar-brand img {
        height: 55px !important;
    }

    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

}
@media (max-width: 576px) {
  p.hero-disc{
    font-size: 14px !important;
  }
  .mtop{
    margin-top: 50px !important;
  }
  .emergency-icon{
    display:none;

  }
  .quote-icon{
    display:none;
  }
  .hero-features span{
    font-size: 14px;
  }
  .emergency-box{
    padding: 14px 12px;
  }
}
@media (max-width: 992px){
  .menu-icon{
    position: absolute;
    right: 20px;  
  top: 40px;
  }
}
@media (max-width: 420px){
 .emergency-box a{
  font-size: 16px !important;
  }
  .emergency-right{
    text-align: right !important;
  }
  .emergency-box h5{
    font-size: 16px !important;
  }
 }
.img-self{
  width: 500px;
  height: 500px;
}
@media (max-width: 500px){
  .img-self{
    width: 100%;
    height: 300px;
  }
}

/* ===============================
   TOP TRUST BAR
================================= */

.top-trust-bar{
    background: linear-gradient(90deg,#0b1f47,#17376a);
    color:#fff;
    font-size:14px;
    font-weight:500;
    height:42px;
    display:flex;
    align-items:center;
}

.trust-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:42px;
}

.trust-left{
    display:flex;
    align-items:center;
    gap:15px;
}

.trust-left a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.trust-left a:hover{
    color:#ff6b12;
}

.trust-left i{
    margin-right:8px;
}

.divider{
    width:1px;
    height:18px;
    background:rgba(255,255,255,.35);
}

.trust-right{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    letter-spacing:.5px;
}

.trust-right i{
    color:#ff6b12;
}/* ==========================
   HERO BANNER
========================== */

.homepagebanner{
    background:
    linear-gradient(
        135deg,
        #0b1e3f 0%,
        #263852 45%,
        #7b8290 100%
    );
    min-height:600px;

    position:relative;
    overflow:hidden;
}

/* Roof pattern */

.homepagebanner:before{
    content:'';
    position:absolute;
    inset:0;

    background:
    repeating-linear-gradient(
        135deg,
        rgba(255,255,255,.03),
        rgba(255,255,255,.03) 2px,
        transparent 2px,
        transparent 40px
    );
}

.hero-container{
    position:relative;
    z-index:2;
}

/* ==========================
   BADGE
========================== */

.hero-badge{

    display:inline-block;

    background:#1841b8;

    color:#fff;

    padding:12px 24px;

    border-radius:40px;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:13px;

    margin-bottom:30px;
}

/* ==========================
   TITLES
========================== */

.hero-title{

    color:#fff;

    font-size:34px;

    font-weight:800;

    line-height:1.1;

    margin-bottom:10px;
}

.hero-title-orange{

    color:#ff6b00;

    font-size:32px;

    font-weight:800;

    margin-bottom:25px;
}

/* ==========================
   Description
========================== */

.hero-desc{

    color:rgba(255,255,255,.9);

    font-size:18px;

    line-height:1.7;

    max-width:650px;

    margin-bottom:35px;
}

/* ==========================
   Buttons
========================== */

.hero-btns{

    display:flex;

    gap:20px;

    margin-bottom:35px;
}

.hero-btn-primary{

    background:#ff6b00;

    color:#fff;

    border-radius:60px;

    padding:18px 38px;

    font-weight:700;
}

.hero-btn-primary:hover{

    background:#e95f00;

    color:#fff;
}

.hero-btn-secondary{

    border:2px solid #fff;

    color:#fff;

    border-radius:60px;

    padding:18px 34px;
}

.hero-btn-secondary:hover{

    background:#fff;

    color:#0f274d;
}

/* ==========================
   Rating
========================== */

.rating-section{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:35px;

    color:#fff;
}

.stars{

    color:#ffc107;

    font-size:26px;
}

.rating-text{

    font-size:18px;

    font-weight:600;
}

.separator{

    opacity:.5;
}

.customers{

    color:#fff;
}

/* ==========================
   Trust row
========================== */

.hero-features{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

    border-top:1px solid rgba(255,255,255,.15);

    padding-top:25px;
}

.hero-features span{

    color:#fff;

    font-weight:500;

    font-size:16px;
}

.hero-features i{

    color:#22c55e;

    margin-right:8px;
}

/* ==========================
   Image Card
========================== */

.hero-img-card{

    position:relative;

    padding:18px;

    border-radius:35px;

    background:
    rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    box-shadow:
    0 30px 80px rgba(0,0,0,.25);
}

.hero-img{

    width:100%;

    border-radius:25px;

    display:block;
}

.hero-img-card:after{

    content:'';

    position:absolute;

    inset:-15px;

    background:
    rgba(0,150,255,.15);

    filter:blur(40px);

    z-index:-1;

    border-radius:40px;
}/* ===================================
   MOBILE HERO - PREMIUM VERSION
=================================== */

@media (max-width: 991px){

    .homepagebanner{
        min-height:auto;
        padding:40px 0 50px;
    }

    .hero-container{
        padding-left:20px;
        padding-right:20px;
    }

    /* Badge */
    .hero-badge{
        display:table;
        margin:0 auto 25px;
        padding:12px 22px;
        font-size:12px;
        letter-spacing:1.5px;
    }

    /* Heading */
    .hero-title{
        font-size:34px;
        line-height:1.05;
        text-align:center;
        margin-bottom:8px;
    }

    .hero-title-orange{
        font-size:32px;
        text-align:center;
        margin-bottom:20px;
    }

    /* Description */
    .hero-desc{
        font-size:18px;
        text-align:center;
        max-width:100%;
        margin:0 auto 30px;
        line-height:1.7;
    }

    /* Buttons */
    .hero-btns{
        flex-direction:column;
        align-items:center;
        gap:14px;
        margin-bottom:25px;
    }

    .hero-btn-primary,
    .hero-btn-secondary{
        width:100%;
        max-width:300px;
        text-align:center;
        padding:16px 24px;
        font-size:16px;
        font-weight:700;
    }

    /* Rating section */
    .rating-section{
        justify-content:center;
        flex-wrap:wrap;
        gap:8px;
        text-align:center;
        margin-bottom:25px;
    }

    .stars{
        font-size:20px;
    }

    .rating-text,
    .customers{
        font-size:15px;
    }

    /* Trust badges */
    .hero-features{
        justify-content:center;
        gap:10px;
        border-top:none;
        padding-top:0;
        margin-top:20px;
    }

    .hero-features span{
        background:rgba(255,255,255,.08);
        border:1px solid rgba(255,255,255,.15);
        border-radius:50px;
        padding:10px 15px;
        font-size:13px;
        font-weight:600;
    }

    /* Image */
    .hero-img-card{
        max-width:380px;
        margin:30px auto 0;
        padding:12px;
        border-radius:25px;
    }

    .hero-img{
        height:260px;
        width:100%;
        object-fit:cover;
        border-radius:18px;
    }
    .hero-img-card{
      display:none;
    }

}


/* ===================================
   EXTRA SMALL PHONES
=================================== */

@media (max-width: 576px){

    .hero-title{
        font-size:36px;
    }

    .hero-title-orange{
        font-size:28px;
    }

    .hero-desc{
        font-size:16px;
    }

    .hero-img{
        height:220px;
    }

    .hero-features span{
        font-size:12px;
        padding:8px 12px;
    }

}


/* Arrow */

.service-arrow{
    font-size:14px;
    color:#777;
    transition:.3s;
}

/* Trust Section */

.mobile-trust-box{
    padding:5px 0 15px;
}

.mobile-trust-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 0;
    font-size:15px;
    font-weight:600;
    color:#17376a;
}

.mobile-trust-item i{
    color:#ff6b00;
    font-size:16px;
}

.mobile-trust-item:last-child i{
color:#22c55e;
}
