@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #05668D;
  --secondary: #028090;
  --accent: #00A896;
  --light: #F0F3BD;
  --background: #FFFFFF;
  --text: #333333;
  --gray: #F5F5F5;
  --gradient: linear-gradient(90deg, var(--primary), var(--secondary));
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

* {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-align: left;
}

*::selection {
  background: var(--primary);
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

section {
  min-height: 60vh;
  padding: 0 9%;
  padding-top: 9rem;
  padding-bottom: 5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1.2rem 3.5rem;
  border-radius: var(--radius);
  background: var(--primary);
  font-size: 1.6rem;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background: var(--secondary);
}

.heading {
  text-align: center;
  color: var(--primary);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 4rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background: var(--accent);
  border-radius: 2rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--background);
  box-shadow: var(--shadow);
  padding: 1.5rem 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

header .logo {
  width: 12rem;
}

header .logo img {
  height: 6rem;
  object-fit: contain;
}
header .logo-text {
  font-size: 2.8rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-align: center;
}
header .navbar {
  display: flex;
  align-items: center;
}

header .navbar a {
  font-size: 1.6rem;
  margin-left: 3rem;
  color: var(--text);
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
}

header .navbar a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s ease;
}

header .navbar a:hover {
  color: var(--primary);
}

header .navbar a:hover::after {
  width: 100%;
}

header input {
  display: none;
}

header label {
  font-size: 2.5rem;
  color: var(--primary);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--background);
  padding-top: 12rem;
}

.home .content {
  flex: 1;
  padding-right: 5rem;
}

.home .image {
  flex: 1;
  text-align: center;
}

.home .image img {
  width: 80%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home .content h3 {
  font-size: 3.8rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.home .content h3 span {
  color: var(--accent);
}

.home .content p {
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Features Section */
.features {
  background: var(--gray);
}

.features .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.features .box-container .box {
  flex: 1 1 30rem;
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem;
  min-height: 22rem;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.features .box-container .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary);
}

.features .box-container .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.features .box-container .box p {
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1.8;
}

/* About Section */
.about {
  background: var(--background);
}

.about .column {
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.about .column .image {
  flex: 1 1 40rem;
}

.about .column .image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about .column .content {
  flex: 1 1 40rem;
}

.about .column .content p {
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Newsletter Section */
.newsletter {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--gradient);
  border-radius: 1rem;
  margin: 0 9%;
}

.newsletter h3 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 2rem;
}

.newsletter form {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.newsletter form input[type="text"] {
  flex: 1 1 30rem;
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
  color: var(--text);
  background: #fff;
  border-radius: var(--radius);
}

.newsletter form input[type="submit"] {
  padding: 1.5rem 4rem;
  font-size: 1.6rem;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
}

.newsletter form input[type="submit"]:hover {
  background: var(--light);
  color: var(--primary);
}

/* Results Section */
.contact {
  background: var(--gray);
}

.contact form {
  max-width: 80rem;
  margin: 0 auto;
  background: var(--background);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact .inputBox {
  position: relative;
  margin-bottom: 2rem;
}

.contact .inputBox input {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: var(--text);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  background: var(--background);
}

.contact .inputBox label {
  position: absolute;
  top: -1rem;
  left: 1rem;
  font-size: 1.2rem;
  color: var(--primary);
  background: var(--background);
  padding: 0 0.5rem;
}

/* Legislation Section */
.review {
  background: var(--background);
}

.review .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.review .box-container .box {
  flex: 1 1 30rem;
  padding: 3rem;
  background: var(--gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.review .box-container .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.review .box-container .box .user h3 {
  font-size: 1.6rem;
  color: var(--primary);
  padding: 0.5rem 0;
}

/* Footer */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 4rem 9% 2rem;
}

.footer .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer .box-container .box {
  flex: 1 1 25rem;
}

.footer .box-container .box h3 {
  font-size: 2.2rem;
  padding: 1rem 0;
  color: var(--light);
}

.footer .box-container .box p {
  font-size: 1.5rem;
  padding: 1rem 0;
  line-height: 1.8;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  color: #eee;
}

.footer .box-container .box a:hover {
  color: var(--light);
  text-decoration: underline;
}

.footer .credit {
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #fff;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.3);
}

/* Media Queries */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  section {
    padding: 0 5%;
    padding-top: 8.5rem;
  }
  
  .newsletter {
    margin: 0 5%;
  }
}

@media (max-width: 768px) {
  header label {
    visibility: visible;
    opacity: 1;
  }

  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background);
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.3s linear;
    flex-direction: column;
    align-items: flex-start;
  }

  header .navbar a {
    display: block;
    margin: 1.5rem 0;
    padding: 0.5rem 0;
    font-size: 2rem;
  }

  header input:checked ~ .navbar {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  header input:checked ~ label::before {
    content: '\f00d';
  }

  .home {
    flex-direction: column;
    text-align: center;
    padding-top: 10rem;
  }

  .home .content {
    padding-right: 0;
    margin-bottom: 4rem;
  }

  .home .image img {
    width: 100%;
  }

  .about .column {
    flex-direction: column;
  }

  .about .column .image {
    margin-bottom: 3rem;
  }

  .newsletter form {
    flex-direction: column;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
} 