@import url("https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #2c8ed0;
  --secondary-color: #072b42;
  --primary-hover: #1e7ebe;
  --secondary-hover: #185781;

  --text-primary: #555;
  --text-secondary: #ffffff;
  --text-inverted: #292e36;

  --background-color: #fff;
  --secondary-background: #0f4061;
  --accordion-active: #2c8ed0;

  --border-radius-primary: 0px;

  --font-family: "Josefin Sans", sans-serif;
  --second-family: "Cormorant Infant", sans-serif;
}

body {
  margin: 0;
  width: 100%;
  background-color: var(--background-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body:has(.mobile-menu-active) {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--text-primary);
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

section {
  overflow-x: hidden;
}

.title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 140%;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  color: var(--text-inverted);
}

.subtitle {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 140%;
  letter-spacing: 0.01em;
  color: var(--text-inverted);
}

.descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.section-name {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-inverted);
  border-top: var(--primary-color) 1px solid;
  border-bottom: var(--primary-color) 1px solid;
  padding: 7px 0 3px;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 45px;
}

.primary-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-inverted);

  display: block;
  background: var(--primary-color);
  padding: 15px 50px;
  border: none;
  border-radius: var(--border-radius-secondary);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: var(--primary-hover);
  text-decoration: none;
  color: var(--text-inverted);
}

.primary-btn:hover img {
  transform: translateX(5px);
}

.primary-btn img {
  width: 18px;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.secondary-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--primary-color);

  display: block;
  background: transparent;
  padding: 15px 50px;
  border-radius: var(--border-radius-secondary);
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  text-decoration: none;
  color: var(--primary-hover);
  border: 2px solid var(--primary-hover);
}

.terms-privacy {
  padding: 140px 0 80px;
}

.terms-privacy .title {
  margin-bottom: 40px;
}

.terms-privacy .subtitle {
  margin: 25px 0;
}

.thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding-top: 180px;
}

.thank-you-container p {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--text-inverted);
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.logo img {
  width: 80px;
  height: 50px;
  object-fit: contain;
}

.link {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;
  color: var(--text-primary);

  text-decoration: none;
  position: relative;
  padding: 3px 12px;
  transition: all 0.3s ease-in-out;
}

.link::before {
  content: "";
  background-color: var(--primary-hover);
  border-radius: var(--border-radius-primary);
  position: absolute;
  left: 0px;
  width: 30%;
  bottom: 0;
  height: 1.5px;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.link:hover::before {
  width: 100%;
}

.link:hover {
  color: var(--primary-hover);
}

@media screen and (max-width: 1240px) {
  .container {
    padding: 0 15px;
  }

  .title {
    font-size: 34px;
  }

  .title span {
    font-weight: 700;
    font-size: 26px;
  }

  .subtitle {
    font-size: 24px;
  }

  .descr {
    font-weight: 400;
    font-size: 14px;
  }

  .section-name {
    font-size: 18px;
  }

  .primary-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .secondary-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .terms-privacy {
    padding: 120px 0 60px;
  }

  .terms-privacy .title {
    margin-bottom: 30px;
  }

  .terms-privacy .subtitle {
    margin: 25px 0;
  }
}
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #2c8ed0;
  --secondary-color: #072b42;
  --primary-hover: #1e7ebe;
  --secondary-hover: #185781;

  --text-primary: #555;
  --text-secondary: #ffffff;
  --text-inverted: #292e36;

  --background-color: #fff;
  --secondary-background: #0f4061;
  --accordion-active: #2c8ed0;

  --border-radius-primary: 0px;

  --font-family: "Roboto", sans-serif;
  --second-family: "Montserrat", sans-serif;
}

body {
  margin: 0;
  width: 100%;
  background-color: var(--background-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--second-family);
  font-weight: 400;
}

p,
ul,
ol,
a,
button {
  font-family: var(--font-family);
}

/* rest of your styles unchanged */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

