@import url('variables.css');

/* =========================================
   Header & Navigation
========================================= */
.topbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid #eaeaea;
}

.topbar .contact-info {
    display: flex;
    gap: 20px;
}

.topbar .social-links {
    display: flex;
    gap: 15px;
    color: var(--accent-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    background: var(--accent-color);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.absolute-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.absolute-header .navbar {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: 10px 25px;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.absolute-header .logo-icon {
    background: transparent;
    border: 2px solid white;
}

.absolute-header .logo {
    color: white;
}

.absolute-header .nav-links a {
    color: white;
}

.absolute-header .nav-links a:hover,
.absolute-header .nav-links a.active {
    color: var(--accent-color);
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Specific styling overrides for sections will go here as they are built */

/* =========================================
   Hero Section
========================================= */
.hero-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-subtitle {
    color: var(--text-light);
    opacity: 0.8;
}

.hero-subtitle::before {
    background-color: var(--text-light);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.hero-btn {
    padding: 6px 24px 6px 6px;
    background: var(--bg-white);
    border-radius: 40px;
}

.hero-btn .btn-text {
    background: var(--accent-color);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-dark);
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 40px 100px 40px 40px;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 15s linear infinite;
}

.hero-badge-inner {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-tags {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 90%;
}

.hero-tag {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    backdrop-filter: blur(4px);
}

/* =========================================
   Features & Stats
========================================= */
.features-section {
    padding: 60px 0;
    background: var(--bg-white);
    border-bottom: 1px solid #eaeaea;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 30px;
    color: var(--accent-color);
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 14px;
}

.stats-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.stats-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.stats-image-wrapper {
    flex: 1;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 40px 100px 40px 40px;
    position: relative;
    border: 5px solid var(--primary-color);
}

.stats-number {
    font-size: 15rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    line-height: 1;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-clip: text;
    -webkit-background-clip: text;
    background-size: cover;
}

.stats-label {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-top: 10px;
}

.stats-content {
    flex: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
}

.signature {
    display: flex;
    flex-direction: column;
}

.signature img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 5px;
    margin-left: -10px;
}

/* =========================================
   Services Section
========================================= */
.services-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--section-padding);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #3b5a51;
    /* slightly lighter than primary */
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:first-child {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.service-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.service-card:first-child .service-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* =========================================
   Marquee Section
========================================= */
.marquee-section {
    background-color: var(--accent-color);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 30px;
    margin-right: 30px;
}

.marquee-icon {
    font-size: 30px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   Work Process Section
========================================= */
.process-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    text-align: center;
}

.process-section .section-subtitle {
    justify-content: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
}

/* Line connecting steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    /* half of icon height */
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: #ddd;
    z-index: 1;
}

.process-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.process-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 30px;
    position: relative;
}

.process-number {
    position: absolute;
    top: 0;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    border: 3px solid var(--bg-white);
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-muted);
}

/* =========================================
   Projects Section
========================================= */
.projects-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-tag {
    padding: 8px 20px;
    background-color: var(--bg-white);
    border: 1px solid #eaeaea;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tag.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 400px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    gap: 10px;
}

.project-tag {
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    font-size: 12px;
}

.project-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* =========================================
   Awards Section
========================================= */
.awards-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    text-align: center;
}

.awards-section .section-subtitle {
    justify-content: center;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.award-card {
    display: flex;
    align-items: center;
    gap: 30px;
}

.award-icon-wrapper {
    width: 120px;
    flex-shrink: 0;
}

.award-content .year {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.award-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.award-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* =========================================
   Before & After Section
========================================= */
.before-after-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--section-padding);
}

.ba-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.ba-header .section-subtitle::before {
    background-color: var(--text-light);
}

.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 40px 100px 40px 40px;
    overflow: hidden;
    height: 500px;
    background: #ccc;
    display: flex;
}

.ba-slider-container img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.ba-slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-slider-handle {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 12px;
    cursor: ew-resize;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 4px 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: white;
}

.ba-label.before {
    left: 20px;
}

.ba-label.after {
    right: 20px;
}

.ba-nav-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    border: none;
    z-index: 10;
}

.ba-nav-btn.prev {
    top: 20px;
    left: 20px;
}

.ba-nav-btn.next {
    bottom: 20px;
    right: 20px;
}


