/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #00bf63;
  --dark-green: #00a555;
  --light-green: #00ff90;
  --bg-dark: #070b09;
  --text-white: #ffffff;
  --text-light: #e7f5ee;
  --text-gray: #cccccc;
  --text-muted: #aaaaaa;
  --border-green: rgba(0, 191, 99, 0.2);
  --shadow-dark: rgba(0, 0, 0, 0.4);
  --shadow-green: rgba(0, 191, 99, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background:
    linear-gradient(rgba(7, 11, 9, 0.85), rgba(7, 11, 9, 0.85)),
    url('bgsaalik.jpg') center/cover no-repeat fixed;
  background-attachment: fixed;
  overflow-x: hidden;
  padding-top: 80px;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 191, 99, 0.1) 0%, rgba(0, 191, 99, 0.05) 30%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 191, 99, 0.03) 0%, transparent 50%, rgba(0, 191, 99, 0.03) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Body text elements use Arial */
p,
.section-desc,
.footer-logo p,
ul li a,
.social-links a,
.footer-bottom,
.contact-value,
.social-platform,
.social-handle {
  font-family: Arial, sans-serif;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 60, 30, 0.9));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-green);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar .logo img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
}

.navbar .logo span {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(0, 191, 99, 0.6), 0 0 30px rgba(0, 191, 99, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
  border-radius: 2px;
}

.buttoncontact {
  background: var(--primary-green);
  color: var(--text-white);
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-green);
}

.buttoncontact:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-green);
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(0, 60, 30, 0.95));
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem 2rem 2rem;
  transition: right 0.3s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
  right: 0;
}

.close-mobile {
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 2rem;
  padding: 0.8rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 191, 99, 0.1);
  border: 1px solid rgba(0, 191, 99, 0.3);
}

.close-mobile:hover {
  background: var(--primary-green);
  color: var(--text-white);
  transform: scale(1.1);
}

.mobile-nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  margin: 0.5rem 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 191, 99, 0.2);
  background: rgba(0, 191, 99, 0.05);
  transition: all 0.3s ease;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: 0.5px;
  text-align: center;
}

.mobile-nav a:hover {
  color: var(--primary-green);
  background: rgba(0, 191, 99, 0.15);
  border-color: var(--primary-green);
  transform: translateX(5px);
}

.mobile-nav .buttoncontact {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Hero Section */

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero-accent {
  color: var(--primary-green);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-highlight {
  color: var(--primary-green);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--text-white);
  box-shadow: 0 4px 15px var(--shadow-green);
}

.btn-primary:hover {
  background: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-green);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--text-white);
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--shadow-dark);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Slider Section */
.slider-section {
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 60, 30, 0.4));
  position: relative;
  margin-bottom: 0;
}

.slider-section {
  padding: 0;
  background: transparent;
  position: relative;
  margin-top: 0;
  clear: both;
  backdrop-filter: blur(1px);
}


.slider-container {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}


/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.slider-nav:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 191, 99, 0.4);
}

.slider-nav.prev {
  left: 30px;
}

.slider-nav.next {
  right: 30px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 191, 99, 0.5);
}

.dot:hover {
  background: var(--text-white);
  border-color: var(--text-white);
  transform: scale(1.2);
}

/* Content Sections */
.content-section {
  padding: 6rem 3rem;
  position: relative;
  margin: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 191, 99, 0.2);
  box-shadow: 0 0 50px rgba(0, 191, 99, 0.1);
}

.content-section:nth-child(even) {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 191, 99, 0.3);
  box-shadow: 0 0 60px rgba(0, 191, 99, 0.15);
}

.content-section:first-of-type {
  margin-top: 0;
}

.section-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-wrapper.reverse {
  flex-direction: row-reverse;
}

.section-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.section-image img {
  max-width: 100%;
  height: auto;
  max-height: 900px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-dark);
  transition: transform 0.3s ease;
}

/* Specific styles for natarajan.png */
.section-image img[src="natrajan.png"] {
  flex: 1;
  object-fit: fill;
  max-width: 120%; /* Responsive width */
  height: auto;
  max-height: 900px; /* Responsive height */
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-dark);
  transition: transform 0.3s ease;
}

.section-image img[src="natrajan.png"]:hover {
  transform: scale(1.02); /* Hover effect */
}

.section-image:hover img {
  transform: scale(1.02);
}

