@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
   --primary: #2d6a4f;
   --primary-dark: #1b4332;
   --secondary: #52b788;
   --secondary-light: #b7e4c7;
   --accent: #f4a261;
   --bg-base: #f0f4f2;
   --bg-white: #ffffff;
   --text-main: #2d3436;
   --text-muted: #636e72;
   --radius: 24px;
   --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
   --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
   --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes float {
   0% {
      transform: translateY(0px) rotate(0deg);
   }

   50% {
      transform: translateY(-10px) rotate(2deg);
   }

   100% {
      transform: translateY(0px) rotate(0deg);
   }
}

@keyframes slideUp {
   from {
      opacity: 0;
      transform: translateY(40px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

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

   to {
      opacity: 1;
      transform: scale(1);
   }
}

.reveal {
   animation: slideUp 0.8s ease-out forwards;
}

.hover-float:hover {
   animation: float 3s ease-in-out infinite;
}

body {
   font-family: 'Inter', sans-serif;
   background-color: var(--bg-base);
   color: var(--text-main);
   line-height: 1.6;
   -webkit-font-smoothing: antialiased;
   margin: 0;
   padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: 'Outfit', sans-serif;
   color: var(--primary-dark);
   font-weight: 700;
   margin-bottom: 0.5rem;
}

a {
   color: var(--primary);
   transition: var(--transition);
   text-decoration: none;
}

a:hover {
   color: var(--accent);
   text-decoration: none;
}

/* Base Utility Classes */
.btn-primary {
   background: var(--secondary);
   color: var(--primary-dark) !important;
   padding: 18px 40px;
   border-radius: 50px;
   font-weight: 700;
   font-family: 'Outfit', sans-serif;
   border: none;
   box-shadow: 0 10px 20px rgba(82, 183, 136, 0.2);
   transition: var(--transition);
   display: inline-flex;
   align-items: center;
   justify-content: center;
}

.btn-primary:hover {
   transform: translateY(-5px) scale(1.02);
   box-shadow: 0 15px 30px rgba(82, 183, 136, 0.3);
   background: var(--secondary-light);
   color: var(--primary-dark) !important;
}

.btn-accent {
   background: var(--accent);
   color: white !important;
   padding: 12px 30px;
   border-radius: 50px;
   font-weight: 600;
   border: none;
   box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
   transition: var(--transition);
}

.btn-accent:hover {
   transform: translateY(-3px);
   background: var(--accent-hover);
   box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

/* Modern Header */
.modern-header {
   background: rgba(255, 255, 255, 0.95);
   backdrop-filter: blur(10px);
   position: sticky;
   top: 0;
   z-index: 1000;
   box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
   padding: 15px 0;
}

.modern-header .navbar-nav .nav-link {
   color: var(--text-main);
   font-weight: 500;
   font-family: 'Outfit', sans-serif;
   text-transform: capitalize;
   padding: 10px 20px;
   font-size: 1.1rem;
   position: relative;
   transition: var(--transition);
}

.modern-header .navbar-nav .nav-link:hover,
.modern-header .navbar-nav .nav-item.active .nav-link {
   color: var(--primary);
}

.modern-header .navbar-nav .nav-link::after {
   content: '';
   position: absolute;
   bottom: 5px;
   left: 20px;
   right: 20px;
   height: 2px;
   background-color: var(--primary);
   transform: scaleX(0);
   transition: transform 0.3s ease;
}

.modern-header .navbar-nav .nav-link:hover::after,
.modern-header .navbar-nav .nav-item.active .nav-link::after {
   transform: scaleX(1);
}

/* Modern Hero Section */
.modern-hero {
   min-height: 90vh;
   background: linear-gradient(135deg, rgba(27, 67, 50, 0.8), rgba(45, 106, 79, 0.7)), url('../images/banner.jpg') center/cover no-repeat;
   display: flex;
   align-items: center;
   position: relative;
   overflow: hidden;
}

.modern-hero::after {
   content: '';
   position: absolute;
   bottom: -50px;
   left: 0;
   right: 0;
   height: 100px;
   background: var(--bg-base);
   transform: skewY(-2deg);
   z-index: 10;
}

.hero-content {
   color: white;
   text-align: left;
   z-index: 5;
   position: relative;
   padding: 5rem 0;
}

.hero-content h1 {
   color: white;
   font-size: 4.5rem;
   line-height: 1.1;
   font-weight: 800;
   margin-bottom: 1.5rem;
   text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-content p {
   font-size: 1.25rem;
   color: rgba(255, 255, 255, 0.9);
   margin-bottom: 2.5rem;
   max-width: 600px;
   line-height: 1.8;
}

/* Highlight Cards */
.feature-area {
   position: relative;
   z-index: 20;
   margin-top: -100px;
}

.feature-card {
   background: var(--bg-white);
   border-radius: var(--radius);
   overflow: hidden;
   box-shadow: var(--shadow);
   transition: var(--transition);
   height: 100%;
   border-top: 4px solid var(--primary);
}

.feature-card:hover {
   transform: translateY(-10px);
   box-shadow: var(--shadow-hover);
}

.feature-card img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   transition: var(--transition);
}

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

.feature-card-body {
   padding: 2rem;
   text-align: center;
}

.feature-card-body h3 {
   font-size: 1.5rem;
   color: var(--primary-dark);
   margin-bottom: 0;
}

/* Sections */
.section-padding {
   padding: 8rem 0;
}

.section-title {
   text-align: center;
   margin-bottom: 4rem;
   position: relative;
}

.section-title h2 {
   font-size: 3rem;
   position: relative;
   display: inline-block;
}

.section-title h2::after {
   content: '';
   position: absolute;
   bottom: -15px;
   left: 50%;
   transform: translateX(-50%);
   height: 4px;
   width: 60px;
   background: var(--primary);
   border-radius: 2px;
}

.section-title p {
   color: var(--text-muted);
   font-size: 1.1rem;
   max-width: 600px;
   margin: 2rem auto 0;
}

/* Why Choose Us */
.why-choose-us {
   background: var(--bg-white);
   position: relative;
}

.why-choose-us::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 100%;
   background: url('../images/choose_bottom_cross.png') right bottom no-repeat;
   opacity: 0.05;
   pointer-events: none;
}

.choose-item {
   display: flex;
   gap: 20px;
   margin-bottom: 2rem;
   padding: 25px;
   border-radius: var(--radius);
   background: var(--bg-base);
   transition: var(--transition);
}

.choose-item:hover {
   background: white;
   box-shadow: var(--shadow);
   transform: translateX(10px);
}

.choose-icon {
   flex-shrink: 0;
   width: 70px;
   height: 70px;
   background: rgba(82, 183, 136, 0.15);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.8rem;
   color: var(--primary);
}

.choose-icon img {
   width: 35px;
   height: 35px;
   object-fit: contain;
}

.choose-info h3 {
   font-size: 1.3rem;
   margin-bottom: 8px;
}

.choose-info p {
   color: var(--text-muted);
   font-size: 0.95rem;
   margin: 0;
}

/* Product Grid */
.product-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   gap: 30px;
}

.modern-product-card {
   background: var(--bg-white);
   border-radius: var(--radius);
   overflow: hidden;
   box-shadow: var(--shadow);
   transition: var(--transition);
   cursor: pointer;
   position: relative;
}

.modern-product-card:hover {
   transform: translateY(-8px);
   box-shadow: var(--shadow-hover);
}

.product-image-wrap {
   position: relative;
   height: 250px;
   overflow: hidden;
}

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

.modern-product-card:hover .product-image-wrap img {
   transform: scale(1.1);
}

.product-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(27, 67, 50, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
   display: flex;
   align-items: flex-end;
   padding: 1.5rem;
   opacity: 0.8;
   transition: var(--transition);
}

.modern-product-card:hover .product-overlay {
   opacity: 1;
}

.product-overlay h3 {
   color: white;
   margin: 0;
   font-size: 1.6rem;
   transform: translateY(10px);
   transition: transform 0.3s ease;
}

.modern-product-card:hover .product-overlay h3 {
   transform: translateY(0);
}

/* Testimonials */
.testimonial-section {
   background: linear-gradient(135deg, var(--primary-dark), var(--primary));
   color: white;
   padding: 6rem 0;
   position: relative;
}

.testimonial-card {
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(10px);
   padding: 3rem;
   border-radius: var(--radius);
   border: 1px solid rgba(255, 255, 255, 0.2);
   text-align: center;
}

.testimonial-card img {
   width: 80px;
   height: 80px;
   border-radius: 50%;
   margin-bottom: 20px;
   border: 3px solid var(--accent);
   box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
   font-size: 1.1rem;
   font-style: italic;
   opacity: 0.9;
   margin-bottom: 2rem;
   line-height: 1.8;
}

.testimonial-card h4 {
   color: var(--accent);
   font-size: 1.3rem;
   margin: 0;
}

/* Footer Section */
.modern-footer {
   background: #111827;
   padding: 5rem 0 2rem;
   color: #9ca3af;
}

.modern-footer h3 {
   color: white;
   font-size: 1.4rem;
   margin-bottom: 1.5rem;
}

.modern-footer .social_icon {
   display: flex;
   gap: 15px;
   margin-top: 1.5rem;
}

.modern-footer .social_icon a {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.1);
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   transition: var(--transition);
}