/* =========================================
   Testimonial Section
========================================= */
.testimonial-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.testimonial-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 40px 100px 40px 40px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-image {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.testimonial-content {
    flex: 1;
}

.stars {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    gap: 5px;
}

.stars span {
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 10px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.client-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.client-title {
    font-size: 14px;
    color: var(--text-muted);
}

.testi-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.testi-nav-btn.prev {
    left: 0;
    background-color: #333;
    color: white;
}

.testi-nav-btn.next {
    right: 0;
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* =========================================
   Team Section
========================================= */
.team-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    text-align: center;
}

.team-section .section-subtitle {
    justify-content: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    position: relative;
    text-align: center;
}

.team-image-wrapper {
    position: relative;
    border-radius: 40px 100px 40px 40px;
    overflow: hidden;
    height: 350px;
    margin-bottom: 20px;
    background-color: #e5e5e5;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-socials {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-card:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-social-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.team-social-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-title {
    font-size: 14px;
    color: var(--text-muted);
}

/* =========================================
   Contact Section
========================================= */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-form {
    margin-top: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    background-color: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.contact-info-card {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px;
    border-radius: 20px 100px 20px 20px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.info-block p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
}

.social-circle-links {
    display: flex;
    gap: 15px;
}

.social-circle-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-circle-link:hover {
    transform: translateY(-3px);
}

/* =========================================
   Responsive Design (Media Queries)
========================================= */
@media (max-width: 992px) {

    .hero-container,
    .stats-container,
    .contact-container {
        flex-direction: column;
    }

    .hero-image-wrapper {
        width: 100%;
    }

    .features-grid,
    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {

    .features-grid,
    .services-grid,
    .projects-grid,
    .awards-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .stats-number {
        font-size: 10rem;
    }


}

/* =========================================
   FAQ Section
========================================= */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #f7f7f7;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.faq-icon {
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition);
}

.faq-body {
    display: none;
    padding: 0 25px 25px;
}

.faq-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Active State */
.faq-item.active {
    background-color: var(--primary-color);
}

.faq-item.active .faq-title {
    color: var(--text-light);
}

.faq-item.active .faq-icon {
    color: var(--accent-color);
}

/* =========================================
   Page Banner
========================================= */
.page-banner {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(26, 38, 30, 0.85), rgba(26, 38, 30, 0.85)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 160px 0 80px 0;
    text-align: center;
}

.banner-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.breadcrumbs {
    font-size: 16px;
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.breadcrumbs .divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs .current {
    color: var(--accent-color);
}

/* =========================================
   Services Page Cards
========================================= */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-v2 {
    background-color: #f7f7f7;
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card-v2 h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: var(--transition);
}

.service-card-v2 p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: auto;
}

.service-img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.service-btn-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-color: #f7f7f7;
    border-top-left-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-btn-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    background-image: radial-gradient(circle at 0 0, transparent 19px, #f7f7f7 20px);
    transition: var(--transition);
}

.service-btn-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    background-image: radial-gradient(circle at 0 0, transparent 19px, #f7f7f7 20px);
    transition: var(--transition);
}

.service-btn-v2 {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
    z-index: 2;
}

.service-btn-v2 i {
    position: relative;
}

.service-card-v2:hover,
.service-card-v2.active {
    background-color: var(--primary-color);
}

.service-card-v2:hover h3,
.service-card-v2.active h3 {
    color: var(--text-light);
}

.service-card-v2:hover p,
.service-card-v2.active p {
    color: rgba(255, 255, 255, 0.7);
}

.service-card-v2:hover .service-btn-container,
.service-card-v2.active .service-btn-container {
    background-color: var(--primary-color);
}

.service-card-v2:hover .service-btn-container::before,
.service-card-v2.active .service-btn-container::before,
.service-card-v2:hover .service-btn-container::after,
.service-card-v2.active .service-btn-container::after {
    background-image: radial-gradient(circle at 0 0, transparent 19px, var(--primary-color) 20px);
}

.service-card-v2:hover .service-btn-v2,
.service-card-v2.active .service-btn-v2 {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* Responsive grid for services page */
@media (max-width: 992px) {
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-page-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Service Details Page
========================================= */
.service-feature-wrapper {
    position: relative;
    border-radius: 120px 20px 120px 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-feature-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: var(--transition);
}

.play-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.drop-cap-paragraph {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.drop-cap {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 5px;
}

.check-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .check-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .check-list-grid {
        grid-template-columns: 1fr;
    }
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.check-item i {
    color: var(--accent-color);
    font-size: 18px;
}

.split-images-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.split-images-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 80px 20px 80px 20px;
    /* Modern shape mirroring main image */
}

@media (max-width: 768px) {
    .split-images-wrapper {
        grid-template-columns: 1fr;
    }
}

.solution-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 50px;
}

.solution-step {
    padding: 0 30px;
    border-right: 1px solid #eaeaea;
}

.solution-step:first-child {
    padding-left: 0;
}

.solution-step:last-child {
    border-right: none;
    padding-right: 0;
}

@media (max-width: 768px) {
    .solution-steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solution-step {
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 30px;
    }

    .solution-step:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
}

.step-header h4 {
    font-size: 20px;
    margin: 0;
}

.solution-step p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-list li {
    position: relative;
    padding-left: 35px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--text-dark) 50%, var(--accent-color) 50%);
}

/* =========================================
   Projects Page
========================================= */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #eaeaea;
    border-radius: 30px;
    background-color: transparent;
    color: var(--text-dark);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.project-card {
    transition: var(--transition);
}

.project-img-wrapper {
    position: relative;
    border-radius: var(--radius-md) var(--radius-md) 80px var(--radius-md);
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
    z-index: 1;
}

.project-info {
    position: absolute;
    bottom: 35px;
    left: 30px;
    right: 90px;
    color: white;
    z-index: 2;
}

.project-info h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 11px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.9);
}

.project-btn-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-color: var(--bg-white);
    border-top-left-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3;
}

.project-btn-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-bottom-right-radius: 20px;
    box-shadow: 10px 10px 0 10px var(--bg-white);
    transition: var(--transition);
}

.project-btn-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-bottom-right-radius: 20px;
    box-shadow: 10px 10px 0 10px var(--bg-white);
    transition: var(--transition);
}

.project-btn {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
    z-index: 4;
}

