/* ============================================
   AGROEX CONSULTANCY - Professional Agriculture Website
   ============================================ */

/* Root Variables */
:root {
  --primary-green: #16730d;
  --secondary-green: #4caf50;
  --light-green: #81c784;
  --dark-green: #1b5e20;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --text-gray: #666666;
  --border-gray: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 76px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navbar Styles */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: var(--white) !important;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.75rem;
  color: var(--primary-green) !important;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--dark-gray) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-green) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-left: 1px solid var(--border-gray);
  margin-left: 1rem;
}

.lang-dropdown-btn {
  color: var(--text-gray) !important;
  font-weight: 500;
  padding: 0.25rem 0.5rem !important;
  border: none !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.lang-dropdown-btn:hover {
  color: var(--primary-green) !important;
}

.lang-dropdown-btn:focus {
  box-shadow: none !important;
}

.lang-current {
  font-weight: 600;
}

.dropdown-menu {
  border: 1px solid var(--border-gray);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 150px;
}

.lang-dropdown-item {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  color: var(--text-gray);
}

.lang-dropdown-item:hover {
  background-color: var(--light-gray);
  color: var(--primary-green);
}

.lang-dropdown-item.active {
  background-color: rgba(22, 115, 13, 0.1);
  color: var(--primary-green);
  font-weight: 600;
}

.lang-code {
  font-weight: 600;
  min-width: 30px;
}

.lang-name {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.lang-dropdown-item.active .lang-name {
  color: var(--primary-green);
}

/* Hero Section - Açık Fıstık Yeşili Arka Plan */
.hero-section {
  position: relative;
  min-height: calc(100vh - 200px);
  overflow: hidden;
  margin: 0;
  padding: 0;
  padding-bottom: 0;
  background: #e1f2bd;
  z-index: 1;
}

.hero-section .container-fluid {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  margin: 0;
  min-height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
  height: auto;
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 80px 60px;
  padding-left: 100px;
  padding-bottom: 20px !important;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-content-column {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: visible;
}

.hero-image-wrapper {
  max-width: 330px;
  margin: 0 auto;
  border: 20px solid #16730d;
  box-sizing: border-box;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-content {
  max-width: 600px;
  width: 100%;
  padding: 100px 80px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-height: auto;
}

/* 1920px ve üzeri için hero-content max-width'i kaldır */
@media (min-width: 1920px) {
  .hero-content {
    max-width: none !important;
    width: 100% !important;
  }
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  max-width: 100%;
}

/* Desktop (≥1200px) - Başlık max-width ile sınırlandırılsın (2-3 satır) */
@media (min-width: 1200px) {
  .hero-title {
    max-width: 550px;
    width: 100%;
  }

  .hero-content {
    padding-left: 120px;
    padding-right: 80px;
  }
}

/* Tablet & Mobil (≤992px) - Başlık tam genişlik, flex-direction: column */
@media (max-width: 992px) {
  .hero-title {
    max-width: 100%;
    width: 100%;
  }

  .hero-content {
    flex-direction: column !important;
  }

  .hero-subtitle {
    max-width: 100%;
    width: 100%;
  }

  .hero-buttons {
    position: relative !important;
    margin-top: 1.5rem;
    margin-bottom: 0;
    width: 100%;
  }
}

.hero-title-letters {
  display: inline-block;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  white-space: normal;
  hyphens: none;
}

.hero-title-letters > span {
  white-space: normal;
  word-spacing: normal;
}

.hero-title-letters span {
  display: inline-block;
  opacity: 0;
  transform: scale(0.98);
  animation: fadeInSmooth 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  white-space: normal;
  word-break: break-word;
}

/* Mobile: Disable animation and allow natural text wrapping */
@media (max-width: 1024px) {
  .hero-title-letters span {
    opacity: 1;
    transform: none;
    animation: none;
    display: inline;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .hero-title-letters {
    display: block;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.hero-buttons {
  display: flex !important;
  gap: 0;
  flex-direction: column;
  align-items: flex-start;
  position: relative !important;
  z-index: 10;
  margin-top: 1.5rem;
  margin-bottom: 0;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100%;
}

.hero-button {
  display: inline-block !important;
  padding: 0.9rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #000000;
  background-color: #e1f2bd;
  color: #000000;
  transition: all 0.3s ease;
  border-radius: 0;
  margin-bottom: 0;
  white-space: nowrap;
  max-width: calc(100% - 20px);
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
}

.btn-primary-custom {
  display: none;
}

.btn-outline-custom {
  background-color: #e1f2bd;
  color: #000000;
  border: 1px solid #000000;
}

.btn-outline-custom:hover {
  background-color: #d4e6d5;
  color: #000000;
  border-color: #000000;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: var(--white);
  margin-top: 50px;
  border-top: none;
  border: none;
  position: relative;
  z-index: 1;
}

.feature-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: 15px;
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-gray);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(22, 115, 13, 0.15);
  border-color: var(--primary-green);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.feature-box h4 {
  color: var(--dark-gray);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-box p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.95rem;
}

/* Section Styles */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 4rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-weight: 400;
}

.section-title-modern {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.section-subtitle-modern {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-gray);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.service-card h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Modern Service Cards */
.services-modern {
  background: var(--light-gray);
}

.service-card-modern {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(22, 115, 13, 0.08);
  position: relative;
}

.service-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(22, 115, 13, 0.02) 0%,
    rgba(76, 175, 80, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.service-card-modern:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(22, 115, 13, 0.25);
  border-color: rgba(22, 115, 13, 0.2);
}

.service-card-modern:hover::before {
  opacity: 1;
}

.service-image-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0.6;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card-modern:hover .service-image-overlay {
  opacity: 0.3;
}

.service-card-modern:hover .service-image {
  transform: scale(1.15) rotate(2deg);
}

.service-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-icon-modern {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-modern:hover .service-icon-modern {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  box-shadow: 0 15px 40px rgba(22, 115, 13, 0.3);
  color: var(--white);
}

.service-card-modern:hover .service-icon-modern i {
  color: var(--white) !important;
}

.service-card-modern:hover .service-icon-wrapper {
  transform: translate(-50%, -50%) scale(1.05);
}

.service-content {
  padding: 1.2rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: var(--white);
}

.service-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(22, 115, 13, 0.08);
  line-height: 1;
  margin-bottom: -1rem;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  transition: all 0.4s ease;
  font-family: "Arial", sans-serif;
}

.service-card-modern:hover .service-number {
  color: rgba(22, 115, 13, 0.12);
  transform: scale(1.1);
}

.service-card-modern h4 {
  color: var(--dark-gray);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  margin-top: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card-modern:hover h4 {
  color: var(--primary-green);
}

.service-card-modern p {
  color: var(--text-gray);
  margin-bottom: 0;
  flex: 1;
  line-height: 1.5;
  font-size: 0.9rem;
}

.service-link {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(22, 115, 13, 0.1);
}

.service-link span {
  transition: transform 0.3s ease;
}

.service-link i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.service-card-modern:hover .service-link {
  color: var(--dark-green);
  gap: 1.2rem;
}

.service-card-modern:hover .service-link span {
  transform: translateX(2px);
}

.service-card-modern:hover .service-link i {
  transform: translateX(5px);
}

/* Trust Section */
.trust-section {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.trust-item {
  text-align: center;
  padding: 2rem;
}

.trust-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.trust-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

/* Stats Section - Modern */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  color: var(--white);
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--white) !important;
  font-weight: 500;
}

.stats-section .stat-label {
  color: var(--white) !important;
}

/* Story stats labels should match page text style */
.story-stats .stat-label,
.story-stat-item .stat-label {
  color: var(--text-gray) !important;
  font-weight: 400 !important;
  font-family: "Roboto", sans-serif !important;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--white);
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background-color: var(--primary-green);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.cta-button:hover {
  background-color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(22, 115, 13, 0.3);
  color: var(--white);
}

/* About Page - Modern Design */
.about-hero-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: transparent;
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

.about-hero-bg {
  position: absolute;
  top: 60px;
  left: 70px;
  width: calc(100% - 140px);
  height: calc(100% - 120px);
  z-index: 0;
  overflow: hidden;
  background-image: url("../images/bizkimiz.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  filter: contrast(1.05) brightness(1.02);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  will-change: transform;
  transform: translateZ(0);
}

.about-hero-modern .container {
  position: relative;
  z-index: 1;
}

.about-hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.about-hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
}

/* Story Section */
.about-story-section {
  position: relative;
  padding: 100px 0;
  background: var(--white);
  z-index: 10;
  margin-top: 100vh;
}

.story-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.story-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--primary-green);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(22, 115, 13, 0.3);
}

.story-badge span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.story-badge small {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.story-content {
  padding-left: 2rem;
}

.section-label {
  display: inline-block;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.story-text {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-gray);
  flex-wrap: wrap;
}

.story-stat-item {
  text-align: center;
}

.story-stat-item .stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.story-stat-item .stat-label {
  font-size: 0.95rem !important;
  color: var(--text-gray) !important;
  font-weight: 400 !important;
  margin-top: 0.5rem !important;
  display: block !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: "Roboto", sans-serif !important;
}

/* Mission & Vision Section */
.mission-vision-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.mission-vision-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(22, 115, 13, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.mission-vision-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(76, 175, 80, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

.mission-vision-card-modern {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 115, 13, 0.1);
}

.card-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.mission-vision-card-modern:hover .card-decoration {
  transform: scaleX(1);
}

.mission-vision-card-modern:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(22, 115, 13, 0.2);
  border-color: var(--primary-green);
}

.card-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(22, 115, 13, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
  transition: all 0.4s ease;
}

.icon-bg-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.6s ease;
  pointer-events: none;
}

.mission-vision-card-modern:hover .icon-bg-animation {
  transform: translate(-50%, -50%) scale(1.5);
  opacity: 0;
}

.icon-inner {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.icon-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.icon-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s ease;
}

.icon-particles span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg) translateX(60px);
}

.icon-particles span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(120deg) translateX(60px);
}

.icon-particles span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(240deg) translateX(60px);
}