.modern-footer .social_icon a:hover {
   background: var(--primary);
   transform: translateY(-3px);
}

.modern-footer .link li {
   margin-bottom: 12px;
}

.modern-footer .link a {
   color: #9ca3af;
   transition: var(--transition);
}

.modern-footer .link a:hover {
   color: var(--secondary-light);
   padding-left: 5px;
}

.modern-footer .location_icon li {
   display: flex;
   gap: 15px;
   margin-bottom: 15px;
   align-items: flex-start;
}

.modern-footer .location_icon i {
   color: var(--primary);
   margin-top: 5px;
}

.newsletter-form .form-control {
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: white;
   padding: 12px 20px;
   border-radius: 8px;
   margin-bottom: 15px;
}

.newsletter-form .form-control:focus {
   background: rgba(255, 255, 255, 0.1);
   border-color: var(--primary);
}

.newsletter-form .btn {
   width: 100%;
}

.copyright-area {
   margin-top: 4rem;
   padding-top: 2rem;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   text-align: center;
}

/* Sub-page Header */
.page-header {
   background: linear-gradient(135deg, var(--primary-dark), var(--primary));
   padding: 100px 0;
   text-align: center;
   color: white;
}

.page-header h1 {
   color: white;
   font-size: 3.5rem;
   font-weight: 800;
   margin-bottom: 10px;
}