.project-card:hover .project-btn,
.project-card.active .project-btn {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   Project Details Page
========================================= */

@media (max-width: 992px) {
    .project-info-row {
        grid-template-columns: 1fr !important;
    }
}

.project-meta-card {
    background-color: var(--primary-color);
    padding: 35px 30px;
    border-radius: 15px 80px 15px 15px;
    /* Curved top-right corner */
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: fit-content;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meta-label {
    font-size: 11px;
    color: var(--text-dark);
    opacity: 0.8;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.project-gallery {
    /* Set by inline styles but handle responsiveness here */
}

.gallery-item {
    position: relative;
    border-radius: 60px 20px 60px 20px;
    /* Matching the overall shape motif */
    overflow: hidden;
}

.gallery-img-large {
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-img-stack .gallery-item {
    height: 250px;
}

@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: 1fr !important;
    }

    .gallery-img-large {
        height: 350px;
    }
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
    pointer-events: none;
    z-index: 1;
}

.gallery-tag {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
    color: white;
    font-size: 11px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.project-testimonial {
    background-color: #f7f7f7;
    border-radius: 80px 20px 80px 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .project-testimonial {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
}

.testimonial-img-wrapper {
    position: relative;
    flex-shrink: 0;
}

.testimonial-img-wrapper img {
    width: 200px;
    height: 200px;
    border-radius: 60px 20px 60px 20px;
    object-fit: cover;
}

.quote-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-content .stars {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 14px;
}

.testimonial-content .rating {
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 5px;
}

.quote-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.author-info h4 {
    font-size: 15px;
    margin: 0 0 4px;
    color: var(--text-dark);
}

.author-info span {
    font-size: 11px;
    color: var(--text-muted);
}

/* =========================================
   Blog Page
========================================= */

.blog-grid {
    /* Handled inline, media queries below */
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-img-wrapper {
    position: relative;
    border-radius: 40px 15px 40px 15px;
    /* Leaf motif matching design */
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%);
    pointer-events: none;
    z-index: 1;
}

.blog-tags {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.blog-tags span {
    color: white;
    font-size: 10px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.blog-content {
    padding-right: 15px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-dark);
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-color);
}

.blog-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 2px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.pagination a.page-num.active,
.pagination a.page-num:hover {
    background-color: var(--accent-color);
}

.pagination a.page-nav {
    color: var(--text-muted);
}

.pagination a.page-nav:hover {
    color: var(--text-dark);
}

/* =========================================
   Blog Details Page
========================================= */

.tag-pill {
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 30px;
}

@media (max-width: 992px) {
    .blog-content-layout {
        grid-template-columns: 1fr !important;
    }

    .blog-share-sidebar {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .share-icons-vertical {
        flex-direction: row !important;
    }

    .blog-share-sidebar>div {
        display: flex;
        align-items: center;
        gap: 15px;
        position: static !important;
    }

    .blog-share-sidebar h4 {
        margin-bottom: 0 !important;
    }
}

.share-icon {
    width: 35px;
    height: 35px;
    background-color: #1a1a1a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.share-icon:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.blog-main-content h3 {
    font-size: 18px;
    margin: 35px 0 15px;
    color: var(--text-dark);
}

.blog-main-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.also-read-block {
    background-color: var(--primary-color);
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    margin: 35px 0;
}

.custom-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.custom-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(90deg, #1a1a1a 50%, var(--accent-color) 50%);
}

.author-bio-box {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 20px 60px 20px 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 50px;
}

.author-bio-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-bio-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.author-bio-box p {
    font-size: 13px;
    color: var(--text-dark);
    opacity: 0.8;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .author-bio-box {
        flex-direction: column;
        text-align: center;
    }
}

.sidebar-widget {
    margin-bottom: 45px;
}

.widget-title {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-pills a {
    font-size: 11px;
    color: var(--text-muted);
    background-color: #f7f7f7;
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.category-pills a:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toc-list li a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.5;
    display: block;
}

.toc-list li a:hover {
    color: var(--accent-color);
}

.sidebar-promo {
    position: relative;
    border-radius: 40px 15px 40px 15px;
    overflow: hidden;
    padding: 40px 30px;
    text-align: center;
    color: white;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
}

.sidebar-promo .promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.sidebar-promo .promo-content {
    position: relative;
    z-index: 2;
}

.sidebar-promo h4 {
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.sidebar-promo h3 {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.sidebar-promo .btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-promo .btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* =========================================
   About Us Page
========================================= */

@media (max-width: 992px) {
    .about-content-row {
        grid-template-columns: 1fr !important;
    }
}

.experience-card {
    position: relative;
    padding: 50px 40px;
    text-align: center;
    border: 8px solid var(--primary-color);
    border-radius: 80px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
}

.exp-number-mask {
    font-size: 160px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: var(--font-primary);
    letter-spacing: -8px;
}

.exp-text {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 80px;
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

.award-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.award-icon {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.award-year-badge {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
}

.award-content {
    flex-grow: 1;
}

.award-year {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}

.award-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 15px;
    color: var(--text-dark);
}

.award-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}

.team-card {
    text-align: center;
}

.team-img-wrapper {
    position: relative;
    border-radius: 60px 15px 60px 15px;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #f0f0f0;
}

.team-img-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 2;
}

.team-social a {
    width: 36px;
    height: 36px;
    background-color: #1a1a1a;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.team-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%);
    pointer-events: none;
    z-index: 1;
}

.team-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-info p {
    font-size: 11px;
    color: var(--text-muted);
}

/* Process Section */
.process-steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .process-steps-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .process-line {
        display: none !important;
    }
}

.process-line {
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 1px;
    background-color: #ddd;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 22%;
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.step-icon {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
}

.step-number {
    position: absolute;
    bottom: -5px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    border: 3px solid #f9f9f9;
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-step p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   Contact Form Component
========================================= */

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .contact-form .form-row {
        flex-direction: column;
    }
}

.contact-form .form-group {
    width: 100%;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    background-color: #fafafa;
    outline: none;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info-block {
    background-color: var(--primary-color);
    padding: 50px 40px;
    border-radius: 40px 15px 40px 15px;
    color: var(--text-light);
}

.info-item {
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 600;
}

.info-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 15px;
}

.contact-social a {
    width: 35px;
    height: 35px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* =========================================
   How It Works Tabs
========================================= */
.how-it-works-tabs {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #eaeaea;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 25px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    border-right: 1px solid #eaeaea;
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-btn .tab-num {
    color: var(--accent-color);
    margin-right: 5px;
    font-weight: 700;
}

.tab-btn.active .tab-num {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
}

.tabs-content {
    position: relative;
    width: 100%;
}

.tab-pane {
    display: none;
    width: 100%;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   New Full-Width Hero Section
========================================= */
.new-hero-section {
    padding: 0;
}

.new-hero-wrapper {
    position: relative;
    border-radius: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 80px 80px 80px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: zoomInOut 20s infinite ease-in-out;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.5) 50%, rgba(20, 20, 20, 0) 100%);
    z-index: 2;
}

.new-hero-content,
.new-hero-stats {
    position: relative;
    z-index: 3;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.new-hero-content {
    max-width: 700px;
    margin-top: 80px;
}

.hero-rating-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.rating-avatars {
    display: flex;
}

.rating-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #222;
    margin-left: -12px;
    object-fit: cover;
}

.rating-avatars img:first-child {
    margin-left: 0;
}

.rating-text-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rating-stars {
    color: var(--accent-color);
    font-size: 14px;
}

.rating-text {
    color: white;
    font-size: 13px;
    font-family: var(--font-primary);
}

.new-hero-title {
    font-size: 64px;
    color: white;
    font-family: var(--font-primary);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 600;
}

.new-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.new-hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.view-projects-link {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.view-projects-link:hover {
    color: var(--accent-color);
}

.new-hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.hero-stat-col {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 20px;
}

.hero-stat-col:first-child {
    padding-left: 0;
}

.hero-stat-col.border-none {
    border-right: none;
}

.hero-stat-col h3 {
    font-size: 42px;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.hero-stat-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 992px) {
    .new-hero-title {
        font-size: 48px;
    }

    .new-hero-wrapper {
        padding: 120px 30px 50px;
    }

    .new-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .hero-stat-col {
        border-right: none;
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .new-hero-title {
        font-size: 36px;
    }

    .new-hero-wrapper {
        padding: 120px 20px 40px;
    }

    .new-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .new-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
        margin-top: 50px;
    }

    .hero-stat-col h3 {
        font-size: 32px;
    }
}

/* =========================================
   Contact Page
========================================= */

@media (max-width: 992px) {
    .features-info-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* =========================================
   CTA Section
========================================= */
.rotating-badge {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.rotating-text {
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
}

.badge-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.rotating-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(43, 74, 65, 0.3);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   Footer Section
========================================= */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0 30px;
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo .logo-icon::after {
    display: none;
    /* Hide the overlapping circle from header logo */
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.footer-social-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a,
.footer-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 14px;
}

.newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    padding: 0 20px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: #d4a62e;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

.footer-bottom-links .divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   Before & After Slider Section
========================================= */
.ba-nav-arrow {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.ba-nav-arrow:hover {
    transform: scale(1.1);
}

.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 550px;
    border-radius: 40px;
    /* Changed from 120px 30px to sleek modern 40px */
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-image-before {
    width: 50%;
    border-right: 3px solid white;
    z-index: 2;
}

.ba-label {
    position: absolute;
    top: 30px;
    bottom: auto;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ba-image-after .ba-label {
    right: 30px;
}

.ba-image-before .ba-label {
    left: 30px;
}

.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    z-index: 4;
    cursor: ew-resize;
    margin: 0;
    opacity: 0;
    /* invisible but captures events */
}

.ba-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 100%;
    background: transparent;
    cursor: ew-resize;
}

.ba-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    color: var(--primary-color);
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    /* Let clicks pass through to the input */
}

/* Mobile Responsiveness for Before/After */
@media (max-width: 768px) {
    .ba-slider-container {
        height: 350px;
        border-radius: 20px;
    }

    .ba-nav-arrow {
        display: none !important;
        /* Hide cosmetic arrows on mobile to save space */
    }

    .ba-slider-area {
        padding: 0 !important;
        /* Remove the padding reserved for arrows */
    }

    .ba-label {
        padding: 6px 15px;
        font-size: 11px;
        top: 15px;
        bottom: auto;
        color: white;
        background: rgba(0, 0, 0, 0.7);
        border: none;
    }

    .ba-image-after .ba-label {
        right: 15px;
    }

    .ba-image-before .ba-label {
        left: 15px;
    }

    .ba-slider-handle {
        width: 40px;
        height: 40px;
        font-size: 12px;
        padding: 0 8px;
    }
}

/* ========================================= */
/* Bento Grid Section (About Page Top) */
/* ========================================= */

.bento-section {
    padding: 20px;
    background-color: var(--primary-color);
}

.bento-section .container {
    max-width: 1400px;
    /* Slightly wider container for bento */
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.bento-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    color: var(--text-light);
}

.bento-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Card Specifics */
.bento-card-quote {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.bento-quote-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bento-quote-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}

.bento-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bento-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
}

.bento-author-info strong {
    display: block;
    font-size: 1rem;
}

.bento-author-info span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.bento-card-logo {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    background-color: #2a3d31;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-logo-text {
    font-size: 3.5rem;
    color: var(--accent-color);
    font-family: var(--font-accent);
    font-weight: 400;
    text-transform: none;
    text-align: center;
    line-height: 1;
    padding: 0 10px;
}

.bento-card-clients {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bento-card-video {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.bento-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    gap: 15px;
    text-align: center;
}

.bento-play-btn {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s;
}

.bento-play-btn:hover {
    transform: scale(1.1);
}

.bento-video-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.bento-card-projects {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card-team {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
    background-color: #2a3d31;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.bento-avatars {
    display: flex;
}

.bento-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--text-light);
    margin-left: -15px;
}

.bento-avatars img:first-child {
    margin-left: 0;
}

.bento-team-text {
    font-weight: 500;
    font-size: 0.95rem;
}

.bento-card-awards {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
    background-color: #2a3d31;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-stat-num {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.bento-stat-desc {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
}

.bento-bottom-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.bento-bottom-text p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }

    .bento-card-quote {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-card-logo {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    .bento-card-clients {
        grid-column: 2 / 3;
        grid-row: auto;
    }

    .bento-card-video {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-card-projects {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    .bento-card-team {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-card-awards {
        grid-column: 2 / 3;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
}

/* ========================================= */
/* Our Story Section (About Page) */
/* ========================================= */

.our-story-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.story-split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left Content */
.story-content {
    flex: 1;
    max-width: 550px;
}

.story-badge {
    display: inline-block;
    background-color: #F3E0CF;
    color: #D08C60;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.story-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--font-primary);
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.story-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 30px;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.story-text:last-child {
    margin-bottom: 0;
}

/* Right Image */
.story-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.story-main-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

/* Stacked Cards Overlay */
.story-stacked-cards {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 320px;
    z-index: 2;
}

.stacked-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-back-2 {
    height: 80px;
    transform: translateY(-20px) scale(0.9);
    opacity: 0.5;
    z-index: 1;
}

.card-back-1 {
    height: 90px;
    transform: translateY(-10px) scale(0.95);
    opacity: 0.8;
    z-index: 2;
}

.card-front {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    z-index: 3;
    background-color: #F5F0E6;
}

.card-front img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.card-front p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .story-split-layout {
        flex-direction: column;
        gap: 60px;
    }

    .story-content {
        max-width: 100%;
    }

    .story-image-wrapper {
        width: 100%;
    }

    .story-main-img {
        height: 400px;
    }

    .story-stacked-cards {
        bottom: -20px;
        right: 20px;
        width: 280px;
    }
}

@media (max-width: 768px) {
    .story-heading {
        font-size: 2.5rem;
    }
}

/* ========================================= */
/* Our Vision Section */
/* ========================================= */

.our-vision-section {
    padding: 100px 0;
    background-color: #faf9f6;
    /* Very light subtle background */
}

.vision-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.vision-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 8px 24px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    background-color: transparent;
}

.vision-dot {
    width: 10px;
    height: 10px;
    background-color: #C85A17;
    border-radius: 50%;
    position: relative;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 90, 23, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(200, 90, 23, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 90, 23, 0);
    }
}

.vision-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.vision-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vision-card {
    background-color: #F1EFE9;
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.vision-icon {
    font-size: 40px;
    color: #b8621b;
    margin-bottom: 40px;
}

.vision-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.vision-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .vision-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   Founder Section
========================================= */
.founder-content-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.founder-image-col {
    flex: 0 0 45%;
    position: relative;
}

.founder-pattern {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--accent-color) 2px, transparent 2px);
    background-size: 10px 10px;
    z-index: 0;
}

.founder-img {
    width: 100%;
    border-radius: 40px;
    position: relative;
    z-index: 1;
    object-fit: cover;
    height: 600px;
}

.founder-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: #2b323c;
    color: var(--text-light);
    padding: 35px;
    border-radius: 20px;
    width: 85%;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.founder-card h4 {
    font-size: 24px;
    margin-bottom: 5px;
    color: white;
}

.founder-card .founder-title {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.founder-card-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.founder-card .founder-bio {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.founder-social {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.founder-social:hover {
    background-color: #d4a62e;
}

.founder-info-col {
    flex: 1;
    padding-top: 20px;
}

.founder-heading {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.founder-separator {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

.founder-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.founder-features {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.founder-feature {
    flex: 1;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(236, 168, 134, 0.15);
    /* Accent color with low opacity */
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.founder-feature h5 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.founder-feature p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.founder-quote-box {
    background-color: #fbf8f1;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 20px;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: var(--accent-color);
    line-height: 1;
}

.quote-content {
    flex: 1;
}

.quote-content p {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.signature-wrapper {
    display: flex;
    justify-content: flex-end;
}

.founder-signature {
    height: 60px;
    opacity: 0.7;
    filter: sepia(1) hue-rotate(350deg) saturate(3) brightness(0.9);
}

@media (max-width: 1024px) {
    .founder-content-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .founder-image-col {
        width: 80%;
        margin: 0 auto;
    }

    .founder-heading {
        font-size: 2.5rem;
    }

    .founder-features {
        flex-wrap: wrap;
    }

    .founder-feature {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .founder-image-col {
        width: 100%;
        margin-bottom: 40px;
    }

    .founder-card {
        right: 0;
        bottom: -50px;
        width: 90%;
    }

    .founder-feature {
        min-width: 100%;
    }
}

/* =========================================
   Calculator Section
========================================= */
.calculator-section {
    color: var(--text-light);
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-title-box {
    flex: 1;
}

.calc-header-features {
    display: flex;
    gap: 30px;
}

.calc-h-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-h-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-light);
}

.calc-h-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.calc-h-text span {
    font-size: 12px;
    opacity: 0.7;
}

.calc-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.calc-form-col {
    flex: 2;
    background-color: #24352a;
    /* Slightly lighter than primary for contrast */
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-form-header {
    margin-bottom: 30px;
}

.calc-form-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.calc-form-header p {
    font-size: 14px;
    opacity: 0.7;
}

.calc-row {
    display: flex;
    gap: 30px;
}

.calc-step-group {
    margin-bottom: 35px;
}

.calc-step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.step-num {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.calc-step-label label {
    font-weight: 600;
    font-size: 16px;
}

.calc-options-grid {
    display: grid;
    gap: 15px;
}

.type-options {
    grid-template-columns: repeat(4, 1fr);
}

.style-options {
    grid-template-columns: repeat(5, 1fr);
}

.finish-options {
    grid-template-columns: repeat(3, 1fr);
}

.calc-option-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.calc-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.calc-option-card i {
    font-size: 28px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.calc-option-card span {
    font-size: 13px;
    font-weight: 500;
}

.calc-option-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.02);
}

.calc-option-card.active {
    border-color: var(--accent-color);
    background-color: rgba(236, 168, 134, 0.05);
    /* Accent color with low opacity */
}

.calc-option-card.active i {
    color: var(--accent-color);
}

.calc-select-wrapper {
    position: relative;
}

.calc-select {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
}

.calc-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.calc-select option {
    background-color: var(--primary-color);
    color: white;
}

.calc-select-hint {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 5px;
}

.calc-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.calc-checkbox-grid.addons {
    gap: 15px;
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    user-select: none;
}

.calc-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.chk-box {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: var(--transition);
}

.calc-checkbox.active {
    border-color: var(--accent-color);
    background-color: rgba(236, 168, 134, 0.05);
}

.calc-checkbox.active .chk-box {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.calc-submit-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.calc-submit-btn:hover {
    background-color: #d4a62e;
}

.calc-disclaimer {
    font-size: 12px;
    text-align: center;
    opacity: 0.6;
}

.calc-results-col {
    flex: 1;
    position: sticky;
    top: 100px;
}

.calc-results-card {
    background-color: #fbf8f1;
    border-radius: 20px;
    padding: 40px;
    color: var(--text-dark);
}

.results-main-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}

.results-highlight {
    margin-bottom: 30px;
}

.results-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.results-price {
    font-size: 38px;
    font-weight: 700;
    color: #224330;
    /* Darker green */
    line-height: 1.1;
    margin-bottom: 5px;
}

.results-sqft-price {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.results-sqft-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.results-breakdown {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.breakdown-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.breakdown-list {
    margin-bottom: 20px;
}

.breakdown-list li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.results-whats-included {
    background-color: #eef5ef;
    /* Very pale green */
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.wi-icon {
    color: #3b5a51;
    font-size: 20px;
}

.wi-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.wi-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.results-cta {
    display: flex;
    align-items: center;
    background-color: #24352a;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.results-cta:hover {
    background-color: var(--primary-color);
}

.cta-icon {
    font-size: 24px;
    margin-right: 15px;
}

.cta-text flex {
    flex: 1;
}

.cta-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.cta-text span {
    font-size: 13px;
    opacity: 0.8;
}

.cta-arrow {
    margin-left: auto;
}

.calc-footer-badges {
    display: flex;
    justify-content: space-between;
    background-color: #FFFFFF;
    color: var(--text-dark);
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
}

.cf-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cf-badge i {
    font-size: 24px;
    color: var(--accent-color);
}

.cf-text strong {
    display: block;
    font-size: 14px;
}

.cf-text span {
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive Calculator */
@media (max-width: 1200px) {
    .calc-body {
        flex-direction: column;
    }

    .calc-form-col {
        width: 100%;
    }

    .calc-results-col {
        width: 100%;
        position: static;
    }

    .type-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .style-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .calc-footer-badges {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cf-badge {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .calc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .calc-header-features {
        flex-direction: column;
        width: 100%;
    }

    .calc-row {
        flex-direction: column;
        gap: 0;
    }

    .type-options,
    .style-options,
    .finish-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf-badge {
        width: 100%;
    }
}

/* =========================================
   New Portfolio Section Design
========================================= */
.filter-tag {
    border-radius: 40px !important;
    display: inline-flex;
    align-items: center;
    font-weight: 600 !important;
}

.project-card.new-design {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
}

.project-card.new-design img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.project-card.new-design:hover img {
    transform: scale(1.05);
}

.project-top-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.project-badge {
    background-color: white;
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.project-badge.right {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.project-badge.right:hover {
    color: var(--accent-color);
}

.project-bottom-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(14, 25, 19, 1) 0%, rgba(14, 25, 19, 0.8) 50%, transparent 100%);
    color: white;
    z-index: 2;
}

.project-bottom-main {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-action-btn {
    width: 45px;
    height: 45px;
    background-color: #EAB136;
    color: var(--text-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.project-action-btn:hover {
    background-color: white;
}

.project-bottom-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.project-bottom-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-bottom-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.p-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .portfolio-features {
        flex-wrap: wrap;
    }

    .portfolio-features .pf-item {
        width: 45%;
        margin-bottom: 20px;
    }

    .portfolio-features>div:not(.pf-item) {
        display: none;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
    }

    .portfolio-features .pf-item {
        width: 100%;
    }
}

/* =========================================
   New Testimonial Section Responsiveness
========================================= */
@media (max-width: 992px) {
    .testi-slide {
        flex-direction: column !important;
    }

    .testi-slide-left,
    .testi-slide-right {
        width: 100% !important;
    }

    .testi-slide-left {
        height: 400px;
    }

    .testi-slide-right {
        padding: 40px !important;
    }

    .testi-stats-bar {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-around !important;
    }

    .testi-stats-bar>div:not(.stat-item) {
        display: none !important;
    }

    /* Hide dividers on mobile */
    .testi-bottom-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    .testi-slider-wrapper {
        padding: 0 20px;
    }

    .testi-nav-arrow.prev-slide {
        position: absolute;
        left: 0;
        z-index: 10;
    }

    .testi-nav-arrow.next-slide {
        position: absolute;
        right: 0;
        z-index: 10;
    }

    .testi-user-banner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        border-radius: 0 !important;
    }
}

/* =========================================
   New Services Section Responsiveness
========================================= */
.new-service-card:hover .nsc-image-area img {
    transform: scale(1.05);
}

.new-service-card .nsc-image-area img {
    transition: transform 0.5s ease;
}

.new-service-card:hover .nsc-arrow-btn {
    background-color: var(--text-dark);
    color: white;
}

@media (max-width: 1200px) {
    .new-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .new-services-grid {
        grid-template-columns: 1fr !important;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .services-header .btn {
        align-self: flex-start !important;
    }
}

/* =========================================
   Service Details Page Responsiveness
========================================= */

@media (max-width: 992px) {
    .sd-hero .container {
        flex-direction: column;
    }

    .sd-hero-content,
    .sd-hero-image {
        width: 100% !important;
    }

    .sd-hero-content {
        margin-bottom: 40px;
    }

    .sd-features-bar>div>div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .sd-offer-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .sd-timeline-line {
        display: none;
    }

    .sd-timeline-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px;
    }

    .sd-projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sd-cta-banner>div>div {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .sd-cta-banner>div>div>div:first-child {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .sd-offer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sd-timeline-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sd-features-bar>div>div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .sd-offer-grid {
        grid-template-columns: 1fr !important;
    }

    .sd-timeline-grid {
        grid-template-columns: 1fr !important;
    }

    .sd-projects-grid {
        grid-template-columns: 1fr !important;
    }

    .sd-hero h1 {
        font-size: 2.5rem !important;
    }
}

/* =========================================
   New Process Section Responsiveness
========================================= */
@media (max-width: 992px) {
    .new-process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 50px !important;
    }

    .process-connecting-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .new-process-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Footer White Text Override */
.site-footer p,
.site-footer h4,
.site-footer a,
.site-footer li,
.site-footer span {
    color: #ffffff !important;
}

.site-footer a:hover {
    color: var(--accent-color) !important;
}

@media (max-width: 992px) {
    .feature-divider {
        display: none !important;
    }
}

/* Poppins Uppercase Overrides */
.nav-links a {
    font-family: var(--font-headline) !important;
    text-transform: uppercase !important;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.hero-content h1,
.hero h1,
.site-header .nav-links a,
.new-hero-title {
    font-family: var(--font-secondary) !important;
    text-transform: uppercase !important;
}

/* =========================================
   Homepage Mobile Responsiveness Overrides
========================================= */
@media (max-width: 992px) {

    /* Services Section */
    .new-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Testimonial Slider */
    .testi-slide {
        min-width: calc(50% - 15px) !important;
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {

    /* General Container Padding */
    .container {
        padding: 0 15px !important;
    }

    /* Stripes */
    .partners-stripe .container,
    .projects-stripe .container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .partners-text,
    .projects-text {
        border-left: 3px solid var(--accent-color) !important;
        padding-left: 10px !important;
    }

    /* About Section */
    .about-content-row {
        grid-template-columns: 1fr !important;
    }

    .about-text-content .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Services Section */
    .new-services-grid {
        grid-template-columns: 1fr !important;
    }

    .portfolio-features {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
        padding: 30px 20px !important;
    }

    /* Testimonial Section */
    .testi-top-area {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .testi-top-area>div {
        max-width: 100% !important;
    }

    .testi-slide {
        min-width: 100% !important;
    }

    .testi-stats-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 30px 20px !important;
    }

    /* Before & After Section */
    .ba-top-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .ba-slider-area {
        padding: 0 10px !important;
    }

    /* Projects Section */
    .projects-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .projects-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   Press & Achievements Accordion Gallery
========================================= */
.press-accordion-container {
    display: flex;
    width: 100%;
    height: 600px;
    gap: 15px;
    padding: 20px 0;
}

.press-panel {
    flex: 1;
    position: relative;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.press-panel.active {
    flex: 5;
    cursor: default;
}

.press-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.press-panel-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.press-brand {
    color: white;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.2s;
    white-space: nowrap;
}

.press-panel.active .press-brand {
    opacity: 1;
    transform: translateY(0);
}

.press-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.press-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
    max-width: 60%;
    line-height: 1.2;
}

.press-panel.active .press-title {
    opacity: 1;
    transform: translateY(0);
}

.press-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    min-width: 150px;
}

.press-panel:not(.active) .press-date {
    transform: rotate(-90deg) translateX(100px);
    transform-origin: bottom left;
    white-space: nowrap;
    opacity: 0.6;
}

.press-panel.active .press-date {
    transform: rotate(0) translateX(0);
    align-items: flex-end;
    text-align: right;
    color: white;
}

/* Accordion Mobile Responsiveness */
@media (max-width: 992px) {
    .press-accordion-container {
        height: 500px;
    }

    .press-title {
        font-size: 1.8rem;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .press-panel.active .press-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .press-panel.active .press-date {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .press-accordion-container {
        flex-direction: column;
        height: 800px;
        /* Taller on mobile so vertical panels have room */
    }

    .press-panel:not(.active) .press-date {
        transform: none;
        /* Remove rotation on mobile */
        opacity: 1;
    }
}

/* =========================================
   Floating Action Menu
========================================= */
.floating-wrapper {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.floating-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-wrapper.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Main Trigger Button */
.floating-trigger {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-size: 24px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-trigger:hover {
    transform: scale(1.1);
}

.floating-trigger.hidden-trigger {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

/* Expanded Vertical Pill */
.floating-pill {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    background-color: #2A2A2A;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;

    /* Hidden State */
    opacity: 0;
    transform: scale(0) translateY(100px);
    transform-origin: bottom center;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-pill.active {
    /* Visible State */
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Icons inside Pill */
.floating-icon {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.floating-icon:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.floating-icon.whatsapp {
    color: #25D366;
    /* WhatsApp Green */
}

.floating-icon.whatsapp:hover {
    color: #1ebe57;
    transform: scale(1.2);
}

/* Close Button in Pill */
.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    margin-top: 10px;
    cursor: pointer;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* =========================================
   Statement Section (Capsule Text)
========================================= */
.statement-heading {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    line-height: 1.6;
    color: white;
    font-weight: 700;
    margin: 0;
    text-transform: none !important;
}

.statement-quote {
    color: var(--accent-color);
    font-size: 0.9em;
    vertical-align: middle;
    display: inline-block;
    opacity: 0.9;
    transform: translateY(-5px);
}

.statement-capsule {
    font-family: var(--font-accent);
    text-transform: lowercase !important;
    color: white;
    display: inline-block;
    padding: 5px 35px;
    border-radius: 50px;
    background-size: cover;
    background-position: center;
    font-size: 3.5rem;
    font-weight: 400;
    transform: translateY(12px);
    margin: 0 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .statement-heading {
        font-size: 2.2rem;
        line-height: 1.5;
    }

    .statement-capsule {
        font-size: 2.8rem;
        padding: 5px 25px;
        transform: translateY(8px);
    }
}

@media (max-width: 768px) {
    .statement-heading {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .statement-capsule {
        font-size: 2.2rem;
        padding: 2px 20px;
        transform: translateY(5px);
        margin: 5px 0;
        display: inline-block;
    }

    .statement-capsule img {
        height: 35px;
    }

    .ba-top-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px;
    }

    .ba-section {
        padding: 60px 0 !important;
    }

    /* Remove padding around the container specifically for the before-after slider on mobile */
    .ba-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* =========================================
   Core Principles (Vision, Mission, Values)
========================================= */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.principle-card {
    position: relative;
    background: white;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.75);
    z-index: -1;
    transition: background 0.3s ease;
}

.principle-card:hover::before {
    background: rgba(17, 17, 17, 0.65);
}

.principle-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.principle-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
}

.principle-num {
    font-family: var(--font-primary);
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.principle-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    font-family: var(--font-primary);
    text-transform: none;
}

.principle-icon-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.principle-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: white;
    border: 8px solid rgba(255, 255, 255, 0.2);
    background-clip: padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.principle-card:hover .principle-icon {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.principle-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 30px;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   How It Works (Tabs)
========================================= */
.how-it-works-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.hiw-tabs {
    display: flex;
    background: white;
}

.hiw-tab {
    flex: 1;
    background: white;
    border: none;
    border-right: 1px solid #eaeaea;
    padding: 24px 20px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hiw-tab:last-child {
    border-right: none;
}

.hiw-tab .hiw-num {
    color: var(--accent-color);
    font-weight: 700;
}

.hiw-tab.active {
    background-color: var(--primary-color);
    color: white;
}

/* The number stays yellow even on active tab according to the reference image */
.hiw-pane {
    display: none;
    width: 100%;
    height: 600px;
}

.hiw-pane.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.hiw-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hiw-tabs {
        flex-direction: column;
    }

    .hiw-tab {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        padding: 20px;
        justify-content: flex-start;
    }

    .hiw-tab:last-child {
        border-bottom: none;
    }

    .hiw-pane {
        height: 400px;
    }
}

/* =========================================
   Before & After Responsiveness
========================================= */
.ba-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 20px;
}

.ba-section-title {
    color: white;
    font-size: 48px;
    line-height: 1.2;
    margin-top: 10px;
}

.ba-view-all {
    background: white;
    border-radius: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.ba-view-all .icon-circle {
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ba-view-all .text-pill {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
}

.ba-slider-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

@media (max-width: 992px) {
    .ba-section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .ba-top-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .ba-section-title {
        font-size: 28px;
    }

    .ba-slider-area {
        padding: 0;
        /* Remove side padding on small mobile */
    }

    .ba-slider-container {
        border-radius: 15px;
        /* Slightly smaller radius on mobile */
    }
}

/* ========================================= */
/* Project Details Redesign */
/* ========================================= */

.project-details-redesign .container {
    max-width: 1200px;
}

.project-hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-left-slider .hero-main-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 450px;
}

.hero-left-slider .hero-main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

.hero-thumbnails {
    display: flex;
    gap: 10px;
}

.hero-thumbnails img {
    width: calc(20% - 8px);
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s ease;
}

.hero-thumbnails img.active,
.hero-thumbnails img:hover {
    opacity: 1;
}

.hero-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.project-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
}

.project-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: 0.3s;
}

.icon-btn:hover {
    background: var(--bg-light);
}

.location-pin {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.short-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 15px;
}

.project-meta-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.meta-row {
    display: flex;
    align-items: center;
}

.meta-icon {
    width: 30px;
    color: var(--accent-color);
    font-size: 16px;
}

.meta-key {
    width: 150px;
    color: #666;
    font-size: 14px;
}

.meta-value {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
}

.feature-row-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.feature-col h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.feature-col p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.feature-icon-circle {
    width: 50px;
    height: 50px;
    background: #FFF4E5;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.project-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.project-highlight-card {
    background: #F8F5F0;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.hi-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 18px;
    flex-shrink: 0;
}

.hi-text h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.hi-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.project-gallery-horizontal {
    display: flex;
    gap: 15px;
    margin-bottom: 80px;
}

.pg-item {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    position: relative;
}

.pg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-next-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-dark-cta {
    background: #1A2421;
    border-radius: 20px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cta-text h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 5px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.feature-icon-square {
    width: 50px;
    height: 50px;
    background: #F8F5F0;
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {

    .project-hero-split,
    .project-about-split {
        grid-template-columns: 1fr;
    }

    .feature-row-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-dark-cta {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 30px;
    }

    .cta-content {
        flex-direction: column;
    }

    .project-gallery-horizontal {
        flex-direction: column;
    }

    .pg-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .feature-row-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }
}

/* ========================================= */
/* More Projects Section (Project Details) */
/* ========================================= */

.more-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.btn-dark-pill {
    background: #1A2421;
    color: white;
    padding: 10px 30px 10px 10px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 500;
}

.btn-dark-pill:hover {
    color: var(--accent-color);
}

.btn-dark-pill .icon-circle-yellow {
    background: var(--accent-color);
    color: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mp-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.mp-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-card-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.mp-tag {
    background: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-like {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
}

.mp-card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(16, 28, 24, 0.95) 0%, rgba(16, 28, 24, 0.8) 50%, transparent 100%);
    color: white;
    z-index: 2;
}

.mp-card-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mp-link-btn {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

.mp-title-col h3 {
    color: white;
    font-size: 18px;
    margin: 0 0 5px 0;
}

.mp-title-col p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mp-tags-row {
    display: flex;
    gap: 10px;
}

.mp-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

@media (max-width: 992px) {
    .more-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .more-projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .more-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================= */
/* Service Details Redesign */
/* ========================================= */

.sd-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sd-hero-title {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.sd-hero-signature {
    font-size: 40px;
    color: var(--accent-color);
    font-weight: 400;
    text-transform: none;
    margin: 10px 0 30px;
}

.sd-hero-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.sd-hero-buttons {
    display: flex;
    gap: 20px;
}

.sd-hero-img-box {
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.sd-hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Grid */
.sd-features-grid-new {
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.sd-features-wrapper {
    background: white;
    border-radius: 30px;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
}

.sd-f-col {
    display: flex;
    flex-direction: column;
}

.sd-f-icon {
    width: 50px;
    height: 50px;
    background: #FFF9F2;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.sd-f-col h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.sd-f-col p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Us Split */
.sd-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sd-why-title {
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sd-why-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

.sd-why-img {
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
}

.sd-why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-why-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-check {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.why-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.why-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Process Timeline */
.sd-process-title {
    font-size: 35px;
    margin-bottom: 80px;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.tl-icon-box {
    width: 70px;
    height: 70px;
    background: #1A2421;
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
}

.tl-number {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

.timeline-step h4 {
    font-size: 15px;
    margin-bottom: 10px;
}

.timeline-step p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.tl-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

/* 3 Column Grid for Projects */
.more-projects-grid.sd-three-cols {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {

    .sd-hero-split,
    .sd-why-grid,
    .sd-features-wrapper {
        grid-template-columns: 1fr;
    }

    .sd-features-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .tl-arrow {
        display: none;
    }

    .more-projects-grid.sd-three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .sd-features-wrapper,
    .more-projects-grid.sd-three-cols {
        grid-template-columns: 1fr;
    }

    .sd-hero-buttons {
        flex-direction: column;
    }
}

/* ========================================= */
/* Home Page Service Card Design */
/* ========================================= */

.hp-service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hp-sc-image {
    position: relative;
    height: 220px;
}

.hp-sc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-sc-icon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #23352A;
    color: #EAB136;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 4px solid #ffffff;
    box-sizing: content-box;
    z-index: 2;
}

.hp-sc-content {
    padding: 40px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.hp-sc-number {
    font-size: 45px;
    font-weight: 700;
    color: #F8F1E7;
    line-height: 1;
    margin-bottom: 5px;
}

.hp-sc-content h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hp-sc-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.hp-sc-link {
    color: #EAB136;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.hp-sc-link:hover {
    color: #23352A;
}

/* New Service Card Design */
.service-card-new {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img-new {
    position: relative;
    height: 220px;
}

.service-img-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-icon-new {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 4px solid var(--bg-white);
    z-index: 2;
    box-sizing: content-box;
}

.service-content-new {
    padding: 45px 30px 30px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-num-new {
    font-size: 28px;
    font-weight: 700;
    color: #e6ded8;
    margin-bottom: 5px;
}

.service-title-new {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-desc-new {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link-new {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.service-link-new:hover {
    color: var(--primary-color);
}

/* Pagination Design */
.projects-pagination .page-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.projects-pagination .page-link:hover,
.projects-pagination .page-link.active {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: white;
}

.projects-pagination .page-dots {
    color: var(--text-muted);
    font-weight: 600;
    margin: 0 5px;
}