

/* Fullscreen banner */
.homepage-banner {
    height: 100vh; /* full viewport height */
    background: url('../images/homepage/banner4.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Left circle box */
.homepage-banner .circle-box {
    position: relative;               /* reference for ::before */
    width: 200px;                     /* circle size */
    height: 200px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 26px;                  /* slightly bigger text */
    animation: float 4s ease-in-out infinite;
    overflow: visible;  
    color: white;   
    top: -200px;
    left: -100px;
    text-align: center;
             
}
.custom-text {
    font-weight: 900;
    font-size: 2rem;
    color: white;                  /* text fill */
    -webkit-text-stroke: 2px red;  /* outline color & thickness */
}

/* Spatter paint pseudo-element */
.homepage-banner .circle-box::before {
    content: '';
    position: absolute;
    top: -60px;                       /* adjust to fully show spatter */
    left: -60px;
    width: 320px;                      /* bigger than circle to fit spatter */
    height: 320px;
     /* background: url('../images/homepage/circular.png') no-repeat center center; */
    background-size: contain;          /* keep proportions */
    z-index: -1;                       /* behind circle */
    pointer-events: none;              /* allow clicks on circle */
    display: block;                    /* ensure pseudo-element renders */
}




/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
}

/* Right side text animations */
.homepage-banner .banner-text {
    color: white;
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 1.5s forwards 0.5s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}




@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Mobile responsive */
@media (max-width: 768px) {
    .vertical-social {
        position: absolute;          /* attach to the banner */
        bottom: 10px;                /* 10px from banner bottom */
        left:0;                   /* center horizontally */
        /* transform: translateX(-50%); truly center horizontally */
        flex-direction:column;         /* horizontal layout */
        height:100%;                /* auto height for icons */
        padding: 20px 8px;
        width: 30px;
      
        background:white;
        justify-content: center; 
        text-align: center;    /* center icons in row */
        z-index: 10;
    }

    .vertical-social ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .vertical-social ul li {
        margin: 0;
    }
}

/* Tablet screens */
@media (max-width: 992px) { /* Bootstrap md breakpoint */
    .homepage-banner .banner-text {
        font-size: 25px; /* slightly smaller */
        transform: translateX(30px);
        text-align: left;
        animation: slideIn 1.5s forwards 0.5s;
    }

    .homepage-banner .banner-text p {
        font-size: 16px;
    }
}

/* Mobile screens for text on banner*/
@media (max-width: 768px) { /* Bootstrap sm breakpoint */
    .homepage-banner .banner-text {
        font-size: 20px;
        transform: translateY(10px); /* slide down instead of from right */
        text-align: center;
        animation: slideDown 1.5s forwards 0.5s;
    }
     .homepage-banner .circle-box::before {
        top: -30px;
        left: -45px;
        width: 200px;
        height: 200px;
       
    }
  

    .homepage-banner .banner-text p {
        font-size: 14px;
    }
}

/* Keyframes for mobile sliding down */
@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Medium screens: tablets / small desktops */
@media (max-width: 1200px) {
    .homepage-banner .circle-box {
        width: 160px;
        height: 160px;
        font-size: 22px;
        top: -150px;
        left: -80px;
    }
}

/* Small screens: large phones / small tablets */
@media (max-width: 992px) {
    .homepage-banner .circle-box {
        width: 140px;
        height: 140px;
        font-size: 20px;
        top: -120px;
        left: -60px;
    }
}

/* Extra small screens: mobile phones */
@media (max-width: 768px) {
    .homepage-banner .circle-box {
        width: 200px;
        height: 200px;
        font-size: 18px;
        margin-bottom: 10px;  /* reduce vertical gap below circle */
        top: 0;               /* reset any offset that pushes it down */
        left: 0; 
    }
     .homepage-banner .banner-text {
        margin-top: 0;         /* optional: reduce space above text */
    }

}

/* Very small screens: very narrow phones */
@media (max-width: 480px) {
    .homepage-banner .circle-box {
        width: 100px;
        height: 100px;
        font-size: 16px;
        top: 0;
        left: 0;
    }
    .homepage-banner .banner-text {
        margin-top: 0;         /* optional: reduce space above text */
    }
}
.homepage-banner h6 {
    display: inline-block;
    position: relative;
    color: white;
    font-weight: 600;
    padding: 5px 12px;
    font-size: 0.9rem;
    z-index: 1; /* above pseudo-element */
}
.homepage-banner h6::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 110%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.733);
    transform: skewX(-8deg);  /* tilts the background */
    z-index: -1;               /* behind the text */
    border-radius: 4px;
}
.custom-btn {
    position: relative;
    display: inline-block;
    padding: 20px 65px;
    background: #d40000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    overflow: hidden;
}

