/*
Theme Name: IG Roofing
Theme URI: 
Author: IG
Author URI: 
Description: Custom WordPress theme for IG Roofing
Version: 1.7
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
Text Domain: igroofing
*/
:root {
    --primary-green: #239b56; 
    --black-bg: #000000;
    --white-text: #ffffff;
    --font-primary: "Poppins", sans-serif;
    --font-serif: "Cormorant Garamond", serif;
}
body {
    font-family: var(--font-primary);
    overflow-x: hidden;
}
.top-bar {
    background-color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 500;
}
.top-bar-item i {
    opacity: 0.9;
}
.email-link {
    transition: opacity 0.2s ease;
}
.email-link:hover {
    opacity: 0.8;
}
.navbar-nav{
    margin-left: auto;
    margin-right: 32px;
}
.navbar-nav .nav-link{
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
}
.site-header .bg-black {
    background-color: var(--black-bg) !important;
}
.header-logo {
    object-fit: contain;
}
.dropdown-icon {
    font-size: 0.75em; 
    stroke-width: 2px;
    transition: transform 0.3s ease-in-out;
}
.nav-link.show .dropdown-icon {
    transform: rotate(180deg);
}
.dropdown-toggle::after {
    display: none;
}
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dropdown-menu.show {
    animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.dropdown-item {
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.dropdown-item:hover, .dropdown-item.active, .dropdown-item:active, .dropdown-item:focus {
    background-color: var(--primary-green) !important;
    color: var(--white-text) !important;
}
.dropdown-item:hover {
    padding-left: 1.5rem; 
}
@media (min-width: 1200px) {
    .nav-pill-wrapper {
        border: 1px solid var(--white-text);
        border-radius: 50px;
        padding: 7px;
        gap: 8px; 
    }
    .nav-link {
        color: var(--white-text) !important;
        font-weight: 600;
        font-size: 15px;
        padding: 10px 16px !important;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
    }
    .nav-link.active {
        background-color: var(--primary-green);
    }
    .nav-link:not(.active):hover,
    .nav-item.dropdown:hover .nav-link {
        background-color: #ffffff30;
    }
    .dropdown-menu {
        margin-top: 18px; 
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        min-width: 200px;
    }
}
@media (max-width: 1199.98px) {
    .navbar-collapse {
        background-color: #111;
        padding: 20px;
        border-radius: 12px;
        transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-pill-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border: none;
    }
    .nav-link {
        color: var(--white-text) !important;
        padding: 12px 20px !important;
        border-radius: 8px;
        font-weight: 600;
        display: flex;
        justify-content: space-between; 
    }
    .nav-link.active {
        background-color: var(--primary-green);
    }
    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.05) !important; 
        border: none;
        padding: 10px;
        margin: 5px 0 10px 0;
        border-radius: 8px;
    }
    .dropdown-item {
        border-radius: 6px;
        padding: 10px 15px;
    }
    .header-actions {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}
.contact-icon {
    font-size: 1.5rem;
    transform: rotate(15deg); 
}
.contact-info .contact-icon {
    display: inline-block;
    animation: vibrate 0.6s infinite ease-in-out;
}
@keyframes vibrate {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
}
.phone-number {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.phone-number:hover {
    color: var(--primary-green) !important;
}
.phone-label {
    font-size: 0.75rem;
    color: #e0e0e0;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-top: -2px;
}
.cta-btn {
    font-weight: 500;
    border-width: 1.5px;
    border-style: solid;
    border-color: #ffffff;
    font-size: 16px;
    background-color: #000000;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.cta-btn:hover {
    background-color: #ffffff;
    color: #000000;
}
.hero-section {
    position: relative;
    min-height: 85vh; 
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 150px;
}
.hero-section .carousel-item {
    transition: opacity 2s ease-in-out !important; 
}
.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1) translate(0, 0);
    transition: transform 15s linear, filter 2s ease;
    filter: brightness(0.6) blur(2px);
}
.hero-section .carousel-item.active img {
    transform: scale(1.15) translate(-2%, 1%); 
    filter: brightness(1) blur(0);
}
.hero-content-wrapper {
    width: 100%;
    animation: floatEffect 6s ease-in-out infinite;
    animation-delay: 1.5s; 
}
@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-title {
    animation: premiumFadeUp 1.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}
.hero-subtitle {
    animation: premiumFadeUp 1.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}
