@font-face {
  font-family: 'MyFont';
  src: url('/static/fonts/RedHatDisplay-Light.woff2') format('woff2'),
       url('/static/fonts/RedHatDisplay-Light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


*/

/* Bold (700) */
@font-face {
  font-family: 'MyFont2';
  src: url('/static/fonts/RedHatDisplay-Black.woff2') format('woff2'),
       url('/static/fonts/RedHatDisplay-Black.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Apply globally */
:root {
  --app-font: 'MyFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --app-font-bold: 'MyFont2', 'MyFont', sans-serif;
}

html, body {
  font-family: var(--app-font);
}

/* Headings use MyFont2 (bold) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--app-font-bold);
  font-weight: 700;
}

/* Navbar brand uses MyFont2 */
.navbar-brand {
  font-family: var(--app-font-bold);
  font-weight: 700;
}

:root {
    --primary-color: #00B2D6;
    --dark-color: #000000;
    --light-color: #FFFFFF;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

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

body {
    color: var(--text-color);
    background-color: #E6F3FF;
}

.header {
    background-color: #4169E1 !important;
    box-shadow: 0 2px 4px rgba(65, 105, 225, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF !important;
}

.nav-link {
    color: #ffffff !important;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #00F0FF !important;
}

.dropdown-menu {
    background-color: #4169E1;
    border: 1px solid var(--primary-color);
}

.dropdown-item {
    color: #ffffff;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #00F0FF;
    color: #000000 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4169E1 0%, var(--primary-color) 100%);
    color: var(--light-color);
    padding: 100px 0;
    min-height: 500px;
    background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0,0,0,0.15)),
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
  pointer-events: none;
}

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

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--light-color);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light-color);
    margin: 20px auto;
}

.service-detail-card {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 178, 214, 0.2);
}

.service-detail-card .card-header {
    text-align: center;
    padding: 30px;
    border-bottom: 3px solid var(--primary-color);
}

/* Why Choose Us */
.why-choose-item {
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    background-color: var(--light-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.why-choose-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.icon-primary {
    color: var(--primary-color);
}

/* Stat Box */
.stat-box {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.stat-box h3 {
    font-size: 2rem;
}

/* Footer */
.footer {
    background-color: #4169E1 !important;
    color: var(--light-color);
    border-top: 3px solid var(--primary-color);
}

.footer a {
    color: #FFFFFF !important;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #00F0FF !important;
}

/* Override Bootstrap text-white-50 for better contrast */
.footer .text-white-50 {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.footer .text-white-50:hover {
    color: #00F0FF !important;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.hover-link {
    transition: color 0.3s ease;
}

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

/* Cookie Banner */
/* Button Styles */
.btn-primary {
    background-color: #00F0FF;
    border-color: #00F0FF;
    color: #000000;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #00D4E0;
    border-color: #00D4E0;
    color: #000000;
}

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

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 178, 214, 0.25);
}

/* Contact Form */
.contact-form {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 178, 214, 0.25);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Hover Card Effect */
.hover-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 178, 214, 0.2) !important;
}

.hover-card .card-body {
    transition: all 0.3s ease;
}

.hover-card:hover .card-body {
    color: var(--primary-color);
}

/* intl-tel-input: hide the long country list by default and render as overlay when opened */
.iti__country-list {
	/* keep it hidden until user opens via our button */
	display: none !important;
	position: absolute;
	top: 100%;
	left: 0;
	right: auto;
	z-index: 2500;
	max-height: 320px;
	overflow: auto;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	border-radius: 6px;
}

/* when JS toggles .open, show as overlay */
.iti__country-list.open {
	display: block !important;
}

/* ensure the selected flag area is clickable and visually consistent */
.iti__selected-flag {
	cursor: pointer;
}

/* small responsive tweak so overlay fits on small screens */
@media (max-width: 480px) {
	.iti__country-list.open {
		right: 0;
		left: 0;
		max-height: 50vh;
	}
}

/* Modal overlay styling for country selector */
.country-selector-modal {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2500;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-width: 400px;
  max-height: 400px;
  overflow: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        flex-wrap: wrap;
    }

}
