/* CONTACTS PAGE STYLES */

/* Flag base style */
.flag {
  width: 24px;
  height: 18px;
  margin-left: 8px;
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 2px;
  position: relative;
  vertical-align: middle;
}

/* Italy Flag - Green, White, Red */
.flag-italy {
  background: linear-gradient(to right, 
    #009246 0%, #009246 33.33%, 
    #ffffff 33.33%, #ffffff 66.66%, 
    #ce2b37 66.66%, #ce2b37 100%);
}

.flag-austria {
  background: linear-gradient(to bottom, 
    #ed2939 0%, #ed2939 33.33%, 
    #ffffff 33.33%, #ffffff 66.66%,
    #ed2939 66.66%, #ed2939 100%);
}

.flag-ukraine {
  background: linear-gradient(to bottom, 
    #0057b7 0%, #0057b7 50%, 
    #ffd700 50%, #ffd700 100%);
}

/*BANDIERE*/


.flag-gb{
  position: relative;
  overflow: hidden;
  background:#012169;           /* BLUE base */
}

.flag-gb::before,
.flag-gb::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}

/* WHITE layer */
.flag-gb::before{
  background:
    /* White central cross */
    linear-gradient(to right,
      transparent 0, transparent 42%,
      #fff 42%, #fff 58%,
      transparent 58%, transparent 100%),
    linear-gradient(to bottom,
      transparent 0, transparent 42%,
      #fff 42%, #fff 58%,
      transparent 58%, transparent 100%),

    /* White diagonals (make them a touch thicker for small icons) */
    linear-gradient(45deg,
      transparent 0, transparent 44%,
      #fff 44%, #fff 56%,
      transparent 56%, transparent 100%),
    linear-gradient(-45deg,
      transparent 0, transparent 44%,
      #fff 44%, #fff 56%,
      transparent 56%, transparent 100%);
}

/* RED layer */
.flag-gb::after{
  background:
    /* Red vertical cross (più larga) */
    linear-gradient(to right,
      transparent 0, transparent 47.5%,
      #C8102E 47.5%, #C8102E 52.5%,
      transparent 52.5%, transparent 100%),

    /* Red horizontal cross (più larga) */
    linear-gradient(to bottom,
      transparent 0, transparent 47.5%,
      #C8102E 47.5%, #C8102E 52.5%,
      transparent 52.5%, transparent 100%),

    /* Red diagonal 1 (più visibile ma lascia il bianco) */
    linear-gradient(45deg,
      transparent 0, transparent 48.5%,
      #C8102E 48.5%, #C8102E 51.5%,
      transparent 51.5%, transparent 100%),

    /* Red diagonal 2 */
    linear-gradient(-45deg,
      transparent 0, transparent 48.5%,
      #C8102E 48.5%, #C8102E 51.5%,
      transparent 51.5%, transparent 100%);
}







.contacts-page {
  padding: 0;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
              url('../img/FVG/FVG_BLUE.png') 55% center/45% no-repeat;
  min-height: calc(100vh - 200px);
}

.contacts-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(11, 60, 120, 0.03), rgba(255, 202, 86, 0.08));
  color: #333;
  padding: 50px 40px;
  border-radius: 15px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 202, 86, 0.2);
}

.contact-section h2 {
  color: #0b3c78;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: bold;
  border-bottom: 3px solid #ffca56;
  padding-bottom: 15px;
  display: inline-block;
}

.contact-section > p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #333;
  line-height: 1.8;
  white-space: nowrap;
  font-weight: 500;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-method {
  background: white;
  padding: 35px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(11, 60, 120, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #ffca56;
  background: linear-gradient(135deg, rgba(255, 202, 86, 0.05), rgba(11, 60, 120, 0.02));
}

.contact-method h3 {
  color: #0b3c78;
  margin-bottom: 18px;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-method p {
  margin-bottom: 12px;
  line-height: 1.8;
  color: #444;
}

.contact-method strong {
  font-size: 1.4rem;
  color: #0b3c78;
  font-weight: 700;
  display: block;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.contact-method small {
  color: #777;
  font-style: italic;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contacts-page .container {
    padding: 40px 15px;
  }

  .contact-section {
    padding: 30px 20px;
  }

  .contact-section h2 {
    font-size: 1.8rem;
  }

  .contact-section > p {
    font-size: 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .contact-method {
    padding: 25px 20px;
  }

  .contact-method h3 {
    font-size: 1.2rem;
  }

  .contact-method strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-method h3 {
    font-size: 1.1rem;
  }

  .contact-method {
    padding: 20px 15px;
  }
}
