/* Custom CSS for Farm Hygiene Homepage */

:root {
    --farm-blue: #298FCE;
    --amber-500: #f59e0b;
    --neutral-900: #171717;
    --slate-900: #0f172a;
    --stone-300: #d6d3d1;
    --sky-600: #0284c7;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}
.tracking-wider {
    letter-spacing: 0.05em;
}

.content-section p,
.content-section p.fs-5 {
    font-size: 18px !important;
}

/* Navbar */
.cart-btn {
    background-color: #FF9500;
}

/* Hero Section for homepage */
.hero-section {
    min-height: 650px;
     /* padding: 40px 64px 200px 64px; */
}

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

.logo {
    width: 118px;
    height: auto;
    aspect-ratio: 1.81;
}

.user-icon {
    width: 55px;
    height: 55px;
    aspect-ratio: 1;
}

.hero-content {
    margin-top: 14rem;
    margin-bottom: 0;
    position: absolute;
    z-index: 1;
    top:80px;
}

.hero-decoration {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
}

.hero-text {
 padding-left: 70px;
}

/* .hero-text ul ol {
    line-height: 25px !important;
} */

.hero-text h6 {
    line-height: 60px;
}

.hero-text ul ol{
  line-height: 52px;
}

/* Content Section */
.content-section {
    padding: 6rem 0;
}

.content-image {
    aspect-ratio: 0.75;
    object-fit: cover;
}


/* hero section for other pages */
.hero-bg-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content-others {
    position: relative;
    width: 100%;
    min-height: 600px;
    z-index: 2;
}

.hero-overlay-others {
    position: relative;
    display: flex;
    flex-direction: column;
    /* padding: 40px 64px 200px 64px; */
    width: 100%;
    min-height: 600px;
    z-index: 3;
}

/* Hero Text Content */
.hero-text-content {
    margin-top: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-label {
    align-self: flex-start;
    margin-left: 224px;
    font-size: 16px;
    line-height: 1.2;
    color: white;
    text-transform: uppercase;
    letter-spacing: 22px;
    font-weight: normal;
    margin-bottom: 28px;
}

.hero-title {
    align-self: flex-start;
    margin-left: 220px !important;
    font-size: 72px;
    line-height: 1;
    color: white;
    text-transform: uppercase;
    letter-spacing: 22px;
    font-weight: bold;
    margin: 0;
}



/* Footer Section */
.footer-section {
    min-height: 440px;
}

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

.footer-overlay {
    position: relative;
    z-index: 1;
    min-height: 440px;
    padding: 3rem 0 1rem;
}

.footer-logo {
    width: 165px;
    height: auto;
    aspect-ratio: 1.5;
}

.contact-icon {
    width: 15px;
    height: auto;
    margin-top: 0.25rem;
}

.footer-decoration {
    width: 100px;
    height: auto;
    aspect-ratio: 20;
    margin-top: 1.5rem;
}

.footer-decoration-large {
    width: 196px;
    height: auto;
    aspect-ratio: 0.72;
}

.footer-address i {
    color: #789F01;
}

.footer-links i {
    color: #789F01;
}

.footer-links hr {
    border-top: 1px dashed white;
    width: 60px;
}

.footer-links li {
    list-style-type: none;
}
.footer-links a {
    text-decoration: none;
}



/* Social Links */
.social-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--farm-blue);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}

.social-link:hover {
    background-color: var(--farm-blue);
    color: white;
}

/* Support and Newsletter Sections */
.support-section,
.newsletter-section {
    width: 100%;
    max-width: 306px;
}

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

.support-section {
    /* aspect-ratio: 3.523; */
    width: 155px;
}

.newsletter-section {
    aspect-ratio: 6.955;
    width: 306px;
}

/* Newsletter Form */
.newsletter-input {
    background: transparent;
    border: 1px solid var(--stone-300);
    color: white;
    padding: 0.875rem 0.75rem;
    margin-top: 3.5rem;
}

.newsletter-input::placeholder {
    color: var(--stone-300);
}

.newsletter-input:focus {
    background: transparent;
    border-color: var(--farm-blue);
    box-shadow: 0 0 0 0.2rem rgba(41, 143, 206, 0.25);
    color: white;
}