.mission-vision-card-modern:hover .icon-particles span {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--rotation, 0deg))
    translateX(60px) scale(1.2);
}

.mission-vision-card-modern:hover .card-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(22, 115, 13, 0.35),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.mission-vision-card-modern:hover .icon-inner {
  transform: scale(1.15) rotate(5deg);
}

.card-icon-wrapper::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  filter: blur(10px);
  transition: opacity 0.4s ease;
}

.mission-vision-card-modern:hover .card-icon-wrapper::before {
  opacity: 0.5;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
  text-align: center;
}

.card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  border-radius: 2px;
  transition: width 0.4s ease;
}

.mission-vision-card-modern:hover .card-title::after {
  width: 70px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  padding: 0.6rem 0;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.card-list li:hover {
  color: var(--primary-green);
  transform: translateX(10px);
}

.check-icon-wrapper {
  width: 24px;
  height: 24px;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(22, 115, 13, 0.3);
  transition: all 0.3s ease;
}

.card-list li:hover .check-icon-wrapper {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 6px 20px rgba(22, 115, 13, 0.4);
}

.card-list li span:last-child {
  flex: 1;
}

/* Values Section */
.values-section {
  padding: 100px 0;
  background: var(--white);
}

.values-section-modern {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.values-section-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%2316730d" opacity="0.1"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.values-section-modern .container {
  position: relative;
  z-index: 1;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.value-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  border: 2px solid transparent;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(22, 115, 13, 0.15);
  border-color: var(--primary-green);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(22, 115, 13, 0.1) 0%,
    rgba(76, 175, 80, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-green);
  font-size: 2rem;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  color: var(--white);
  transform: scale(1.1);
}

.value-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* Modern Value Cards with Images */
.value-card-modern {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.value-card-modern:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(22, 115, 13, 0.25);
}

.value-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.value-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.value-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(22, 115, 13, 0.7) 100%
  );
  opacity: 0;
  transition: var(--transition);
}

