/* Koode Project Page Specific Styles */

/* Hero Section */
.koode-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 54px;
    font-weight: 700;
    line-height: 1.215;
    color: #ffffff;
    z-index: 2;
    text-align: center;
}

/* History Section */
.koode-history {
    background-color: #FFFFFF;
    padding: 60px 0 0;
}

.history-content {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 30px;

}

.history-text {
    flex: 1;
    max-width: 50%;
}

.history-description {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.215;
    color: #000000;
}

.history-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.history-img-1,
.history-img-2,
.history-img-3 {
    width: 30vw;
    height: 252px;
    object-fit: cover;
    border-radius: 3px;
}

/* Vision Section */
.koode-vision {
    background-color: #FFFFFF;
    padding: 80px 0 0;
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-header {
    margin-bottom: 26px;
}

.vision-description {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.215;
    color: #000000;
    text-align: center;
}

/* Image Break Section */
.koode-image-break {
    background-color: #F8F9FA;
    padding: 40px 0;
}

.image-break-content {
    text-align: center;
}

.break-image {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.koode-services {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.services-content {
    text-align: center;
}

.services-header {
    margin-bottom: 50px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: #FFFFFF;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E9ECEF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
}

.services-content {
  width: 100%;
}

.koode-values .container {
  width: 100%;
  justify-content: center;
}

.values-content {
  width: 100%;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Core Values Section */
.koode-values {
    background-color: #F8F9FA;
    padding: 80px 0;
}

.values-content {
    text-align: center;
}

.values-header {
    margin-bottom: 50px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.value-item {
    background: #FFFFFF;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #1674bb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.value-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.value-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Additional Content Section */
.koode-additional {
    background-color: #FFFFFF;
    padding: 60px 0 0;
}

.additional-content {
    display: flex;
    gap: 25px;
        align-items: center;
    justify-content: space-between;
}

.additional-text {
    flex: 1;
    max-width: 50%;
}

.additional-description {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.215;
    color: #000000;
}

.additional-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
}

.additional-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Gallery Section */
.koode-gallery {
    background-color: #FFFFFF;
    padding: 80px 0 0;
}

.gallery-header {
    margin-bottom: 45px;
}

.gallery-content {
    position: relative;
}

.gallery-image {
    position: relative;
    width: 100%;
        height: 540px;
    overflow: hidden;
    border-radius: 3px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
}

.slider-dots {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 3px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid #000000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.koode-services .container {
  width: 100%;
  justify-content: center;
}

.dot.active {
    background-color: #000000;
}

.dot:hover {
    background-color: #333333;
}

.koode-gallery .container {
    flex-direction: column;
}

/* Responsive Design */
@media (max-width: 991px) {
  .koode-hero {
    height: 400px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .koode-history {
    padding: 40px 0 0;
  }
  
  .koode-vision {
    padding: 60px 0 0;
  }
  
  .koode-additional {
    padding: 40px 0 0;
  }
  
  .koode-gallery {
    padding: 60px 0 0;
  }
  
  .koode-services {
    padding: 60px 0;
  }
  
  .koode-values {
    padding: 60px 0;
  }
  
  .koode-image-break {
    padding: 30px 0;
  }
  
  .break-image {
    height: 250px;
  } 
  
  .services-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
  
  .values-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  .history-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .history-text {
    max-width: 100%;
  }
  
  .history-images {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    min-width: 100%;
  }

  .history-img-1, .history-img-2 {
    width: 100%;
  }
  
  .additional-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .additional-text {
    max-width: 100%;
  }
  
  .additional-image {
    max-width: 100%;
    height: 200px;
  }
  
  .vision-description {
    font-size: 16px;
  }
  
  .additional-description {
    font-size: 16px;
  }
  
  .gallery-image {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .koode-hero {
    height: 350px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .koode-history {
    padding: 30px 0 0;
  }
  
  .koode-vision {
    padding: 50px 0 0;
  }
  
  .koode-additional {
    padding: 30px 0 0;
  }
  
  .koode-gallery {
    padding: 50px 0 0;
  }
  
  .koode-services {
    padding: 50px 0;
  }
  
  .koode-values {
    padding: 50px 0;
  }
  
  .koode-image-break {
    padding: 25px 0;
  }
  
  .break-image {
    height: 200px;
  }
  
  .services-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .values-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .service-item {
    padding: 25px 20px;
  }
  
  .value-item {
    padding: 20px 15px;
  }
  
  .history-description {
    font-size: 16px;
  }
  
  .history-images {
    flex-direction: column;
    align-items: center;
  }
  
  .history-img-1,
  .history-img-2,
  .history-img-3 {
    width: 80%;
    height: 160px;
  }
  
  .vision-description {
    font-size: 15px;
  }
  
  .additional-description {
    font-size: 15px;
  }
  
  .additional-image {
    height: 180px;
  }
  
  .gallery-image {
    height: 250px;
  }
  
  .slider-dots {
    padding: 6px 10px;
  }
  
  .dot {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 575px) {
  .koode-hero {
    height: 300px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .koode-history {
    padding: 20px 0 0;
  }
  
  .koode-vision {
    padding: 40px 0 0;
  }
  
  .koode-additional {
    padding: 20px 0 0;
  }
  
  .koode-gallery {
    padding: 40px 0 0;
  }
  
  .koode-services {
    padding: 40px 0;
  }
  
  .koode-values {
    padding: 40px 0;
  }
  
  .koode-image-break {
    padding: 20px 0;
  }
  
  .break-image {
    height: 180px;
  }
  
  .service-item h3 {
    font-size: 18px;
  }
  
  .service-item p {
    font-size: 14px;
  }
  
  .value-item h3 {
    font-size: 16px;
  }
  
  .value-item p {
    font-size: 13px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .history-description {
    font-size: 14px;
  }
  
  .history-img-1,
  .history-img-2,
  .history-img-3 {
    width: 100%;
    height: 140px;
  }
  
  .vision-description {
    font-size: 14px;
  }
  
  .additional-description {
    font-size: 14px;
  }
  
  .additional-image {
    height: 160px;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .slider-dots {
    padding: 5px 8px;
    gap: 6px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 511px) {
  .history-images {
    flex-direction: column;
    align-items: center;
  }
  .history-images img {
    width: 100%;
    height: 47%;
  }
}