/* Base Styles */
:root {
    /* Color palette */
    --main-color: #0A2240;
    --contrast-color: #A88E52;
    --color-3: #270C0E;
    --color-4: #EAECC5;
    --color-5: #e1dccc;

    
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Font sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border radius */
    --radius-sm: 0.125rem;
    --radius: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    font-size: var(--text-base);
  }
  
  ul, ol {
    list-style: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Utility Classes */
  .container {
    width: 90%;
    /* max-width: 1280px; */
    margin: 0 auto;
    padding: 0 var(--space-4);
  }
  
  .section {
    padding: 5% 0
  }
  
  .section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
    
    justify-content: center;
  }
  
  .section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--corporate-800);
    margin-bottom: var(--space-6);
  }
  
  .section-subtitle {
    font-size: var(--text-base);
    color: var(--black);
    /* max-width: 48rem; */
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }

  .section-content
  {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    flex-wrap: wrap;
    width: 55%;
    align-content: flex-start;
    margin-top: 2%;
  }

  .section-image
  {
    width: 40%;
  }
  
  .card {
    background-color: var(--main-color);
    backdrop-filter: blur(10px);    
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    height: 100%;
    transition: 0.3s ease-in-out, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-xl);   
 
  }
  
  .card-title {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--contrast-color);
    margin-bottom: var(--space-3);
  }
  
  .card-text {
    color: var(--white);
    text-align: justify;
    
  }
  
  #about
  {
    background-image: url(/image/fundo.webp);
    background-color: rgba(255,255,255,0.9);
    background-blend-mode: lighten;
    background-size: cover;
  }

  #about-history
  {   
    background-image: url(/image/history-bg.webp);
    background-color: rgba(10, 34, 64, 98%);
    background-blend-mode:multiply;
    background-size: cover;
  }

  #about-history h3
  {
    color: var(--contrast-color);
  }

  #about-history p
  {
    color: var(--white);
    text-align: justify;
  }

  .two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
  }
  
  .three-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .four-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .subtitle {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--corporate-800);
    margin-bottom: var(--space-6);
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: var(--text-base);
    line-height: 1.5;
    border: none;
  }
  
  .btn-primary {
    background-color: var(--contrast-color);
    color: var(--white);
  }
  
  .btn-primary:hover {
    background-color: var(--color-5);
    color: var(--main-color);
  }
  
  .btn-light {
    background-color: var(--white);
    color: var(--black);
  }
  
  .btn-light:hover {
    background-color: var(--color-4);
    
  }
  
  .btn-outline-light {
    border: 1px solid var(--white);
    color: var(--white);
    background-color: transparent;
  }
  
  .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .btn-full {
    width: 100%;
  }
  
  .btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--corporate-800);
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: var(--space-3) 0;
    transition: all 0.3s ease;
  }
  
  .navbar.scrolled {
    background-color: var(--main-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--contrast-color);
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-logo {
    width: 13%;
    margin: 1% 0;
  }

  .navbar-logo .logo {
  
  }
  
  .navbar-menu {
    display: none;
  }
  
  .navbar-item {
    color: white;
    margin-right: var(--space-6);
    font-weight: 500;
    background-color: transparent;
    padding: 1% 1.5%    ;
    transition: all 0.3s ease-in-out;
  }
  
  .navbar-item:hover {
    color: var(--corporate-600);
    background-color: white;
  }
  
  .mobile-menu-toggle {
    display: block;
    margin-right: 5%;
  }
  
  .menu-icon {
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
  }
  
  .menu-icon::before,
  .menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
  }
  
  .menu-icon::before {
    top: 8px;
  }
  
  .menu-icon::after {
    top: 16px;
  }
  
  .mobile-menu-open .menu-icon::before {
    transform: rotate(45deg);
    top: 12px;
  }
  
  .mobile-menu-open .menu-icon::after {
    transform: rotate(-45deg);
    top: 12px;
  }
  
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--main-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4) 0;
    animation: fadeIn 0.3s ease-out;
  }
  
  .mobile-menu .navbar-item {
    display: block;
    padding: var(--space-2) 0;
    margin: 0;
  }
  
  .mobile-menu .btn {
    margin-top: var(--space-4);
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Hero Section */
  .hero-section {
    position: relative;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-20) 0;
  }
  
  .hero-background {
    position: absolute;
    inset: 0;
    
    
    background-color: rgba(34, 10, 78, 0.8);
  }
  
  .hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 34, 64, 0.5) 0%, rgba(10, 34, 64, 0.8) 100%);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: var(--space-20) 0;
    display: flex;    
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 90vh;
    gap: 15%;
  }

  .hero-content video
  {
    min-width: 100%;
    width: 100vw;
    min-height: 100%;
    position: absolute;
    z-index: -2;
    filter:opacity(20%);
    object-fit: cover;
  }
  
  .hero-logo{
    width: 40%;
  }

  .hero-logo img{
    width: 100%;
  }

  .hero-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-top: var(--space-3);
    margin-bottom: var(--space-10);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
  }
  
  .scroll-indicator {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    animation: bounce 2s infinite;
  }
  
  .btn-scroll {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--white);
  }
  
  .arrow-down {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
  }
  
  .arrow-down::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    left: 7px;
    top: 5px;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  /* About Section */
  .icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--corporate-100);
    color: var(--contrast-color);
    border-radius: 9999px;
    margin: 0 auto var(--space-6) auto;
  }

  .icon-box i{
    font-size: var(--text-6xl);
  }
  
  .column
  {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
          justify-content: center;
  }

  .image-container {
    height: 40vh;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  
  .img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  
  
  /* Companies Section */
  .companies-section {
    
    background-image: url(/image/compannies.jpg);
    background-color: rgba(221, 221, 221, 0.9);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: center;
  }
  
  .category-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--white);
    background-color: var(--gray-800);
    padding: var(--space-1) var(--space-2);
    border-radius: 9999px;
    margin-bottom: var(--space-2);
    background-color: #1b3d69;
    margin-top: var(--space-4);
  }
  
  .company-image {
    height: 12rem;
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
  }
  
  .company-content {
    padding: var(--space-5);
  }
  
  .company-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) 0;
    border: 1px solid var(--main-color);
    color: var(--corporate-700);
    border-radius: var(--radius);
    margin-top: var(--space-6);
    transition: all 0.5s ease-in-out;
    background-color: var(--white);
    gap: 5%;

  }
  
  .company-link:hover {
    background-color: var(--gray-400);    
    color: var(--black);
  }
  
  .company-link i
  {
    color: var(--main-color);
  }

  .icon-link {
    margin-left: var(--space-2);
    position: relative;
    width: 16px;
    height: 16px;
  }
  
  .icon-link::before,
  .icon-link::after {
    content: '';
    position: absolute;
    background-color: currentColor;
  }
  
  .icon-link::before {
    width: 12px;
    height: 2px;
    transform: rotate(45deg);
    top: 8px;
    left: 0;
  }
  
  .icon-link::after {
    width: 2px;
    height: 12px;
    transform: rotate(45deg);
    top: 3px;
    left: 5px;
  }

  #contact
  {
    background-color: var(--contrast-color);

  }
  
  /* Contact Section */
  .contact-columns {
    align-items: stretch;
  }
  
  .contact-info {
    height: 100%;
  }
  
  .contact-item {
    display: flex;
    margin-bottom: var(--space-6);
    color: var(--white);
  }

  .contact-item p:hover {
    color: var(--contrast-color);
    font-weight: 600;

  }
  
  .contact-item span {
    margin-right: var(--space-4);
    color: var(--corporate-600);
  }
  
  .contact-item h4 {
    font-weight: 600;
    color: var(--contrast-color);
    margin-bottom: var(--space-2);
  }
  
  .contact-hours {
    margin-top: var(--space-10);
    color: var(--white);
  }
  
  .contact-hours h4 {
    font-weight: 600;
    color: var(--contrast-color);
    margin-bottom: var(--space-4);
  }
  
  .form-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
  }
  
  .form-group {
    margin-bottom: var(--space-6);
  }
  
  .form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-2);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--corporate-200);
    border-radius: var(--radius);
    background-color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-base);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--corporate-400);
    box-shadow: 0 0 0 2px rgba(87, 141, 244, 0.2);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  /* Footer */
  .footer {
    background-color: var(--main-color);
    color: var(--white);
    padding: var(--space-12) 5%;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
  }
  
  .footer-text {
    color: var(--corporate-300);
    margin-bottom: var(--space-6);
  }
  
  .social-links {
    display: flex;
    gap: var(--space-4);
  }
  
  .social-link {
    color: var(--corporate-300);
    transition: color 0.3s ease;
  }
  
  .social-link:hover {
    color: var(--white);
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    text-transform: uppercase;
  }
  
  .footer-links a {
    color: var(--corporate-300);
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--gray-400);
  }
  
  .footer-contact {
    color: var(--corporate-300);
    font-style: normal;
    line-height: 1.8;
  }
  
  .footer-contact a {
    color: var(--corporate-300);
    transition: color 0.3s ease;
  }
  
  .footer-contact a:hover {
    color: var(--white);
  }
  
  .footer-divider {
    border: none;
    border-top: 1px solid var(--corporate-800);
    margin: var(--space-8) 0;
  }
  
  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
  }
  
  .copyright {
    color: var(--corporate-400);
  }
  
  .footer-legal {
    display: flex;
    gap: var(--space-6);
  }
  
  .footer-legal a {
    color: var(--corporate-400);
    transition: color 0.3s ease;
  }
  
  .footer-legal a:hover {
    color: var(--white);
  }
  
  .scroll-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    background-color: var(--main-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .scroll-top.visible {
    opacity: 1;
    visibility: visible;
    box-shadow: var(--shadow-xl);
  }
  
  .scroll-top:hover {
    background-color: #153966;
  }
  
  .arrow-up {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
  }
  
  .arrow-up::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white);
    border-left: 2px solid var(--white);
    transform: rotate(45deg);
    left: 5px;
    top: 7px;
  }
  
  /* Icons */
  .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
  }
  
  .icon-globe::before,
  .icon-globe::after {
    content: '';
    position: absolute;
    border: 2px solid currentColor;
    border-radius: 50%;
  }
  
  .icon-globe::before {
    width: 16px;
    height: 16px;
    top: 4px;
    left: 4px;
  }
  
  .icon-globe::after {
    width: 0;
    height: 16px;
    top: 4px;
    left: 12px;
    border-radius: 0;
  }
  
  .icon-users {
    position: relative;
  }
  
  .icon-users::before,
  .icon-users::after {
    content: '';
    position: absolute;
    border: 2px solid currentColor;
    border-radius: 50%;
  }
  
  .icon-users::before {
    width: 8px;
    height: 8px;
    top: 4px;
    left: 8px;
  }
  
  .icon-users::after {
    width: 8px;
    height: 8px;
    top: 12px;
    left: 4px;
  }
  
  .icon-building::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 20px;
    border: 2px solid currentColor;
    top: 2px;
    left: 4px;
  }
  
  .icon-map-pin::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 2px;
    left: 7px;
  }
  
  .icon-map-pin::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background-color: currentColor;
    top: 12px;
    left: 11px;
  }
  
  .icon-phone::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 4px;
    left: 4px;
    transform: rotate(45deg);
  }
  
  .icon-mail::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 16px;
    border: 2px solid currentColor;
    top: 4px;
    left: 2px;
  }
  
  .icon-facebook::before {
    content: 'f';
    position: absolute;
    font-family: serif;
    font-weight: bold;
    font-size: 20px;
    top: -1px;
    left: 8px;
  }
  
  .icon-instagram::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 4px;
    top: 4px;
    left: 4px;
  }
  
  .icon-instagram::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 8px;
    left: 8px;
  }
  
  .icon-linkedin::before {
    content: 'in';
    position: absolute;
    font-family: serif;
    font-weight: bold;
    font-size: 16px;
    top: 1px;
    left: 4px;
  }
  
  /* Media Queries */
  @media (min-width: 640px) {
    .hero-buttons {
      flex-direction: row;
      justify-content: center;
    }
    
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
    
    .form-row {
      flex-direction: row;
    }
    
    .form-row .form-group {
      flex: 1;
    }
  }
  
  @media (min-width: 768px) {
    .two-columns {
      grid-template-columns: 1fr 1fr;
    }
    
    .three-columns {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .four-columns {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
      font-size: var(--text-4xl);
    }
    
    .hero-title {
      font-size: var(--text-6xl);
    }
    
    .hero-subtitle {
      font-size: var(--text-2xl);
    }
    
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .navbar-menu {
        display: flex;
        align-items: center;
        width: 60%;
        justify-content: flex-end;
    }
    
    .mobile-menu-toggle {
      display: none;
    }
  }
  
  @media (min-width: 1024px) {
    .four-columns {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-columns .column:first-child {
      flex: 1;
    }
    
    .contact-columns .column:last-child {
      flex: 2;
    }
  }

  @media (max-width: 768px) {
    .navbar-logo
    {
      width: 40%;
    }

    .container
    {
      padding: 0;
    }

    .section-header
    {
      flex-direction: column;
      align-items: center;

    }

    .section-content
    {
      justify-content: center

    }

    .section-image
    {
      width: 90%;
    }

    .section-image img
    {
      display: inline-block;
    }

    .section-content
    {
      width: 100%;
    }
  }