/********** Template CSS **********/

/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.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 ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 4px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/* --- Vision & Mission Section Styling --- */
        .vm-grid {
            display: flex;
            gap: 30px;
            margin: 30px 0;
            flex-wrap: wrap; /* Ensure stacking on small screens */
            justify-content: center;
        }
        .vm-card {
            flex: 1;
            min-width: 300px;
            padding: 30px;
            border-radius: 10px;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            text-align: justify;
        }
        .vm-card h3 {
            font-size: 1.6em;
            margin-top: 0;
        }
        
        /* Vision Card Specific Styles */
        .vision {
            background-color: #fcf3cf; /* Light Yellow */
            border-left: 5px solid #f39c12; /* Darker Yellow Accent */
        }
        .vision h3 {
            color: #f39c12;
        }

        /* Mission Card Specific Styles */
        .mission {
            background-color: #e8f8f5; /* Light Teal */
            border-left: 5px solid #1abc9c; /* Darker Teal Accent */
        }
        .mission h3 {
            color: #1abc9c;
        }
        
        /* Hover Effect */
        .vm-card:hover {
            transform: translateY(-5px); /* Lift effect */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        /* --- Table Styling (Services) --- */
        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 10px; /* Space between rows */
            margin-top: 20px;
        }
        th, td {
            padding: 15px 20px;
            text-align: left;
        }
        th {
            background-color: #2c3e50;
            color: white;
            font-weight: 600;
        }
        tr:nth-child(even) td {
            background-color: #f9f9f9;
        }
        td {
            border-bottom: 1px solid #eee;
            background-color: #fff;
        }

        /* --- Quote Styling --- */
        blockquote {
            background: #e1f5f4;
            border-left: 4px solid #0f6c5c; /* Red accent */
            margin: 2em 0;
            padding: 1.5em 25px;
            font-style: italic;
            color: #555;
            border-radius: 40px;
            border-right: 4px solid #0f6c5c;
        }
    

/* ---------- SECTION TITLE ---------- */
.section-title {
    text-align: center;
    margin-top: 60px;
}
.section-title h2 {
    font-size: 3rem;
    letter-spacing: 2px;
    color: #1a4735;
}
.section-title p {
    max-width: 650px;
    margin: auto;
    font-size: 1.2rem;
    color: #000000;
}

/* ---------- PROJECT GRID ---------- */
.project-grid {
    max-width: 1300px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.4s ease;
}
.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.5s;
}
.project-card:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}
.project-info {
    position: absolute;
    bottom: 30px;
    left: 20px;
}
.project-info h3 {
    font-size: 1.8rem;
    margin: 5px 0;
}
.project-info span {
    font-size: 1rem;
    background: #617d72;
    padding: 5px 12px;
    border-radius: 5px;
    color: rgb(243, 232, 232);
    font-weight: bold;
}

/* ---------- FEATURE SECTION ---------- */
.features {
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
}
.features h2 {
    font-size: 2.5rem;
    color: #26473a;
}
.feature-boxes {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.feature-item {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: #b5ded6;
    border: 1px solid #222;
    border-radius: 12px;
    transition: 0.3s;
}
.feature-item:hover {
    transform: translateY(-10px);
    border-color: #052518;
}
.feature-item h4 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
    text-align: center;
    margin: 90px auto;
    max-width: 900px;
}
.testimonial blockquote {
    background: #101010;
    padding: 30px;
    border-left: 6px solid #00e68a;
    border-radius: 10px;
    font-size: 1.2rem;
    color: #cfcfcf;
    font-style: italic;
}
.testimonial h4 {
    margin-top: 12px;
    font-size: 1.3rem;
    color: #00e68a;
}

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(135deg, #95dbbb, #598067);
    text-align: center;
    padding: 80px 20px;
    border-radius: 20px;
    margin: 80px auto;
    max-width: 1200px;
}
.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.cta p {
    max-width: 600px;
    margin: 15px auto;
    color: #e0e0e0;
}
.cta a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 40px;
    border-radius: 40px;
    background: #00e68a;
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}
.cta a:hover {
    background: #0affb9;
    transform: scale(1.05);
}
.custom-img {
    width: 400px;
    height: 100%;
}
.main-img {
    width:100%;
    height:380px; /* Decrease height */
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 10px 35px rgba(0,0,0,0.12);
    transition:0.5s ease;
}