.value-card-modern:hover .value-image {
  transform: scale(1.15);
}

.value-card-modern:hover .value-overlay {
  opacity: 1;
}

.value-content-modern {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.value-icon-modern {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -35px auto 1.5rem;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(22, 115, 13, 0.3);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.value-card-modern:hover .value-icon-modern {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(22, 115, 13, 0.4);
}

.value-content-modern h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  margin-top: 0;
}

.value-content-modern p {
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
}

/* Why Choose Section */
.why-choose-section {
  padding: 100px 0;
  background: var(--light-gray);
  position: relative;
  z-index: 10;
}

.why-choose-list {
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  transition: var(--transition);
}

.why-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-content h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.why-content p {
  color: var(--text-gray);
  margin: 0;
  line-height: 1.6;
}

.why-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin-top: 150px;
}

.why-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* References Page - Modern Design */
.references-hero-modern {
  position: relative;
  min-height: 70vh;
  background: linear-gradient(135deg, #1b5e20 0%, #16730d 50%, #4caf50 100%);
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.references-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?w=1920&q=80")
    center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
  filter: blur(2px);
}

.references-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  z-index: 1;
  animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, -20px) scale(1.1);
  }
}

.references-hero-modern .container {
  position: relative;
  z-index: 2;
}

.references-hero-content {
  animation: fadeInUp 1s ease;
}

