/*:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e67e22;
    --light-bg: #f8f9fa;
    --step-bg: #f0f4f8;
}*/
:root {
    --primary-color: #201e1f;
    --secondary-color: #ee3238;
    --accent-color: #ee3238;
    --light-bg: #f8f9fa;
    --step-bg: #f0f4f8;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.top-bar .contact-info i {
    margin-right: 5px;
}

.top-bar .social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-left: 5px;
    transition: all 0.3s;
}

.top-bar .social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color) !important;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
}

.carousel-item {
    height: 80vh;
    min-height: 400px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    position: absolute;
    top: 60%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    width: 50%;
    padding: 0;
}

.carousel-caption .small-caps {
    font-size: 0.9rem;
    font-variant: small-caps;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Custom carousel indicators - vertically centered and right aligned */
.carousel-indicators {
    position: absolute;
    top: 50%;
    right: 20px;
    left: auto;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 5px 0;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--accent-color);
}

/* Hide indicators when needed */
.hide-indicators .carousel-indicators {
    display: none;
}

/* Custom navigation buttons in a single box */
.carousel-nav-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
    background-color: white;
    border-radius: 4px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-nav-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-nav-btn:hover {
    background-color: var(--light-bg);
    border-radius: 4px;
}

.carousel-nav-btn i {
    color: var(--primary-color);
    font-size: 1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-sub {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Share buttons styles */
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.share-buttons a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Individual row share buttons */
.row-share-buttons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.row-share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.row-share-buttons a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Truncated text styles */
.truncated-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    max-height: 4.5em; /* Approximately 3 lines */
    transition: max-height 0.3s ease;
    margin-bottom: 15px;
}

.truncated-text::after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 40px;
    background: linear-gradient(to right, transparent, white 50%);
}

.kitchen-style-card:hover .truncated-text,
.project-card:hover .truncated-text,
.blog-card:hover .truncated-text,
.news-card:hover .truncated-text,
.process-card:hover .truncated-text {
    max-height: 1000px; /* Large enough to show full content */
    -webkit-line-clamp: unset;
}

.kitchen-style-card:hover .truncated-text::after,
.project-card:hover .truncated-text::after,
.blog-card:hover .truncated-text::after,
.news-card:hover .truncated-text::after,
.process-card:hover .truncated-text::after {
    content: none;
}

.kitchen-style-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kitchen-style-card:hover {
    transform: translateY(-10px);
}

.kitchen-style-card img {
    height: 200px;
    object-fit: cover;
}

.kitchen-style-card .card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.kitchen-style-card .card-text {
    flex-grow: 1;
}

.read-more-btn {
    align-self: flex-start;
    margin-top: auto;
    padding: 6px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.expertise-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

/* 6 Steps Process Section - Icon Blocks */
.step-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.step-block {
    background-color: var(--step-bg);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.step-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    background-color: #e8eef5;
}

.step-block-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.step-block:hover .step-block-icon {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.step-block h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-block p {
    margin-bottom: 0;
    color: #555;
}

/* Alternative Process Section - Vertical Timeline */
.alt-process-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.alt-process-timeline {
    position: relative;
    padding: 20px 0;
}

.alt-process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.alt-process-step {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: stretch;
}

.alt-process-step:last-child {
    margin-bottom: 0;
}

.alt-process-content {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: calc(50% - 40px);
    position: relative;
    display: flex;
    flex-direction: column;
}

.alt-process-step:nth-child(odd) .alt-process-content {
    margin-left: auto;
    order: 2;
}

.alt-process-step:nth-child(even) .alt-process-content {
    margin-right: auto;
    order: 1;
}

.alt-process-image {
    width: calc(50% - 40px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.alt-process-step:nth-child(odd) .alt-process-image {
    order: 1;
    margin-right: 20px;
}

.alt-process-step:nth-child(even) .alt-process-image {
    order: 2;
    margin-left: 20px;
}

.alt-process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alt-process-image:hover img {
    transform: scale(1.05);
}

.alt-process-icon {
    position: absolute;
    top: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    left: 50%;
    transform: translateX(-50%);
}

.alt-process-number {
    position: absolute;
    top: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent-color);
}

.alt-process-step:nth-child(odd) .alt-process-number {
    left: 25px;
}

.alt-process-step:nth-child(even) .alt-process-number {
    right: 25px;
}

.alt-process-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.alt-process-content p {
    margin-bottom: 0;
    color: #555;
    flex-grow: 1;
}

.project-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    height: 200px;
    object-fit: cover;
}

.project-card .card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card .card-text {
    flex-grow: 1;
}

/* Blog Card Styles */
.blog-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .card-text {
    flex-grow: 1;
}

.blog-card .blog-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.blog-card .blog-meta i {
    margin-right: 5px;
}

/* News Card Styles */
.news-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.news-card .news-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.news-card .news-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.news-card .card-body {
    padding: 1.25rem;
}

.news-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-card .card-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.news-card .news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.news-card .news-category {
    background-color: var(--secondary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.news-card .news-comments {
    color: #777;
}

/* Working Process Card Styles */
.process-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.process-card .badge-vertical {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 1.1rem;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 2;
}

.process-card img {
    height: 180px;
    object-fit: cover;
}

.process-card .card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.process-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.process-card .card-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.process-card .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    font-weight: 500;
}

.process-grid {
    margin-top: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
}

.testimonial-card .client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 8px 20px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

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

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Dropdown menu styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0;
    padding: 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

.dropdown-item i {
    margin-right: 8px;
}

/* New section styles */
.feature-section {
    padding: 80px 0;
}

.feature-section .feature-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-section .feature-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.feature-section img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-section img:hover {
    transform: scale(1.03);
}

/* Working Process Section */
.working-process-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

@media (max-width: 768px) {
    .carousel-caption {
        width: 90%;
        left: 5%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .top-bar .contact-info {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-bar .social-icons {
        text-align: center;
    }
    
    /* Adjust indicators for mobile */
    .carousel-indicators {
        flex-direction: row;
        top: auto;
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
        margin-right: 0;
    }
    
    .carousel-indicators [data-bs-target] {
        margin: 0 5px;
    }
    
    /* Adjust navigation box for mobile */
    .carousel-nav-box {
        bottom: 60px; /* Position above indicators */
        right: 50%;
        transform: translateX(50%);
    }
    
    /* Feature section mobile adjustments */
    .feature-section .feature-content {
        margin-bottom: 30px;
    }
    
    /* Alternative timeline adjustments for mobile */
    .alt-process-timeline::before {
        left: 20px;
    }
    
    .alt-process-step {
        flex-direction: column;
    }
    
    .alt-process-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
        order: 2 !important;
    }
    
    .alt-process-image {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        order: 1 !important;
        margin-bottom: 20px;
        height: 200px;
    }
    
    .alt-process-icon {
        left: 20px !important;
        right: auto !important;
    }
    
    .alt-process-number {
        left: 25px !important;
        right: auto !important;
    }
}