/* Quote Card */
.quote-card {
    position: relative;
    padding: 20px 0;
}

blockquote {
    position: relative;
    margin: 0;
    padding: 0;
}

blockquote p {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #ffffff !important; /* Force white color */
}

blockquote footer {
    font-size: 1.1rem;
    text-align: right;
}

blockquote cite {
    font-style: normal;
    font-weight: 500;
}

/* ===== Hero Section ===== */
.hero-banner {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px;
    margin: 0;
}

/* Hero Profile Image */
.hero-profile-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
}

.hero-profile-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner .lead {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-banner .btn {
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    border-radius: 50px;
    margin: 0.3rem 0.5rem 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-profile-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

.hero-profile-img:hover {
    transform: scale(1.05);
}

/* ===== Responsive Adjustments ===== */
/* Extra large devices (large desktops) */
@media (max-width: 1199.98px) {
    .hero-banner .container {
        max-width: 960px;
    }
    
    /* Adjust font sizes for better readability */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
}

/* Large devices (desktops) */
@media (max-width: 991.98px) {
    .hero-banner .container {
        max-width: 720px;
    }
    
    .hero-banner {
        text-align: center;
        padding: 80px 0 40px;
    }
    
    .hero-banner .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        margin: 0.2rem 0.3rem 0.8rem;
    }
    
    .hero-profile-img {
        max-width: 240px;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust padding for sections */
    section {
        padding: 3rem 0;
    }
    
    /* Improve card layouts */
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Medium devices (tablets) */
@media (max-width: 767.98px) {
    html {
        font-size: 15px; /* Slightly reduce base font size */
    }
    
    .hero-banner {
        padding: 70px 0 30px;
    }
    
    .hero-banner .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto;
        display: block;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-banner .btn-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-profile-img {
        max-width: 200px;
        margin: 0 auto 1.5rem;
    }
    
    /* Improve typography for mobile */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    /* Adjust section padding */
    section {
        padding: 2.5rem 0;
    }
    
    /* Improve form elements for touch */
    .form-control, 
    .btn, 
    .form-select {
        min-height: 48px; /* Minimum touch target size */
    }
}

/* Small devices (landscape phones) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }
    
    .hero-banner {
        padding: 60px 0 20px;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-banner .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust padding and margins */
    .container, 
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Improve card layouts */
    .card {
        border-radius: 10px;
        margin-bottom: 1.25rem;
    }
    
    /* Make images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve button touch targets */
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones) */
@media (max-width: 399.98px) {
    html {
        font-size: 13px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    
    /* Adjust spacing */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Improve form elements */
    .form-control,
    .form-select {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    /* Make sure all clickable elements are touch-friendly */
    a, button, [role="button"], input, label, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 5rem 0;
    color: #ffffff;
}

.contact-section .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.contact-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.contact-section .form-floating > label {
    color: #6c757d;
    padding: 1.5rem 1.25rem;
}

.contact-section .form-floating > .form-control:focus ~ label,
.contact-section .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-section .form-floating > .form-select ~ label {
    transform: scale(0.85) translateY(-1.5rem) translateX(0.5rem);
    background: white;
    padding: 0 0.5rem;
    color: #495057;
    font-weight: 500;
}

.contact-section .form-control,
.contact-section .form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.navbar {
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: #343a40;
}

/* Mobile Navigation */
.navbar-toggler {
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.navbar-collapse {
    padding: 1rem 0;
}

/* Improve dropdown for touch devices */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-item:active {
    background-color: #f8f9fa;
    color: #000;
}

/* Nested dropdown menus */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* Mobile dropdown adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #343a40;
        border-radius: 0.5rem;
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0.5rem 0 0 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-submenu>.dropdown-menu {
        left: 1rem;
        right: 1rem;
        width: auto;
        margin: 0.5rem 0 0 1rem;
    }
    
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }
}

/* Fix for navbar brand on mobile */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
}

/* Adjust navbar links for better touch targets */
.nav-link {
    padding: 0.5rem 1rem;
    position: relative;
    font-weight: 500;
}

/* Active state for nav items */
.nav-item .nav-link.active {
    color: #ffc107 !important;
    font-weight: 600;
}

/* Hover effect for nav links */
.nav-link:not(.active):hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Improve mobile menu toggle button */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language switcher in nav */
.language-switcher {
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border-radius: 0.25rem;
    cursor: pointer;
}

.language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Visitor counter in nav */
.visitor-counter {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

/* Responsive adjustments for visitor counter */
@media (max-width: 767.98px) {
    .visitor-counter {
        margin: 0.5rem auto;
        display: inline-flex;
    }
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.contact-section textarea.form-control {
    height: 150px !important;
    resize: none;
}

.contact-section .btn-warning {
    background: linear-gradient(45deg, #ffc107, #ff9800);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #2c3e50;
}

.contact-section .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.2);
    color: #2c3e50;
}

.contact-section .btn-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #ff9800, #ffc107);
    transition: all 0.3s ease;
    z-index: -1;
}

.contact-section .btn-warning:hover::before {
    width: 100%;
}

.contact-info-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffc107;
    transition: all 0.3s ease;
}

.contact-info-card:hover i {
    transform: scale(1.1);
}

.contact-info-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-info-card a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-card a:hover {
    color: #ff9800;
}

/* Responsive adjustments for contact section */
@media (max-width: 991.98px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-section .card-body {
        padding: 2rem !important;
    }
    
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language-option {
    padding: 2px 5px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-option.active {
    font-weight: bold;
    color: #ffc107 !important;
}

/* Custom styles */
/* Decrease dropdown menu text size */
.navbar .dropdown-menu {
    font-size: 0.9rem;
}

.navbar .dropdown-item {
    padding: 0.25rem 1rem;
}

/* Custom Color Palette */
:root {
    --navy: #0a1931;
    --gold: #ffd700;
    --white: #fff;
    --light-bg: #f8f9fa;
    --text-light: #f8f9fa;
    --text-dark: #222;
}

body {
    background: linear-gradient(135deg, #162447 0%, #1f4068 50%, #533483 100%);
    color:black;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    scroll-behavior: smooth;
    min-height: 100vh;
    text-shadow: 0 1px 4px rgba(166, 234, 19, 0.18);
}

/* Section Backgrounds - DARK VERSIONS */
.home-section {
    background-color: #162447; /* strong blue background */
    color: #ffd700 !important; /* golden yellow text */
}

.home-section h1,
.home-section h2,
.home-section h3,
.home-section h4,
.home-section h5,
.home-section h6,
.home-section p,
.home-section li,
.home-section .card-text,
.home-section .card-title,
.home-section .card-subtitle {
    color: #ffd700 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.about-section {
    background-color: #fff; /* clear/white background for clarity */
    color: #111 !important;
}

.about-section h1,
.about-section h2,
.about-section h3,
.about-section h4,
.about-section h5,
.about-section h6,
.about-section p,
.about-section li,
.about-section .card-text,
.about-section .card-title,
.about-section .card-subtitle {
    color: #111 !important;
    text-shadow: none !important;
}
.services-section {
    background-color: #136dd3; /* dark blue */
}
.portfolio-section {
    background-color: #d36510; /* dark orange/brown */
}
.blog-section {
    background-color: #9210e3; /* dark purple */
}
.testimonials-section {
    background-color: #137ed6; /* dark sky blue */
}
.contact-section {
    background-color: #fff;
}

.contact-section p, .contact-section .card-text, .contact-section .card-title, .contact-section .card-subtitle {
    color: #fff !important;
}

/* Section Title Styling */
.section-title {
    background: rgba(10, 25, 49, 0.95); /* very dark navy, nearly black */
    color: var(--gold);
    padding: 0.75em 1.5em;
    border-radius: 0.5em;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}


.navbar {
    background-color: var(--navy) !important;
}

.navbar .navbar-brand, .navbar .nav-link {
    color: var(--white) !important;
    transition: color 0.3s;
}

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

/* Dropdown menu styles */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 0;
    /* Smooth transitions */
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Ensure smooth hover on dropdown items */
.dropdown-item {
    transition: all 0.2s ease;
}

/* Prevent layout shift when showing/hiding */
.nav-item.dropdown {
    position: relative;
}

/* Make sure the dropdown stays open when hovering over it */
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #000 !important;
    color: #fff !important;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* Hero Section with Profile Photo */
.hero-banner {
    background: linear-gradient(135deg, #0a1931 0%, #1f4068 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-banner .container {
    width: 100%;
    max-width: 1200px;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-profile-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border: 5px solid var(--gold);
    margin: 0 auto 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-banner .lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-banner .btn {
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.5rem 1rem;
}

.hero-banner .btn-warning {
    background-color: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

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

.hero-banner .btn-warning:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    .hero-banner {
        text-align: center;
        padding: 70px 0 40px;
    }
    
    .hero-banner h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-banner .lead {
        font-size: 1.2rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    
    .hero-banner .btn {
        width: 80%;
        max-width: 280px;
        margin: 0.5rem auto !important;
        display: block;
    }
    
    .hero-profile-img {
        width: 180px;
        height: 180px;
        margin: 0 auto 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    .hero-banner {
        min-height: auto;
        padding: 50px 0 20px;
    }
    
    .hero-banner h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-banner .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-banner .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto !important;
    }
    
    .hero-profile-img {
        width: 160px;
        height: 160px;
        margin-bottom: 1.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-banner h1 {
        font-size: 1.5rem;
    }
    
    .hero-banner .lead {
        font-size: 1rem;
    }
    
    .hero-banner .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-profile-img {
        width: 140px;
        height: 140px;
    }
}

/* Image Slider Styles */
.image-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: 2rem auto;
    overflow: hidden;
    background-color: #1a1a2e;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transform: scale(1.02); /* Slight zoom effect */
    transform-origin: center center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-container {
        height: 200px;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* Navbar Visitor Counter */
.navbar .visitor-counter {
    display: flex;
    align-items: center;
    color: #000000; /* Black text */
    background-color: white; /* White background */
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 20px;
    font-weight: 500;
    margin-left: 0.5rem;
}

.navbar .visitor-counter:hover {
    background-color: #f8f9fa;
    color: #333333; /* Slightly lighter black on hover */
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .visitor-counter i {
    color: #000000; /* Black icon */
    margin-right: 6px;
}

.navbar .visitor-counter span {
    color: #000000; /* Ensure 'Visitors:' text is black */
}

.navbar .visitor-counter #visitorCount {
    font-weight: 600;
    color: #000000; /* Ensure count is black */
    margin-left: 2px;
}

/* Make counter stack on mobile */
@media (max-width: 991.98px) {
    .navbar .visitor-counter {
        padding: 0.5rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .navbar .visitor-counter span:first-of-type {
        display: none;
    }
}

.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid var(--gold);
    transition: transform 0.3s;
}

.profile-img:hover {
    transform: scale(1.05) rotate(-2deg);
    background-color: #d36510;
}

.service-card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(10,25,49,0.15);
}

.portfolio-card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(255,215,0,0.18);
}

.blog-card {
    border-left: 4px solid var(--gold);
    border-radius: 0.5rem;
    transition: box-shadow 0.3s;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(10,25,49,0.08);
}

.testimonial-card {
    border: none;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(10,25,49,0.07);
}

footer {
    background: var(--navy);
    color: var(--white);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.language-switcher .language-option {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.language-switcher .language-option.active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.language-switcher .language-option .fi {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.language-switcher .language-separator {
    margin: 0 4px;
    color: rgba(255, 255, 255, 0.6);
}

.language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-option {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.language-option.active {
    background-color: #0d6efd;
    color: white;
}

.language-separator {
    margin: 0 4px;
    color: rgba(255, 255, 255, 0.7);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 5px;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: none; }
}

section {
    animation: fadeIn 1.2s;
    color: #111;
}

h1, h2, h3, h4, h5, h6 {
    color: #111;
    text-shadow: none;
    font-weight: 800;
    letter-spacing: 0.5px;
}

p, li, .card-text, .card-title, .card-subtitle {
    color: #111;
    text-shadow: none;
    font-weight: 400;
}

/* Remove About section override for black text (now global) */
.about-section {
    background-color: #fff; /* clear/white background for clarity */
    color: #ffd700 !important;
}

.about-section .section-title {
    color: #ffd700 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.about-section .about-highlight {
    color: #111 !important;
}

.about-section .about-values {
    color: #14ab6c !important;
    font-size: 1.35em;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.about-section h1,
.about-section h2,
.about-section h3,
.about-section h4,
.about-section h5,
.about-section h6,
.about-section p,
.about-section li,
.about-section .card-text,
.about-section .card-title,
.about-section .card-subtitle {
    color: #111 !important;
    text-shadow: none;
}

.about-section h1,
.about-section h2,
.about-section h3,
.about-section h4,
.about-section h5,
.about-section h6,
.about-section p,
.about-section li,
.about-section .card-text,
.about-section .card-title,
.about-section .card-subtitle {
    color: inherit !important;
    text-shadow: none !important;
}

a, .btn-link {
    color: var(--gold);
    text-decoration: underline;
    font-weight: 500;
}

a:hover, .btn-link:hover {
    color: var(--white);
    text-decoration: none;
}

.badge, .btn, .form-label {
    color: #111 !important;
}

.form-control {
    background: #fff;
    color: #111;
    border: 1px solid #444;
}

.contact-section textarea.form-control {
    background: #fff;
    color: #111;
    font-weight: 500;
}

.form-control:focus {
    background: #222;
    color: var(--text-light);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255,215,0,0.25);
}

::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* Responsive Tweaks */
@media (max-width: 767px) {
    .hero-banner {
        min-height: 60vh;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .profile-img {
        width: 120px;
        height: 120px;
    }
}
