/* Color Scheme Variables for Light and Dark Themes */
:root {
  --primary-color: #ff99bf;
  --background-color: #ffffff;
  --text-color: #121212;
  --accent-color: #dd79a1;
  --toggle-bg: #e0e0e0;
  --button-hover-color: #dd79a1;
  --font-family: 'Poppins', sans-serif;
  --transition-duration: 0.3s;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-hover: rgba(0, 0, 0, 1.9);
}

[data-theme='dark'] {
  --background-color: #1d1f27;
  --text-color: #ffffff;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color var(--transition-duration), color var(--transition-duration);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

body.dark-mode {
  background-color: var(--background-color);
  color:var(--text-color);
}

/* Header */
header {
  background-color: var(--background-color);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 4;
}

nav {
  display: flex;
  gap: 20px;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav li {
  list-style: none;
}
nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

nav a:hover { color: var(--primary-color); }

h1{
  margin-top: 2rem;
  margin-left: 2rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* Hamburger Menu (Hidden on Desktop) */
.phone-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-color);
  background: none;
  border: none;
  outline: none;
  margin-left: auto;
}
.phone-toggle.active {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .logo {
    max-width: 150px; /* Scale down further for tablets */
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: var(--background-color);
    width: 200px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  nav ul.active {
    display: flex;
  }
  .phone-toggle {
    display: block;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
  }
}
  @media (max-width: 480px) {
    .logo {
      max-width: 120px; /* Scale down further for smaller phones */
    }
    .phone-toggle {
      display: block; /* Show hamburger menu on small screens */
    }
}

  /* Card Container (Main Wrapper) */
.card-container {
  display: flex;
  justify-content: center; /* Center the cards */
  /*gap: 10px;*/
  margin-top: 30px;
  align-items: flex-start;
  max-width: 80%; /* Limit the container width */
  margin-left:  50px;
  margin-right: auto;
  padding-right: 50px; /* Space for the sidebar */
}

/* Individual Card Styles */
.calculatorCard{
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width:100%;
  max-width: 550px;
}
.package-option {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem; /* Space between rows */
}
.package-option input[type="radio"] {
  margin-left: 0.9rem; /* Space between radio button and label */
}

.summaryCard{
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-right:  150px;
  width:100%;
  max-width: 650px;
}
.summaryCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 15px rgba(115, 113, 113, 0.1);
}

.summary-item {
  margin-bottom: 1rem; /* Increase spacing between items */
  font-size: 1.1rem; /* Slightly increase font size */
}

.summary-item p {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.summary-item span {
  /*display: block;*/
  color: #555;
}

/* Sidebar */
.sidebar {
  position: fixed;
  right: 20px;
  top: 150px;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 25px;
}

.sidebar-btn {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 8px;
}

.sidebar-btn:hover {
  background-color: #FF99BFFF;
}

/* Social Icons Styles */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.social-icons li {
  margin: 0 10px;
}

.social-icons li a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(86%) sepia(15%) saturate(3780%) hue-rotate(290deg) brightness(97%) contrast(110%);
}

.social-icons li a img:hover {
  transform: scale(1.2);
  filter: brightness(0) saturate(100%) invert(90%) sepia(20%) saturate(3000%) hue-rotate(300deg) brightness(100%) contrast(105%);
}

/* Responsive Navigation */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 10px;
    border-radius: 8px;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
  .calculator, .summary {
    width: 100%;
  }
  .card {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .card-container {
    flex-direction: column;
    align-items: center;
    padding-right: 0;
  }

  .card-container .card {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .calculatorCard, .costCard {
    width: 90%;
  }
  .sidebar {
    position: static;
    width: 80%;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
}

/* Offer Button Position */
#offer-button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #FF99BFFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#offer-button:hover {
  background-color: #FF66B2FF;
}

/* Cost Calculator Layout */
.summary {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin-left: 15px;
  box-shadow: 0 12px 5px rgba(0, 0, 0, 0.1);
}

.calculator {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  justify-content: center;
  /*text-align: center;*/
  /*opacity: 0;*/
}

/* General Card Layout */
.card-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.card-container .card {
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /*flex: 1;*/
  margin-right: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}

.card-container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


label {
  display: block;
  margin-bottom: 5px;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #FF99BFFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow:0 4px 20px rgba(0, 0, 0, 0.3);
}

button:hover {
  background-color: #FF66B2FF;
}


/* Footer */
footer {
  background-color: var(--background-color);
  padding: 20px;
  text-align: center;
  color: var(--primary-color);
}
footer {
  text-align: center;
  padding: 30px 0px;
}

/* Responsive Navigation */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