/* === Root Variables === */
:root {
  --font-base: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  --color-bg-dark: #1A1F29;
  --color-bg-darker: #141820;
  --color-bg-light: #F4F6FA;

  --color-primary: #FF6F61;
  --color-secondary: #4A90E2;
  --color-accent: #FFCF33;

  --text-light: #F4F6FA;
  --text-dark: #2A2E35;
  --text-muted: #7A7E88;

  --radius: 8px;
  --shadow-default: 0 2px 8px rgba(0,0,0,0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--color-bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

/* === Global Elements === */
a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }
img { display: block; max-width: 100%; filter: brightness(1.15) contrast(1.2); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-light);
  margin: 0 0 16px;
}
/* Default paragraph/list text on dark backgrounds */
p, li {
  color: var(--text-light);
  line-height: 1.6;
}

/* Ensure section titles stand out */
.title, .subtitle {
  color: var(--text-light);
}

/* Titles inside cards get secondary color */
.card h3, .plans-item-content .subtitle, .testimonial-item-content .subtitle {
  color: var(--color-secondary);
}

/* Card descriptions and muted text */
.card p, .plans-item-content .descr, .testimonial-item-content .descr {
  color: var(--text-muted);
}

/* Ensure section titles stand out */
.title, .subtitle {
  color: var(--text-light);
}

/* Titles inside cards get secondary color */
.card h3, .plans-item-content .subtitle, .testimonial-item-content .subtitle {
  color: var(--color-secondary);
}


/* === Header === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: var(--color-bg-darker);
  box-shadow: var(--shadow-default);
  z-index: 1000;
}
.header-nav-list a {
  margin: 0 16px;
  font-weight: 500;
  color: var(--text-light);
}
.header-nav-list a:hover {
  color: var(--color-primary);
}

/* === Mobile menu toggle === */
.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
}
@media(max-width: 1024px) {
  .header-nav-list { display: none; }
  .burger-btn { display: block; }
}

/* === Sections backgrounds === */
.hero { background: var(--color-bg-darker); padding-top: 120px; }
.about-us { background: var(--color-bg-dark); }
.our-services { background: var(--color-bg-darker); }
.plans { background: var(--color-bg-dark); }
.testimonial { background: var(--color-bg-darker); }
.our-blog { background: var(--color-bg-dark); }
.contact { background: var(--color-bg-darker); }

.section { padding: 80px 0; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* === Cards === */
.card, .plans-item-content, .our-blog-item-content, .testimonial-item, .contact-form {
  background: var(--color-bg-light);
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-default);
  padding: 24px;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }

.card h3, .plans-item-content .subtitle, .testimonial-item-content .subtitle {
  color: var(--color-secondary);
}
.card p, .plans-item-content .descr, .testimonial-item-content .descr {
  color: var(--text-muted);
}

/* === Buttons === */
.primary-btn {
  font-family: var(--font-heading);
  background: var(--color-primary);
  color: var(--text-light);
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s;
}
.primary-btn:hover { background: var(--color-secondary); }

.secondary-btn {
  font-family: var(--font-base);
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all 0.3s;
}
.secondary-btn:hover {
  color: var(--text-light);
  background: var(--color-primary);
}

/* === Forms === */
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius);
  background: var(--color-bg-dark);
  color: var(--text-light);
  margin-bottom: 16px;
}
input:focus, textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* === Footer === */
.footer {
  background: var(--color-bg-darker);
  color: var(--text-muted);
  padding: 40px 0;
}
.footer a { color: var(--text-light); opacity: 0.9; }
.footer a:hover { opacity: 1; }

/* === Mobile Menu === */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%; width: 100%; height: 100%;
  background: var(--color-bg-darker);
  color: var(--text-light);
  display: flex; flex-direction: column; padding: 32px;
  transition: right 0.3s;
}
.mobile-menu-active { right: 0; }
.close-btn { align-self: flex-end; background: none; border: none; font-size: 24px; color: var(--text-light); }

/* End of CSS */
