/* Custom CSS for Panama Immigration Site */

/* Root Variables */
:root {
	--primary-orange: #d2a444;
	--dark-blue: #0d182a;
	--red-site:#bc2f26;
	--green-site:#128a44;
	
	--dark-bg: #1a1a1a;
	--light-gray-bg: #f8f9fa;
	--text-muted: #6c757d;
	--panama-red: #d21034;
	--dark-bg: #000;
	
}
@font-face {
  font-family: "bootstrap-icons";
  src: url("https://wargandi.com/wp-content/themes/nvbarebones/bs5/fonts/bootstrap-icons.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap !important;
}
.text-danger{
	color: #d21034 !important;
}
.btn-danger{
	background-color: #d21034 !important;
}
.dropdown-item:hover {
  background-color: #d21034 !important;
  color: #fff !important;
}
/* Body and General Styles */
body {
	padding-top: 76px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	margin: 0;
	padding: 0;
}

/* Navigation */
.navbar {
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	background-color: white !important;
	border-bottom:1px solid #d2a444;
}

.navbar-brand {
	font-size: 1.2rem;
	letter-spacing: 0.5px;
	color:black !important;
}
.btn-contact{
	background-color:var(--primary-orange) !important;
	color: white !important;
	font-weight: bold;
    border-radius: 50px;
}
.navbar-nav .nav-link {
	font-weight: 500;
	padding: 0.5rem 1rem !important;
	transition: color 0.3s ease;
	color:black !important;
}
.nav-link:focus {
  outline: 2px solid #5e676f !important;   
  outline-offset: 2px !important;      
}

.navbar-nav .nav-link:hover {
	color: var(--primary-orange) !important;
}

.heading-colon::after {
  content: ":";
}

/* Hero Section - Home */
.hero-section-home p {
	font-size: 1.1rem;
	line-height: 1.6;
}

.hero-section-home  {
padding: 60px 20px;
}

.hero-logo {
max-width: 300px;
}

.btn-partner {
border: 2px solid #d2a444;
background-color: #ffffff;
color: #000000;
font-weight: bold;
border-radius: 50px;
padding: 10px 25px;
}

.btn-partner:hover, .btn-contact-home:hover{
background-color: #d2a444;
color: white;
}

/*SECTION 1 - Home*/
.section-1 {
margin-top: 0;
}

.section-1 .bg-image{
	background-image:url('https://wargandi.com/media/home/herosection.webp'); 
	background-size:cover; 
	background-position: top center;
	background-repeat: no-repeat;
	height: 1000px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
}
.section-1 .blue-box {
background-color: var(--dark-blue) !important;
width: 90%;
border-top-right-radius: 40px;
border-bottom-left-radius: 40px;
transform: translateY(-50%);
}

/*SECTION 2 - Home*/
.rounded-30{border-radius: 30px;}

/*SECTION 3 - Home*/
.btn-contact-home{
border: 2px solid #d2a444;
background-color: transparent;
color: white;
font-weight: bold;
border-radius: 50px;
padding: 10px 25px;
}

/*SECTION 4 - Home*/
.orange-bg{background-color: var(--primary-orange) !important;}
.red-bg{background-color: var(--red-site) !important;}
.green-bg{background-color: var(--green-site) !important;}
.border-cards{border-top-right-radius:30px !important; border-bottom-left-radius:30px !important;}
.flip-card {transition:0.3s; cursor:pointer; }
.flip-card:hover .flip-front img { transform:scale(0.85); }
.flip-card:hover .flip-front h3 { transform:scale(0.9); }
.flip-card:hover .flip-inner { transform:translateY(-20px); }

/* Arrows blancas para el accordion móvil */
.accordion-button:not(.collapsed)::after {
    filter: invert(1); /* flecha blanca */
}

.accordion-button.collapsed::after {
    filter: invert(1);
}

/* Hace que el botón sea totalmente transparente y use el color del padre */
.accordion-button {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* También cuando está activo/abierto */
.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Remueve bordes internos */
.accordion-item {
    border: none !important;
}
.accordion-button:hover {
    background-color: transparent !important;
}
#consulting_services{
	background-image:url('https://wargandi.com/media/home/BG_blue.webp');
}
/* Desktop flip cards equal height & hide back text by default */
.flip-card { height: 380px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.flip-inner .flip-back { opacity:0; max-height:0; transition:0.3s; }
.flip-card:hover .flip-back { opacity:1; max-height:300px; }
.flip-card:hover .flip-front img { transform:scale(0.85); }
.flip-card:hover .flip-front h3 { transform:scale(0.9); }
.flip-card:hover .flip-inner { transform:translateY(-20px); }

/*SECTION 5 -Home*/
/*gf*/
.gform-field-label{font-weight:bold !important;}
#gform_fields_1 input,
#gform_fields_1 textarea, 
#gform_fields_1 select
{
	border-radius:5px;
	border:none; 
	background-color:#d3d3d3;
}
.gform-theme--foundation .gform_fields{ row-gap:15px !important;}
#gform_submit_button_1
{
	border: 2px solid #d2a444;
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 25px;
}
#gform_submit_button_1:hover
{
	background-color: #d2a444;
    color: white;
}
#gform_1 > div.gform-footer.gform_footer.top_label{justify-content: center;}
.gform_required_legend{display:none;}
	
	
/* Footer Section */
.footer-section h3 {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.footer-section .form-label {
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.footer-section .form-control::placeholder {
	color: #aaa;
}

.footer-links {
	margin-top: 2rem;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	font-size: 1rem;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #d21034; !important;
}

.blue-bg{background-color: var(--dark-blue)};

.footer-link{color: black !important;}
.footer-link:hover{color: var(--primary-orange) !important;}


@media (max-width: 375px) {
	.carousel-inner{
		min-height: 350px;
	}
	.hero-section-home h1 {
		font-size: 2rem;
	}
	
}

@media (max-width: 992px) {
	
	
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Letter spacing utilities (Bootstrap doesn't have these specific values) */
.letter-spacing {
	letter-spacing: 1px;
}

.letter-spacing-wide {
	letter-spacing: 2px;
}

/* Card hover effects */
.card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card:hover {
	transform: translateY(-5px);
	/*box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;*/
}

/* Button hover effects */
.btn {
	transition: all 0.3s ease;
}

.btn:hover {
	transform: translateY(-2px);
}
.card-img-30 {
	width: 30%;
	max-width: 30%;
}
/* Header section */
.header-section {
	min-height: 60vh;
	display: flex;
	align-items: center;
}

/* Background for header */

.rounded-20 {
  border-radius: 20px !important;
}

@media (min-width: 1200px) {
	.w-xl-40{
		width: 40% !important;
	}
}


@media (max-width: 768px) {
	.section-1 .bg-image{
		background-position: 10% center !important;
	}
}

@media (max-width: 992px) {
	.hero-section-home h1 {
		font-size: 3rem;
	}
	.hero-section-home .container {
		padding-top: 2rem;
	}
	.section-1 .bg-image{
		background-position: 1% center !important;
	}
}

@media only screen and (min-width: 992px) {
	.hero-section-home {
		padding: 120px 0 20px 0;
		}
	.section-1 .blue-box {
		width: 50%;
		transform: translateY(-50%);
	}		
		
}

@media (max-width: 575.98px) {
	body {
		padding-top: 56px;
	}
	
	.hero-section-home h1 {
		font-size: 2rem;
		line-height: 1.2;
	}

	.hero-section-home p {
		font-size: 1rem;
	}

	
	.hero-section-home {
		text-align: center;
	}
	.hero-section-home
	 {
		margin-top: -56px;
	}
	#consulting_services{
		background-image:url('https://wargandi.com/media/home/bg-blue-mobile.webp?v=2') !important;
	}
	.section-1 .bg-image{
		background-position: 15% center !important;
	}
}

@media (min-width: 1024px) and (max-width: 1399px) {

    .navbar-brand,.navbar-nav .nav-link, .btn-contact
	{
		font-size: 14px;
	}
}