.section-content {
  flex: 1;
  padding: 2.5rem 0;
  max-width: 600px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 1.5px;
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.section-heading .primary {
  color: var(--text-white);
}

.section-heading .accent {
  color: var(--primary-green);
  text-shadow: 0 0 20px rgba(0, 191, 99, 0.5), 0 0 40px rgba(0, 191, 99, 0.3);
}

.section-desc {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  text-align: justify;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-indent: 1.5rem;
  letter-spacing: 0.3px;
}

.saalik-highlight {
  color: var(--primary-green);
  font-weight: 600;
  text-shadow: 0 0 15px rgba(0, 191, 99, 0.6), 0 0 30px rgba(0, 191, 99, 0.3);
}

.section-btn {
  display: inline-block;
  padding: 20px 45px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--text-white);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-green);
  border: 2px solid transparent;
}

.section-btn:hover {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-green);
}

/* Collaboration Footer */
.collaboration-footer {
  padding: 6rem 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 191, 99, 0.2);
  border-bottom: 1px solid rgba(0, 191, 99, 0.2);
  margin: 0;
  box-shadow: 0 0 50px rgba(0, 191, 99, 0.1);
}

.collaboration-footer h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--text-white);
  margin-bottom: 3rem;
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.collab-highlight {
  color: var(--primary-green);
}

.collab-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.logo-block:hover {
  transform: translateY(-5px);
}

.logo-block img {
  height: 80px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.logo-block p {
  color: var(--text-gray);
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
}

/* SAALIK Group */
.saalik-group-container {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 191, 99, 0.15);
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 191, 99, 0.08);
  margin: 0;
}

.saalik-group-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.saalik-group-title {
  font-size: 1.8rem;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  margin-right: 2rem;
  letter-spacing: 1px;
}

.green {
  color: var(--primary-green);
}

.white {
  color: var(--text-white);
}

.logo-item {
  display: flex;
  align-items: center;
}

.logo-item img {
  height: 100px;
  margin: 0 1rem;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

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

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  border-top: 1px solid var(--border-green);
  margin: 0;
  box-shadow: 0 -10px 50px rgba(0, 191, 99, 0.1);
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  color: var(--primary-green);
  border-bottom: 2px solid var(--primary-green);
  display: inline-block;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-logo p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 300px;
}

ul {
  list-style: none;
}

ul li {
  margin-bottom: 12px;
}

ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

ul li a:hover {
  color: var(--primary-green);
  transform: translateX(5px);
}

.contact-modal .modal-container .modal-content {
  scrollbar-color: var(--dark-green) black;
}

.social-links a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 5px;
}

.social-links a:hover {
  color: var(--primary-green);
  background: rgba(0, 191, 99, 0.1);
  padding-left: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 2rem 15px;
  border-top: 1px solid var(--border-green);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  margin: 0;
  grid-column: 1 / -1;
  box-shadow: 0 -5px 25px rgba(0, 191, 99, 0.05);
}

.footer-bottom a {
  color: var(--primary-green);
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--dark-green);
}

/* Contact Modal Styles */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2147483647;
}

.modal-content {
  background: linear-gradient(135deg, rgba(7, 11, 9, 0.95), rgba(0, 30, 15, 0.95));
  backdrop-filter: blur(20px);
  border: 2px solid var(--primary-green);
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  margin: auto;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(0, 191, 99, 0.5),
    inset 0 0 40px rgba(0, 191, 99, 0.1);
  animation: modalSlideIn 0.4s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid rgba(0, 191, 99, 0.2);
}

.modal-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 0;
  text-shadow: 0 0 20px rgba(0, 191, 99, 0.6);
  letter-spacing: 1px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 191, 99, 0.1);
  color: var(--primary-green);
  transform: scale(1.1);
}

.modal-body {
  padding: 2rem;
}

.contact-section {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(0, 191, 99, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 191, 99, 0.2);
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-green), var(--dark-green));
}

.contact-item:hover {
  background: rgba(0, 191, 99, 0.1);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 191, 99, 0.2);
}

.contact-label {
  font-size: 0.8rem;
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'League Spartan', sans-serif;
}

.contact-value {
  font-size: 1.3rem;
  color: var(--text-white);
  font-weight: 600;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: 0.5px;
}

.social-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 191, 99, 0.2);
}

