/* ===================================
   PASSPORT SERVICES - CUSTOM STYLES
   Mobile-First Design System
   =================================== */

/* === ROOT VARIABLES === */
:root {
    --primary: #446084;
    --primary-light: #5a7ba8;
    --primary-dark: #334862;
    --accent: #9f8b4d;
    --accent-secondary: #7a9c59;
    --success: #7a9c59;
    --alert: #b20000;
    --dark: #131726;
    --light: #f8f8f8;
    --bg-warm: #f1f1f1;
    --bg-overlay: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-strong: 6px 6px 9px rgba(0, 0, 0, 0.2);
}

/* === GLOBAL STYLES === */
* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* === NAVIGATION === */
#navbar {
    transition: var(--transition);
}

#navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-hero-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2.5rem !important;
    background: white !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
    border-radius: 15px !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-medium) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
}

.btn-hero-primary span,
.btn-hero-primary i,
.btn-hero-primary svg {
    color: var(--primary) !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-hero-primary:hover {
    background: var(--light) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-strong) !important;
    color: var(--primary-dark) !important;
}

.btn-hero-primary:hover span,
.btn-hero-primary:hover i,
.btn-hero-primary:hover svg {
    color: var(--primary-dark) !important;
}

.btn-hero-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2.5rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
    border-radius: 15px !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-hero-secondary span,
.btn-hero-secondary i,
.btn-hero-secondary svg {
    color: white !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

.btn-hero-secondary:hover span,
.btn-hero-secondary:hover i,
.btn-hero-secondary:hover svg {
    color: white !important;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: white;
    color: var(--primary);
    font-weight: 600;
    border-radius: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* === SERVICE CARDS === */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(68, 96, 132, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.5rem;
}

/* === PROCESS STEPS === */
.process-step {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
}

.process-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.process-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem auto 1.5rem;
    color: white;
    transition: var(--transition);
}

.process-step:hover .process-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* === PRICING CARDS === */
.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(68, 96, 132, 0.1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--accent);
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.featured-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-secondary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* === FAQ ACCORDION === */
.faq-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark);
    background: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light);
}

.faq-item.active .faq-question {
    background: var(--light);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.7;
}

/* === FORM INPUTS === */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 768px) {

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .service-card {
        padding: 1.5rem;
    }

    .process-step {
        padding: 1.5rem 1rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* === SCROLL ANIMATIONS === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === LOADING STATES === */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* === ACCESSIBILITY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* === PRINT STYLES === */
@media print {

    nav,
    footer,
    #contact {
        display: none;
    }

    body {
        background: white;
    }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {

    .btn-primary,
    .btn-hero-primary,
    .btn-outline {
        border: 2px solid currentColor;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Google Translate Styling */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-te-gadget-simple { background-color: transparent !important; border: none !important; padding: 0 !important; font-family: 'Inter', sans-serif !important; }
.goog-te-gadget-simple img { display: none !important; }
.goog-te-gadget-simple .goog-te-menu-value { color: #374151 !important; font-size: 1rem !important; padding-right: 0 !important; }
.goog-te-gadget-simple .goog-te-menu-value span { border-left: none !important; color: #374151 !important; }
.goog-te-gadget-simple .goog-te-menu-value span:last-child { display: none !important; }

/* Custom Language Dropdown */
.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Layout Hardening for Translations */
.service-card { min-height: 320px; display: flex; flex-direction: column; }
.service-card p { flex-grow: 1; }
.pricing-card { min-height: 500px; display: flex; flex-direction: column; }

/* === WARMER, MORE HUMAN DESIGN === */
/* Add subtle texture to backgrounds */
body {
    background-color: var(--bg-warm);
}

/* Softer section backgrounds */
section {
    position: relative;
}

section.bg-light {
    background-color: var(--light);
}

section.bg-warm {
    background-color: var(--bg-warm);
}

/* Add subtle borders and shadows for depth */
.container {
    position: relative;
}

/* Rounded corners everywhere */
img {
    border-radius: 15px;
}

/* Warmer button styles */
.btn-hero-primary {
    background: var(--primary);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.btn-hero-primary:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-strong);
}

.btn-hero-secondary {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

/* Add texture to hero section */
#hero {
    position: relative;
}

/* Softer card shadows */
.card, .feature-card {
    box-shadow: var(--shadow-soft);
    border-radius: 15px;
    transition: var(--transition);
}

.card:hover, .feature-card:hover {
    box-shadow: var(--shadow-strong);
}

/* Warmer navigation */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(68, 96, 132, 0.1);
}

/* Add subtle background patterns */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(68, 96, 132, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pattern-grid {
    background-image: linear-gradient(rgba(68, 96, 132, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(68, 96, 132, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}
.pricing-card ul { flex-grow: 1; }
.min-h-screen { min-height: 100vh; height: auto; } /* Allow hero to grow */

/* === SLANTED SECTION DIVIDERS === */
.slant-top {
    position: relative;
    padding-top: 80px;
}

.slant-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: 1;
}

.slant-bottom {
    position: relative;
    padding-bottom: 80px;
}

.slant-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: bottom right;
    z-index: 1;
}

.slant-both {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.slant-both::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: top left;
    z-index: 1;
}

.slant-both::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: bottom right;
    z-index: 1;
}

/* === ADDITIONAL BACKGROUND TEXTURES === */
.texture-paper {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /%3E%3CfeColorMatrix type="saturate" values="0"/%3E%3C/filter%3E%3Crect width="100" height="100" filter="url(%23noise)" opacity="0.03"/%3E%3C/svg%3E');
}

.texture-fabric {
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="fabric" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"%3E%3Cpath d="M0 0h10v10H0z" fill="none"/%3E%3Cpath d="M0 0l10 10M10 0L0 10" stroke="%23446084" stroke-width="0.5" opacity="0.05"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100" height="100" fill="url(%23fabric)"/%3E%3C/svg%3E');
}

.texture-diagonal-lines {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(68, 96, 132, 0.02) 10px,
        rgba(68, 96, 132, 0.02) 20px
    );
}

.texture-waves {
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 10 Q 25 0, 50 10 T 100 10" stroke="%23446084" stroke-width="0.5" fill="none" opacity="0.05"/%3E%3C/svg%3E');
    background-repeat: repeat;
}

/* === IMAGE OVERLAYS FOR SECTIONS === */
.bg-image-overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-image-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(68, 96, 132, 0.92) 0%, rgba(51, 72, 98, 0.88) 100%);
    z-index: 0;
}

.bg-image-overlay > * {
    position: relative;
    z-index: 1;
}

/* === RESPONSIVE ADJUSTMENTS FOR SLANTS === */
@media (max-width: 768px) {
    .slant-top {
        padding-top: 50px;
    }

    .slant-top::before {
        height: 50px;
    }

    .slant-bottom {
        padding-bottom: 50px;
    }

    .slant-bottom::after {
        height: 50px;
    }

    .slant-both {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .slant-both::before,
    .slant-both::after {
        height: 50px;
    }

    .bg-image-overlay {
        background-attachment: scroll;
    }
}
