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

html,
body {
  height: 100%;
  width: 100%;
  font-family: "DM Sans", sans-serif;
}

body {
  background-color: #d4d4d8;
  padding: 40px;
}

#main-layout {
  height: calc(100vh - 80px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 40px 50px;
  display: grid;
  grid-template-columns: 50% 1fr 1fr;
  grid-template-rows: 10% 1fr 1fr;
  grid-template-areas:
    "header header header"
    "section figure figure"
    "section div1 div2";
  gap: 20px;
  
}

/* Header*/
.top-header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.75rem;
  color: #8b5cf6;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.navigation {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #000;
  font-size: 0.938rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #8b5cf6;
}

.header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.login-btn {
  text-decoration: none;
  color: #000;
  font-size: 0.938rem;
  font-weight: 500;
}

.talk-btn {
  background-color: #2c313f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}

.talk-btn i {
  background-color: #bac3ff;
  padding: 10px;
  border-radius: 50%;
  color: #2b313f;
}

.talk-btn:hover {
  background-color: #8b5cf6;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #000;
  z-index: 1000;
}

/* side Section */
.hero-section {
  grid-area: section;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}

.hero-top,
.hero-middle,
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-top {
  margin-bottom: 0;
}

.hero-middle {
  margin-bottom: 0;
}

.hero-bottom {
  align-items: center;
}

.decorative-shape {
  width: 220px;
  height: 60px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
  border-radius: 30px;
  opacity: 0.8;
  flex-shrink: 0;
}

.main-heading {
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.1;
  color: #000;
  margin: 0;
}

.main-heading.last-line {
  margin-bottom: 20px;
}

.work-video-btn {
  background-color: transparent;
  border: 2px solid #000;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.938rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.work-video-btn:hover {
  background-color: #000;
  color: #fff;
}

.play-icon {
  font-size: 0.875rem;
}

.work-video-btn:hover .play-icon {
  transform: rotate(-180deg);
}

.cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.contact-btn {
  background-color: #1e233c;
  color: #fff;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.938rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s;
}

.contact-btn:hover {
  background-color: #333;
}

.contact-btn:hover i {
  transform: rotate(45deg);
}

.call-request {
  text-decoration: underline;
  color: #000;
  font-size: 0.938rem;
  font-weight: 500;
}

.company-info {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 450px;
}

.partners {
  display: flex;
  gap: 45px;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logo {
  height: 40px;
  object-fit: contain;
}

/* Images section*/
.main-image {
  grid-area: figure;
  background-color: #93c5fd;
  border-radius: 20px;
  overflow: hidden;
}

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

#bottom-left-img {
  grid-area: div1;
  background-color: #fca5a5;
  border-radius: 20px;
  overflow: hidden;
}

#bottom-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#bottom-right-img {
  grid-area: div2;
  background-color: #67e8f9;
  border-radius: 20px;
  overflow: hidden;
}

#bottom-right-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1200px) {
  .main-heading {
    font-size: 3.75rem;
  }

  .decorative-shape {
    width: 180px;
    height: 50px;
  }

  .partners {
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  body {
    padding: 20px;
  }

  #main-layout {
    height: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "header header header"
      "section figure figure"
      "section div1 div2";
    padding: 30px;
  }

  .main-heading {
    font-size: 3.25rem;
  }

  .hero-section {
    padding-right: 0;
  }

  .main-image {
    min-height: 350px;
  }

  #bottom-left-img,
  #bottom-right-img {
    min-height: 300px;
  }

  .hamburger-menu {
    display: block;
  }

  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navigation.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.125rem;
  }

  .header-buttons {
    position: relative;
    z-index: 1001;
  }
}

@media (max-width: 768px) {
  #main-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "section"
      "figure"
      "div1"
      "div2";
    padding: 25px;
  }

  .top-header {
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-buttons .login-btn {
    display: none;
  }

  .main-heading {
    font-size: 2.625rem;
  }

  .decorative-shape {
    width: 150px;
    height: 45px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .work-video-btn {
    align-self: flex-start;
  }

  .cta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .partners {
    gap: 25px;
  }

  .partner-logo {
    height: 25px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  #main-layout {
    padding: 20px;
  }

  .main-heading {
    font-size: 2.25rem;
  }

  .top-header {
    justify-content: normal;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .logo-icon {
    font-size: 1.5rem;
  }

  .decorative-shape {
    width: 120px;
    height: 40px;
  }

  .work-video-btn {
    padding: 10px 20px;
    font-size: 0.813rem;
  }

  .contact-btn {
    padding: 14px 28px;
    font-size: 0.875rem;
  }

  .company-info {
    font-size: 0.875rem;
  }

  .partner-logo {
    height: 22px;
  }

  .partners {
    gap: 20px;
  }
}