
.hero-section {
  border-radius: 64px 64px 0 0;
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
  height: auto;
  background-image: url(https://d1zhz5ee3b8mbv.cloudfront.net/helpcenter/images/home_hero_desktop.jpg);
}

.hero-section::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0.3)"/></linearGradient></defs><ellipse cx="350" cy="150" rx="100" ry="150" fill="url(%23grad)"/><ellipse cx="320" cy="180" rx="80" ry="120" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center right;
  background-size: contain;
  opacity: 0.6;
}



.hero-content h1 {
  color: var(--white-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 35px;
}

.search-wrapper {
  display: flex;
  gap: 10px;
  max-width: 600px;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--white-color);
  border-radius: 50px;
  padding: 15px 25px;
  box-shadow: var(--box-shadow);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--second-color);
}

.search-box input::placeholder {
  color: var(--para-color);
}

.search-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  opacity: 0.5;
}

.search-btn {
  background: var(--white-color);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--second-color);
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--light-background);
  transform: translateY(-2px);
}

.content-section {
  padding: 60px 20px;
  background: var(--light-background);
}

.section-title {
  text-align: center;
  color: var(--second-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.category-card {
  background: var(--white-color);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  /* box-shadow: var(--sharp-box-shadow); */
  transition: all 0.3s ease;
}

.category-card:hover {
  border: 1px solid var(--main-color);
  transform: translateY(-5px);
  box-shadow: var(
  --box-shadow);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-background);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--main-color);
}

.category-card h3 {
  color: var(--second-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-card p {
  color: var(--para-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  color: var(--main-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 10px;
}

.secondary-section {
  background: var(--white-color);
  padding: 60px 20px;
}

.popular-articles-section {
  background: var(--light-background);
  padding: 60px 20px;
}

.articles-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-background);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--white-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--sharp-box-shadow);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.article-card h3 {
  color: var(--second-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.article-card p {
  color: var(--para-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-content h1 {
      font-size: 2rem;
  }

  .search-wrapper {
      flex-direction: column;
  }

  .cards-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
      margin-top: 1.5rem;
  }
  .category-card{

padding: 1rem 0.5rem;
  }
  .section-title {
      font-size: 1.6rem;
      margin-bottom: 10px;
  }
}


/*======================================
  Start Contact Section
======================================*/

.contact-section {
    padding: 5rem 0;
    background: linear-gradient(
        135deg,
        var(--background-color) 0%,
        var(--light-blue-gray) 100%
    );
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-wrapper {
    background: var(--white-color);
    border-radius: 24px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(31, 62, 102, 0.06);
    box-shadow: var(--box-shadow);
}

/*======================================
  Left Info Panel
======================================*/

.contact-info-panel {
    background: linear-gradient(
        135deg,
        var(--main-color) 0%,
        var(--third-color) 100%
    );
    color: var(--white-color);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(95, 127, 163, 0.18) 0%,
        rgba(22, 44, 74, 0) 70%
    );
    z-index: 0;
}

.info-content {
    position: relative;
    z-index: 1;
    max-width: 450px;
}

/* Badge */

.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;

    background: rgba(255, 255, 255, 0.08);
    color: #dbe7f3;
    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);
}

/* Heading */

.contact-info-panel h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.75rem;

    background: linear-gradient(
        to right,
        #ffffff,
        #dbe7f3
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-info-panel span {
    position: relative;
    display: inline-block;

    background: linear-gradient(
        to right,
        var(--light-color),
        #ffffff
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-info-panel h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: rgba(95, 127, 163, 0.18);
    z-index: -1;
}

/* Paragraph */

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2.5rem;
    font-size: 1.02rem;
    line-height: 1.8;
}

/*======================================
  Contact Item
======================================*/

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item:hover {
    transform: translateX(6px);
}

/* Icon Box */

.icon-box {
    width: 54px;
    height: 54px;
    flex-shrink: 0;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);

    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.06);
}

.icon-box i {
    font-size: 1.35rem;
    color: var(--danger-color);
}

/* Labels */

.contact-item .label {
    margin-bottom: 4px;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

/* Values */

.contact-item .value {
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--white-color);

    transition: all 0.3s ease;
}

.contact-item:hover .value {
    color: #dbe7f3;
}

/*======================================
  Social Links
======================================*/

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 2.5rem;
}

.social-link {
    width: 44px;
    height: 44px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    color: var(--danger-color);

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);

    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--white-color);
    color: var(--main-color);
    transform: translateY(-4px);
}

/*======================================
  Right Form Panel
======================================*/

.contact-form-panel {
    padding: 3.5rem;
    display: flex;
    align-items: center;
    background: var(--white-color);
}

.contact-form-panel form {
    width: 100%;
}

/* Labels */

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--third-color);
    margin-bottom: 0.75rem;
}

/* Inputs */

.form-control,
.form-select {
    border-radius: 14px;
    padding: 5px 1rem;

    border: 1px solid #dbe3ec;

    background: #fbfcfe;
    color: var(--black-color);

    font-size: 1rem;
    font-family: var(--font-family);

    transition: all 0.3s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: rgba(31, 62, 102, 0.2);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--main-color);
    background: var(--white-color);

    box-shadow: 0 0 0 4px rgba(31, 62, 102, 0.12);

    outline: none;
}

.form-control::placeholder {
    color: #98a2b3;
}

/* Textarea */

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Divider */

.form-divider {
    height: 1px;
    background: #e8edf3;
    margin: 1.5rem 0;
}

/*======================================
  Button
======================================*/

.btn-primary-custom {
    width: 70%;
    border: none;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white-color);
    background: linear-gradient(
4deg, var(--main-color), var(--light-color));
    box-shadow: 0 10px 25px rgba(31, 62, 102, 0.22);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary-custom:hover {
    background: linear-gradient(
        135deg,
        #294b78,
        #10233d
    );

    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(31, 62, 102, 0.3);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-primary-custom i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
    transform: translateX(3px);
}

/*======================================
  Floating Animation
======================================*/

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.contact-info-panel h2 {
    animation: float 6s ease-in-out infinite;
}

/*======================================
  Responsive
======================================*/

@media (max-width: 991px) {

    .contact-info-panel,
    .contact-form-panel {
        padding: 3rem;
    }

    .contact-info-panel h2 {
        font-size: 2.3rem;
    }

    .contact-wrapper {
        border-radius: 18px;
    }
}

@media (max-width: 767px) {

    .contact-section {
        padding: 3rem 0;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 2.2rem;
    }

    .contact-info-panel h2 {
        font-size: 2rem;
    }

    .contact-item {
        align-items: flex-start;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {

    .contact-info-panel,
    .contact-form-panel {
        padding: 1.5rem;
    }

    .contact-info-panel h2 {
        font-size: 1.7rem;
    }

    .icon-box {
        width: 48px;
        height: 48px;
    }
}

/*======================================
  End Contact Section
======================================*/
