/* Homepage Styles - Textile Fairs India */

:root {
  --primary-teal: rgb(0, 119, 126);
  --primary-orange: rgb(241, 108, 35);
  --text-gray: rgb(139, 130, 125);
  --text-dark: #333;
  --bg-white: #ffffff;
  --bg-light: #f9f9f9;
  --footer-dark: #222;
  --font-main: 'Rubik', sans-serif;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Site Header */
.site-header {
  background-color: var(--bg-light);
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-info {
  display: flex;
  gap: 25px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  color: var(--primary-orange);
  font-size: 20px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contact-label {
  font-size: 11px;
  color: var(--text-gray);
  font-weight: 400;
}

.contact-item strong {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 14px;
  transition: all var(--transition-speed);
}

.social-links a:hover {
  background-color: var(--primary-teal);
  color: white;
}

/* Navigation */
.main-nav {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--primary-teal);
}

/* Dropdown Styles */
.nav-links .dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 119, 126, 0.95);
  backdrop-filter: blur(10px);
  min-width: 180px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 30px;
  width: 12px;
  height: 12px;
  background-color: rgba(0, 119, 126, 0.95);
  transform: rotate(45deg);
}

.dropdown-menu a {
  color: white !important;
  padding: 12px 20px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: var(--primary-orange);
  color: white !important;
  padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.btn-primary {
  background: linear-gradient(135deg, #ffcc33 0%, #f16c23 50%, #e65100 100%);
  background-size: 200% auto;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  /* More rounded for modern look */
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(241, 108, 35, 0.4);
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(241, 108, 35, 0.5);
}

.dropdown .btn-primary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 10px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown:hover .btn-primary::after {
  transform: rotate(180deg);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-teal);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.menu-checkbox {
  display: none;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: left;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-location {
  color: var(--primary-orange);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--yellow);
  text-shadow: 2px 2px 4px hsl(51, 100%, 50%);
}

.whatsapp-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all var(--transition-speed);
}

.whatsapp-chat:hover {
  background-color: #20BA5A;
  transform: scale(1.05);
}

.whatsapp-chat i {
  font-size: 20px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  color: var(--primary-orange);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.about-text h2 {
  font-size: 42px;
  color: var(--primary-teal);
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Innovation Cards Section */
.innovation-section {
  padding: 60px 0;
  background-color: white;
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.innovation-card {
  text-align: center;
  padding: 40px 30px;
  background-color: var(--bg-light);
  border-radius: 10px;
  transition: transform var(--transition-speed);
}

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

.innovation-card i {
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.innovation-card h3 {
  font-size: 24px;
  color: var(--primary-teal);
  margin-bottom: 15px;
}

.innovation-card p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.7;
}

/* TFI Scope Stats Section */
.stats-section-teal {
  padding: 80px 0;
  background-color: var(--primary-teal);
  text-align: center;
}

.stats-section-teal h2 {
  color: white;
  font-size: 42px;
  margin-bottom: 50px;
}

.stats-grid-teal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item-teal {
  color: white;
}

.stat-item-teal h3 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-item-teal p {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
}

/* Stats Counter Animation */
@property --num-shows {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

@property --num-exhibitors {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

@property --num-brands {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

@property --num-visitors {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.stat-shows::after {
  content: counter(shows) "+";
  counter-reset: shows var(--num-shows);
  animation: count-shows 2s ease-out forwards;
}

.stat-exhibitors::after {
  content: counter(exhibitors) "K+";
  counter-reset: exhibitors var(--num-exhibitors);
  animation: count-exhibitors 2s ease-out forwards;
}

.stat-brands::after {
  content: counter(brands) "+";
  counter-reset: brands var(--num-brands);
  animation: count-brands 2s ease-out forwards;
}

.stat-visitors::after {
  content: counter(visitors) "K+";
  counter-reset: visitors var(--num-visitors);
  animation: count-visitors 2s ease-out forwards;
}

@keyframes count-shows {
  from {
    --num-shows: 0;
  }

  to {
    --num-shows: 96;
  }
}

@keyframes count-exhibitors {
  from {
    --num-exhibitors: 0;
  }

  to {
    --num-exhibitors: 10;
  }
}

@keyframes count-brands {
  from {
    --num-brands: 0;
  }

  to {
    --num-brands: 800;
  }
}

@keyframes count-visitors {
  from {
    --num-visitors: 0;
  }

  to {
    --num-visitors: 31;
  }
}

/* Numbered Platforms Section */
.platforms-section-numbered {
  padding: 80px 0;
  background-color: white;
}

.platforms-section-numbered h2 {
  text-align: center;
  font-size: 42px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.platforms-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.8;
}

.platforms-grid-numbered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.platform-card-numbered {
  background-color: #f5f3f0;
  padding: 40px 30px;
  border-radius: 10px;
  border-top: 4px solid var(--primary-orange);
  position: relative;
  text-align: center;
  transition: transform var(--transition-speed);
}

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

.platform-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-teal);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.platform-icon {
  margin: 30px 0 20px;
}

.platform-icon i {
  color: #999;
}

.platform-card-numbered h3 {
  font-size: 22px;
  color: var(--text-dark);
  font-weight: 600;
}

/* Footer */
.main-footer {
  background-color: #121b2b;
  color: white;
  padding: 80px 0 30px;
  font-family: var(--font-main);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-brand .footer-logo-img {
  height: 80px;
  margin-bottom: 20px;
}

.footer-brand-text {
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 280px;
}

.footer-social-circles {
  display: flex;
  gap: 15px;
}

.footer-social-circles a {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #121b2b;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social-circles a:hover {
  background: #ff2c2c;
  color: white;
  transform: translateY(-3px);
}

.footer-top h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 30px;
  position: relative;
}

.links-two-column {
  display: flex;
  gap: 40px;
}

.links-two-column ul {
  flex: 1;
}

.links-two-column li {
  margin-bottom: 12px;
}

.links-two-column a {
  color: #ddd;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.links-two-column a i {
  color: #ff2c2c;
  font-size: 12px;
}

.links-two-column a:hover {
  color: #ff2c2c;
  padding-left: 5px;
}

.footer-col-newsletter p {
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 25px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 14px;
}

.newsletter-form button {
  background: #ff2c2c;
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #e60000;
}

.footer-expert-call {
  display: flex;
  align-items: center;
  gap: 15px;
}

.expert-call-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff2c2c;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(255, 44, 44, 0.2);
}

.expert-call-text span {
  display: block;
  font-size: 12px;
  color: #aaa;
}

.expert-call-text strong {
  display: block;
  font-size: 16px;
  color: white;
}

/* Contact Bar */
.footer-contact-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-box-icon {
  width: 60px;
  height: 60px;
  background: #ff2c2c;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.contact-box-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: white;
}

.contact-box-text p {
  color: #aaa;
  font-size: 14px;
}

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

.footer-bottom-new i {
  margin-right: 5px;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-contact-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .links-two-column {
    gap: 20px;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--primary-orange);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  /* Always visible in CSS only for simplicity */
  visibility: visible;
  transition: all var(--transition-speed);
  z-index: 998;
}

.scroll-to-top:hover {
  background-color: rgb(200, 90, 30);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }

  .platforms-grid-numbered {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid-teal {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-right {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    gap: 15px;
  }

  .menu-checkbox:checked~.nav-links {
    display: flex;
  }

  .menu-checkbox:checked~.menu-toggle i::before {
    content: "\f00d";
    /* fa-xmark */
  }

  .menu-toggle {
    display: block;
  }

  .hero-slider {
    height: 400px;
  }

  .hero-title {
    font-size: 42px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .innovation-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid-teal {
    grid-template-columns: 1fr;
  }

  .platforms-grid-numbered {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* About TFI Specific Styles */
.our-journey {
  height: 600px;
  background-image: url('images/journey_bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.journey-header {
  padding: 40px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  width: 100%;
}

.journey-header h2 {
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.journey-pillars {
  display: flex;
  flex: 1;
  width: 100%;
}

.pillar {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 109, 117, 0.7);
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pillar:last-child {
  border-right: none;
}

.pillar:hover {
  flex: 2;
  background: rgba(0, 109, 117, 0.9);
}

.pillar-content {
  text-align: center;
  max-width: 300px;
}

.pillar-year {
  display: block;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-orange);
}

.pillar h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.pillar-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  font-size: 15px;
  line-height: 1.6;
}

.pillar:hover .pillar-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Intro Stats Section */
.intro-stats-section {
  padding: 80px 0;
  background: white;
}

.intro-stats-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.intro-text {
  flex: 2;
}

.experience-counter {
  flex: 1;
  display: flex;
  justify-content: center;
}

.counter-box {
  background: var(--primary-teal);
  color: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 250px;
}

.counter-number {
  font-size: 64px;
  font-weight: 700;
  display: block;
}

.counter-box p {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Values About Section */
.values-section-about {
  padding: 80px 0;
  background: var(--bg-light);
}

.values-about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.values-about-image {
  flex: 1;
}

.values-about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.values-about-text {
  flex: 1;
}

/* Logos Section */
.logos-section {
  padding: 60px 0;
  text-align: center;
}

.logos-section.bg-light {
  background: var(--bg-light);
}

.section-title {
  font-size: 32px;
  color: var(--primary-teal);
  margin-bottom: 40px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.logo-item {
  background: white;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: scale(1.05);
}

.logo-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 991px) {

  .intro-stats-content,
  .values-about-content {
    flex-direction: column;
    text-align: center;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .our-journey {
    height: auto;
  }

  .journey-pillars {
    flex-direction: column;
  }

  .pillar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 250px;
  }
}