@font-face {
  font-family: Jameel Noori Nastaleeq Regular;
  src: url(/font/Jameel_Noori_Nastaleeq_Regular.ttf);
}
body {
  box-sizing: border-box;
}

.gradient-bg {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
}

.counter-animation {
  font-weight: bold;
  color: #16a34a;
}

.news-scroll {
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.service-card {
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.app-step {
  background: linear-gradient(45deg, #f0fdf4, #dcfce7);
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #16a34a;
}
*{margin:0;padding:0;box-sizing:border-box;}
body{
  font-family:'Inter',sans-serif;
  background:#fff;
  color:#0b1710;
  overflow-x:hidden;
}


/* ABOUT US SECTION */
.gt-about-us {
  position: relative;
  background: linear-gradient(to bottom right, #ffffff, #f0fff4);
}

.gt-about-us h2 span {
  background: linear-gradient(90deg, #00a874, #00c48c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Animated Cards --- */
.gt-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 168, 116, 0.15);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.gt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 168, 116, 0.15);
}

.gt-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c2a18;
  margin-bottom: 0.75rem;
}

.gt-card p {
  color: #2e4b38;
  font-size: 1rem;
  line-height: 1.6;
}

/* Icon styles */
.gt-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  box-shadow: 0 5px 15px rgba(0, 168, 116, 0.1);
}

/* --- Animations --- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes riseUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInDown { animation: fadeInDown 1s ease forwards; }
.animate-fadeIn { animation: fadeIn 1.2s ease forwards; }
.animate-riseUp { animation: riseUp 1.2s ease forwards; }
.animate-riseUp.delay-1 { animation-delay: 0.2s; }
.animate-riseUp.delay-2 { animation-delay: 0.4s; }

/*  Floating animation for About Us cards */
.gt-about-us .gt-card {
  position: relative;
  animation: gt-floatCard 6s ease-in-out infinite;
}

.gt-about-us .gt-card:nth-child(2n) {
  animation-delay: 1s;
}
.gt-about-us .gt-card:nth-child(3n) {
  animation-delay: 2s;
}

@keyframes gt-floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


/* ===== end about us section ===== */

/* ===== CASE STUDIES  ===== */
.case-studies-wrapper {
  position: relative;
}

.case-studies-btn {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.8rem;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.3);
  animation: pulseGlow 2s infinite;
  min-width: 160px;
  justify-content: center;
}

.case-studies-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
  background: linear-gradient(135deg, #ff7b7b, #ff6b35);
}

.case-studies-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.case-studies-btn.active i {
  transform: rotate(180deg);
}

/* Pulsing dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 16px;
  animation: pulseDot 1.5s infinite;
}

/* Case Studies Dropdown */
.case-studies-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px; /* Increased width for longer titles */
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.case-studies-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.case-study-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #2b4631;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.case-study-item:hover {
  background: linear-gradient(135deg, rgba(0, 168, 116, 0.1), rgba(238, 90, 36, 0.1));
  transform: translateX(5px);
  color: #00a874;
}

.case-study-item i:first-child {
  color: #00a874;
  font-size: 1.1rem;
  width: 24px;
  flex-shrink: 0;
}

/* PDF icon styling */
.pdf-icon {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.case-study-item:hover .pdf-icon {
  color: #ff6b6b;
  transform: scale(1.1);
}

.case-study-item span {
  flex: 1;
}

/* Animations */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.3);
  }
  50% {
    box-shadow: 0 6px 25px rgba(238, 90, 36, 0.5);
  }
  100% {
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.3);
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Badge for PDF indicator */
.case-study-item::after {
  content: "PDF";
  font-size: 0.7rem;
  background: #e74c3c;
  color: white;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
  opacity: 0.9;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 950px) {
  .buttons {
    justify-content: center;
  }
  
  .case-studies-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .case-studies-btn {
    width: 100%;
    max-width: 250px;
  }
  
  .case-studies-dropdown {
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 300px;
  }
  
  .case-studies-dropdown.active {
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {
  .case-studies-btn {
    width: 100%;
    max-width: 250px;
    padding: 0.8rem 1.6rem;
  }
  
  .pulse-dot {
    top: 10px;
    left: 14px;
  }
  
  .case-study-item {
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .case-studies-wrapper {
    width: 100%;
  }
  
  .case-studies-btn {
    width: 100%;
  }
  
  .case-studies-dropdown {
    width: 280px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
  }
  
  .case-study-item i:first-child {
    font-size: 1rem;
    width: 20px;
  }
}

@media (max-width: 480px) {
  .case-studies-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
  }
  
  .pulse-dot {
    width: 6px;
    height: 6px;
    top: 9px;
    left: 12px;
  }
  
  .case-studies-dropdown {
    width: 260px;
  }
  
  .case-study-item {
    padding: 0.65rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .case-study-item::after {
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
  }
}

/* ===== end-case-study ===== */


/* ===== HERO ===== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:100px;
  overflow:hidden;
}

/* Background farmland image with light tone */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.8)),
    url('/images/Farm-land.jpg')
    center/cover no-repeat;
  filter:blur(3px) brightness(1.05);
  z-index:-2;
}