/* Text layers */
.custom-btn span {
    display: block;
    transition: transform 0.35s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Default text */
.custom-btn .text-default {
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Hover text (starts hidden below) */
.custom-btn .text-hover {
    top: 150%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Arrow styling */
.custom-btn .arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: 0.3s ease;
}

/* Hover animation */
.custom-btn:hover .text-default {
    top: -50%;
}

.custom-btn:hover .text-hover {
    top: 50%;
}

/* Arrow fades in & slides right */
.custom-btn:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Optional button hover background */
.custom-btn:hover {
    background: #aa0000;
}
.custom-btn {
    color: #fff;            /* text color */
}

.custom-btn:hover {
    color: #fff;            /* keep text white */
    background: #FDD000 ;    /* your hover color */
}

.custom-btn:focus,
.custom-btn:active {
    outline: none;
    box-shadow: none;
}

/* Container for lines (full screen overlay) */
.animated-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* click-through */
    overflow: hidden;
    z-index: 1; /* behind text */
}

/* Single line style */
.animated-lines::before,
.animated-lines::after {
    content: '';
    position: absolute;
    background: white;
    opacity: 0.2;
}

/* Vertical line sliding up */
.animated-lines::before {
    width: 2px;           /* line thickness */
    height: 120%;
    top: 100%;            /* start below screen */
    left: 25%;            /* horizontal position */
    animation: slideUp 4s linear infinite;
}

/* Horizontal line sliding left */
.animated-lines::after {
    height: 2px;           /* line thickness */
    width: 120%;
    top: 40%;              /* vertical position */
    left: 100%;            /* start off-screen right */
    animation: slideLeft 5s linear infinite;
}

/* Vertical animation */
@keyframes slideUp {
    0% { top: 100%; opacity: 0.2; }
    50% { top: 30%; opacity: 0.5; }
    100% { top: -20%; opacity: 0.2; }
}

/* Horizontal animation */
@keyframes slideLeft {
    0% { left: 100%; opacity: 0.2; }
    50% { left: 20%; opacity: 0.5; }
    100% { left: -20%; opacity: 0.2; }
}


/* Stats Banner */
.stats-banner {
    position: absolute;        /* overlay on image */
    bottom: -130px;              /* adjust vertical position */
    left: 0px;                /* adjust horizontal position */
    background-color:  #757575; /* white banner */
    padding: 30px 80px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    max-width: 90%;
    z-index: 5;

}

.stats-banner .stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-banner .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #FDD000; /* accent color */
}

.stats-banner .stat-number span {
    font-size: 24px;  /* smaller K+ */
    vertical-align: super;
}

.stats-banner .stat-label {
    font-size: 16px;
    font-weight: 500;
    margin-top: 5px;
    color: white;
    white-space: nowrap;
    margin-right: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-banner {
        position: relative !important;  /* so it stays in normal flow */
        bottom: auto;
        left: auto;
        padding: 20px;
        max-width: 100%;
        flex-wrap: wrap;
        display: flex;
        justify-content: space-around;
        box-shadow: none;    /* optional for mobile */
    }

    .stats-banner .stat-box {
        flex: 1 1 45%;        /* make each stat roughly half width */
        margin-bottom: 15px;
        text-align: center;
    }

    .stats-banner .stat-number {
        font-size: 28px;
    }

    .stats-banner .stat-number span {
        font-size: 18px;
    }

    .stats-banner .stat-label {
        font-size: 14px;
        white-space: normal; /* allow wrapping if needed */
    }
}


/* home page services */

.homepage-services {
    background-color: #F1F5F9;
}

.custom-height {
    height: 100px;
}

.homepage-services h2 {
    font-weight: 700;
    color: #1F2937; /* dark slate text */
}

.homepage-services .service-box {
    background-color: #E5E7EB; /* light card background */
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 20px 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 60px;
}

.homepage-services .service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(30, 144, 255, 0.25); /* DodgerBlue shadow */
}

.homepage-services .service-icon {
    font-size: 2rem;
    color: #FF6F61; /* coral accent */
}

.homepage-services .service-title {
    font-weight: 700;
    color: #6A5ACD; /* slate blue */
}

.homepage-services .service-desc {
    font-size: 0.85rem;
    color: #475569; /* soft dark gray */
}

.homepage-services .service-box {
    height: 250px;
    width: 180px;
}


/* Responsive adjustments */
/* ======================================= */
/* Mobile Responsive: Under 768px */
/* ======================================= */
@media (max-width: 768px) {

    /* Section padding */
    .homepage-services {
        padding: 20px 10px;
    }

    /* Row adjustments */
    .homepage-services .row {
        justify-content: center; /* centers columns horizontally */
        gap: 15px;               /* spacing between cards */
    }

    /* Columns on mobile: remove Bootstrap padding and center */
    .homepage-services .col-6 {
        width: 100%;
        max-width: 300px;       /* optional: keeps cards from stretching too wide */
        padding-left: 0;        /* remove Bootstrap gutter */
        padding-right: 0;       /* remove Bootstrap gutter */
        flex: 0 0 auto;         /* prevent auto flex shrink/grow */
    }

    /* Center the card itself */
    .homepage-services .service-box {
        margin: 0 auto;         /* this centers the card */
        padding: 15px 10px;
        text-align: center;
    }

    /* Service icon size */
    .homepage-services .service-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    /* Section heading */
    .homepage-services h2 {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Service titles */
    .homepage-services .service-box h5 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    /* Description text */
    .homepage-services .service-desc {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Optional: images */
    .homepage-services img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
}

