/* ========================================
   MODERN KAYWEB REDESIGN
   ======================================== */

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #333333;
  --accent-color: #2E7D32;
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-color: #e0e0e0;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins-Regular', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #f8f8f8;
}

/* ========================================
   MAIN CONTAINER LAYOUT
   ======================================== */

.main-container {
  display: grid;
  grid-template-columns: 13fr 7fr;
  min-height: 100vh;
  gap: 0;
  background: #ffffff;
}

.content-section {
  background: #ffffff;
  overflow-y: auto;
  padding: 0;
  grid-column: 1;
}

.image-section {
  background: linear-gradient(135deg, #2E7D32 0%, #1b5e20 100%);
  position: sticky;
  top: 0;
  height: 100vh;
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar {
  padding: 1rem 2rem;
}

.logo {
  max-width: 150px;
  height: auto;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  margin: 0 1rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  padding: 4rem 3rem;
  text-align: left;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 90%;
  line-height: 1.8;
}

/* ========================================
   SECTIONS
   ======================================== */

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

.section-header h2 {
  font-size: 2rem;
  color: var(--text-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section-header i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

/* Transformation Section */
.transformation-section {
  padding: 3rem;
  background: #f0f7f0;
  border-left: 5px solid var(--accent-color);
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.section-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.transformation-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.benefit-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ========================================
   SERVICES GRID
   ======================================== */

.services-section {
  padding: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Home page services grid - simplified cards */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card-home {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.service-card-home:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
  transform: translateY(-4px);
}

.service-card-home .service-icon {
  width: 80px;
  height: 80px;
  background: #f0f7f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 2px solid var(--accent-color);
}

.service-card-home .service-icon img {
  max-width: 50px;
  height: auto;
}

.service-card-home h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 600;
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.services-cta p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: #f0f7f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 2px solid var(--accent-color);
}

.service-icon img {
  max-width: 45px;
  height: auto;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card p {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.4rem 0;
  color: #555;
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-section {
  padding: 3rem;
  background: #f8f8f8;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  background: white;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.partner-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.partner-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: 3rem;
  background: linear-gradient(135deg, #1b5e20 0%, #2E7D32 100%);
  color: white;
  text-align: center;
  border-radius: 8px;
  margin: 2rem 3rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

/* ========================================
   BUTTONS
   ======================================== */

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--accent-color);
}

.cta-button:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  text-decoration: none;
  color: white;
}

.cta-button-dark {
  background: white;
  color: var(--accent-color);
  border-color: white;
}

.cta-button-dark:hover {
  background: #f0f7f0;
  border-color: #f0f7f0;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  padding: 3rem;
  background: var(--primary-color);
  color: white;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer p {
  margin: 0.5rem 0;
  opacity: 0.8;
}

/* ========================================
   ABOUT PAGE SECTIONS
   ======================================== */

.vision-mission-section {
  padding: 3rem;
  background: linear-gradient(135deg, #f0f7f0 0%, #ffffff 100%);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.vision-card,
.mission-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #f0f7f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--accent-color);
}

.vision-card h3,
.mission-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.vision-card p,
.mission-card p {
  color: #555;
  line-height: 1.8;
}

/* Company Info Section */
.company-info-section {
  padding: 3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
}

.info-card h3 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.info-card p {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Core Values Section */
.values-section {
  padding: 3rem;
  background: #f8f8f8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.value-item:hover {
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
  transform: translateY(-4px);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--accent-color);
}

.value-item h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.value-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Social Section */
.social-section {
  padding: 3rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2E7D32 0%, #1b5e20 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  transform: scale(1.1) rotateY(10deg);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
  color: white;
}

/* ========================================
   IMAGE SECTION
   ======================================== */

.image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.image-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slider-item {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slider-item.active {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid white;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: white;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }

  .image-section {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .logo {
    max-width: 120px;
  }

  .hero-section {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .transformation-section,
  .services-section,
  .partners-section,
  .cta-section,
  .vision-mission-section,
  .company-info-section,
  .values-section,
  .social-section {
    padding: 2rem 1.5rem;
  }

  .services-grid,
  .vision-mission-grid,
  .info-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-section {
    margin: 1.5rem;
  }

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

@media (max-width: 480px) {
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

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

  .cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
}
