
/* correction css */
.nav-links a:hover, .hover:hover{
color: var(--vpg1);
border: 1px solid var(--vpg1);
padding: 1em 2em;
border-radius: 2em;
background: none;
}

.hoveri:hover{
color: var(--vpg1);
padding: 0.2em;
border-radius: 1em;
}

.m-icon {
font-size: 1em;
}

.odd {
background: var(--odd);
}

h2, h1 {
font-size: 1.5em;
text-align: center; 
margin-bottom:1.5em;
text-transform: uppercase;
}

p {
font-size: 1.2em;
	
}
.wapp {
color:var(--body);
}
.ful {
width:100%;
}

.top-gap {
padding-top:1em;
}
.loc {
display:block;
float:left;
z-index:2000;
}

.m-text{
font-size:1.2em !important;	
}

/* logo colors */

.digi{
    color:var(--dfdark);
	font-weight: 900;
/*	font-size: 1em;*/
	}

.face{
    color: var(--dfyel);
    font-weight: 600;
/*	font-size: 1em;*/
}
.varys {
    color: var(--vpb1);
    font-weight: 900;
    text-transform: uppercase;
/*    font-size: 2em;*/
}

.slides .varys {
    color: var(--vpb4);
    font-weight: 900;
    text-transform: uppercase;
}
.pharma{
    color: var(--vpg1);
    font-weight: 900;
    text-transform: uppercase;
/*    font-size: 2em; */
}

/* --- Color Variables --- */ 
:root { 
/* Varys Pharma logo colors */
--vpb1 : #233158;
--vpb2 : #2b3d6f;
--vpb3 : #395093;
--vpb4 : #4864b7;
--vpb5 : #677fc5;
--vpb6 : #758ac9;
--vpb7 : #8fa1d3;
--vpb8 : #b1bddf;
--vpb9 : #d0d6ec;

--vpg1 : #518c0f;
--vpg2 : #61a512;
--vpg3 : #7ace16;
--vpg4 : #93ea2c;
--vpg5 : #a3ed50;
--vpg6 : #a2ef6b;
--vpg7 : #baf17c;
--vpg8 : #cef6a0;
--vpg9 : #e5facd;

--body: white;
--sec: #0fb8f9;
--bodybg: #999;
--bodybg2: #222;
--text-main: black;
--white: white;
--dfdark: black;
--dfyel: #edc70e;

--odd:#e3e3e3;

--transition: all 0.3s ease;
} 

/* --- Dark Mode Variables --- */ 
body.dark-mode { 
/* Varys Pharma logo colors */
--vpb1 : #0fb8f9;
--vpb2 : #2b3d6f;
--vpb3 : #395093;
--vpb4 : #0fb8f9/*4864b7*/;
--vpb5 : #677fc5;
--vpb6 : #758ac9;
--vpb7 : #8fa1d3;
--vpb8 : #b1bddf;
--vpb9 : #d0d6ec;

--vpg1 : #63f905;
--vpg2 : #61a512;
--vpg3 : #7ace16;
--vpg4 : #93ea2c;
--vpg5 : #a3ed50;
--vpg6 : #a2ef6b;
--vpg7 : #baf17c;
--vpg8 : #cef6a0;
--vpg9 : #e5facd;

/* Deep Background */ 
--body: black;
--sec: white;
/* Card/Nav Background */ 
--bodybg: #999;
--bodybg2: #222;

/* Light Text */ 
--text-main: white;

--white: white;

--odd:#2b2a2a;

--dfdark: #06c3fb;
--dfyel: white;
} 

body { 
background: var(--body); 
color: var(--text-main); 
transition: background 0.3s ease, color 0.3s ease; 
}
 
/* Ensure sections and cards use variables */ 
section, 
.vision-card, 
.contact-form-container, 
.dropdown-content { 
color: var(--text-main); 
} 

/* --- Theme Toggle Button --- */ 
.theme-switch { 
position: fixed;
top: 15px; 
right: 20px; 
z-index: 2000; 

/* Above sticky nav */ 
background: var(--bodybg); 
color: var(--body); 
width: 40px; 
height: 40px; 
border-radius: 50%; 
display: flex; 
align-items: center; 
justify-content: center; 
cursor: pointer; 
border: none; 
box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
} 

/* Adjust nav for dark mode */ 
body.dark-mode nav { 
background: var(--body); 
} 
body.dark-mode .nav-links a { 
color: var(--text-main); 
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: var(--body);
color: var(--bodybg2);
line-height: 1.6;
overflow-x: hidden;
}
a {
text-decoration: none;
color: inherit;
transition: var(--transition);
}
ul {
list-style: none;
}
img {
max-width: 100%;
display: block;
}
/* --- STICKY NAVIGATION --- */
nav {
position: sticky;
top: 0;
background: var(--body);
box-shadow: 0 2px 1em rgba(0,0,0,0.1);
z-index: 1000;
padding: 1em 0;
}

