
:root {
    --primary:    #2596be;     
    --primary-d:  #a3d6e9;
    --accent:     #198754;     
    --dark:       #212529;
    --gray:       #6c757d;
    --light:      #f8f9fa;
}


body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-active {
    background-color: var(--primary-d); 
    color: #fff;
    padding: 1px;
    border-radius: 5px;
}

.nav-active:hover {
    background-color: #342e4049; 
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-d));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-d), var(--primary));
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Top bar */
.top-bar {
    font-size: 0.9rem;
}


/* Floating Logo – completely independent of navbar */

.logo-float {
    position: absolute;
    top: 40px;                     
    left: 20%;
    transform: translateX(-50%);
    z-index: 1050;                 
    pointer-events: none;          
}

.logo-float a {
    pointer-events: auto;          
    display: block;
}

.main-logo {
    width: 350px;                  
    height: auto;
    max-height: 360px;             
    transition: transform 0.3s ease;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
}

.main-logo:hover {
    transform: scale(1.05);
}

/* Give navbar top padding so logo can overlap without covering content */
.navbar {
    padding-top: 100px !important; 
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px);    
}

/* Mobile – make logo smaller and centered above menu */
@media (max-width: 991px) {
    .logo-float {
        position: relative;
        top: auto;
        transform: none;
        margin: 15px auto 10px;
        text-align: center;
        z-index: 1000;
    }

    .main-logo {
        width: 160px;              /* smaller on mobile */
        max-height: 100px;
    }

    .navbar {
        padding-top: 20px !important; /* no extra space needed */
    }
}

/* Hero Carousel */
.hero-carousel .carousel-item {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 70, 110, 0.83);
}

.hero-carousel .carousel-caption {
    z-index: 2;
}

/* Card hover effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Section title underline */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}


/* Wizard form improvements */



/* Colored placeholder */
.placeholder-colored::placeholder {
    color: #2596be !important;  /* Purple */
    opacity: 0.7 !important;
    font-size: 0.8rem;
    
}

.form-floating {
    margin-bottom: 1.5rem !important;   
}

.form-floating > label {
    padding-left: 2.75rem;              
    color: #6c757d;                     
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #0d6efd;                     
    top: -0.5rem;                       
}

.form-floating > .bi {
    left: 1rem !important;              
    z-index: 3;
    pointer-events: none;
    color: #adb5bd;                     
}

/* Make textareas taller by default */
.form-control[style*="height"] {
    min-height: 120px !important;
}

/* Better spacing for radio groups */
.form-label {
    margin-bottom: 0.5rem;
}

.d-flex.gap-4 {
    margin-top: 0.25rem;
}

/* Make radio lists horizontal instead of vertical */
.radio-horizontal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;           /* space between Yes and No */
}

.radio-horizontal li {
    margin: 0;
}

.radio-horizontal label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-horizontal input[type="radio"] {
    margin-right: 0.5rem;
}

@page {
    size: A4;
    margin: 2cm 1.5cm 2.5cm 1.5cm;  /* increased bottom margin for footer */
    @bottom-center {
        content: "Gcena Consulting • Confidential";
        font-size: 9pt;
        color: #666;
    }
    
}


.footer {
    background: linear-gradient(135deg, #2596be, #a3d6e9);
}


/* Optional: Add page counter for content if needed */
.pageNumber, .totalPages {
    display: none;  /* hidden in content, used only by @bottom-right */
}

/* Contact page styles */
.contact-info-card {
    background: linear-gradient(135deg, rgb(37, 150, 190), rgb(163, 214, 233));
    color: white;
    border-radius: 16px;
}

.contact-info-card ul.list-unstyled {
    margin-bottom: 1.5rem !important; /* reduce from mb-5 */
}

.contact-info-card li.mb-4 {
    margin-bottom: 1rem !important; /* tighter spacing between items */
}

.contact-row {
    align-items: stretch;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.social-icons a {
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff !important;
    opacity: 0.8;
}

.contact-form-card {
    background: #f8f9fa;
    border-radius: 16px;
}

.form-floating > label {
    color: #495057;
}

.btn-success {
    background: rgb(37, 150, 190);
    border: none;
}

.btn-success:hover {
    background: rgb(163, 214, 233);
}

/* Blog page */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.blog-card img {
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.08);
}


/* Blog Cards */
.card-img-top {
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.08);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.badge {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
}


/* Services cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}



/* About page */
.team-card {
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}


/* Admin Dashboard */
.sidebar {
    position: sticky;
    top: 80px; /* below navbar */
    height: calc(100vh - 80px);
    overflow-y: auto;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    margin: 0.25rem 0;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #e9ecef;
    color: #0d6efd;
}

.card {
    border-radius: 12px;
    overflow: hidden;
}

.bg-primary, .bg-success, .bg-info, .bg-warning {
    color: white !important;
}


.clickable-row {
    cursor: pointer;
}
.clickable-row:hover {
    background-color: #f8f9fa;
}

/* Auth card */
.auth-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.auth-logo {
    max-width: 100%;
    height: auto;
}


/* Floating label style for inputs */
.form-control:focus {
    border-color: #2596be;
    box-shadow: 0 0 0 0.25rem rgba(37, 150, 190, 0.25);
}

/* Toggle password button */
.input-group .btn-outline-secondary {
    border-left: none;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.input-group .btn-outline-secondary:hover {
    background: #f1f3f5;
}

/* Fade-in animation */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active,
    input:-internal-autofill-selected {
        background-color: white !important;
        -webkit-box-shadow: 0 0 0 30px white inset !important;
        box-shadow: 0 0 0 30px white inset !important;
        -webkit-text-fill-color: #000 !important;
        color: #000 !important;
        transition: background-color 5000s ease-in-out 0s !important;
    }

    input {
        background-color: white !important;
        color: #000 !important;
    }

.tw {
    width: 15%;
}