.hero-btn {
    animation: premiumFadeUp 1.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    opacity: 0;
}
@keyframes premiumFadeUp {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95) rotateX(-10deg);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
        filter: blur(0);
    }
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.09;
    letter-spacing: 0.6px;
    min-height: 180px;
}
.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    line-height: 1.7;
    max-width: 600px;
    opacity: 0.9;
}
.btn-hero-primary {
    background-color: var(--primary-green);
    color: #ffffff;
    border: 1px solid var(--primary-green);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: table;
}
.btn-hero-primary:hover {
    background-color: #1d8248; 
    color: #ffffff;
    border-color: #1d8248;
}
.btn-hero-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid #ffffff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 224px;
}
.hero-section .btn-hero-outline:hover {
    background-color: #ffffff;
    color: #000000;
}
@media (max-width: 991.98px) {
    .btn-hero-primary {        
        margin: 0 auto;
        display: table;
    }
}
.feature-section {
    background-color: transparent;
}
.cards-row {
    margin-top: -100px; 
}
.feature-card {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 30%); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}
.icon-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-wrapper img{
    max-width: 56px;
}
.feature-icon {
    font-size: 2.8rem; 
    color: #000;
}
.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.3px;
}
.feature-text {
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 120px;
    }
    .cards-row {
        margin-top: -60px; 
    }
}
@media (max-width: 767.98px) {
    .cards-row {
        margin-top: -40px; 
    }
    .feature-card {
        margin-bottom: 15px; 
    }
    .hero-title, .hero-subtitle {
        text-align: center;
    }
    .hero-title {
        min-height: 115px;
        margin-bottom: 1rem !important;
    }
    .hero-btn{
        justify-content: center;
    }
}
.about-top-title {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 17%; 
    color: #666666;
    font-family: var(--font-serif);
    line-height: 2.875rem;
    font-weight: 600;
}
.about-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    color: #000000;
    letter-spacing: 2%;
}
.about-images-container {
    position: relative;
    width: 100%;
    padding-bottom: 25%; 
    padding-right: 5%; 
}
.about-img-main {
    width: 72%;
    display: block;
}
.about-img-overlap {
    position: absolute;
    width: 72%; 
    bottom: 0%;
    right: -5%;
    z-index: 2;
    border-radius: 26px;
    box-shadow: -5px 15px 40px rgba(0, 0, 0, 0.1); 
}
.about-badge-wrapper {
    position: absolute;
    top: 5%;
    right: 5%; 
    z-index: 3;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25)); 
}
.experience-badge-shape {
    background: url(assets/images/about-counting-bg.png) no-repeat;
    background-size: contain;
    width: 214px;
    height: 100px;
    background-position: center center;
}
.experience-badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.badge-number {
    font-size: 2.5rem;
    letter-spacing: 1px;
}
.badge-text {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #e0e0e0;
}
.about-content-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 600;
    color: #000;
}
.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555 !important;
}
.about-list li {
    font-size: 1.05rem;
    font-weight: 500;
    color: #222;
}
.bullet-dot {
    width: 6px;
    height: 6px;
    background-color: #000; 
    border-radius: 50%;
    display: inline-block;
}
@media (max-width: 991.98px) {
    .about-img-overlap {
        border-width: 10px;
    }
    .about-badge-wrapper {
        right: 5%;
        top: 25%;
    }
}
@media (max-width: 575.98px) {
    .about-images-container {
        padding-bottom: 30%;
    }
    .experience-badge-shape {
        padding: 15px 20px;
    }
    .badge-number {
        font-size: 1.8rem;
    }
    .about-img-overlap {
        border-width: 8px;
    }
}
.projects-section {
    background-color: #1a1a1a; 
}
.projects-top-title {
    font-size: clamp(1.8rem, 3.5vw, 2.625rem);
    letter-spacing: 17%;
    color: #ffffff;
    font-family: var(--font-serif);
    line-height: 2.875rem;
}
.projects-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
}
.projects-board {
    border-radius: 40px 40px 0 0; 
    padding: 3rem 1.5rem;
}
.sub-heading {
     font-size: 1.3rem; 
     letter-spacing: 0.1rem; 
     font-family: var(--font-serif);
     color: #666666;
     font-weight: 600;
    }