.nav-container {
display: flex;
align-items: center;
justify-content: center;
/* Keeps everything grouped in center */
max-width: 1400px;
margin: 0 auto;
padding: 0 2em;
position: relative;
}
.nav-links {
display: flex;
align-items: center;
gap: 2em;
font-size: 1em;
font-weight: 700;
text-transform: uppercase;
}
.nav-links.left {
margin-right: 3em;
}
.nav-links.right {
margin-left: 3em;
}


/* Transition for smooth shrinking effect */ 
nav { 
transition: padding 0.4s ease, background-color 0.4s ease; 
} 
.logo-center img { 
transition: height 0.6s ease; 
} 
.logo-text h1, .logo-text p { 
transition: font-size 0.4s ease, opacity 0.4s ease; 
} 
/* Styles applied when scrolling */ 
nav.shrunk { 
padding: 5px 0; 
/* Reduced padding */ 
background-color: var(--body);
opacity: 0.95; 
/* Slight transparency */ 
box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
} 
nav.shrunk .logo-center img { 
height: 35px; 
/* Smaller logo */ 
} 
nav.shrunk .logo-text h1 { 
font-size: 11px; 
/* Smaller title */ 
} 
nav.shrunk .logo-text p { 
font-size: 0; 
/* Hide tagline on scroll for a cleaner look */ 
opacity: 0; 
}

/* Logo, Title & Tagline */
.logo-center {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
min-width: 200px;
}
.logo-center img, .footer-grid img {
height: 100px;
margin-bottom: 0px;
}
.logo-text h1, .footer-grid h1 {
font-size: 1em;
color: var(--bodybg2);
letter-spacing: 1px;
margin: 0;
}
.logo-text p {
font-size: 1em;
color: var(--bodybg);
font-style: italic;
text-transform: none;
margin: 0;
}
/* Dropdowns */
.dropdown {
position: relative;
cursor: pointer;
padding: 1em 0;
}

.dropdown-content {
display: none;
position: absolute;
background: var(--body);
min-width: 20em;
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
top: 100%;
left: 0;
border-top: 3px solid var(--body);
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
display: block;
padding: 1.1em 2em;
border-bottom: 1px solid var(--body);
text-transform: none;
font-weight: 500;
}
.btn-brochure {
color: var(--vpb3);
padding: 0.5em;
border-radius: 4px;
font-size: 1.5em;
}
/* Mobile Toggle */
.menu-toggle {
display: none;
font-size: 2em;
cursor: pointer;
color: var(--body);
position: absolute;
left: 2em;
}
/* --- SECTION 1: CAROUSEL --- */
.hero {
height: 80vh;
overflow: hidden;
position: relative;
/*background: var(--bodybg);*/
}
.slides {
display: flex;
width: 300%;
height: 80%;
animation: slideAnim 10s infinite;
}
.slide-head{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: var(--body);
background: linear-gradient(var(--vpb3), var(--vpb6), var(--vpb9));
text-align: center;
padding: 2em;
}
.slide h2 {
font-size:2.5em;
}

.slide p {
font-size:1.5em;
}
.slide {
width: 33.33%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: var(--white);
text-align: center;
background-size: cover;
background-position: center;
background-color:  linear-gradient(var(--vpb3), var(--vpb6), var(--vpb9));
/*background-blend-mode: overlay;
opacity:0.5;*/
padding: 2em;
text-shadow: 3px 3px 3px var(--bodybg2);
}

.slide:nth-child(1) {
background-image: url("https://dgfc.biz/varys/assets/img/colorful-bokeh-city-skyline-sea-night-shutterstock_278029052.jpg");
}
.slide:nth-child(2) {
background-image: url("https://dgfc.biz/varys/assets/img/cow%20-%20farmer%20-%20akola-maharashtra-india-17-november-2017-shutterstock_764856964.jpg");
}
.slide:nth-child(3) {
background-image: url("https://dgfc.biz/varys/assets/img/shutterstock_760660858.jpg");
}

@keyframes slideAnim {
0%, 28% {
transform: translateX(0);
}
33%, 61% {
transform: translateX(-33.33%);
}
66%, 95% {
transform: translateX(-66.66%);
}
}
.read-more-btn {
margin: 2em;
padding: 1em 3em;
background: var(--vpb1);
color: var(--body);
border: none;
border-radius: 0.5em;
cursor: pointer;
font-weight: bold;
text-transform: uppercase;
}

/* --- SECTION 2: ABOUT --- */
.section-padding {
padding: 6em 10%;
}
.about-container {
display: flex;
align-items: center;
gap: 5em;
flex-wrap: wrap;
}
.about-image {
flex: 1;
min-width: 300px;
}
.about-image img{
height:400px;
float:right;
border-radius:1em;
}

.about-text {
flex: 1;
min-width: 300px;
}

/* --- SECTION 3: PRODUCTS --- */