.newsletter-btn {
    background-color: var(--sky-600);
    border: none;
    padding: 1.5rem 4rem;
    letter-spacing: 0.05em;
}

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



/* home page */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* darker background for visibility */
  border-radius: 50%;
  padding: 18px;
  background-size: 24px;
}

/* product page */
.product-grid-section {
margin-top: 96px;
width: 100%;
max-width: 1801px;
margin-left: auto;
margin-right: auto;
padding: 0 20px;
}

.product-grid {
display: flex;
gap: 20px;
}

.product-column {
width: 33.333%;
}

.product-card {
padding: 20px;
width: 100%;
font-weight: bold;
background: white;
border-radius: 24px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
margin: 0 auto;
}

.product-image {
width: 100%;
border-radius: 16px;
aspect-ratio: 1.19;
object-fit: cover;
}

.product-info {
margin-top: 20px;
}

.product-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}

.product-title {
font-size: 20px;
line-height: 1;
color: black;
font-weight: bold;
margin: 0;
}

.product-price {
font-size: 20px;
line-height: 1;
color: #f59e0b;
font-weight: bold;
text-transform: capitalize;
}

.product-description {
font-size: 16px;
color: #737373;
font-weight: normal;
line-height: 1.5;
margin-bottom: 20px;
}

.add-to-cart-btn {
width: 100%;
padding: 11px 10px;
font-size: 16px;
color: white;
background: #0284c7;
border: none;
border-radius: 12px;
min-height: 48px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease;
text-align: center;
text-decoration: none;
}

.add-to-cart-btn:hover {
background: #0369a1;
}

/* Additional material carousel */
.material-item {
  position: relative;
  overflow: hidden;
}

.material-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: left;
  padding: 15px 20px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100%);
}

.material-item:hover .material-caption {
  opacity: 1;
  transform: translateY(0);
}

.material-caption h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.material-caption p {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.material-caption .amount {
  font-weight: 600;
  color: #ffd700;
}


/* Additional Bootstrap overrides */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.btn-dark {
    background-color: var(--neutral-900);
    border-color: var(--neutral-900);
}

.text-warning {
    color: var(--amber-500) !important;
}

.rounded-pill {
    border-radius: 1.5rem !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}



/* subscription page */

/* Pricing Section */
.pricing-section {
padding: 4rem 0;
background: white;
}

.pricing-label {
color: #FF9500;
font-size: 1.125rem;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 1rem;
}

.pricing-title {
font-size: 3rem;
font-weight: bold;
color: #0f172a;
line-height: 1.2;
margin-bottom: 3.5rem;
}

.pricing-card {
padding: 3rem;
border-radius: 0.75rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
}

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

.classic-card,
.medium-card {
background: white;
color: #374151;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.premium-card {
background: #27272a;
color: white;
box-shadow: 0 2px 2px rgba(8, 23, 46, 0.2);
}

.card-title {
font-size: 1.5rem;
font-weight: bold;
text-transform: capitalize;
margin-bottom: 1.25rem;
}

.card-price {
font-size: 3rem;
font-weight: bold;
line-height: 1;
}

.card-period {
font-size: 1rem;
font-weight: 500;
margin-top: 2rem;
align-self: flex-end;
}

.card-image {
width: 100%;
aspect-ratio: 1.23;
object-fit: contain;
margin-top: 1.75rem;
}

.features-list i {
    color: #30C37C;
}
.features-list li {
    list-style-type: none;
}
.features-list a {
    text-decoration: none;
}

.purchase-btn {
width: 100%;
padding: 11px 10px;
font-size: 16px;
color: white;
background: #298FCE;
border: none;
border-radius: 24px;
min-height: 48px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease;
}

.purchase-btn:hover {
background: #0369a1;
}



/* About us page */

/* Contact Section Styles */
.contact-section {
background-color: #38bdf8 !important;
padding: 5rem 5rem 14rem 5rem !important;
}

.contact-section h2 {
font-size: 2.25rem;
}

.contact-section p {
font-size: 1.25rem;
}

.contact-info .fs-5 {
font-size: 1.25rem !important;
}

/* Form Section Styles */
.form-section {
background-color: #374151 !important;
padding: 5rem 5rem 4rem 5rem !important;
}

.form-section h2 {
font-size: 2.25rem;
}

.contact-form .form-group {
max-width: 510px;
}

.contact-form input:focus {
    box-shadow: none;
}

.contact-form input::placeholder {
    color: #9F9F9F;
}

.contact-form button {
max-width: 510px;
font-size: 0.75rem;
letter-spacing: 0.05em;
}

/* Text styling for specific elements */
.text-uppercase-first::first-letter {
text-transform: uppercase;
}

/* Border and spacing adjustments */
.border-3 {
border-width: 3px !important;
}

.rounded-pill {
border-radius: 1.5rem !important;
}

/* Custom button styles */
.btn-outline-light:hover {
background-color: #f8f9fa;
color: #212529;
}

/* Social icon hover effects */
.social-icon:hover {
background-color: rgba(59, 130, 246, 0.1);
transform: scale(1.1);
transition: all 0.3s ease;
}

/* Form input focus styles */
.form-control:focus {
border-color: #38bdf8;
box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.25);
}

