/* Ensure Bootstrap rows don't add extra width due to negative margins */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}
 
/* #carouselExampleIndicators {
    border-radius: 24px;
    
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
} */

.carousel-item img {
	height: 70vh;
	object-fit: cover;
	filter: brightness(0.7);
}

.carousel-item {
	transition: transform 0.4s ease-in-out !important;
}

.carousel-control-prev,
.carousel-control-next {
	width: 5% !important;
	opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
	opacity: 1;
}

/* About section */
/* Editorial Premium Style for About Section */
.about {
    padding: 70px 60px 70px 50px; /* Matches the para padding */
    text-align: center; /* Shift from center to left for readability */
    background: #FFFFFF !important;
    border-radius: 24px;
  /* Pulls the box up to slightly overlap the images */
     margin: 30px auto;
    max-width: 1000px;
    position: relative;
    z-index: 10; /* Ensures it sits on top of the carousel */
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25); /* Premium blue shadow */
    border: none;
    border-left: 10px solid #2563eb; /* Bold blue accent line */
}

.about h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #0F172A !important;
    text-shadow: none; /* Removes the blurry shadow */
}

.about p {
    font-size: 1.15rem;
    line-height: 2;
    color: #64748B !important;
    margin-bottom: 25px;
}

/* Make the first introductory paragraph larger and darker */
.about p:first-of-type {
    font-size: 1.4rem;
    color: #0F172A !important;
    font-weight: 500;
}