.column-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}
.section-desc { font-size: 0.85rem; line-height: 1.6; max-width: 450px; }
.left-scroll-container {
    max-height: 480px; 
    overflow-y: auto;  
    overflow-x: hidden;
}
.left-scroll-container::-webkit-scrollbar {
    width: 12px;
}
.left-scroll-container::-webkit-scrollbar-track {
    background: #f0ebe4;
    border-radius: 10px;
}
.left-scroll-container::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 10px;
}
.left-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #7a7a7a;
}
.tall-card { height: 100%; min-height: 480px; }
.short-card { height: 230px; }
.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
}
.overlay-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.overlay-subtitle { 
    font-size: 0.75rem; 
    color: #e0e0e0; 
    letter-spacing: 1px; 
}
.before-after-label {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}
.before-after-carousel-wrapper {
    height: 480px; 
}
.ba-details-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    backdrop-filter: blur(2px);
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
}
.ba-details-overlay p{
    font-size: 1rem;
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    font-size: 2.2rem;
    color: #a0a0a0;
    transition: color 0.3s ease;
    z-index: 10;
    box-shadow: none !important;
}
.nav-arrow:hover { color: var(--primary-green); }
.nav-left { left: -42px; }
.nav-right { right: -42px; }
.custom-indicators {
    bottom: -35px; 
}
.custom-indicators button {
    border: none;
    transition: all 0.3s ease;
}
.custom-indicators button.active {
    width: 30px !important;
    height: 4px !important;
    background-color: #a0a0a0 !important;
    border-radius: 2px !important;
}
.custom-indicators button:not(.active) {
    width: 30px !important;
    height: 4px !important;
    background-color: #e0e0e0 !important;
    border-radius: 2px !important;
}
@media (min-width: 1200px) {
    .projects-board { padding: 4rem 3rem; }
}
@media (max-width: 991.98px) {
    .projects-board { border-radius: 25px 25px 0 0; padding: 2.5rem 1rem; }
    .left-scroll-container { max-height: none; overflow-y: visible; padding-right: 0 !important; margin-right: 0; }
    .tall-card { min-height: 380px; }
    .short-card { height: 180px; }
    .before-after-carousel-wrapper { height: 380px; }
}
@media (max-width: 575.98px) {
    .left-scroll-container { max-height: none; overflow-y: visible; padding-right: 0 !important; margin-right: 0; }
    .tall-card { min-height: 280px; }
    .short-card { height: 130px; }
    .before-after-carousel-wrapper { height: 300px; }
    .nav-left { left: 0px; }
    .nav-right { right: 0px; }
}
@media (max-width: 767.98px) {
    .tall-card { 
        min-height: 300px; 
        height: auto;
    }
    .short-card { 
        height: 250px; 
    }
}
.stats-section {
    background-color: #000000; 
}
.stat-icon {
    max-width: 56px;
}
.stat-number {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: clamp(2.5rem, 3.5vw, 3.2rem); 
    letter-spacing: -0.5px;
    font-weight: 600;
}
.stat-label {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 4px;
    color: #e0e0e0 !important; 
}
@media (max-width: 991.98px) {
    .stat-item {
        padding: 15px 0;
    }
    .stat-icon {
        font-size: 3rem;
    }
}
@media (max-width: 575.98px) {
    .stat-icon {
        font-size: 2.8rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stat-label {
        font-size: 1rem;
    }
}
.services-top-title {
    font-size: clamp(1.8rem, 3.5vw, 2.625rem);
    letter-spacing: 17%;
    color: #666666;
    font-family: var(--font-serif);
    line-height: 2.875rem;
    font-weight: 500;
}
.services-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.services-accordion-wrapper {
    width: 100%;
    height: 600px; 
}
.service-acc-card {
    flex: 1; 
    position: relative;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    text-decoration: none;
    color: inherit;
}
.service-acc-card:hover,
.service-acc-card:focus {
    text-decoration: none;
    color: inherit;
}
.service-acc-card.expanded {
    flex: 2; 
}
.acc-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.acc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}
.acc-content-vertical {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center; 
    z-index: 3;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.vert-text-wrap {
    writing-mode: vertical-rl; 
    transform: rotate(180deg); 
    max-height: 380px; 
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.acc-title-vert {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 !important;
}
.acc-subtitle-vert {
    font-size: 0.85rem;
    color: #cccccc !important;
    margin: 0 !important;
}
.acc-content-horizontal {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}
.acc-title-horz {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
}
.acc-subtitle-horz {
    font-size: 1.05rem;
    color: #e0e0e0 !important;
}
.service-acc-card.expanded .acc-content-vertical {
    opacity: 0;
}
.service-acc-card.expanded .acc-content-horizontal {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
@media (max-width: 991.98px) {
    .services-accordion-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 750px;
    }
    .service-acc-card {
        width: 100%;
        min-height: 90px;
        flex: none !important;
        transition: min-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .service-acc-card.expanded {
        min-height: 350px;
    }
    .acc-content-vertical {
        bottom: 50%;
        left: 20px;
        right: 20px;
        transform: translateY(50%);
        justify-content: center;
    }
    .vert-text-wrap {
        writing-mode: horizontal-tb;
        transform: none;
        max-height: none;
        flex-direction: column;
    }
    .acc-title-vert {
        font-size: 1.3rem;
    }
    .acc-subtitle-vert {
        display: none; 
    }
    .acc-title-horz {
        font-size: 1.8rem;
    }
    .acc-subtitle-horz {
        font-size: 0.95rem;
    }
}
@media (max-width: 575.98px) {
    .service-acc-card.expanded {
        min-height: 300px;
    }
    .acc-title-vert {
        font-size: 1.15rem;
    }
    .acc-title-horz {
        font-size: 1.5rem;
    }
}
.craftsmanship-section {
    background: url('assets/images/craft-bg.png') center/cover no-repeat fixed; 
    min-height: 800px;
}
.craft-top-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.5px;
}
.craft-main-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.5px;
}
.craft-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e0e0e0 !important;
}
.collage-container {
    width: 100%;
    max-width: 550px; 
    aspect-ratio: 1 / 1; 
}
.craft-img {
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
}
.craft-img-left {
    width: 48%; 
    aspect-ratio: 3.5 / 5;
    top: 0;
    left: 0;
    border: 5px solid var(--primary-green);
    z-index: 2;
}
.craft-img-right {
    width: 48%;
    aspect-ratio: 3.5 / 5;
    bottom: 0;
    right: 0;
    border: 5px solid var(--primary-green);
    z-index: 2;
}
.craft-img-center {
    width: 60%;
    aspect-ratio: 1 / 1; 
    border-radius: 50%; 
    border: 7px solid #ffffff; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 3;
}
.craft-outline {
    position: absolute;
    width: 35%;
    aspect-ratio: 1 / 1;
    border: 5px solid rgba(35, 155, 86, 0.4);
    border-radius: 12px;
    z-index: 1;
}
.outline-top {
    top: -5%;
    left: 25%;
}
.outline-bottom {
    bottom: -5%;
    left: 15%;
}
.craft-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f8f9fa;
}
.craft-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px; 
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}
@media (max-width: 991.98px) {
    .collage-container {
        max-width: 450px;
    }
    .craft-img-center {
        border-width: 8px; 
    }
}
@media (max-width: 575.98px) {
    .collage-container {
        max-width: 320px;
    }
    .craft-img-left, .craft-img-right {
        border-width: 3px;
    }
    .craft-img-center {
        border-width: 6px;
    }
    .craft-list li {
        font-size: 0.95rem;
    }
    .craft-list li::before {
        top: 8px;
    }
}
.blogs-section {
    background-color: #ffffff;
}
.blogs-section .btn-hero-primary{
    margin: 0 auto;
}
.blogs-top-title {
    font-size: clamp(1.8rem, 3.5vw, 2.625rem);
    letter-spacing: 0;
    color: #000000;
    font-family: var(--font-serif);
    line-height: 2.875rem;
}
.blogs-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.blog-arrow-btn {
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.blog-arrow-btn:hover {
    background-color: var(--primary-green);
    color: #ffffff;
}
.blog-slider-viewport {
    width: 100%;
    overflow: hidden; 
    padding-bottom: 20px; 
}
.blog-track {
    display: flex; 
    will-change: transform; 
}
.blog-card {
    flex: 0 0 auto; 
    margin-right: 24px; 
    border-color: #eaeaea !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}
.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.card-img-top {
    height: 220px;
    object-fit: cover;
}
.author-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    bottom: -25px; 
    left: 16px;
    background-color: #fff;
    z-index: 2;
}
.date-text { font-size: 0.8rem; font-weight: 500; }
.blog-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}
.blog-excerpt { font-size: 0.9rem; line-height: 1.6; }
.author-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
}
@media (min-width: 1200px) {
    .blog-card { width: calc(25% - 18px); }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
    .blog-card { width: calc(33.333% - 16px); }
}
@media (max-width: 991.98px) and (min-width: 768px) {
    .blog-card { width: calc(50% - 12px); }
}
@media (max-width: 767.98px) {
    .blog-card { 
        width: 100%; 
        margin-right: 0; 
    }
    .blog-title { font-size: 1.25rem; }
    .author-avatar { width: 45px; height: 45px; bottom: -22px; }
}
.testimonials-section {
    background-color: #fafafa;
    position: relative;
    overflow: visible !important;
}
.testimonials-top-title {
    font-size: clamp(1.8rem, 3.5vw, 2.625rem);
    letter-spacing: 17%;
    color: #666666;
    font-family: var(--font-serif);
    line-height: 2.875rem;
}
.testimonials-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.testimonial-wrapper {
    width: 100%;
    overflow: visible !important;
    padding: 0px 10px 40px 10px;
    margin: -25px -10px -40px -10px;
}
.testimonial-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    padding-top: 45px; 
    padding-bottom: 20px;
    cursor: grab;
    user-select: none;
    touch-action: pan-x;
}
.testimonial-track:active {
    cursor: grabbing;
}
.testimonial-track::-webkit-scrollbar {
    display: none;
}
.testimonial-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    box-shadow: 0 2px 7px rgb(0 0 0 / 37%) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 20px !important;
    min-height: 290px;
    margin-top: 15px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1) !important;
}
.avatar-wrapper {
    top: -45px;
    left: 35px;
}
.avatar-wrapper img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
}
.client-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
}
.rating-stars {
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.text-warning{
    color: #FFE234 !important;
}
.testimonial-scrollbar-track {
    width: 140px;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.testimonial-scrollbar-thumb {
    width: 45px; 
    height: 100%;
    background-color: #6c757d; 
    border-radius: 10px;
    position: absolute;
    left: 0;
    top: 0;
    transition: transform 0.05s linear;
}
@media (min-width: 992px) {
    .testimonial-card { width: calc(33.333% - 16px); }
}
@media (max-width: 991.98px) and (min-width: 768px) {
    .testimonial-card { width: calc(50% - 12px); }
    .testimonial-wrapper { width: 107%;}
}
@media (max-width: 767.98px) {
    .testimonial-card { width: 100%; }
    .testimonial-wrapper { width: 107%;}
    .avatar-wrapper { left: 30px; }
}
.faq-top-title{
    font-size: clamp(1.8rem, 3.5vw, 2.625rem);
    letter-spacing: 17%;
    color: #666666;
    font-family: var(--font-serif);
    line-height: 2.875rem; 
}
.faq-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 600;
}
.faq-giant-title {
    font-size: clamp(1.8rem, 6vw, 4.0625rem); 
    line-height: clamp(2.2rem, 7vw, 4.875rem);   
    letter-spacing: -1px;
    font-family: sans-serif;
    font-weight: 500;
    margin-top: -10px;
}
.faq-contact-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}
.faq-contact-card h4{
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 500 !important;
}
.custom-faq-accordion .accordion-item {
    box-shadow: 0 1px 14px rgb(0 0 0 / 23%) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease;
}
.custom-faq-accordion .accordion-button {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-serif);
    background-color: #ffffff !important;
    color: #111111 !important;
}
.custom-faq-accordion .accordion-button::after {
    background-image: none !important;
    font-family: "bootstrap-icons";
    content: "\f282"; 
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.custom-faq-accordion .accordion-button:not(.collapsed)::after {
    content: "\f286"; 
    transform: none !important;
}
.custom-faq-accordion .accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}
.associations-section {
    background-color: #0b0b0b !important;
    overflow: hidden;
}
.association-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.association-logo-wrapper:hover {
    opacity: 0.85;
    transform: translateY(-3px);
}
.association-img {
    max-height: 96px;
    width: auto;
    object-fit: contain;
}
.help-form-card {
    box-shadow: 0 3px 16px rgb(0 0 0 / 30%) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}