.social-section h3 {
  font-family: 'League Spartan', sans-serif;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.social-links {
  display: grid;
  gap: 1rem;
}

.social-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: rgba(0, 191, 99, 0.05);
  border: 1px solid rgba(0, 191, 99, 0.2);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary-green);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  background: rgba(0, 191, 99, 0.1);
  border-color: var(--primary-green);
  transform: translateX(5px);
  box-shadow: 0 3px 15px rgba(0, 191, 99, 0.2);
}

.social-platform {
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.social-handle {
  font-family: 'League Spartan', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary-green);
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .section-wrapper {
    gap: 3rem;
    max-width: 1200px;
  }

  .content-section {
    padding: 4rem 1.5rem;
  }

  .collab-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media screen and (max-width: 1024px) {
  .section-wrapper {
    gap: 2.5rem;
    padding: 0 1rem;
  }

  .content-section {
    padding: 3.5rem 1.5rem;
  }

  .slider-wrapper {
    height: 55vh;
  }

  .collab-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .saalik-group-row {
    gap: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 70px;
    overflow-x: hidden;
  }

  .navbar {
    padding: 1rem 1.5rem;
    backdrop-filter: blur(15px);
    min-height: 70px;
    align-items: center;
  }

  .navbar .logo {
    gap: 0.5rem;
  }

  .navbar .logo span {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }

  .navbar .logo img {
    height: 32px;
    width: 32px;
  }

  .nav-links {
    display: none;
  }

  .menu-icon {
    display: flex;
    z-index: 1001;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 191, 99, 0.1);
    border: 1px solid rgba(0, 191, 99, 0.2);
  }

  .menu-icon span {
    width: 24px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    min-height: 80vh;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .slider-wrapper {
    height: 45vh;
    min-height: 280px;
  }

  .slider-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .slider-nav.prev {
    left: 12px;
  }

  .slider-nav.next {
    right: 12px;
  }

  .slider-dots {
    bottom: 20px;
    gap: 8px;
  }

  .dot {
    width: 6px;
    height: 6px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
  }

  .content-section {
    padding: 2.5rem 1rem;
    margin: 0;
  }

  .section-wrapper {
    flex-direction: column;
    gap: 2rem;
    padding: 0 0.5rem;
    max-width: 100%;
  }

  .section-content {
    max-width: 100%;
    padding: 1rem 0;
  }

  .section-wrapper.reverse {
    flex-direction: column;
  }

  .section-image {
    order: -1;
    margin-bottom: 1rem;
  }

  .section-image img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
  }

  .section-heading {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: 1px;
  }

  .section-desc {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-indent: 1rem;
    letter-spacing: 0.2px;
  }

  .section-btn {
    display: block;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding: 18px 40px;
    font-size: 1.2rem;
  }

  .collaboration-footer {
    padding: 4rem 1rem;
    margin-top: 2rem;
  }

  .collaboration-footer h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
  }

  .collab-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
  }

  .logo-block {
    padding: 1.5rem;
  }

  .logo-block img {
    height: 60px;
    margin-bottom: 0.8rem;
  }

  .logo-block p {
    font-size: 0.8rem;
  }

  .saalik-group-container {
    padding: 3rem 1rem;
  }

  .saalik-group-row {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .saalik-group-title {
    font-size: 1.5rem;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .logo-item img {
    height: 80px;
    margin: 0.5rem;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  /* Mobile modal adjustments */
  .modal-container {
    padding: 15px;
  }

  .modal-content {
    max-width: none;
    width: 100%;
    max-height: 90vh;
    border-radius: 15px;
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .contact-item {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  .contact-value {
    font-size: 1.1rem;
  }

  .social-link {
    padding: 1rem;
  }

  .social-platform {
    font-size: 1rem;
  }

  .social-handle {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding-top: 65px;
  }

  .navbar {
    padding: 0.8rem 1rem;
    min-height: 65px;
  }

  .navbar .logo span {
    font-size: 1.2rem;
  }

  .navbar .logo img {
    height: 28px;
    width: 28px;
  }

  .menu-icon {
    padding: 6px;
  }

  .menu-icon span {
    width: 20px;
    height: 2.5px;
  }

  .hero-section {
    padding: 1.5rem 1rem;
    min-height: 70vh;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .slider-wrapper {
    height: 35vh;
    min-height: 220px;
  }

  .slider-nav {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .slider-nav.prev {
    left: 8px;
  }

  .slider-nav.next {
    right: 8px;
  }

  .slider-dots {
    bottom: 12px;
    gap: 6px;
  }

  .dot {
    width: 4px;
    height: 4px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.3);
  }

  .content-section {
    padding: 2.5rem 0.8rem;
  }

  .section-wrapper {
    gap: 2rem;
    padding: 0 0.3rem;
  }

  .section-image img {
    max-height: 250px;
    border-radius: 12px;
  }

  .section-heading {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 1.5rem;
    letter-spacing: 0.8px;
  }

  .section-desc {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-indent: 0.8rem;
    letter-spacing: 0.1px;
  }

  .section-btn {
    padding: 16px 35px;
    font-size: 1.1rem;
  }

  .collaboration-footer {
    padding: 3rem 0.8rem;
  }

  .collaboration-footer h1 {
    font-size: clamp(1.6rem, 6vw, 2.8rem);
    margin-bottom: 2rem;
    letter-spacing: 0.8px;
  }

  .collab-logos {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 300px;
  }

  .logo-block {
    padding: 1.2rem;
  }

  .logo-block img {
    height: 50px;
    margin-bottom: 0.6rem;
  }

  .logo-block p {
    font-size: 0.75rem;
  }

  .saalik-group-container {
    padding: 2.5rem 0.8rem;
  }

  .saalik-group-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .saalik-group-title {
    font-size: 1.2rem;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .logo-item img {
    height: 70px;
    margin: 0.3rem;
  }

  footer {
    padding: 1.5rem 0.8rem;
    gap: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .footer-logo img {
    width: 80px;
  }

  .footer-logo p {
    font-size: 1rem;
  }

  /* Extra small screen modal adjustments */
  .modal-container {
    padding: 10px;
  }

  .modal-content {
    max-height: 95vh;
    border-radius: 12px;
  }

  .modal-header {
    padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 1.2rem;
  }

  .contact-item {
    padding: 1rem;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .contact-value {
    font-size: 1.1rem;
  }

  .social-link {
    padding: 0.8rem;
  }

  .social-platform {
    font-size: 0.95rem;
  }

  .social-handle {
    font-size: 0.8rem;
  }
}

/* Touch and Mobile Improvements */
@media (hover: none) and (pointer: coarse) {
  .slider-nav:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(0, 0, 0, 0.4);
  }

  .section-btn:hover {
    transform: none;
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .logo-item img:hover {
    transform: none;
  }

  .logo-block:hover {
    transform: none;
  }
}

/* Better touch targets for mobile */
@media screen and (max-width: 768px) {
  .slider-nav {
    min-width: 36px;
    min-height: 36px;
  }

  .dot {
    min-width: 12px;
    min-height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
  }

  .section-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .buttoncontact {
    min-height: 44px;
  }
}

/* Touch device specific styles */
.touch-device .slider-nav {
  -webkit-tap-highlight-color: transparent;
}

.touch-device .dot {
  -webkit-tap-highlight-color: transparent;
}

.touch-device .section-btn {
  -webkit-tap-highlight-color: transparent;
}

.touch-device .buttoncontact {
  -webkit-tap-highlight-color: transparent;
}

.touch-device .mobile-nav a {
  -webkit-tap-highlight-color: transparent;
}

/* Animation and Transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(0);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.content-section {
  animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Performance Optimizations */

/* Preload critical resources */

.section-image img {
  will-change: transform;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #00ff00;
    --text-light: #ffffff;
    --text-gray: #ffffff;
  }
}

/* Force dark theme regardless of system preference */
@media (prefers-color-scheme: light) {
  :root {
    --bg-dark: #070b09;
  }
  
  body {
    background:
      linear-gradient(rgba(7, 11, 9, 0.85), rgba(7, 11, 9, 0.85)),
      url('bgsaalik.jpg') center/cover no-repeat fixed;
  }
}

/* Dark mode support - maintain dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-dark: #070b09;
  }
}

/* Print styles */
@media print {

  .navbar,
  .mobile-nav,
  .section-btn,
  .overlay {
    display: none !important;
  }

  body {
    padding-top: 0;
    background: white !important;
    color: black !important;
  }

  .content-section {
    break-inside: avoid;
  }

  .section-heading {
    color: black !important;
  }

  .section-desc {
    color: black !important;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for better keyboard navigation */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.section-btn:focus-visible,
.buttoncontact:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Loading state */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Error state */
.error {
  border: 2px solid #ff4444;
}

/* Success state */
.success {
  border: 2px solid var(--primary-green);
}