/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@600;700&display=swap");

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  list-style: none;
  text-decoration: none;
  font-family: "Century Gothic", "Inter", sans-serif;
  font-weight: 300;
}

/* Color Palette */
:root {
  --primary-bg: #F4F6F5;
  --primary-text: #337ec1;
  --accent-color: #d43439;
  --light-text: #ffffff;
}

/* Global Styles */
body {
  background: var(--primary-bg);
  color: var(--primary-text);
  overflow-x: hidden;
}

::selection {
  color: var(--primary-bg);
  background: var(--primary-text);
}

/* Header Layout */
header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 5% 10%;
  min-height: 100vh;
  gap: 8rem;
}

/* Left Section */
.header-left-side {
  flex: 1 1 50%;
  max-width: 650px;
}

.header-left-side h1 {
  color: var(--primary-text);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
}

.header-left-side h2 {
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.header-left-side p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.header-left-side h3 {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 40px;
}

/* Right Section & Media */
.header-right-side {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  width: 100%;
}

.media-top {
  display: flex;
  gap: 20px;
}

.media-item {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-item img,
.media-item video,
.main-image img,
.header-right-side img,
.mobile-img img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  object-fit: cover;
}

.header-right-side img {
  max-width: 700px;
}

/* Buttons */
a.button {
  display: inline-block;
  text-align: center;
  padding: 14px 18px;
  border: 2px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 16px;
  margin: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: 6px;
}

a.button:hover {
  background: var(--accent-color);
  color: var(--primary-bg);
}

a.button.btn {
  background: var(--accent-color);
  color: var(--primary-bg);
  width: calc(100% - 12px);
  margin-top: 15px;
}

/* Mobile Image Grid */
.mobile-image-grid {
  display: none;
}

@media (max-width: 920px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 4% 4%;
    
  }

  .header-left-side {
    order: 2;
    flex: 1 1 100%;
  }

  .header-right-side {
    display: none;
  }

  .mobile-image-grid {
    display: block;
    margin: 20px 0;
  }

  .mobile-image-grid .media-top {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-image-grid .media-item {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
  }

  .mobile-image-grid img,
  .mobile-image-grid video {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
  }

  .mobile-image-grid .main-image {
    display: none;
    /* justify-content: center;
    margin-top: 20px;
    width: 100%; */
  }

  .mobile-image-grid .main-image img {
    max-width: 350px;
  }

  .header-left-side h1 {
    font-size: 58px;
  }
}

/* Intermediate Desktop Sizes */
@media (max-width: 1200px) {
  .header-right-side img { max-width: 600px; }
}