.filter-container {
text-align: center;
margin-bottom: 4em;
}
.filter-btn {
padding: 1em 2.5em;
margin: 0.5em;
color: var(--vpb1);
border: 1px solid var(--vpb1);
background: transparent;
cursor: pointer;
border-radius: 2.5em;
font-weight: 600;
}

.filter-btn.active {
color: var(--body);
background: var(--vpb1);
}
.product-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5em;
}
.product-card {
position: relative;
height: 280px;
overflow: hidden;
border-radius: 8px;
}
.product-card img {
width: 100%;
height: 100%;
object-fit: cover;
}
.product-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--bodybg);
opacity: 0.9;
color: var(--body);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
transition: var(--transition);
text-align: center;
padding: 2em;
}
.product-card:hover .product-overlay {
opacity: 1;
}
/* --- SECTION 4: MISSION/VISION --- */
.vision-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2em;
}
.vision-card {
text-align: center;
padding: 2em;
border-bottom: 4px solid var(--vpg1);
}
.vision-card i {
font-size: 5em;
color: var(--vpb1);
margin-bottom: 0.5em;
}
/* --- SECTION 5: AUTHENTIC --- */
.auth-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2em;
}
.auth-item {
height: 15em;
background: var(--body);
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
/* --- SECTION 6: COLLABORATION --- */
.collab-strip {
background: var(--body);
color: var(--body);
text-align: center;
padding: 5em 2em;
}
/* --- SECTION 7: CONTACT & MAP --- */
.contact-section {
background: var(--body);
}
.map-box {
width: 100%;
height: 350px;
background: var(--bodybg);
margin-bottom: 4em;
border: none;
}
.contact-info-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2em;
margin-bottom: 4em;
text-align: center;
}
.contact-form-container {
max-width: 700px;
margin: 0 auto;
background: var(--body);
padding: 4em;
border-radius: 8px;
}
.contact-form-container input, .contact-form-container textarea {
width: 100%;
padding: 1.1em;
margin-bottom: 1.5em;
border: 1px solid #ccc;
}
/* --- FOOTER -- */
 footer {
 background: var(--bodybg);
 color: var(--body);
 padding: 6em 10% 2em;
 }
 
 .footer-varys{
	color: var(--vpb1); 
	text-transform: uppercase;
	font-size:2em;
 }
 .footer-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 4em;
 margin-bottom: 4em;
 }
.footer-logo {
 font-size: 2em;
 margin-bottom: 2em;
 display: block;
}
 .footer-grid h4 {
 margin-bottom: 1em;
 border-left: 3px solid var(--bodybg);
 padding-left: 1em;
 }
 .foo-grid a, .footer-grid a {
 color: var(--body);
 font-size: 1em;
 }
 .foo-grid a{
  display: block;
  margin-bottom: 1em;
 }
  .footer-grid i {
    font-size: 1.5em;
    margin-right: 0.5em;
	padding:0.2em;
 }
 
 .bottom-bar {
 border-top: 1px solid #444;
 padding: 2em 10%;
 display: flex;
 justify-content: space-between;
 font-size: 1em;
 }
 
 /* copyright-bar*/
 .copyright-bar {
border-top: 1px solid #444;
padding: 2em 10%;
display: flex;
justify-content: space-between;
font-size: 1em;
}

.center, .center img  {
	text-align: center;
	margin: auto;
	vertical-align:auto;
}

form>.f-btn{
	background:var(--bodybg); 
	border:none; 
	color:var(--body); 
	padding:8px 1.5em; 
	width:100%;
}
form>.f-eml{
	padding:8px; 
	width:100%; 
	border:none; 
	margin-bottom:1em;
}
.loc{
}


 /* WhatsApp Icon */
 .whatsapp {
 position: fixed;
 bottom: 1em;
 right: 1em;
 background: var(--bodybg);
 color: var(--body);
 width: 2em;
 height: 2em;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 2em;
 box-shadow: 0 0.5em 1.5em rgba(0,0,0,0.3);
 z-index: 1001;
 }
 
 /* Responsive Mobile */
 @media (max-width: 992px) {
 .nav-container {
 flex-direction: column;
 }
 .nav-links {
 display: none;
 }
/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1100px) {
.menu-toggle {
display: block;
}
.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: var(--body);
box-shadow: 0 1em 1.5em rgba(0,0,0,0.1);
margin: 0 !important;
z-index: 999;
}
.nav-links.active {
display: flex;
}
.nav-links.right.active {
top: auto;
position: relative;
border-top: 1px solid var(--body);
}
.nav-links a, .nav-links .dropdown {
width: 100%;
padding: 1.5em 2.5em;
border-bottom: 1px solid var(--bodybg);
border: 1px solid var(--body);
}
.dropdown-content {
position: static;
box-shadow: none;
padding-left: 2em;
}
.product-grid, .vision-grid, .footer-grid, .auth-row, .contact-info-grid {
grid-template-columns: 1fr;
}
.about-container {
text-align: center;
}
}

