body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1 0 auto;
}

.logo { 
	font-size: 1.5em; 
	font-weight: bold; 
}

/* Hero Carousel Styles */
#heroCarousel {
	position: relative;
	height: 450px;
}

#heroCarousel .carousel-item {
	height: 450px;
	position: relative;
}

#heroCarousel .carousel-item img {
	height: 100%;
	object-fit: cover;
	filter: brightness(0.7);
}

#heroCarousel .carousel-caption {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 10;
}

#heroCarousel .carousel-caption h1 {
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
	animation: fadeInUp 1s ease-in-out;
}

#heroCarousel .carousel-caption p {
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
	animation: fadeInUp 1.2s ease-in-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Service Cards */
.service-card {
	transition: all 0.3s ease;
	overflow: hidden;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.service-card img {
	transition: transform 0.5s ease;
}

.service-card:hover img {
	transform: scale(1.1);
}

/* Button Hover Effect */
.btn-outline-success {
	transition: all 0.3s ease;
	font-weight: bold;
	border-width: 2px;
}

.btn-outline-success:hover {
	transform: scale(1.05);
	box-shadow: 0 0.5rem 1rem rgba(46, 125, 50, 0.3);
}

/* ==========================================
   PROFESSIONAL PRODUCTS SECTION
   ========================================== */

.products-section-professional {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.products-section-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="rgba(46,125,50,0.02)"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>') repeat;
}

.products-container-professional {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.products-header-professional {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.products-title-professional {
    position: relative;
    display: inline-block;
}

.products-title-professional::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border-radius: 2px;
}

.products-grid-professional {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card-professional {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.product-card-professional:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-image-container-professional {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.product-image-professional {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-professional:hover .product-image-professional {
    transform: scale(1.05);
}

.product-content-visible {
    padding: 1.5rem;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.product-title-visible {
    color: #2e7d32;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description-visible {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-btn-visible {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    align-self: flex-start;
}

.product-btn-visible:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

/* Static number badge (always visible) */
.product-badge-professional {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(46,125,50,0.9), rgba(102,187,106,0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
    backdrop-filter: blur(10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .products-container-professional {
        padding: 0 1rem;
    }
    
    .products-grid-professional {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card-professional {
        height: 300px;
    }
    
    .product-image-container-professional {
        height: 180px;
    }
    
    .product-title-professional {
        font-size: 1.2rem;
    }
    
    .product-title-visible {
        font-size: 1.1rem;
    }
    
    .product-number-professional {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .products-header-professional {
        margin-bottom: 2rem;
    }
    
    .product-content-visible {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .product-card-professional {
        height: 280px;
    }
    
    .product-image-container-professional {
        height: 160px;
    }
    

    
    .product-title-visible {
        font-size: 1rem;
    }
    

    
    .product-btn-visible {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .product-content-visible {
        padding: 1rem;
    }
}

/* Responsive Carousel */
@media (max-width: 768px) {
	#heroCarousel,
	#heroCarousel .carousel-item {
		height: 400px;
	}
	
	#heroCarousel .carousel-caption h1 {
		font-size: 1.8rem;
	}
	
	#heroCarousel .carousel-caption p {
		font-size: 1rem;
	}
}

@media (max-width: 576px) {
	#heroCarousel,
	#heroCarousel .carousel-item {
		height: 300px;
	}
	
	#heroCarousel .carousel-caption h1 {
		font-size: 1.4rem;
	}
	
	#heroCarousel .carousel-caption p {
		font-size: 0.9rem;
	}
}

/* Contact Banner Section */
#contact-banner {
	border-top: 3px solid #388e3c;
}

#contact-banner h2 {
	margin-bottom: 0.5rem;
}

#contact-banner .btn-success {
	font-weight: bold;
	transition: all 0.3s ease;
}

#contact-banner .btn-success:hover {
	transform: scale(1.05);
	box-shadow: 0 0.5rem 1rem rgba(46, 125, 50, 0.3);
}

/* Inquiry Form */
#contactForm {
	transition: all 0.3s ease;
}

#contactForm .form-control,
#contactForm .form-select {
	border: 2px solid #e0e0e0;
	transition: all 0.3s ease;
}

#contactForm .form-control:focus,
#contactForm .form-select:focus {
	border-color: #388e3c;
	box-shadow: 0 0 0 0.2rem rgba(56, 142, 60, 0.25);
}

