/* Global Styles */
:root {
  --primary: #164073;
  --primary-light: #2A6EAA;
  --primary-dark: #0E2C4F;
  --secondary: #E27D60;
  --secondary-light: #ECA08C;
  --secondary-dark: #C65B3E;
  --accent: #41B3A3;
  --accent-light: #85DCBB;
  --accent-dark: #2A9385;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --mid-gray: #777777;
  --white: #FFFFFF;
  --light-bg: #F8F9FA;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

section {
  padding: 60px 0;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
}

.btn {
  display: inline-block;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(22, 64, 115, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(226, 125, 96, 0.3);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(65, 179, 163, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin-top: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  border-radius: 0;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop ul li {
  margin-left: 30px;
}

.nav-desktop ul li a {
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-desktop ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-desktop ul li a:hover::after,
.nav-desktop ul li a.active::after {
  width: 100%;
}

.hamburger {
  display: block;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 8px;
}

.hamburger span:nth-child(4) {
  top: 16px;
}

.hamburger.open span:nth-child(1),
.hamburger.open span:nth-child(4) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: var(--primary);
  z-index: 1001;
  padding: 100px 30px 30px;
  transition: right 0.4s ease;
  overflow-y: auto;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile ul li {
  margin-bottom: 20px;
}

.nav-mobile ul li a {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../images/hero-image.jpg') center/cover no-repeat;
  opacity: 0.8;
  border-radius: 0 0 0 100px;
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Features Section */
.features {
  padding: 60px 0;
}

.feature-box {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--secondary);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-box:hover::before {
  height: 100%;
}

.feature-box i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.feature-box h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Steps Section */
.steps {
  background: var(--light-bg);
  padding: 60px 0;
  position: relative;
}

.step-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.step-content {
  flex: 1;
  padding-left: 15px;
}

.step-content h3 {
  margin-bottom: 10px;
}

/* Cards Section */
.cards-section {
  padding: 60px 0;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 25px;
}

.card-title {
  margin-bottom: 15px;
}

.card-text {
  margin-bottom: 20px;
}

.card-footer {
  padding: 15px 25px;
  background: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-link {
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.card-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* FAQ Section */
.faq {
  background: var(--light-bg);
  padding: 60px 0;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-header {
  background: var(--white);
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.accordion-header i {
  color: var(--primary);
  transition: var(--transition);
}

.accordion-content {
  background: var(--white);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding-bottom: 20px;
}

.accordion-item.active .accordion-header {
  background: var(--primary);
}

.accordion-item.active .accordion-header h3 {
  color: var(--white);
}

.accordion-item.active .accordion-header i {
  color: var(--white);
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

/* Contact Form */
.contact-form-section {
  padding: 60px 0;
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(65, 179, 163, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-check-label {
  font-size: 0.9rem;
}

.contact-info {
  padding: 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius);
  height: 100%;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-item i {
  margin-right: 15px;
  font-size: 1.2rem;
  color: var(--secondary);
}

.contact-item-content {
  flex: 1;
}

.contact-item-content p {
  margin: 0;
}

/* Map Section */
.map-section {
  padding: 60px 0;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer p {
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Consent */
.cookie-consent-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.cookie-consent-container.show {
  display: block;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cookie-consent-text {
  margin-bottom: 15px;
}

.cookie-consent-text p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent-btn {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  transition: var(--transition);
}

.accept-all-btn {
  background-color: var(--primary);
  color: var(--white);
}

.accept-all-btn:hover {
  background-color: var(--primary-dark);
}

.reject-all-btn {
  background-color: var(--light-gray);
  color: var(--dark-gray);
}

.reject-all-btn:hover {
  background-color: #e0e0e0;
}

.customize-btn {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.customize-btn:hover {
  background-color: rgba(22, 64, 115, 0.1);
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-settings-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cookie-settings-header h4 {
  margin: 0;
}

.close-settings {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
}

.cookie-category {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-title {
  font-weight: 500;
  margin: 0;
}

.cookie-category-description {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary);
}

input:checked + .cookie-slider:before {
  transform: translateX(22px);
}

.cookie-settings-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.save-preferences-btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  transition: var(--transition);
}

.save-preferences-btn:hover {
  background-color: var(--primary-dark);
}

.cookie-consent-link {
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
}

/* Thank You Page */
.thank-you-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 60px 0;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.thank-you-section h1 {
  margin-bottom: 20px;
}

.thank-you-section p {
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Research and Reports */
.filters {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  background: var(--light-gray);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
}

.grid-item {
  width: 100%;
  margin-bottom: 30px;
}

/* Step by Step Instructions */
.instructions-section {
  padding: 60px 0;
}

.instruction-step {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.instruction-step:last-child {
  border-bottom: none;
}

.instruction-step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.instruction-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.8rem;
  margin-right: 20px;
}

.instruction-step-title {
  flex: 1;
}

.instruction-step-body {
  padding-left: 80px;
}

/* Media Queries */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .hero-btns {
    flex-direction: row;
  }
  
  .cookie-consent-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .cookie-consent-text {
    margin-bottom: 0;
    margin-right: 20px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero::before {
    display: block;
  }
  
  .hero-content {
    max-width: 60%;
  }
  
  .step-box {
    flex-direction: row;
  }
  
  .step-number {
    margin-bottom: 0;
    margin-right: 20px;
  }
  
  .grid-item {
    width: calc(50% - 15px);
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hamburger {
    display: none;
  }
  
  .nav-desktop {
    display: block;
  }
  
  .hero-content {
    max-width: 50%;
  }
  
  .grid-item {
    width: calc(33.333% - 20px);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content {
    max-width: 45%;
  }
}

/* Custom Styles for intl-tel-input */
.iti {
  width: 100%;
}

.iti__flag-container {
  margin-bottom: 0;
}

.iti__selected-flag {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Customizing Isotope */
.isotope-grid {
  margin: 0 -15px;
}

.isotope-grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-sizer,
.grid-item {
  width: 100%;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .grid-sizer,
  .grid-item {
    width: 33.333%;
  }
}