/* ==========================================
   Malta Pension Investments - Style Sheet
   Modern, Premium Financial Website Design
   ========================================== */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Primary Colors */
    --primary-dark: #102d58;
    --primary-blue: #112e59;
    --primary-light: #1e4b85;

    /* Accent Colors - Gold */
    --accent-primary: #b5904a;
    --accent-primary-light: #c9a55e;
    --accent-primary-dark: #967538;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f9f7f2;
    /* Slightly warmer off-white to match gold */
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #212529;

    /* Gradients */
    --gradient-dark: linear-gradient(135deg, #102d58 0%, #1e4b85 100%);
    --gradient-accent: linear-gradient(135deg, #b5904a 0%, #d4b055 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(16, 45, 88, 0.95) 0%, rgba(30, 75, 133, 0.85) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-accent: 0 4px 20px rgba(181, 144, 74, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== UTILITY CLASSES ==================== */
.section-padding {
    padding: 100px 0;
}

.text-accent {
    color: var(--accent-primary);
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
}

.section-label.light {
    color: var(--accent-primary-light);
}

.section-label.light::before {
    background: var(--accent-primary-light);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.bg-dark-gradient {
    background: var(--gradient-dark);
}

.bg-light {
    background-color: var(--off-white) !important;
}

/* ==================== BUTTONS ==================== */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background: var(--accent-primary-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(181, 144, 74, 0.4);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ==================== NAVBAR ==================== */
.navbar {
    padding: 5px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    padding: 5px 0;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar-brand .logo {
    height: 240px;
    transition: var(--transition-normal);
}

.page-inner .navbar-brand .logo {
    height: 100px;
}

.navbar.scrolled .logo {
    height: 80px;
}

/* Mobile Responsive Logo Fix */
@media (max-width: 991px) {
    .page-inner .navbar-brand .logo {
        height: 80px;
        /* Standard size on mobile */
    }

    .page-home .navbar-brand .logo {
        height: 140px;
        /* Tablet size */
    }

    .navbar.scrolled .logo {
        height: 60px;
        /* Slightly smaller on scroll */
    }
}

@media (max-width: 768px) {
    .page-home .navbar-brand .logo {
        height: 165px;
        /* Larger logo for better visibility on phones */
    }

    /* Shrink logo when scrolled on mobile */
    .page-home .navbar.scrolled .logo {
        height: 60px;
    }

    /* Add padding to hero content to account for fixed navbar with logo */
    .page-home .hero-content {
        padding-top: 220px;
    }
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    width: 100%;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition-normal);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--white);
    left: 0;
    transition: var(--transition-normal);
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a2540 0%, #0f3460 50%, #0a2540 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(15, 52, 96, 0.75) 50%, rgba(10, 37, 64, 0.85) 100%);
    z-index: 1;
}

/* Animated Gradient Background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Particles Effect */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(181, 144, 74, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(181, 144, 74, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(181, 144, 74, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(200, 160, 90, 0.15) 0%, transparent 40%);
    animation: floatingLights 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatingLights {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-20px) scale(1.05);
        opacity: 0.8;
    }

    50% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    75% {
        transform: translateY(20px) scale(0.95);
        opacity: 0.8;
    }
}

/* Animated particles */
.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 100px 50px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 200px 150px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 300px 250px, rgba(181, 144, 74, 0.4), transparent),
        radial-gradient(2px 2px at 400px 100px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 500px 300px, rgba(181, 144, 74, 0.3), transparent),
        radial-gradient(2px 2px at 600px 200px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 700px 350px, rgba(181, 144, 74, 0.3), transparent),
        radial-gradient(3px 3px at 800px 100px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 50px 300px, rgba(181, 144, 74, 0.3), transparent),
        radial-gradient(2px 2px at 150px 400px, rgba(255, 255, 255, 0.3), transparent);
    animation: twinkle 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-xl);
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 25px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-buttons {
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator a:hover {
    color: var(--white);
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ==================== ABOUT SECTION ==================== */
.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.experience-badge .text {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    line-height: 1.3;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(181, 144, 74, 0.1) 0%, rgba(181, 144, 74, 0.2) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: var(--accent-primary);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: var(--medium-gray);
    margin: 0;
}

/* ==================== SERVICES SECTION ==================== */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 45, 88, 0.05) 0%, rgba(30, 75, 133, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-dark);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-dark);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: var(--accent-primary);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition-normal);
}

.service-link:hover {
    color: var(--accent-primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-card .stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(181, 144, 74, 0.2) 0%, rgba(181, 144, 74, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-card .stat-icon i {
    font-size: 28px;
    color: var(--accent-primary);
}

.stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-card .stat-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.benefit-card i {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ==================== LOCATION SECTION ==================== */
.location-details {
    margin-top: 30px;
}

.location-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon i {
    font-size: 20px;
    color: var(--primary-dark);
}

.location-info h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.location-info p {
    font-size: 14px;
    color: var(--medium-gray);
    margin: 0;
}

.location-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 37, 64, 0.9));
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-weight: 500;
}

.location-badge i {
    color: var(--accent-primary);
}

/* ==================== CONTACT SECTION ==================== */
.contact-info-wrapper {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    height: 100%;
    color: var(--white);
}

.contact-info-wrapper h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info-wrapper>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
}

.contact-items {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--accent-primary);
}

.contact-details .contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-details a,
.contact-details span {
    font-size: 15px;
    color: var(--white);
}

