@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  --primary-color: #2f5597;
  --secondary-color: #5B9BD5;
  --text-color: #333;
  --alt-text-color: #fff;
  --bg-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  font-size: 1.125rem;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}

a,
a:hover,
a:visited {
  color: var(--primary-color);
  border: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* TOPBAR */
.topbar {
  background: var(--primary-color);
  color: var(--alt-text-color);
  font-size: 1rem;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  border-radius: 0 0 10px 10px;
  font-weight: 400;
}

.topbar i {
  margin-right: 6px;
  color: var(--alt-text-color);
}

.topbar a {
  color: var(--alt-text-color);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--alt-text-color);
  text-decoration: underline;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-left .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.6);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar-right a {
  color: var(--alt-text-color);
  margin-left: 5px;
  font-size: 15px;
  transition: color 0.3s;
}

.topbar-right a:hover {
  color: var(--secondary-color);
}

/* HEADER */
.header {
  background: var(--bg-color);
  padding: 30px 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header.shrink {
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 8px;
}

/* Navigation */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.navbar a {
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s;
  padding: 18px 20px;
}

.navbar a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* CTA Button */
.cta-btn {
  background: var(--secondary-color);
  color: var(--alt-text-color) !important;
  padding: 10px 28px !important;
  border-radius: 6px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* SLIDER */
.animated-slider {
  position: relative;
  overflow: hidden;
  height: 630px;
}

.animated-slider .container {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(7, 19, 42, .85) 0%,
      rgba(7, 19, 42, .65) 40%,
      rgba(7, 19, 42, 0) 75%);
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--alt-text-color);
}


.slide-content p {
  font-weight: 500;
  line-height: 1.5;
  max-width: 600px;
}

.slide-content h1 {
  font-size: 3rem;
  line-height: 1.3;
  text-transform: capitalize;
  font-weight: 500;
  margin: 20px 0;
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  height: 12px;
  width: 12px;
  background: #ccc;
  margin: 0 6px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--secondary-color);
}

/* about */
.company-profile {
  padding: 100px 20px;
}


.profile-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.profile-left {
  flex: 0 0 400px;
  position: relative;
  z-index: 2;
}

.profile-overlay {
  height: 246px;
  padding: 40px 20px 40px 0px;
  background: url("../images/hexagon-Vector.png") no-repeat right center;
  background-size: contain;
  box-sizing: border-box;
  margin-right: -150px;
}

.profile-content {
  max-width: 320px;
  padding: 20px 20px 20px 0;
  border-radius: 10px;
}

.profile-left .logo {
  max-width: 160px;
  margin-bottom: -50px;
}

.profile-left p {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: left;
}

.profile-center {
  flex: 1;
  position: relative;
  z-index: 1;
}

.profile-center img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  display: block;
}

.profile-right {
  text-align: left;
}

.profile-right .subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding-left: 20px;
}

.profile-right .subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--secondary-color);
  clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

.profile-right h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.profile-right p {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 2;
  font-size: 1.125rem;
}

.highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlights li {
  display: flex;
  align-items: center;
  background: #ECF2FC;
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 20px;
  clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
  max-width: 420px;
}

.hex-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.hex-icon i {
  color: var(--alt-text-color);
  font-size: 14px;
}

/* Contact */
.contact-section {
  background: var(--primary-color);
  color: var(--alt-text-color);
  padding: 100px 20px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-left h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.contact-left p {
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--alt-text-color);
  font-weight: normal;
}

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

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  .hex-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--alt-text-color);
  }
}

.info-item h4 {
  margin: 0 0 5px;
  font-weight: 600;
  font-size: 1.375rem;
  white-space: nowrap;
}

.info-item a {
  color: var(--alt-text-color);
  text-decoration: underline;
}

.contact-right img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
  border: 4px solid #3d5fa8;
}

.hexagon-shape {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hexagon-shape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary-color);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 20% 100%, 0 50%);
  z-index: 1;
}

.hexagon-bg {
  position: absolute;
  inset: 0 0 0 12px;
  background: url("../images/Speehive Logo.jpg") no-repeat center/cover;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 20% 100%, 0 50%);
  z-index: 2;
}






/* Footer */
.footer {
  font-size: 1rem;
  text-align: center;
  margin-top: 60px;
}

.footer-links {
  margin: 15px 0;
}

.footer-links a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.footer-note {
  margin: 10px 0;
}

.footer-note a {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-note a:hover {
  text-decoration: underline;
}

.footer-social {
  margin: 15px 0;
}

.footer-social span {
  margin-right: 10px;
}

.footer-social a {
  margin: 0 6px;
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom {
  background: var(--primary-color);
  color: var(--alt-text-color);
  font-size: 0.75rem;
  padding: 12px 0;
  border-radius: 10px 10px 0 0;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0 auto;
}


/* Responsive */
@media (max-width: 1024px) {
  .header {
    padding: 20px 15px;
  }

  .header.shrink {
    padding: 8px 15px;
  }
.animated-slider .container {
    padding-left: 20px;
}
  .profile-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }

  .profile-right {
    margin-top: 20px;
  }

  .contact-section {
    padding: 60px 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    gap: 10px 40px;
  }

}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    gap: 1rem;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-color);
    width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 3px 5px #00000060;
    padding: 10px;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 0 0 12px 0;
  }

  .navbar a {
    padding: 0 20px;
  }

  .navbar.active {
    display: flex !important;
  }

  .navbar.active ul {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
  }

  .menu-toggle {
    display: block;
  }

  .slide::before {
  background: linear-gradient(to right,
      rgba(7, 19, 42, .85) 0%,
      rgba(7, 19, 42, 0) 100%);
  }

  .profile-overlay {
    margin-right: 0;
    background: none;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

}

@media only screen and (max-width: 600px) {
  .header {
    padding: 15px 12px;
  }

  .header.shrink {
    padding: 6px 12px;
  }

  .topbar {
    display: none;
  }

  .navbar a {
    padding: 0;
  }

  .slide-content h1 {
    font-size: 2rem;
  }
}