.overlay-img {
    width:50%;
    max-height:320px;
    object-fit:cover;
    position:absolute;
    bottom:-95px;
    right:-25px;
    border:6px solid #2f564d;
    border-radius:12px;
    box-shadow:0 12px 35px rgba(0,0,0,0.15);
    transition:0.5s ease;
}

/* Hover Effects */
.main-img:hover,
.overlay-img:hover {
    transform:scale(1.05);
}

/* Icon Box Styling */
.icon-box {
    padding:14px;
    background:#e9f5f2;
    color:#0f6c5c;
    border-left:5px solid #0f6c5c;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
}

/* Button Styling */
.explore-btn {
    margin-top:15px;
    display:inline-block;
    background:#0f6c5c;
    color:#fff;
    padding:12px 28px;
    font-size:15px;
    font-weight:600;
    border-radius:6px;
    text-decoration:none;
    transition:.3s;
}
.explore-btn:hover {
    background:#97d2c9;
}
.choose-box {
    background:#ffffff;
    padding:25px;
    border-radius:12px;
    text-align:center;
    transition:0.4s;
    border-bottom:5px solid #0f6c5c;
    box-shadow:0px 8px 18px rgba(0,0,0,0.08);
}

.choose-box:hover {
    transform: translateY(-8px);
    box-shadow:0px 15px 25px rgba(0,0,0,0.12);
}

.choose-icon {
    font-size:42px;
    color:#0f6c5c;
    margin-bottom:15px;
}
.choose-card {
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}
.choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 25px rgba(255, 111, 97, 0.25);
}
.features {
    padding: 70px 0;
    background: #f7f9fb;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    font-weight: 700;
    color: #186e71;
    margin-bottom: 40px;
}

.feature-item {
    background: #66aaa4;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.project-card:hover .overlay {
    opacity: 1;
}
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: #d5e2e0;
    border: 2px solid #0f6c5c;
    border-radius: 50px;

}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a3d2f;
}

.cta-section p {
    font-size: 18px;
    color: #333;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0b3b33, #1aa07a);
    border-radius: 50px;
    text-decoration: none;
    transition: 0.35s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.cta-button:hover {
    background: linear-gradient(135deg, #1aa07a, #0b3b33);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.cta-button.cta-portfolio {
    background: linear-gradient(135deg, #c98a00, #ffce4e);
    color: #fff;
}

.cta-button.cta-portfolio:hover {
    background: linear-gradient(135deg, #ffce4e, #c98a00);
    transform: translateY(-4px);
}
.team-box-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-box-list li {
    width: 30%;
    min-width: 280px;
}

.team-box {
    background: #ffffff;
    border: 2px solid #0f6c5c;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.team-box:hover {
    background: #0f6c5c;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-box h4 {
    font-size: 20px;
    color: #0f6c5c;
    font-weight: 700;
    margin-bottom: 10px;
    transition: 0.3s;
}

.team-box:hover h4 {
    color: #ffffff;
}

.team-box p {
    font-size: 16px;
    color: #333;
    transition: 0.3s;
    text-align: justify;
}

.team-box:hover p {
    color: #e9f9f4;
}
.istudio-blog-featured {
    padding: 90px 0;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0f6c5c;
}

.blog-header p {
    font-size: 17px;
    color: #555;
}

/* Feature Grid */
.blog-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-feature-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:  0 6px 14px rgba(0,0,0,0.08);
    transition: .35s ease;
}

.blog-feature-card:hover {
    transform: translateY(-6px);
}

.blog-feature-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    transition: .4s;
}

.blog-feature-card:hover .blog-feature-img {
    filter: brightness(0.75);
    transform: scale(1.06);
}

.blog-feature-content {
    padding: 22px;
}

.feature-category {
    background: #0f6c5c;
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    margin-bottom: 10px;
    display: inline-block;
}

.blog-feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 6px;
    color: #000;
}

.meta {
    font-size: 14px;
    color: #777;
    font-style: italic;
    margin-bottom: 12px;
}

.desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
}

.feature-more {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #0f6c5c;
    transition: .3s;
}

.feature-more:hover {
    opacity: .7;
}

/* View All Blogs Button */
.blog-view-btn {
    text-align: center;
    margin-top: 45px;
}

.view-all-blogs {
    padding: 13px 34px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #0f6c5c, #14a098);
    color: #fff;
    transition: .3s ease;
}

.view-all-blogs:hover {
    opacity: .85;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .blog-feature-grid {
        grid-template-columns: 1fr;
    }
    .blog-feature-img {
        height: 210px;
    }
}