/* Style the features list at the bottom like a modern badge */
.about p.features-list {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.05); /* Soft blue background */
    padding: 16px 24px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.about p.features-list i {
    margin-right: 4px;
}
/* Product Cards */
.card-container {
	padding: 80px 20px;
	max-width: 1400px;
	margin: 0 auto 60px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	border-radius: 32px;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

.card-container .row { 
    margin-right: 0; 
    margin-left: 0; 
}
.card-container .col { padding: 0 15px; margin-bottom: 40px; }

.card {
	border: none;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
	transition: all 0.4s ease;
	background: white;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.card:hover {
	transform: translateY(-15px);
	box-shadow: 0 30px 80px rgba(102, 126, 234, 0.2);
}

.card-img-top {
	height: 320px;
	width: 100%;
	object-fit: cover;
}

.card-body {
	padding: 40px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.card-title {
	font-size: 1.8rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 20px;
	line-height: 1.3;
}

.card-text {
	color: #64748b;
	font-size: 1.1rem;
	line-height: 1.75;
	margin-bottom: 24px;
	flex-grow: 1;
	display: -webkit-box;
	display: -moz-box;
	display: box;
	-webkit-line-clamp: 2;
	-moz-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	-moz-box-orient: vertical;
	box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 3.5em;
}

.card .btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 16px;
	padding: 16px 40px;
	font-weight: 700;
	font-size: 1.1rem;
	color: white;
	margin-top: auto;
}

.card .btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Para section */
/* Premium Para Section - Clean Light Mode */
/* Option 2: Editorial Premium */
.para {
    padding: 70px 60px 70px 50px; /* Slightly less padding on the left to balance the border */
    max-width: 900px;
    margin: 0 auto 80px;
    background: #FFFFFF !important;
    border-radius: 24px;
    /* A colorful blue shadow instead of a dull grey one */
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    text-align: left; /* Left alignment is much easier to read for paragraphs */
    position: relative;
    border-left: 10px solid #2563eb; /* Bold creative accent on the side */
}

.para p {
    font-size: 1.15rem;
    line-height: 2; /* Lots of breathing room */
    color: #64748B !important;
    margin-bottom: 25px;
}

/* Make the intro paragraph larger and darker */
.para p:first-of-type {
    font-size: 1.4rem;
    color: #0F172A !important;
    font-weight: 500;
}

/* Match the company name to the side border */
.para p strong {
    color: #2563eb !important;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
 
@media (max-width: 768px) {
    .about,
    .para {
        margin: 20px 15px !important;
        padding: 40px 20px;
        /* Force exact width math so margins don't push it past 100% */
        width: calc(100% - 30px) !important; 
    }

    /* #carouselExampleIndicators {
        margin: 20px 15px !important;
        border-radius: 16px;
        width: calc(100% - 30px) !important;
    } */

    .carousel-item img {
        height: 40vh;
    }
    
    /* Center the titles on mobile */
    .section-title {
        font-size: 2rem !important;
    }
}

 

.product-detail-card {
	border: none !important;
	border-radius: 28px !important;
	padding: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
}

.btn-close-circle {
	background: transparent;
	border: none;
	font-size: 1.4rem;
	color: #94a3b8;
	transition: 0.2s;
}

.btn-close-circle:hover { color: #2d3748; transform: scale(1.1); }

.image-preview-wrapper {
	width: 100%;
	height: 220px;
	border-radius: 20px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
}

.image-preview-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.detail-label {
	font-size: 0.9rem;
	font-weight: 700;
	color: #4a5568;
	display: block;
	margin-bottom: 8px;
}

.description-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 18px;
	min-height: 100px;
	max-height: 150px;
	overflow-y: auto;
	line-height: 1.6;
}

.btn-cancel {
	background: #f8fafc;
	color: #1e293b;
	border: none;
	border-radius: 50px;
	padding: 12px 35px;
	font-weight: 700;
	font-size: 0.95rem;
	transition: 0.3s;
}

.btn-cancel:hover { background: #f1f5f9; color: #000; }

.btn-save-action {
    background: #2563eb !important;
    color: white !important;
    border: none;
    border-radius: 12px; /* Matched the card button */
    padding: 14px 40px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
    transition: 0.3s;
}

.btn-save-action:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}
/* Innovative Showcase Background */

.product-showcase-wrapper {
    /* Made transparent so it blends perfectly with your main body gradient */
    background: transparent; 
    padding: 80px 0;
    margin-top: 20px;
}

.section-title {
    font-weight: 800;
    color: #FFFFFF !important; /* Bright white to pop against your body background */
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #FFFFFF; /* Crisp white underline */
    border-radius: 2px;
}

/* The Premium Card Base */
.innovative-card {
    background: #FFFFFF !important;
    backdrop-filter: none; /* Removed the messy blur */
    border: 1px solid #E2E8F0 !important;
    border-radius: 24px !important;
    border-top: 5px solid #2563eb !important; /* Creative blue accent on top */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

/* Premium Hover Effect */
.innovative-card:hover {
    transform: translateY(-10px);
    /* Casts a beautiful brand-colored shadow on hover */
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.3) !important;
}

.innovative-card .card-img-top {
    height: 280px; /* Slightly shorter image to emphasize the text */
    object-fit: cover;
    transition: transform 0.6s ease;
}

.innovative-card:hover .card-img-top {
    transform: scale(1.05); /* Softer, more subtle zoom */
}

.innovative-card .card-body {
    padding: 35px 30px;
}

.innovative-card .card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A !important; /* Deep Navy */
    margin-bottom: 15px;
    line-height: 1.3;
}

.innovative-card .card-text {
    color: #64748B !important; /* Professional Slate */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Premium Unified Button */
.innovative-card .btn-primary {
    background: #2563eb !important; /* Solid Brand Blue (No more purple) */
    border: none;
    border-radius: 12px; /* Slightly squarer for an enterprise feel */
    padding: 14px 30px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #FFFFFF !important;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.innovative-card .btn-primary:hover {
    background: #1d4ed8 !important; /* Darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* --- DESKTOP FULL WIDTH --- */
#carouselExampleIndicators {
    border-radius: 0; /* Remove rounded corners for edge-to-edge look */
    margin-top: 0;    /* Remove top margin if you want it to touch the header */
    margin-bottom: 30px;
    width: 100%;      /* Ensure it takes full width */
    box-shadow: none; /* Shadow looks odd on edge-to-edge elements */
    overflow: hidden;
}

.carousel-item img {
    height: 70vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* --- MOBILE FULL WIDTH --- */
@media (max-width: 768px) {
    #carouselExampleIndicators {
        margin: 0 !important; /* Forces 0 margin on mobile */
        width: 100% !important;
        max-width: 100% !important;
    }

    .carousel-item img {
        height: 45vh !important; /* Adjusted height for mobile view */
        object-fit: cover;
    }
    
    /* Ensure the body doesn't have horizontal overflow */
    body {
        overflow-x: hidden;
    }
}