.references-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  animation: fadeInDown 1s ease 0.2s both;
}

.references-hero-badge i {
  font-size: 1.2rem;
}

.references-hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  letter-spacing: -1px;
  overflow: hidden;
}

.title-letters {
  display: inline-block;
}

.title-letters span {
  display: inline-block;
  opacity: 0;
  transform: translateX(20px) scale(0.9);
  animation: slideInFromRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeInSmooth {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateX(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.references-hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.4s both;
  font-weight: 300;
}

.references-hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  animation: fadeInUp 1s ease 0.5s both;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item .stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.references-hero-shape {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  clip-path: polygon(0 50%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.references-content-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.reference-card-modern {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(22, 115, 13, 0.1);
  display: flex;
  flex-direction: column;
}

.reference-card-modern:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(22, 115, 13, 0.2);
  border-color: var(--primary-green);
}

.reference-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.reference-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.reference-card-modern:hover .reference-image {
  transform: scale(1.15);
}

.reference-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(22, 115, 13, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.reference-card-modern:hover .reference-overlay {
  opacity: 1;
}

.reference-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.reference-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin: -35px auto 1.5rem;
  box-shadow: 0 10px 30px rgba(22, 115, 13, 0.3);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.reference-card-modern:hover .reference-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(22, 115, 13, 0.4);
}

.reference-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
  text-align: center;
}

.reference-category {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-align: center;
}

.reference-description {
  color: var(--text-gray);
  line-height: 1.8;
  text-align: center;
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
}

/* Legacy styles for backward compatibility */
.reference-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-gray);
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.reference-logo {
  width: 150px;
  height: 100px;
  background: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Gallery Page - Modern Hero */
.gallery-hero-modern {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(135deg, #1b5e20 0%, #16730d 50%, #4caf50 100%);
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gallery-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?w=1920&q=80")
    center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
  filter: blur(2px);
}

.gallery-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  z-index: 1;
  animation: patternMove 20s ease-in-out infinite;
}

.gallery-hero-modern .container {
  position: relative;
  z-index: 2;
}

.gallery-hero-content {
  animation: fadeInUp 1s ease;
}

.gallery-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  animation: fadeInDown 1s ease 0.2s both;
}

.gallery-hero-badge i {
  font-size: 1.2rem;
}

.gallery-hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  letter-spacing: -1px;
  overflow: hidden;
}

.gallery-title-letters {
  display: inline-block;
}

.gallery-title-letters span {
  display: inline-block;
  opacity: 0;
  transform: translateX(20px) scale(0.9);
  animation: slideInFromRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gallery-hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.4s both;
  font-weight: 300;
}

.gallery-hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  animation: fadeInUp 1s ease 0.5s both;
  flex-wrap: wrap;
}

.gallery-stat-item {
  text-align: center;
}

