/* ==========================================================================
   Base Styles and Variables
   ========================================================================== */

/* Google Fonts Import - DM Sans with various weights */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");

/* CSS Custom Properties (Variables) for consistent theming */
:root {
  --primary-purple: #342c6c;
  --primary-pink: #f47d9d;
  --light-bg: #f6f5ff;
  --white: #ffffff;
  --text-gray: #cfcfd8;
  --transition-speed: 0.3s;

  /* Additional helpful variables */
  --header-height: 96px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Reset and base styles */
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.header {
  height: var(--header-height);
  background: var(--white);
  padding: 15px 100px;
  border-bottom: 5px solid #edf1f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

.logo {
  width: 220px;
  height: 75px;
  padding-top: 10px;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */
.btn-custom-pink {
  background: var(--primary-pink);
  color: var(--white);
  width: 258px;
  padding: 10px;
  font-size: 18px;
  border-radius: var(--border-radius);
  border: none;
  font-weight: 700;
  text-transform: none;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.btn-custom-pink:hover {
  background: var(--primary-pink);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

/* ==========================================================================
   Main Content Sections
   ========================================================================== */
/* Main section wrapper */
.main-section {
  margin-top: 100px;
  background: var(--white);
  padding: 10px;
}

/* Info section styles */
.info-section {
  background-color: #29235c;
  color: var(--white);
  padding: 100px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.info-content {
  color: var(--text-gray);
}

.info-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

/* Hero section styles */
.hero-section {
  padding: 15px 100px;
  background: var(--white);
  align-items: center;
}

.hero-tagline {
  color: var(--primary-pink);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-title {
  color: var(--text-dark);
  font-size: 65px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

/* Services section styles */
.services-section {
  padding: 60px 0;
}

.service-button {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 30px;
  border-radius: var(--border-radius);
  width: 250px;
  height: 80px;
  background-color: var(--primary-purple);
  transition: all var(--transition-speed) ease;
  margin-bottom: 20px;
}

.service-button img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-button span {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.service-button:hover,
.service-button:active,
.service-button:focus,
.service-button.active {
  background-color: var(--primary-pink);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
  border: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
/* Large devices (992px and up) */
@media screen and (min-width: 992px) {
  .btn-custom-pink {
    width: 258px;
    padding: 10px;
    font-size: 18px;
  }
}

/* Medium devices (768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .btn-custom-pink {
    width: 220px;
    height: 54px;
    padding: 10px;
    font-size: 17px;
  }

  .hero-section {
    padding: 10px 0;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .user-name {
    margin-top: -50px;
    margin-bottom: 20px;
  }
}

/* Small devices (up to 767px) */
@media (max-width: 767px) {
  .header {
    height: 70px;
    padding: 10px 20px;
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
  }

  .hero-section {
    padding: 40px 0;
    text-align: center;
  }

  .hero-image-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .services-section {
    padding: 40px 0;
  }

  .service-button {
    width: 100%;
    height: 70px;
    padding: 15px;
    margin-bottom: 15px;
  }

  .service-button span {
    font-size: 16px;
  }

  .service-button img {
    width: 24px;
    height: 24px;
  }

  .service-row {
    width: 100%;
  }
}

/* Extra small devices (up to 576px) */
@media (max-width: 576px) {
  .header {
    height: 100px;
    padding: 10px 15px;
  }

  .info-section {
    padding: 30px 20px;
  }

  .info-subtitle,
  .info-content p {
    font-size: 1rem;
  }
  .logo{
    max-width: 140px;
  }
  .btn-custom-pink{
    width: 150px;
    font-size: 14px;
  }
}