.page-header p {
   color: rgba(255, 255, 255, 0.8);
   font-size: 1.2rem;
   max-width: 700px;
   margin: 0 auto;
}

/* Stat Cards (About) */
.stat-card {
   background: white;
   padding: 40px 20px;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   text-align: center;
   transition: var(--transition);
   border-bottom: 4px solid var(--primary);
   height: 100%;
}

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

.stat-number {
   font-size: 3rem;
   font-weight: 800;
   color: var(--primary);
   font-family: 'Outfit';
   display: block;
   margin-bottom: 10px;
}

.stat-label {
   font-size: 1.1rem;
   color: var(--text-muted);
   font-weight: 500;
}

/* Blog Cards */
.blog-card {
   background: white;
   border-radius: var(--radius);
   overflow: hidden;
   box-shadow: var(--shadow);
   transition: var(--transition);
   height: 100%;
   border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
   transform: translateY(-10px);
   box-shadow: var(--shadow-hover);
}

.blog-img {
   height: 220px;
   overflow: hidden;
}

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

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

.blog-content {
   padding: 1.5rem;
}

.blog-date {
   font-size: 0.85rem;
   color: var(--primary);
   font-weight: 600;
   margin-bottom: 0.5rem;
   display: block;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.blog-content h3 {
   font-size: 1.4rem;
   margin-bottom: 1rem;
   line-height: 1.4;
}

.blog-content p {
   color: var(--text-muted);
   font-size: 0.95rem;
   margin-bottom: 1.5rem;
}

.read-more {
   font-weight: 600;
   color: var(--primary);
   display: flex;
   align-items: center;
   gap: 8px;
   font-family: 'Outfit';
}

.read-more:hover {
   color: var(--accent);
}

/* Contact Styles */
.contact-card {
   background: white;
   padding: 40px 30px;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   height: 100%;
   text-align: center;
   transition: var(--transition);
   border: 1px solid rgba(0, 0, 0, 0.03);
   position: relative;
   overflow: hidden;
}

.contact-card:hover {
   transform: translateY(-12px);
   box-shadow: var(--shadow-hover);
   border-color: var(--secondary-light);
}

.contact-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 4px;
   background: linear-gradient(to right, var(--primary), var(--secondary));
   opacity: 0;
   transition: var(--transition);
}

.contact-card:hover::before {
   opacity: 1;
}