.f-w{
    font-weight: 500;
}
.custom-input {
    background-color: #ffffff !important;
    border: 1.5px solid #eaeaea !important;
    border-radius: 10px !important;
    font-size: 0.95rem;
    color: #444 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}
.custom-input:focus {
    border-color: #111111 !important;
}
.custom-input::placeholder {
    color: #999;
}
.custom-file-upload {
    background-color: #ffffff !important;
    border: 1.5px solid #eaeaea !important;
    border-radius: 10px !important;
    cursor: pointer;
}
.cursor-pointer {
    cursor: pointer;
}
.custom-submit-btn {
    background-color: #1b9b49 !important; 
    border: none !important;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: table;
    margin: 0 auto;
    font-weight: 500;
    padding: 0 42px;
}
.custom-submit-btn:hover {
    background-color: #157e3b !important;
}
.footer-section {
    background-color: #1a1a1a !important;
}
.footer-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
    color: #ccc !important;
}
.footer-link:hover {
    color: #ffffff !important;
    padding-left: 4px;
}
.social-icon-btn {
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.social-icon-btn:hover {
    transform: translateY(-2px);
    background-color: #157e3b !important;
    color: #fff !important;
}
.footer-assoc-logo {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.footer-assoc-logo:hover {
    opacity: 1;
}
.footer-map-box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.foot-logo {
    display: flex;
    align-items: center;
}
.foot-logo .row {
    width: 100%;
    margin: 0;
}
.foot-logo img {
    width: 100%;
    object-fit: contain;
    max-height: 62px;
}
.f-l i{
    color: #ccc !important;
}
.f-l span{
    color: #ccc !important;
}
.f-l a{
    color: #ccc !important;
}
@media (min-width: 992px) {
    .ft-sub-title{
        margin-left: 72px;
        color: #fff !important;
        font-size: 17px;
        margin-top: -18px;
    }
    .ft-p{
        margin-left: 72px;
        color: #cccccc !important;
    }
    .ft-f{
        margin-left: 72px;
    }
    .foot-logo .row {
        width: 100%;
        margin: 88% auto 0;
    }
    .foot-logo .row .col-lg-7{
        margin: 0 auto 18px;
    }
}
@media (max-width: 767.98px){
    .foot-logo .row .col-lg-7{
        width: 33.33%;
    }
    .foot-logo .row .col-lg-6{
        width: 33.33%;
    }
}




/* Blinking Get Quote Button */
@keyframes btnBlink {
    0%, 100% { background-color: transparent; color: #ffffff; border-color: #ffffff; }
    50% { background-color: #ffffff; color: #000000; border-color: #ffffff; }
}

.cta-btn {
    animation: btnBlink 1.5s infinite !important;
}


.about-content-title {
    padding-top: 20px;
}



/* Service Collage Container responsive heights */
.service-collage-container {
    min-height: 780px;
}
@media (max-width: 991px) {
    .service-collage-container {
        min-height: unset;
        aspect-ratio: 1 / 1.1;
    }
}


/* Fix for stats alignment on mobile */
@media (max-width: 991.98px) {
    .stats-section .stat-item {
        width: 230px;
        margin: 0 auto;
        justify-content: flex-start !important;
    }
}

.stat-icon-wrapper {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-top: 4px;
}





/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 10px;
}
/* ==========================================================================
   Professional Blog Pagination
   ========================================================================== */
nav.navigation.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 45px auto 20px !important;
    float: none !important;
    clear: both !important;
}

nav.navigation.pagination .screen-reader-text {
    display: none !important;
}

nav.navigation.pagination .nav-links {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e5e7eb !important;
    flex-wrap: wrap !important;
}

nav.navigation.pagination .nav-links .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.25s ease-in-out !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

nav.navigation.pagination .nav-links a.page-numbers:hover {
    color: #239B56 !important;
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(35, 155, 86, 0.15) !important;
}

nav.navigation.pagination .nav-links .page-numbers.current {
    background: #239B56 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-color: #239B56 !important;
    box-shadow: 0 4px 14px rgba(35, 155, 86, 0.4) !important;
}

nav.navigation.pagination .nav-links .page-numbers.dots {
    color: #9ca3af !important;
    letter-spacing: 2px !important;
    min-width: 32px !important;
    padding: 0 6px !important;
    cursor: default !important;
    border: none !important;
    background: transparent !important;
}

nav.navigation.pagination .nav-links .prev.page-numbers,
nav.navigation.pagination .nav-links .next.page-numbers {
    padding: 0 16px !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    font-size: 0.95rem !important;
}

nav.navigation.pagination .nav-links .prev.page-numbers:hover,
nav.navigation.pagination .nav-links .next.page-numbers:hover {
    background: #239B56 !important;
    color: #ffffff !important;
    border-color: #239B56 !important;
    box-shadow: 0 4px 12px rgba(35, 155, 86, 0.3) !important;
    transform: translateY(-2px) !important;
}
/* Blog Single Post Lato Font Customization */
.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content span,
.single-post .entry-content li,
.single-post .entry-content a {
    font-family: 'Lato', sans-serif !important;
}