.gallery-stat-item .gallery-stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-stat-item .gallery-stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-hero-shape {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  clip-path: polygon(0 50%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

/* Gallery Page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(22, 115, 13, 0.8) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  color: var(--white);
  font-weight: 600;
}

.gallery-overlay-text h5 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
  backdrop-filter: blur(5px);
}

.gallery-filters {
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid #e0e0e0;
}

.gallery-filters .btn {
  border-radius: 25px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gallery-filters .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 115, 13, 0.2);
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
}

.contact-form {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-control {
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(22, 115, 13, 0.25);
}

.btn-primary {
  background-color: var(--primary-green);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-info-card {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: start;
  margin-bottom: 2rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-info-content h5 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  color: var(--text-color);
  margin: 0;
  white-space: pre-line;
  line-height: 1.8;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
.footer {
  position: relative;
  z-index: 100;
  background-color: var(--dark-gray) !important;
  margin-top: 0 !important;
}

.footer h5 {
  color: var(--white);
}

.footer a {
  transition: var(--transition);
}

.footer a:hover {
  color: var(--secondary-green) !important;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: var(--white) !important;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

/* Telegram Button */
.telegram-button {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #0088cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.telegram-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
  color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design - Tam 1920px Genişlik İçin Özel Düzenleme */
@media (min-width: 1900px) and (max-width: 1920px) {
  .hero-section {
    overflow: visible !important;
  }

  .hero-section .container-fluid {
    overflow: visible !important;
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .hero {
    grid-template-columns: 28% 72% !important;
    overflow: visible !important;
    gap: 0 !important;
    width: 100% !important;
  }

  .hero-content {
    padding: 50px 10px 50px 30px !important;
    max-width: none !important;
    width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: auto !important;
  }

  .hero-content-column {
    padding: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
  }

  .hero-title {
    max-width: 550px !important;
    width: 100% !important;
    padding-right: 10px !important;
    margin-right: 0 !important;
  }

  .hero-subtitle {
    max-width: 100% !important;
    width: 100% !important;
    padding-right: 10px !important;
    margin-right: 0 !important;
    margin-bottom: 1.5rem !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .hero-buttons {
    position: relative !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .hero-left {
    padding: 70px 15px !important;
    padding-left: 30px !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
  }
}

/* Responsive Design - Full HD ve Büyük Ekranlar (1367px - 1920px) */
@media (min-width: 1367px) and (max-width: 1920px) {
  .hero-section {
    overflow: visible;
  }

  .hero-section .container-fluid {
    overflow: visible;
    max-width: 100%;
  }

  .hero {
    grid-template-columns: 35% 65%;
    overflow: visible;
    gap: 0;
  }

  .hero-content {
    padding: 60px 20px 60px 40px;
    max-width: none;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
  }

  .hero-content-column {
    padding: 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    max-width: 550px;
    width: 100%;
    padding-right: 0;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    max-width: 100%;
    width: 100%;
    padding-right: 0;
    margin-right: 0;
  }

  .hero-left {
    padding: 80px 40px;
    padding-left: 60px;
    padding-bottom: 20px;
    overflow: visible;
  }

  .hero-image-wrapper {
    max-width: 380px;
    margin: 0 auto;
    border: 20px solid #16730d;
    box-sizing: border-box;
  }

  .hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .hero-buttons {
    position: relative !important;
    margin-top: 1.5rem;
    margin-bottom: 0;
    width: 100%;
  }
}

/* Responsive Design - 1K Ekranlar (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
  .hero-content {
    padding: 60px 50px 60px 80px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
  }

  .hero-content-column {
    padding: 0;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin-bottom: 1.25rem;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    max-width: 500px;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .hero-left {
    padding: 60px 50px;
    padding-left: 60px;
    padding-bottom: 0;
    overflow: visible;
  }

  .hero-image-wrapper {
    max-width: 330px;
    margin: 0 auto;
    border: 20px solid rgba(79, 99, 61, 0.85);
    box-sizing: border-box;
  }

  .hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .hero-buttons {
    position: relative !important;
    margin-top: 1.5rem;
    margin-bottom: 0;
    width: 100%;
  }
}

/* Tablet ve Küçük Desktop (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .hero-content {
    padding: 70px 40px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
  }

  .hero-content-column {
    padding: 0;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.4;
    letter-spacing: -0.2px;
    margin-bottom: 1.25rem;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    max-width: 100%;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .hero-left {
    padding: 60px 40px;
    padding-left: 50px;
    padding-bottom: 0;
    overflow: visible;
  }

  .hero-image-wrapper {
    max-width: 330px;
    margin: 0 auto;
    border: 20px solid #16730d;
    box-sizing: border-box;
  }

  .hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .hero-buttons {
    position: relative !important;
    margin-top: 1.5rem;
    margin-bottom: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  /* Hero Section - Mobil Optimizasyonu - Modern Tasarım */
  .hero-section {
    min-height: auto;
    padding: 0;
    background: #e1f2bd;
    position: relative;
    overflow: hidden;
    height: auto;
  }

  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(225, 242, 189, 0.95) 0%,
      rgba(225, 242, 189, 0.98) 100%
    );
    z-index: 0;
  }

  .hero-section .container-fluid {
    position: relative;
    z-index: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
    min-height: auto;
  }

  .hero-content-column {
    order: 1;
    padding: 60px 25px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 1;
  }

  .hero-content {
    padding: 0;
    max-width: 100%;
    text-align: center;
    width: 100%;
    min-height: auto;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    gap: 0;
  }

  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.3px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
    color: #000000;
    font-weight: 400;
    padding: 0 10px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    position: relative;
    z-index: 1;
  }

  .hero-buttons {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative !important;
    z-index: 1;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .hero-button {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    width: auto;
    max-width: 90%;
    border: 2px solid #000000;
    background-color: #e1f2bd;
    color: #000000;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .hero-button:hover {
    background-color: #000000;
    color: #e1f2bd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .hero-left {
    padding: 20px 20px 40px;
    order: 2;
    position: relative;
    width: 100%;
    background: transparent;
    z-index: 1;
    margin-top: 0;
    overflow: hidden;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-image-wrapper {
    max-width: 330px;
    margin: 0 auto;
    border: 20px solid #16730d;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* Features Section - 2x2 Grid */
  .features-section {
    padding: 50px 0;
    margin-top: 30px;
  }

  .features-section .container {
    padding: 0 15px;
  }

  .features-section .row {
    margin: 0;
    gap: 1rem;
  }

  .features-section .col-lg-3 {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    padding: 0;
  }

  .feature-box {
    padding: 1.5rem 1rem;
    margin-bottom: 0;
  }

  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .feature-box p {
    font-size: 0.85rem;
    margin: 0;
  }

  /* Section Styles */
  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding: 0 15px;
  }

  .section-title-modern {
    font-size: 1.75rem;
  }

  /* Services - 2 Sütun Grid - Temiz Düzen */
  .section#services .container,
  .section .container {
    padding: 0 15px;
  }

  .section#services .row,
  .section .row {
    margin: 0;
    gap: 0.75rem;
  }

  .section#services .col-lg-4,
  .services-modern .col-lg-4 {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
    padding: 0;
    margin-bottom: 0.75rem;
  }

  .service-card-modern {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .service-image-wrapper {
    height: 140px;
    flex-shrink: 0;
  }

  .service-icon-modern {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .service-content {
    padding: 1rem 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .service-number {
    font-size: 2.2rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .service-card-modern h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
  }

  .service-card-modern p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
  }

  /* Stats Section - 2x2 Grid */
  .stats-section {
    padding: 40px 0;
  }

  .stats-section .container {
    padding: 0 15px;
  }

  .stats-section .row {
    margin: 0;
    gap: 1rem;
  }

  .stats-section .col-lg-3 {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    padding: 0;
  }

  .stat-box {
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 0.25rem;
  }

  .stat-label {
    font-size: 0.8rem;
    color: var(--white) !important;
  }

  .stats-section .stat-label {
    color: var(--white) !important;
  }

  /* CTA Section */
  .cta-section {
    padding: 50px 0;
  }

  .cta-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .cta-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 15px;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* About Page - Mobil Optimizasyonu */
  .about-hero-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 60vh;
    height: 60vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .about-hero-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .about-hero-modern .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-hero-content {
    width: 100%;
    text-align: center;
  }

  .about-hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  }

  .about-hero-subtitle {
    font-size: 0.95rem;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .about-story-section {
    padding: 50px 0;
    margin-top: 60vh;
  }

  .story-content {
    padding-left: 0;
    margin-top: 1.5rem;
  }

  .section-heading {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .story-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .story-stats {
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .story-stat-item {
    flex: 0 0 calc(50% - 0.5rem);
    text-align: center;
  }

  .story-stat-item .stat-value {
    font-size: 2rem;
    display: block;
  }

  .story-stat-item .stat-label {
    font-size: 0.85rem !important;
    color: var(--text-gray) !important;
    font-weight: 400 !important;
    margin-top: 0.4rem !important;
    display: block !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-family: "Roboto", sans-serif !important;
  }

  /* Mission Vision - Stacked */
  .mission-vision-section {
    padding: 50px 0;
  }

  .mission-vision-card-modern {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .card-icon-wrapper {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .card-list li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  /* Values Section - 2x2 Grid */
  .values-section-modern {
    padding: 50px 0;
  }

  .values-section-modern .container {
    padding: 0 15px;
  }

  .values-section-modern .row {
    margin: 0;
    gap: 1rem;
  }

  .values-section-modern .col-lg-3 {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    padding: 0;
  }

  .value-card-modern {
    margin-bottom: 0;
  }

  .value-image-wrapper {
    height: 140px;
  }

  .value-icon-modern {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    margin: -27px auto 1rem;
  }

  .value-content-modern {
    padding: 1rem 0.75rem;
  }

  .value-content-modern h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .value-content-modern p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* Why Choose Section */
  .why-choose-section {
    padding: 50px 0;
  }

  .why-choose-list {
    margin-top: 1.5rem;
  }

  .why-item {
    flex-direction: row;
    padding: 1rem;
    margin-bottom: 1rem;
    gap: 1rem;
    text-align: left;
  }

  .why-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .why-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .why-content p {
    font-size: 0.85rem;
    margin: 0;
  }

  .why-image-wrapper {
    margin-top: 2rem;
  }

  /* Language Selector */
  .language-selector {
    border-left: none;
    border-top: 1px solid var(--border-gray);
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    justify-content: center;
  }

  .dropdown-menu {
    min-width: 140px;
  }

  /* Gallery */
  /* Gallery Grid - 2 Sütun Mobil */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .gallery-item {
    border-radius: 8px;
    aspect-ratio: 1/1;
  }

  .gallery-overlay {
    padding: 1rem;
  }

  .gallery-overlay-text {
    font-size: 0.85rem;
  }

  .gallery-hero-modern {
    min-height: 50vh;
    padding: 100px 0 60px;
  }

  .gallery-hero-title {
    font-size: 2rem;
  }

  .gallery-hero-subtitle {
    font-size: 0.95rem;
  }

  .gallery-hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .gallery-stat-item {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .gallery-stat-item .gallery-stat-number {
    font-size: 2rem;
  }

  .gallery-hero-badge {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
  }

  /* References */
  .references-hero-modern {
    min-height: 50vh;
    padding: 100px 0 60px;
  }

  .references-hero-title {
    font-size: 2rem;
  }

  .references-hero-subtitle {
    font-size: 0.95rem;
  }

  .references-hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-stat-item {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .hero-stat-item .stat-number {
    font-size: 2rem;
  }

  .references-hero-badge {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
  }

  .reference-card-modern {
    margin-bottom: 1.5rem;
  }

  .reference-image-wrapper {
    height: 180px;
  }

  .reference-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    margin: -27px auto 1rem;
  }

  .reference-content {
    padding: 1.5rem 1rem;
  }

  .reference-content h4 {
    font-size: 1.2rem;
  }

  .reference-description {
    font-size: 0.85rem;
  }

  /* WhatsApp Button */
  .whatsapp-button {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
  }

  /* Telegram Button */
  .telegram-button {
    width: 55px;
    height: 55px;
    bottom: 85px;
    right: 20px;
    font-size: 1.5rem;
  }

  /* Contact */
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  /* Hero Section - Küçük Ekranlar - Modern Tasarım */
  .hero-content-column {
    padding: 50px 20px 25px;
  }

  .hero-title {
    font-size: 1.65rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: -0.2px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    max-width: 100%;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
    padding: 0 5px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .hero-buttons {
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .hero-button {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    width: auto;
    max-width: 85%;
    position: relative;
    z-index: 1;
  }

  .hero-left {
    padding: 20px 15px 35px;
    position: relative;
    z-index: 1;
  }

  .hero-image-wrapper {
    max-width: 330px;
    margin: 0 auto;
    border: 20px solid rgba(79, 99, 61, 0.85);
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }

  .hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* Features - 2 Sütun (Küçük Ekranlar İçin de) */
  .features-section .col-lg-3 {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }

  .feature-box {
    padding: 1.25rem 0.75rem;
  }

  .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .feature-box h4 {
    font-size: 1rem;
  }

  .feature-box p {
    font-size: 0.8rem;
  }

  /* Section Styles */
  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }

  .section-title::after {
    width: 50px;
    height: 3px;
  }

  /* Services - 2 Sütun (Küçük Ekranlar İçin de) */
  .section#services .col-lg-4,
  .services-modern .col-lg-4 {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
  }

  .service-image-wrapper {
    height: 130px;
  }

  .service-icon-modern {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .service-content {
    padding: 0.9rem 0.75rem;
  }

  .service-number {
    font-size: 2rem;
    top: 0.6rem;
    right: 0.6rem;
  }

  .service-card-modern h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    min-height: 2.4rem;
  }

  .service-card-modern p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  /* Stats - 2x2 Grid (Küçük Ekranlar İçin Uygun) */
  .stats-section {
    padding: 35px 0;
  }

  .stat-box {
    padding: 0.75rem 0.25rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.75rem;
    color: var(--white) !important;
  }

  .stats-section .stat-label {
    color: var(--white) !important;
  }

  /* CTA */
  .cta-section {
    padding: 40px 0;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-text {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .cta-button {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }

  /* About Page */
  .about-hero-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50vh;
    height: 50vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .about-hero-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .about-hero-modern .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-hero-content {
    width: 100%;
    text-align: center;
  }

  .about-hero-title {
    font-size: 1.75rem;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  }

  .about-hero-subtitle {
    font-size: 0.85rem;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .about-story-section {
    padding: 40px 0;
    margin-top: 50vh;
  }

  .section-heading {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .story-text {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .story-stats {
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .story-stat-item {
    flex: 0 0 calc(50% - 0.375rem);
    text-align: center;
  }

  .story-stat-item .stat-value {
    font-size: 1.75rem;
    display: block;
  }

  .story-stat-item .stat-label {
    font-size: 0.8rem !important;
    color: var(--text-gray) !important;
    font-weight: 400 !important;
    margin-top: 0.35rem !important;
    display: block !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-family: "Roboto", sans-serif !important;
  }

  /* Mission Vision */
  .mission-vision-section {
    padding: 40px 0;
  }

  .mission-vision-card-modern {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .card-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .card-list li {
    font-size: 0.8rem;
    padding: 0.35rem 0;
  }

  /* Values - Tek Sütun */
  .values-section-modern {
    padding: 40px 0;
  }

  .values-section-modern .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .value-image-wrapper {
    height: 200px;
  }

  .value-icon-modern {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin: -30px auto 1rem;
  }

  .value-content-modern {
    padding: 1.25rem 1rem;
  }

  .value-content-modern h4 {
    font-size: 1.2rem;
  }

  .value-content-modern p {
    font-size: 0.85rem;
  }

  /* Why Choose */
  .why-choose-section {
    padding: 40px 0;
  }

  .why-item {
    padding: 0.9rem;
    margin-bottom: 0.9rem;
    gap: 0.9rem;
  }

  .why-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .why-content h5 {
    font-size: 1rem;
  }

  .why-content p {
    font-size: 0.8rem;
  }

  /* References */
  .references-hero-modern {
    min-height: 45vh;
    padding: 80px 0 50px;
  }

  .references-hero-title {
    font-size: 1.75rem;
  }

  .references-hero-subtitle {
    font-size: 0.85rem;
  }

  .references-hero-stats {
    gap: 1rem;
  }

  .hero-stat-item {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .hero-stat-item .stat-number {
    font-size: 1.75rem;
  }

  .references-hero-badge {
    padding: 0.45rem 1.25rem;
    font-size: 0.8rem;
  }

  .reference-image-wrapper {
    height: 200px;
  }

  .reference-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin: -30px auto 1rem;
  }

  .reference-content {
    padding: 1.25rem 1rem;
  }

  .reference-content h4 {
    font-size: 1.1rem;
  }

  .reference-description {
    font-size: 0.8rem;
  }

  /* Gallery */
  /* Gallery Grid - 2 Sütun (Küçük Ekranlar İçin de) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .gallery-item {
    border-radius: 6px;
    aspect-ratio: 1/1;
  }

  .gallery-overlay {
    padding: 0.75rem;
  }

  .gallery-overlay-text {
    font-size: 0.75rem;
  }

  .gallery-hero-modern {
    min-height: 45vh;
    padding: 80px 0 50px;
  }

  .gallery-hero-title {
    font-size: 1.75rem;
  }

  .gallery-hero-subtitle {
    font-size: 0.85rem;
  }

  .gallery-hero-stats {
    gap: 1rem;
  }

  .gallery-stat-item {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .gallery-stat-item .gallery-stat-number {
    font-size: 1.75rem;
  }

  .gallery-hero-badge {
    padding: 0.45rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* Utility Classes */
.text-success {
  color: var(--primary-green) !important;
}

.bg-light-green {
  background-color: var(--light-green) !important;
}

.shadow-custom {
  box-shadow: var(--shadow);
}

.shadow-custom-lg {
  box-shadow: var(--shadow-lg);
}