#contactForm label {
	margin-bottom: 0.5rem;
}

#contactForm .form-text {
	color: #666;
	font-size: 0.875rem;
}

#contactForm .btn-success {
	font-weight: bold;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

#contactForm .btn-success:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1.5rem rgba(46, 125, 50, 0.4);
}

/* Smooth scroll behavior */
html {
	scroll-behavior: smooth;
}

/* ==========================================
   GRID SERVICES LAYOUT - 3 COLUMNS
   ========================================== */

.grid-services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grid-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.grid-service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.grid-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-service-card:hover .grid-service-image img {
    transform: scale(1.1);
}

.grid-service-number {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
    z-index: 2;
}

.grid-service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.grid-service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 1rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.grid-service-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .grid-services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .grid-service-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .grid-services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .grid-service-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }
    
    .grid-service-content {
        padding: 1.5rem;
    }
    
    .grid-service-title {
        font-size: 1.2rem;
    }
    
    .grid-service-description {
        font-size: 0.9rem;
    }
    
    .grid-service-image {
        height: 180px;
    }
    
    .grid-service-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 12px;
        left: 12px;
    }
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

/* Email validation styling */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Custom Alert Modal Styling */
#alertModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
}

#alertModal .modal-body {
    background: linear-gradient(135deg, #f5f5f0 0%, #ffffff 100%);
}

#alertIcon {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #66bb6a, #43a047);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(102, 187, 106, 0.4);
}

.success-icon i {
    color: white;
    font-size: 2.5rem;
}

.error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef5350, #e53935);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(239, 83, 80, 0.4);
}

.error-icon i {
    color: white;
    font-size: 2.5rem;
}

/* Contact inquiry section background */
.inquiry-section-bg {
    background: #f5f5f0;
}

/* ==========================================
   PROFILE PAGE STYLES
   ========================================== */

/* Profile hero section */
.profile-hero-section {
    height: 300px;
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    overflow: hidden;
}

.profile-hero-bg {
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1200') center/cover;
    opacity: 0.2;
}

.profile-company-overlay {
    background: linear-gradient(135deg, rgba(46,125,50,0.1), rgba(102,187,106,0.1));
}

/* Core values icons */
.core-value-icon {
    width: 100px;
    height: 100px;
}

/* Why choose us section */
.why-choose-bg {
    background: linear-gradient(135deg, #f5f5f0 0%, #e8f5e9 100%);
}

/* ==========================================
   INDEX PAGE STYLES
   ========================================== */

/* Company intro background */
.company-intro-bg {
    background: #f5f5f0;
}

/* Products section background */
.products-section-bg {
    background: #f5f5f0;
}

/* Product images */
.product-image-fixed {
    height: 350px;
    object-fit: cover;
}

/* ==========================================
   HEADER STYLES
   ========================================== */

/* Logo container */
.header-logo-container {
    height: 80px;
}

.header-logo {
    height: 80px;
    max-width: 80px;
    object-fit: contain;
}

/* Company name sizes */
.company-name-desktop {
    font-size: 1.3em;
}

.company-name-mobile {
    font-size: 1em;
}

/* Language flags */
.lang-flag {
    height: 18px;
}

/* Hover effect for desktop menu */
.hover-underline {
    position: relative;
    transition: color 0.3s ease;
}

.hover-underline:hover {
    color: #2e7d32 !important;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2e7d32;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.hover-underline:hover::after {
    width: 100%;
}

/* Mobile offcanvas menu hover effect */
.offcanvas-body .nav-link {
    transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    background: rgba(46, 125, 50, 0.1);
    padding-left: 2rem !important;
}

/* Responsive adjustments for header */
@media (max-width: 767px) {
    header .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* ==========================================
   FOOTER STYLES
   ========================================== */

.hover-orange:hover {
    color: #ffa726 !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.hover-scale {
    display: inline-block;
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.2);
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 991px) {
    footer .col-lg-4 {
        text-align: center !important;
    }
    footer .d-flex.flex-column {
        align-items: center !important;
    }
}

@media (max-width: 767px) {
    footer h5 {
        font-size: 1.1rem;
    }
    footer h6 {
        font-size: 1rem;
    }
    footer .small {
        font-size: 0.85rem !important;
    }
}