/* Image aspect ratios */
.aspect-ratio-09 {
aspect-ratio: 0.9;
}

.aspect-ratio-218 {
aspect-ratio: 2.18;
}

.aspect-ratio-313 {
aspect-ratio: 3.13;
}

/* Map Section Styles */
.map-section {
margin: 2rem 0;
}

.map-section .ratio {
min-height: 400px;
}

.map-section iframe {
width: 100%;
height: 100%;
border-radius: 0;
}

/* Utility Classes */
.object-fit-cover {
object-fit: cover;
}

.lh-base {
line-height: 1.5 !important;
}

.bg-opacity-75 {
background-color: rgba(0, 0, 0, 0.75) !important;
}

/* Custom spacing */
.mt-32 {
margin-top: 8rem;
}

.ml-80 {
margin-left: 20rem;
}



/* Contact Us Page Styles */
.contact-info-section {
margin-top: 6rem;
margin-bottom: 6rem;
max-width: 1037px;
margin-left: auto;
margin-right: auto;
padding: 0 1rem;
}

.contact-item {
display: flex;
flex-direction: column;
align-items: center;
}

.contact-icon {
width: 60px;
height: auto;
}

.contact-icon:first-child {
width: 45px;
}

.contact-title {
font-size: 1.5rem;
font-weight: bold;
line-height: 1;
color: #27272a;
}

.contact-text {
font-size: 1.25rem;
line-height: 2;
color: #737373;
margin: 0;
}

.contact-text a {
color: #737373;
}

/* by medha */
/* Home page */
.person-image {
  position: absolute;
  right: 235px;
  bottom: 44px;
  width: 290px;
  height: 400px;
}
.check-img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* benifit section */
.benefits-section {
  background-color: #ecfeff;
  min-height: 579px;
  position: relative;
  overflow: hidden;
  padding-top: 44px;
  padding-bottom: 0;
}

.benefits-section .background-image {
  position: absolute;
  bottom: 0;
  left: -240px;
  z-index: 0;
  height: 252px;
  width: 2400px;
}

.benefits-title {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  color: black;
  line-height: 66.6px;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.benefits-grid {
  position: relative;
  z-index: 1;
  max-width: 1495px;
  margin: 0 auto;
}

.benefit-card-container {
  position: relative;
  height: 368px;
  margin-bottom: 44px;
}

.benefit-card {
  position: absolute;
  top: 51px;
  background-color: #0c4a6e;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: 317px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 32px 64px 32px;
}

.benefit-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 175px;
  width: 277px;
}

.benefit-card-title {
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: normal;
  text-align: center;
  color: white;
}

.benefit-card-description {
  width: 100%;
  font-size: 1.25rem;
  letter-spacing: normal;
  line-height: 2.5rem;
  text-align: center;
  color: white;
}

.card-icon {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.align-container {
  position: relative;
  top: 90px;
  left: 82px;
}

/* welcome page */
.mobile-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.mobile-image {
    width: 100%;
    max-width: 300px;
    display: block;
}

.farmapp-video {
    position: absolute;
    top: 88%;
    left: -25%;
    width: 150%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