.contact-icon {
   width: 70px;
   height: 70px;
   background: linear-gradient(135deg, rgba(82, 183, 136, 0.1), rgba(45, 106, 79, 0.05));
   color: var(--primary);
   border-radius: 20px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.8rem;
   margin: 0 auto 25px;
   transition: var(--transition);
}

.contact-card:hover .contact-icon {
   transform: scale(1.1) rotate(5deg);
   background: var(--primary);
   color: white;
}

.contact-form-wrap {
   background: white;
   padding: 50px;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
}

.form-group label {
   font-weight: 600;
   color: var(--primary-dark);
   margin-bottom: 8px;
   font-family: 'Outfit';
}

.form-control {
   padding: 12px 15px;
   border-radius: 8px;
   border: 1px solid #e5e7eb;
   background: #fdfdfd;
}

.form-control:focus {
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
   outline: none;
}

/* Social Utils */
.social-circle {
   display: flex;
   gap: 15px;
   justify-content: center;
}

.social-circle a {
   width: 45px;
   height: 45px;
   background: white;
   border: 1px solid #e5e7eb;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--primary);
   font-size: 1.2rem;
   transition: var(--transition);
}

.social-circle a:hover {
   background: var(--primary);
   color: white;
   transform: translateY(-3px);
}

/* Product Specifics (Catalog) */
.qty-input {
   max-width: 90px;
}

.category-badge {
   font-size: 13px;
   padding: 4px 12px;
   border-radius: 999px;
   background: rgba(45, 106, 79, 0.1);
   color: var(--primary);
   font-weight: 600;
}

.product-modal-title {
   font-family: 'Outfit', sans-serif;
   font-weight: 700;
   color: var(--primary-dark);
}

/* About Specifics */
.about-img-frame {
   position: relative;
   padding: 20px;
}

.about-img-frame::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100px;
   height: 100px;
   border-top: 6px solid var(--accent);
   border-left: 6px solid var(--accent);
   z-index: 1;
}

.about-img-frame img {
   width: 100%;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   position: relative;
   z-index: 2;
}

.mission-box {
   background: var(--bg-base);
   padding: 50px;
   border-radius: var(--radius);
   border-left: 10px solid var(--secondary);
}

/* Responsive */
@media (max-width: 991px) {
   .hero-content h1 {
      font-size: 3rem;
   }

   .feature-area {
      margin-top: 2rem;
   }

   .section-padding {
      padding: 5rem 0;
   }

   .page-header {
      padding: 60px 0;
   }

   .page-header h1 {
      font-size: 2.5rem;
   }

   .contact-form-wrap {
      padding: 30px 20px;
   }
}

@media (max-width: 767px) {
   :root {
      --radius: 16px;
   }

   .section-padding {
      padding: 3.5rem 0;
   }

   .hero-content h1 {
      font-size: 2.2rem;
   }

   .hero-content .lead {
      font-size: 1.1rem !important;
      margin-bottom: 25px !important;
   }

   .modern-header .navbar-brand img {
      max-height: 45px !important;
   }

   .section-title h2 {
      font-size: 1.8rem;
   }

   .page-header {
      padding: 50px 0;
      text-align: center;
   }

   .page-header h1 {
      font-size: 2rem;
   }

   .btn-primary,
   .btn-outline {
      width: 100%;
      text-align: center;
      justify-content: center;
      padding: 12px 20px;
   }

   .hero-btns {
      flex-direction: column;
   }

   .contact-card {
      padding: 25px 15px !important;
   }

   #floatingCart {
      bottom: 20px;
      right: 20px;
   }

   #floatingCart button {
      padding: 12px 20px !important;
      font-size: 0.9rem;
   }
}

@media (max-width: 575px) {
   .container {
      padding-left: 20px;
      padding-right: 20px;
   }

   .hero-content h1 {
      font-size: 1.8rem;
   }

   .section-title h2 {
      font-size: 1.5rem;
   }
}

/* Global Spacing Helpers */
.mt-100 {
   margin-top: 100px;
}

.mb-100 {
   margin-bottom: 100px;
}

.py-100 {
   padding-top: 100px;
   padding-bottom: 100px;
}

@media (max-width: 991px) {
   .mt-100 {
      margin-top: 60px;
   }

   .mb-100 {
      margin-bottom: 60px;
   }

   .py-100 {
      padding-top: 60px;
      padding-bottom: 60px;
   }
}