/****** Theme CSS ****************/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Utility classes for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focusable:focus {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    white-space: normal;
    outline: 2px solid #8DC63F; /* Visible focus outline */
    outline-offset: 2px;
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", serif;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    background-color: #fff;
    color: #555;
}

/* Accessible focus style for links and buttons */
a:focus, button:focus {
    outline: 2px solid #8DC63F;
    outline-offset: 2px;
}

/* Scrollbar styling */
#scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #262262;
}

#scrollbar::-webkit-scrollbar {
    width: 5px;
    background-color: #262262;
}

#scrollbar::-webkit-scrollbar-thumb {
    background-color: #555;
    border-left: 1px solid #555;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

/* Font Weights */
.fw-100 { font-weight: 100 !important; }
.fw-200 { font-weight: 200 !important; }
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/***** Backgrounds and Button Backgrounds **********/
.bg-primary {
    background: linear-gradient(to left, #262262, #27AAE1) !important;
}

.bg-secondary {
    background: linear-gradient(to left, #262262, #27AAE1) !important;
}

.bg-light {
    background: linear-gradient(to top, #ffffff, #e9e9e9) !important;
}

.text-primary {
    color: #8DC63F !important;
}

.text-secondary {
    color: #262262 !important;
}

.text-default {
    color: #555;
}

.btn-primary {
    background: linear-gradient(to left, #39B54A, #8DC63F) !important;
    border: none !important;
}

.btn-secondary {
    background: linear-gradient(to left, #262262, #27AAE1) !important;
    border: none !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(to left, #262262, #27AAE1) !important;
    border: none !important;
    outline: none;
    box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: linear-gradient(to left, #39B54A, #8DC63F) !important;
    border: none !important;
    outline: none;
    box-shadow: none;
}

/* Active and Disabled States */
.btn-primary:active,
.btn-secondary:active {
    background: #333;
    border-color: #333;
    box-shadow: none;
}

.btn-primary:disabled,
.btn-primary.disabled,
.btn-secondary:disabled,
.btn-secondary.disabled {
    background: #333;
    border-color: #333;
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

/*********************** Breadcrumb *********************/
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/about.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}

/*** Navbar ***/
.header-logo {
    width: 200px;
    padding: 5px 0;
}

.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn { }

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #8DC63F;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown-item {
    padding: 10px 10px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        padding: 20px;
        visibility: hidden;
        transition: 0.5s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Navbar End ***/

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

.shake-icon {
    display: inline-block;
    animation: shake 0.9s ease-in-out infinite;
}

/* Hero Section Styles */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../img/banner-img.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    animation: zoomBackground 20s ease-in-out infinite;
}

@keyframes zoomBackground {
    0% { background-size: 100%; }
    50% { background-size: 110%; }
    100% { background-size: 100%; }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #26226294, #262262);
}

/* Animation for slide-in effect */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.typewriter {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid white;
    font-weight: bold;
    font-size: 2.5rem;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(to left, #39B54A, #8DC63F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Services Box */
.services-box, .services-box1 {
    padding: 30px;
    transition: 0.5s;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.services-box:hover {
    background: linear-gradient(to left, #262262, #27AAE1) !important;
    box-shadow: rgb(0 0 0 / 18%) 0 10px 30px;
}

.services-box:hover .text-dark {
    color: #fff !important;
}

.services-box:hover a {
    color: #fff !important;
}

.services-box:hover .ser-icon0 {
    fill: #fff;
}

.ser-icon-svg {
    width: 100px;
    margin: 0 0 10px 0;
}

.octagon-shape {
    clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

/* Why Choose Us Background */
.why-choose-bg {
    position: relative;
    background: url('../img/whychoose.jpg') no-repeat;
    background-size: cover;
    background-position: right;
    background-attachment: fixed;
    display: flex;
    overflow: hidden;
    animation: zoomBackground 20s ease-in-out infinite;
}

.why-choose-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #262262, #262262ed);
}

.why-choose-bg .row {
    z-index: 2;
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(to top, #ffffff, #ddd);
}

.copyright {
    background: linear-gradient(to left, #262262, #262262);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Responsive Media Queries */

/* Small Devices, Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-nav {
        padding: 0 !important;
    }
    .navbar-light .navbar-nav .nav-link {
        border-bottom: 1px solid #eee;
        padding: 10px 30px !important;
        color: #fff !important;
    }
    .navbar-collapse {
        background: #262262;
    }
    .dropdown-item {
        padding: 10px 30px !important;
    }
}

/* Small Devices, Phones */
@media (max-width: 767px) {
    .navbar-nav {
        padding: 0 !important;
    }
    .navbar-light .navbar-nav .nav-link {
        border-bottom: 1px solid #eee;
        padding: 10px 30px !important;
        color: #fff !important;
    }
    .navbar-collapse {
        background: #262262;
    }
    .dropdown-item {
        padding: 10px 30px !important;
    }
    .hero {
        height: 500px;
        background: url('../img/banner-img.jpg') no-repeat;
        background-size: cover !important;
    }
}

/* Extra Small Devices, Phones */
@media (max-width: 479px) {
    .navbar-nav {
        padding: 0 !important;
    }
    .navbar-light .navbar-nav .nav-link {
        border-bottom: 1px solid #eee;
        padding: 10px 30px !important;
        color: #fff !important;
    }
    .navbar-collapse {
        background: #262262;
    }
    .dropdown-item {
        padding: 10px 30px !important;
    }
}

/* Custom, iPhone Retina */
@media (max-width: 320px) and (max-width: 478px) {
    /* Additional adjustments if needed */
}
