/* ==========================================
   DHIRAJ FOOD REPACKING
   Fully Responsive + Animated Redesign
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap'); /* For best quality font */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

:root{
  --green:#163920; /* Darker premium green */
  --light-green:#225c34;
  --accent:#31aa52;
  --gold:#FFD54A;
  --white:#ffffff;
  --text:#333333;
  --gray:#777777;
  --bg-color: #f7f9fc;
  --shadow:0 15px 35px rgba(0,0,0,.08);
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg-color);
  color:var(--text);
  overflow-x:hidden;
}

::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:#f1f1f1}
::-webkit-scrollbar-thumb{background:var(--accent);border-radius:50px}

/* --- Header --- */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(12px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 8%;
  z-index:1000;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
}
.logo{display:flex;align-items:center;gap:12px; z-index: 1001;}
.logo img{width:50px; border-radius: 5px;}
.logo h2{color:var(--green);font-size:24px; font-weight:700;}

nav ul{display:flex;list-style:none;gap:35px; align-items:center;}
nav ul li a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    font-size:15px;
    transition:.3s;
    letter-spacing: 0.5px;
}
nav ul li a:hover{color:var(--accent)}

.btn-contact {
    background: var(--accent);
    color: white !important;
    padding: 8px 24px;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-contact:hover {
    background: var(--green);
    transform: translateY(-2px);
}

/* Mobile Nav - NO HAMBURGER */
@media(max-width:992px){
    header{padding:15px 5%;}
}
@media(max-width:768px){
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 5%;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    nav ul li a {
        font-size: 13px;
    }
    .btn-contact {
        padding: 6px 16px;
    }
    .hero-slider-section {
        padding-top: 50px;
    }
}

/* --- Hero Slider --- */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--green);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0; /* Behind header */
}

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

.hero-bg-waves svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-bg-waves path {
    animation: waveAnimation 15s ease-in-out infinite alternate;
}
.hero-bg-waves .wave2 { animation-delay: -5s; animation-duration: 20s;}
.hero-bg-waves .wave3 { animation-delay: -10s; animation-duration: 12s;}

@keyframes waveAnimation {
    0% { transform: scale(1.1) translate(0, 0); }
    100% { transform: scale(1.2) translate(-20px, 20px); }
}

.slider-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Offset for header */
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 5%;
}

.text-content {
    flex: 1;
    color: var(--white);
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.8s ease-in-out 0.2s;
}

.slide.active .text-content {
    transform: translateX(0);
    opacity: 1;
}

.cursive-tag {
    font-family: 'Great Vibes', cursive;
    font-size: 55px;
    color: var(--gold);
    display: block;
    margin-bottom: -15px;
}

.text-content h1 {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    transition: all 0.8s ease-in-out 0.4s;
}

.slide.active .image-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.image-content img {
    max-width: 450px;
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
    border-radius: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots .dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

@media(max-width: 900px) {
    .slide-content { flex-direction: column; text-align: center; justify-content: center; gap: 30px;}
    .text-content { transform: translateY(-30px); }
    .slide.active .text-content { transform: translateY(0); }
    .cursive-tag { font-size: 40px; margin-bottom: 0;}
    .text-content h1 { font-size: 55px; }
    .image-content img { max-width: 300px; }
}
@media(max-width: 480px) {
    .text-content h1 { font-size: 45px; }
    .image-content img { max-width: 250px; }
}

/* --- Features Section --- */
.features{
  padding:80px 8%;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  background:var(--white);
  position: relative;
  z-index: 5;
  margin-top: -20px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}
.feature{
  background:var(--bg-color);
  padding:30px 20px;
  text-align:center;
  border-radius:20px;
  transition:.4s;
  border:1px solid #eaeaea;
}
.feature:hover{transform:translateY(-5px); box-shadow: var(--shadow); background: var(--white);}
.feature i{
  width:70px;
  height:70px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:auto;
  font-size:26px;
  margin-bottom:20px;
}
.feature h3{color:var(--green);margin-bottom:10px; font-size: 18px;}
.feature p{color:#666; font-size: 14px;}

/* --- Products Section (Redesigned Cards) --- */
.products {
    padding: 80px 8%;
    background: var(--bg-color);
}
.products h2 {
    text-align:center;
    font-size:42px;
    color:var(--green);
    margin-bottom:60px;
    font-weight: 800;
}

.product-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: .4s;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

.card-img-wrapper {
    padding: 30px 20px 10px;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
}

.card-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: .4s;
}

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

.card-bottom {
    position: relative;
    background: transparent;
    margin-top: auto;
}

.card-title-box {
    padding: 15px 20px 25px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.card-title-box h3 {
    color: var(--green);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* --- About Section --- */
.about{
    padding:100px 8%;
    background:linear-gradient(135deg, var(--green), var(--light-green));
}
.about-container{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    align-items:center;
}
.about-left h2{font-size:55px;color:white;margin:20px 0;}
.about-left h2 span{color:var(--gold);}
.about-left p{color:#e0e0e0;line-height:1.9;font-size:17px;margin-bottom:20px;}
.about-tag{
    display:inline-block;
    padding:8px 20px;
    background:rgba(255,255,255,.15);
    color:white;
    border-radius:50px;
    font-weight:600;
    font-size: 14px;
}

.about-right {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 5;
}

.center-logo img {
    width: 35px;
}

.stat-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: .4s;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card:hover { 
    transform: translateY(-8px); 
    background: rgba(255,255,255,.15); 
}

.stat-card h3 { 
    font-size: 38px; 
    color: var(--gold); 
    margin-bottom: 5px; 
}

.stat-card p { 
    color: white; 
    font-size: 15px; 
}


@media(max-width:992px){
    .about-container{grid-template-columns:1fr;text-align:center;}
    .about-right{max-width: 600px; margin: auto;}
}

@media(max-width:480px){
    .about-left h2{font-size:40px;}
    .stats-grid { gap: 10px; }
    .stat-card { padding: 25px 10px; }
    .stat-card h3 { font-size: 26px; }
    .stat-card p { font-size: 13px; }
    .center-logo { width: 45px; height: 45px; }
    .center-logo img { width: 25px; }
}


/*================ PROFESSIONAL FOOTER ================*/
.professional-footer {
    background: #042514; /* Very dark green */
    color: #e0e0e0;
    padding: 80px 8% 20px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: auto;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 5px;
}

/* Brand Col */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-logo img { width: 45px; border-radius: 5px; }
.footer-logo h2 { color: var(--white); font-size: 24px; }
.footer-desc { line-height: 1.8; margin-bottom: 25px; font-size: 15px; }

.footer-socials { display: flex; gap: 15px; }
.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}
.footer-socials a:hover { background: var(--accent); transform: translateY(-3px); }

/* Links & Contact Col */
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; }
.footer-col ul li a { color: #e0e0e0; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.contact-col ul li i { color: var(--accent); margin-top: 5px; }

/* Map Col */
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

@media(max-width: 1100px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; }
}

/* Floating WhatsApp */
.whatsapp{
  position:fixed;
  right:25px;
  bottom:25px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-size:32px;
  text-decoration:none;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  z-index: 999;
  transition: 0.3s;
}
.whatsapp:hover { transform: scale(1.1); }
