/* 
* Rejguegur - Corporate VPN Services
* Main Stylesheet
*/


:root {
  --primary: #2B4C7E;
  --secondary: #567EB0;
  --accent: #FF8A47;
  --light: #F5F7FA;
  --dark: #293241;
  --bg-light: #FFFFFF;
  --bg-dark: #E9EDF2;
  --success: #4CAF50;
  --warning: #FFC107;
  --error: #F44336;
  --shadow: rgba(43, 76, 126, 0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
  --container-width: 1200px;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover, a:focus {
  color: var(--secondary);
  text-decoration: none;
}

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


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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-dark {
  background-color: var(--dark) !important;
}


.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}


.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: #234068;
  color: white;
  box-shadow: 0 4px 12px var(--shadow);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #4a6c98;
  color: white;
  box-shadow: 0 4px 12px var(--shadow);
}

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

.btn-accent:hover, .btn-accent:focus {
  background-color: #e67a3e;
  color: white;
  box-shadow: 0 4px 12px var(--shadow);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px var(--shadow);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}


.card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px var(--shadow);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-text {
  margin-bottom: 1.5rem;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--bg-light);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 0.75rem 0;
}

.header.midnightHeader.default {
  background-color: transparent;
}

.header.midnightHeader.white {
  background-color: var(--bg-light);
}

.header.midnightHeader.dark {
  background-color: var(--primary);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--primary);
  font-weight: 500;
  position: relative;
}

.header.midnightHeader.dark .nav-link {
  color: var(--light);
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.header.midnightHeader.dark .navbar-toggle {
  color: var(--light);
}


.hero {
  padding: 12rem 0 8rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(41, 50, 65, 0.7), rgba(41, 50, 65, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--light);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 16px var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--light);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  margin-bottom: 1.5rem;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-body {
  padding: 2rem;
  flex: 1;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-text {
  margin-bottom: 1.5rem;
}


.process {
  position: relative;
}

.process-line {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--secondary);
  z-index: 0;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 25%;
}

.process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.process-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}


.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--bg-dark);
  margin-bottom: 1.5rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
}

.faq-question h4 {
  margin-bottom: 0;
}

.faq-icon {
  font-size: 1.25rem;
  transition: var(--transition);
}

.faq-answer {
  padding-bottom: 1rem;
  display: none;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  display: block;
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--bg-dark);
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 76, 126, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.iti {
  width: 100%;
}


.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-body {
  padding: 2rem;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  margin-bottom: 1.5rem;
}

.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-date {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.blog-post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post-content {
  line-height: 1.8;
}

.blog-post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-content img {
  margin: 2rem 0;
  border-radius: var(--radius);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}


.footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  color: var(--light);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
}

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

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

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: var(--light);
}

.footer-link a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
}

.footer-bottom p {
  margin-bottom: 0;
}


.cookie-consent {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(200%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  margin-right: 2rem;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.cookie-settings-content {
  background-color: var(--bg-light);
  max-width: 600px;
  width: 100%;
  border-radius: var(--radius);
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
}

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

.cookie-settings-title {
  margin-bottom: 0;
}

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

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--bg-dark);
}

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

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

.cookie-category-title {
  font-size: 1.25rem;
  margin-bottom: 0;
}

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

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-dark);
  transition: var(--transition);
  border-radius: 34px;
}

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

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

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

.cookie-category-description {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.cookie-settings-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.cookie-manage {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  cursor: pointer;
  z-index: 999;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  transform: translateY(-50px);
  transition: all 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  margin-bottom: 0;
}

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

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}


@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-sm {
    padding: 2.5rem 0;
  }
  
  .section-lg {
    padding: 6rem 0;
  }
  
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .feature-grid, 
  .services-grid, 
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-sm {
    padding: 2rem 0;
  }
  
  .section-lg {
    padding: 5rem 0;
  }
  
  .navbar {
    position: relative;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: var(--bg-light);
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    box-shadow: 0 10px 15px var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .nav-menu.show {
    transform: translateY(0);
    opacity: 1;
    z-index: 10;
  }
  
  .nav-item {
    margin: 0.75rem 0;
  }
  
  .hero {
    padding: 8rem 0 5rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .process-line {
    display: none;
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .process-step {
    width: 100%;
    margin-bottom: 3rem;
  }
  
  .process-step:last-child {
    margin-bottom: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom p {
    margin-bottom: 1rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .feature-grid, 
  .services-grid, 
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cookie-settings-footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-settings-footer .btn {
    width: 100%;
  }
}