.contact-details a:hover {
    color: var(--accent-primary);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link i {
    font-size: 18px;
    color: var(--white);
}

.social-link:hover {
    background: var(--accent-primary);
}

.social-link:hover i {
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 5px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-normal);
    background: var(--off-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

textarea.form-control {
    resize: none;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 0;
    color: var(--white);
}

.footer-brand {
    margin-bottom: 25px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.footer-social a i {
    color: var(--white);
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--accent-primary);
}

.footer-social a:hover i {
    color: var(--primary-dark);
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--accent-primary);
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-accent);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 18px;
    color: var(--primary-dark);
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .service-card {
        padding: 30px 25px;
    }

    .gallery-card .gallery-content {
        padding: 25px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 37, 64, 0.98);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 15px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar .btn-accent {
        display: block;
        margin-top: 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .about-img,
    .location-img {
        height: 400px;
    }

    .experience-badge {
        bottom: -20px;
        right: -10px;
        width: 120px;
        height: 120px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-logo {
        height: 40px;
    }

    .footer h5 {
        margin-bottom: 20px;
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 14px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-card .stat-value {
        font-size: 2.5rem;
    }

    .benefit-card {
        padding: 30px;
    }

    .gallery-img-wrapper {
        height: 220px;
    }

    .gallery-category {
        font-size: 11px;
        padding: 5px 12px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .stat-item {
        text-align: center;
        width: 33%;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-suffix {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        padding: 14px 20px;
    }

    .hero-buttons .btn.ms-3 {
        margin-left: 0 !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-label {
        font-size: 12px;
        padding-left: 35px;
        letter-spacing: 2px;
    }

    .section-label::before {
        width: 25px;
    }

    .about-img,
    .location-img {
        height: 300px;
    }

    .experience-badge {
        bottom: auto;
        top: 15px;
        right: 15px;
        width: 90px;
        height: 90px;
    }

    .experience-badge .years {
        font-size: 1.3rem;
    }

    .experience-badge .text {
        font-size: 9px;
    }

    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .scroll-indicator {
        display: none;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer-bottom {
        margin-top: 40px;
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 12px;
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 14px;
    }

    .gallery-img-wrapper {
        height: 200px;
    }

    .gallery-content {
        padding: 20px;
    }

    .gallery-content h3 {
        font-size: 1.1rem;
    }

    .gallery-content p {
        font-size: 14px;
    }

    .gallery-category {
        font-size: 10px;
        padding: 4px 10px;
        top: 15px;
        left: 15px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-card .stat-icon {
        width: 55px;
        height: 55px;
    }

    .stat-card .stat-value {
        font-size: 2rem;
    }

    .stat-card .stat-title {
        font-size: 12px;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .benefit-card i {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .benefit-card h4 {
        font-size: 1.1rem;
    }

    .benefit-card p {
        font-size: 14px;
    }

    .feature-item {
        gap: 15px;
        padding: 15px 0;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-content h4 {
        font-size: 1rem;
    }

    .contact-card .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-card .contact-link {
        font-size: 13px;
    }

    .location-icon {
        width: 45px;
        height: 45px;
    }

    .location-info h5 {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-label {
        font-size: 11px;
        padding-left: 30px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-suffix {
        font-size: 0.85rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-card .stat-value {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }

    .about-img,
    .location-img {
        height: 250px;
    }

    .experience-badge {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }

    .experience-badge .years {
        font-size: 1.1rem;
    }

    .experience-badge .text {
        font-size: 8px;
    }

    .footer h5 {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-contact li {
        font-size: 12px;
    }

    .gallery-img-wrapper {
        height: 180px;
    }

    .gallery-content {
        padding: 18px;
    }

    .gallery-content h3 {
        font-size: 1rem;
    }

    .service-card {
        padding: 20px 18px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .contact-info-wrapper {
        padding: 25px 15px;
    }

    .benefit-card {
        padding: 20px 15px;
    }
}

@media (max-width: 374px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .hero-stats {
        gap: 5px;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .navbar-brand .logo {
        height: 120px;
    }

    .page-home .navbar-brand .logo {
        height: 140px;
    }

    .gallery-img-wrapper {
        height: 160px;
    }

    .about-img,
    .location-img {
        height: 220px;
    }
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: var(--gradient-dark);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    animation: floatingLights 20s ease-in-out infinite;
}

.page-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
}

/* ==================== CONTACT CARD ==================== */
.contact-card {
    padding: 20px;
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card .contact-icon i {
    font-size: 24px;
    color: var(--accent-primary);
}

.contact-card .contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card .contact-link {
    color: var(--white);
    font-size: 15px;
    word-break: break-word;
}

.contact-card .contact-link:hover {
    color: var(--accent-primary);
}

/* ==================== LANGUAGE DROPDOWN ==================== */
.navbar .dropdown-menu {
    background: rgba(10, 37, 64, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    min-width: 140px;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    transition: var(--transition-normal);
}

.navbar .dropdown-item:hover {
    background: rgba(0, 212, 170, 0.2);
    color: var(--white);
}

@media (max-width: 767px) {
    .page-header {
        padding: 140px 0 70px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }
}

/* ==================== LANGUAGE FLAGS ==================== */
.lang-flag-btn {
    font-size: 1.5em;
    line-height: 1;
    display: inline-block;
    width: 24px;
    height: 18px;
    background-size: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.lang-flag-item {
    font-size: 1.3em;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    width: 22px;
    height: 16px;
    background-size: cover;
    border-radius: 2px;
}

.navbar .dropdown-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* ==================== MODAL FIX ==================== */
/* Prevent white gap on right when modal opens */
body.modal-open {
    padding-right: 0 !important;
    overflow-y: hidden !important;
}

.modal-open .navbar.fixed-top {
    padding-right: 0 !important;
}

/* Fix modal shifting left: Override Bootstrap JS inline style */
.modal {
    padding-right: 0 !important;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.gallery-content {
    padding: 30px;
}

.gallery-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.gallery-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}


.gallery-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(16, 45, 88, 0.9);
    color: var(--accent-primary);
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}