/* gentle soft overlay (no green hue now) */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 70% 40%, rgba(255,255,255,0.2), transparent 60%);
  z-index:-1;
}

/* layout */
.hero-inner{
  width:90%;
  max-width:1250px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:2rem;
  padding-bottom:10px;
  margin:0 auto;
}

/* ===== TEXT BLOCK ===== */
.text{
  flex:1.1;
  min-width:300px;
  animation:fadeInLeft 1s ease forwards;
  margin-top:40px;
}
.text h1{
  font-size:clamp(2rem, 5vw, 3.2rem);
  font-weight:800;
  line-height:1.15;
  margin-bottom:1.3rem;
  color:#0c2a18;
}
.text h1 span{
  background:linear-gradient(90deg,#00a874,#00d4ab);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.text p{
  font-size:clamp(0.95rem, 2vw, 1.1rem);
  color:#2b4631;
  margin-bottom:2rem;
  line-height:1.6;
  max-width:100%;
}
.buttons{
  display:flex;
  gap:1rem;
  margin-bottom:2rem;
  flex-wrap:wrap;
}
.buttons button{
  border:none;
  border-radius:50px;
  padding:0.9rem 1.8rem;
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
  transition:.3s;
  min-width:160px;
}
.primary{background:#00a874;color:#fff;}
.primary:hover{background:#009366;transform:translateY(-2px);}
.secondary{
  background:transparent;
  border:2px solid #00a874;
  color:#00a874;
}
.secondary:hover{background:#00a874;color:#fff;transform:translateY(-2px);}

/* ===== SERVICES GRID ===== */
.services{
  flex:1.2;
  min-width:300px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:1.2rem;
  
  animation:fadeInRight 1.3s ease forwards;
}
.service-card{
  background:rgba(255,255,255,0.8);
  border:1px solid rgba(0,0,0,0.08);
  border-radius:18px;
  padding:1.4rem 1rem;
  text-align:center;
  font-weight:500;
  color:#1b3b27;
  box-shadow:0 6px 20px rgba(0,0,0,0.05);
  transition:transform .5s ease, box-shadow .5s ease;
  animation:floatCard 6s ease-in-out infinite;
  backdrop-filter:blur(8px);
}
.service-card:nth-child(2n){animation-delay:1s;}
.service-card:nth-child(3n){animation-delay:2s;}
.service-card:hover{
  transform:translateY(-8px) scale(1.03);
  box-shadow:0 12px 30px rgba(0,168,116,0.15);
  background:rgba(255,255,255,0.95);
  border-color:#00a87420;
}
.service-card i{
  font-size:2rem;
  color:#00a874;
  margin-bottom:0.6rem;
  display:block;
  transition:transform .3s ease;
}
.service-card:hover i{transform:scale(1.15);}

/* Floating animation for cards */
@keyframes floatCard{
  0%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
  100%{transform:translateY(0);}
}

/* ===== STATS ===== */
.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:1rem;
  width:100%;
}
.stat{
  background:rgba(255,255,255,0.9);
  border-radius:14px;
  padding:1.2rem 1rem;
  text-align:center;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
  transition:.3s;
}
.stat:hover{transform:translateY(-4px);}
.stat h3{
  font-size:1.5rem;
  font-weight:700;
  color:#00a874;
  margin-bottom:0.3rem;
}
.stat p{
  font-size:0.9rem;
  color:#2b4631;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft{
  from{opacity:0;transform:translateX(-40px);}
  to{opacity:1;transform:translateX(0);}
}
@keyframes fadeInRight{
  from{opacity:0;transform:translateX(40px);}
  to{opacity:1;transform:translateX(0);}
}

/* ===== RESPONSIVE ===== */
@media(max-width:950px){
  .hero-inner{
    flex-direction:column;
    text-align:center;
    gap:2rem;
  }
  .text{
    margin-top:0;
  }
  .text h1{
    font-size:2.5rem;
  }
  .services{
    grid-template-columns:repeat(2,1fr);
    margin-top:2rem;
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
  }
  .buttons{
    justify-content:center;
  }
}

@media(max-width:768px){
  .hero{
    padding-top:80px;
    min-height:auto;
    padding-bottom:3rem;
  }
  .text h1{
    font-size:2.2rem;
  }
  .text p{
    font-size:1rem;
  }
  .buttons button{
    width:100%;
    max-width:250px;
  }
  .services{
    grid-template-columns:repeat(2,1fr);
    gap:1rem;
  }
  .service-card{
    padding:1rem 0.8rem;
    font-size:0.95rem;
  }
  .service-card i{
    font-size:1.8rem;
  }
}

@media(max-width:640px){
  .services{
    grid-template-columns:1fr;
    max-width:400px;
  }
  .stats{
    grid-template-columns:repeat(2,1fr);
  }
  .stat{
    min-width:auto;
    padding:1rem;
  }
}

@media(max-width:480px){
  .hero{
    padding:60px 1rem 2rem;
  }
  .hero-inner{
    width:95%;
  }
  .text h1{
    font-size:1.8rem;
  }
  .text p{
    font-size:0.95rem;
  }
  .buttons{
    flex-direction:column;
    align-items:center;
  }
  .buttons button{
    width:100%;
  }
  .services{
    gap:1rem;
  }
  .service-card{
    padding:1rem;
  }
  .stats{
    grid-template-columns:1fr;
  }
  .stat h3{
    font-size:1.3rem;
  }
}

/* ===== UPDATED BUTTONS WITH ICONS ===== */
.playstore-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.playstore-btn i {
  font-size: 1.4rem;
}

/* ===== UPDATED STATS - SMALLER SIZE ===== */
.stats {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
}

.stat h3 {
  font-size: 1.3rem;
}

.stat p {
  font-size: 0.85rem;
}

/* ===== SERVICES SECTION POSITIONING ===== */
.services-section {
  flex: 1.2;
  min-width: 300px;
  animation: fadeInRight 1.3s ease forwards;
  /* REMOVED margin-top: 60px; */
}

/* ===== AESTHETIC URDU HEADING ===== */
.urdu-heading-container {
  margin-bottom: 1rem; /* Reduced from 2rem */
  position: relative;
}

.urdu-heading {
  font-family: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', 'Noto Naskh Arabic', serif;
  font-size: 2.2rem;
  font-weight: normal;
  color: #2a280c;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.6;
  position: relative;
  padding-bottom: 15px;
  /* REMOVED animation: floatCard 6s ease-in-out infinite; */
}

.urdu-text {
  display: inline-block;
  position: relative;
  padding: 0 20px;
  background: linear-gradient(135deg, #0c2a18 0%, #00a874 50%, #0c2a18 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  text-shadow: 0 4px 15px rgba(12, 42, 24, 0.15);
  animation: gradientFlow 4s ease infinite;
  opacity: 1;
  visibility: visible;
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.urdu-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00a874, transparent);
  border-radius: 2px;
  opacity: 1;
  /* REMOVED animation: linePulse 3s ease-in-out infinite; */
}

/* ===== RESPONSIVE UPDATES ===== */
@media(max-width:950px){
  .services-section {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    /* REMOVED margin-top: 40px; */
  }
  
  .urdu-heading {
    font-size: 1.8rem;
  }
  
  .urdu-text {
    padding: 0 15px;
  }
}

@media(max-width:768px){
  .service-card {
    padding: 1rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .service-card i {
    font-size: 1.6rem;
  }
  
  .urdu-heading {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  
  .urdu-line {
    width: 100px;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    margin: 0 auto;
  }
  
  .services-section {
    /* REMOVED margin-top: 30px; */
  }
}

@media(max-width:480px){
  .urdu-heading {
    font-size: 1.4rem;
  }
  
  .urdu-text {
    padding: 0 10px;
  }
  
  .urdu-line {
    width: 80px;
    height: 2px;
  }
  
  .service-card {
    padding: 0.9rem 0.5rem;
    font-size: 0.85rem;
  }
  
  .service-card i {
    font-size: 1.5rem;
  }
  
  .stat h3 {
    font-size: 1.2rem;
  }
  
  .stat p {
    font-size: 0.8rem;
  }
  
  .playstore-btn,
  .case-studies-btn {
    padding: 0.8rem 1.5rem;
    min-width: 140px;
    font-size: 0.95rem;
  }
  
  .services-section {
    /* REMOVED margin-top: 25px; */
  }
}

@media(min-width: 1400px){
  .services-section {
    /* REMOVED margin-top: 80px; */
  }
  
  .urdu-heading {
    font-size: 2.5rem;
  }
}

/* =====End HERO ===== */


/* gt-app-seection */

.gt-app-section {
  position: relative;
  overflow: hidden;
}

.gt-step-nav-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 168, 116, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.gt-step-nav-card:hover {
  transform: translateX(5px);
  border-color: rgba(0, 168, 116, 0.4);
  box-shadow: 0 10px 25px rgba(0, 168, 116, 0.1);
  background: rgba(255, 255, 255, 1);
}

.gt-step-nav-card.active {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.9), rgba(240, 253, 244, 0.95));
  border-color: #10b981;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, #d1fae5, #a7f3d0);
  margin-top: 4px;
}

.gt-step-nav-card:last-child .step-line {
  display: none;
}

.gt-step-nav-card.active .step-line {
  background: linear-gradient(to bottom, #10b981, #34d399);
}

.gt-step-content {
  position: relative;
  z-index: 1;
  min-height: 500px;
  animation: riseUp 0.8s ease forwards;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(0, 168, 116, 0.1);
}

.step-pane {
  animation: slideInFade 0.6s ease;
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gt-app-section .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .gt-step-nav-card {
    padding: 1rem;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .gt-app-section {
    padding: 2rem 1rem;
  }
  
  .gt-step-content {
    padding: 1.5rem;
    min-height: 400px;
  }
  
  .step-pane .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .step-line {
    display: none;
  }
  
  .gt-step-nav-card {
    padding: 0.8rem;
  }
}

/* Progress Bar */
.step-progress {
  transition: width 0.8s ease;
}

/* Button hover effects */
.gt-step-btn {
  transition: all 0.3s ease;
}

.gt-step-btn:hover {
  transform: translateY(-2px);
}

/* end-gt-app-seection */


/* News-seection */

.gt-news-section {
  position: relative;
  overflow: hidden;
}

/* News Ticker Animation */
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.animate-ticker {
  animation: ticker 20s linear infinite;
}

.news-ticker:hover .animate-ticker {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
}

/* News Card Styling */
.gt-news-item .bg-white {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gt-news-item .bg-white:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Image overlay gradient */
.gt-news-item .relative.overflow-hidden::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gt-news-item:hover .relative.overflow-hidden::after {
  opacity: 1;
}

/* Category badges */
[class*="bg-gradient-to-r"] {
  transition: all 0.3s ease;
}

.gt-news-item:hover [class*="bg-gradient-to-r"] {
  transform: scale(1.05);
}

/* Carousel dots */
.gt-news-dot {
  transition: all 0.3s ease;
}

.gt-news-dot.active {
  width: 32px;
  background: linear-gradient(90deg, #10b981, #34d399);
}

/* Newsletter form */
.gt-news-section input:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gt-news-item {
    width: 100%;
    min-width: 300px;
  }
  
  .ticker-item {
    padding: 0 1rem;
    font-size: 0.9rem;
  }
  
  .news-ticker {
    animation: ticker 15s linear infinite;
  }
  
  .gt-news-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  
  .gt-news-carousel .flex {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .gt-news-item {
    scroll-snap-align: center;
    width: 85vw;
    max-width: 400px;
  }
  
  .gt-news-prev,
  .gt-news-next {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gt-news-item {
    width: 50%;
    min-width: 350px;
  }
}

/* Smooth scrolling for carousel */
.gt-news-carousel {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Mobile touch improvements */
@media (hover: none) and (pointer: coarse) {
  .gt-news-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  
  .gt-news-item {
    scroll-snap-align: start;
  }
  
  .gt-news-prev,
  .gt-news-next {
    display: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .gt-news-section {
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
  }
  
  .gt-news-item .bg-white {
    background-color: #2d2d2d;
    border-color: #404040;
  }
  
  .gt-news-item h3 {
    color: #f3f4f6;
  }
  
  .gt-news-item p {
    color: #d1d5db;
  }
}

/* end-news-seection */

/* partner-seection */

.gt-partners-section {
  position: relative;
  overflow: hidden;
}

.gt-partners-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.gt-partners-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.02) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Partner Card Styling */
.gt-partner-item .bg-white {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gt-partner-item .bg-white:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ffffff, #f9fafb);
}

/* Logo Grayscale Effect */
.gt-partner-item img {
  transition: all 0.3s ease;
}

.gt-partner-item:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Navigation Buttons */
.gt-partners-prev:hover,
.gt-partners-next:hover {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  border-color: transparent;
}

/* Carousel Dots */
.gt-partners-dot {
  transition: all 0.3s ease;
}

.gt-partners-dot.active {
  width: 32px;
  background: linear-gradient(90deg, #10b981, #34d399);
}

/* Stats Cards */
.gt-partners-section .grid > div {
  transition: all 0.3s ease;
}

.gt-partners-section .grid > div:hover {
  border-color: #10b981;
  transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .gt-partner-item {
    width: 50%;
    min-width: 160px;
  }
  
  .gt-partners-carousel {
    padding: 0 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .gt-partners-carousel .flex {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .gt-partners-prev,
  .gt-partners-next {
    display: none;
  }
  
  .gt-partners-section .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .gt-partner-item {
    scroll-snap-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gt-partner-item {
    width: 33.333%;
    min-width: 200px;
  }
}

@media (min-width: 1025px) {
  .gt-partner-item {
    width: 25%;
  }
}

/* Farmers Community Highlight */
.gt-partners-section .inline-flex:hover {
  border-color: #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

/* Smooth scrolling for mobile */
@media (hover: none) and (pointer: coarse) {
  .gt-partners-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .gt-partner-item {
    scroll-snap-align: start;
  }
}

/* Loading animation for logos 
.gt-partner-item img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
  */

/* end-partner-seection */

/* ===== MAP SECTION ===== */
.gt-map-section {
  position: relative;
  overflow: hidden;
}

/* Map Container Styling */
.map-container {
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0) contrast(1) saturate(1.2);
}

/* Location Pin Animation */
@keyframes pinPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

.animate-pulse {
  animation: pinPulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .map-container iframe {
    height: 350px;
  }
  
  .absolute .w-16.h-16 {
    width: 48px;
    height: 48px;
  }
  
  .map-container {
    margin: 0 -1rem;
    width: calc(100% + 2rem);
  }
  
  .map-container iframe {
    border-radius: 0;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .gt-map-section {
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
  }
  
  .map-container iframe {
    filter: brightness(0.9) grayscale(0.1) contrast(1.05);
  }
}

/* Additional responsive fixes for services section */
#services .service-card {
  height: 100%;
}

@media (max-width: 768px) {
  #services .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  #services .service-card {
    padding: 1.5rem;
  }
  
  #services .service-card i {
    font-size: 2.5rem;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: #f5f7f5;
  padding: 5rem 1rem;
}

.contact form {
  display: grid;
  gap: 12px;
  width: 100%;
}

.contact input,
.contact textarea {
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  outline: none;
  width: 100%;
  font-size: 1rem;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px #bbf7d0;
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact button[type="submit"] {
  background: #16a34a;
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1rem;
  width: 100%;
}

.contact button[type="submit"]:hover {
  background: #15803d;
}

/* Contact section responsive fixes */
@media (max-width: 768px) {
  .contact {
    padding: 3rem 1rem;
  }
  
  .contact .max-w-5xl {
    max-width: 100%;
  }
  
  .contact .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact h2 {
    font-size: 2rem;
  }
  
  .contact ul {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 2rem 1rem;
  }
  
  .contact h2 {
    font-size: 1.75rem;
  }
  
  .contact input,
  .contact textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* Fix for map section spacing */
.gt-map-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem;
}

@media (max-width: 768px) {
  .gt-map-section {
    padding: 3rem 1rem;
  }
}

/* Ensure proper spacing between sections */
.contact + .gt-map-section {
  margin-top: 0;
}

/* ===== GrowPak Farmers Community Section ===== */
.gp-community-section {
  position: relative;
  overflow: hidden;
}

/* Decorative background */
.gp-community-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.gp-community-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.gp-community-section > div {
  position: relative;
  z-index: 1;
}

/* Benefit items hover effect */
.gp-community-section .flex.items-start {
  padding: 1rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.gp-community-section .flex.items-start:hover {
  background: white;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

/* Stats cards hover */
.gp-community-section .grid-cols-2 > div {
  transition: all 0.3s ease;
}

.gp-community-section .grid-cols-2 > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0, 128, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .gp-community-section .grid.md\:grid-cols-2 {
    gap: 2rem;
  }
  
  .gp-community-section h2 {
    font-size: 2.5rem;
  }
  
  .gp-community-section .text-4xl {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gp-community-section .flex.items-start {
    padding: 0.75rem;
  }
  
  .gp-community-section .w-12.h-12 {
    width: 40px;
    height: 40px;
  }
  
  .gp-community-section .w-12.h-12 i {
    font-size: 1rem;
  }
  
  .gp-community-section .flex-col.sm\:flex-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}