/* ==========================================================================
   GRAND Digital & Offset Prints Master Responsive Stylesheet
   Color Identity: Mapped from Verbatim Logo Assets
   ========================================================================== */

:root {
    --brand-navy: #1B365D;       /* "GRAND" & "Prints" dominant brand hue */
    --brand-green: #76BC21;      /* "Digital" & "Offset" active brand hue */
    --brand-cyan: #00A3E0;       /* Ampersand & interactive UI highlight */
    --dark-neutral: #1E293B;      /* Slate typography foundation */
    --light-bg: #F8FAFC;          /* Utility section background gray */
    --white: #FFFFFF;
}

/* Document & Base Settings */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark-neutral);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Text Element Colors */
.text-navy { color: var(--brand-navy) !important; }
.text-green { color: var(--brand-green) !important; }
.text-cyan { color: var(--brand-cyan) !important; }
.bg-brand-navy { background-color: var(--brand-navy) !important; }

/* Global Structural Typography */
.section-title {
    font-weight: 800;
    color: var(--brand-navy);
    position: relative;
    padding-bottom: 0.75rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-green);
    margin: 0.5rem auto 0;
}
.section-title.text-start::after {
    margin: 0.5rem 0 0 0;
}

/* Interactive Components & Actions */
.btn-brand-primary {
    background-color: var(--brand-navy);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 0.75rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-brand-primary:hover {
    background-color: #11223B;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 54, 93, 0.25);
}

/* Nav Item Layouts */
.nav-link {
    transition: color 0.25s ease;
}
.nav-link.active {
    color: var(--brand-navy) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--brand-cyan);
}

/* Slider / Carousel Components Custom Masking */
.hero-carousel-item {
    min-height: 580px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(27, 54, 93, 0.75) 100%);
    z-index: 1;
}
.hero-carousel-content {
    position: relative;
    z-index: 2;
}

/* Glassmorphism Presentation UI Overlays */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Dynamic Presentational Badges */
.service-pill {
    background: var(--white);
    border: 1px solid #E2E8F0;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-navy);
    display: inline-block;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.service-pill:hover {
    transform: translateY(-3px);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    box-shadow: 0 10px 15px -3px rgba(0, 163, 224, 0.15);
}

/* Operational Content Card Matrix Layout */
.feature-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(27, 54, 93, 0.08);
    border-color: rgba(118, 188, 33, 0.3);
}
.border-top-navy { border-top: 4px solid var(--brand-navy) !important; }
.border-top-green { border-top: 4px solid var(--brand-green) !important; }
.border-top-cyan { border-top: 4px solid var(--brand-cyan) !important; }

/* Custom High-Impact Layout Backgrounds */
.bg-brand-gradient {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.05) 0%, rgba(118, 188, 33, 0.02) 100%);
}

/* ==========================================================================
   CSS Scroll-Driven Keyframe Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Applying Native Animations to Layout Sections */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive Viewport Optimizations */
@media (max-width: 768px) {
    .hero-carousel-item {
        min-height: 520px;
    }
    .display-4 {
        font-size: 2.25rem !important;
    }
}

/* ==========================================================================
   Vibrant Brand Footer Style Enhancements
   ========================================================================== */

.footer-dark {
    /* Premium high-density dark background gradient */
    background: linear-gradient(135deg, #111622 0%, #1B2333 100%);
    color: #E2E8F0;
    position: relative;
    border-top: 4px solid var(--brand-cyan);
}

/* Custom Image Logo Scaling Rules */
.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* Custom Subdued Typography Text Helper */
.text-light-muted {
    color: #94A3B8 !important;
}

/* Footer Section Title Accent Underlines */
.footer-heading {
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: currentColor; /* Matches text utility color automatically */
}

/* Interactive Text Links Hover Transformations */
.hover-cyan:hover { color: var(--brand-cyan) !important; transition: color 0.2s ease; }
.hover-green:hover { color: var(--brand-green) !important; transition: color 0.2s ease; }

/* Structural Social Media Icon Buttons Layout Matrix */
.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Specific Corporate Icon Brand Color Overrides */
.social-icon-btn.facebook:hover {
    background-color: #3b5998;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(59, 89, 152, 0.35);
    transform: translateY(-3px);
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
    transform: translateY(-3px);
}

.social-icon-btn.whatsapp:hover {
    background-color: var(--brand-green);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(118, 188, 33, 0.35);
    transform: translateY(-3px);
}

.social-icon-btn.google-maps:hover {
    background-color: #ea4335;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.35);
    transform: translateY(-3px);
}

/* ==========================================================================
   Vibrant Services Page Custom UI Styling Override Rules
   ========================================================================== */

/* Colorful Hero Section Background Layer featuring an abstract geometric motif */
.services-hero {
    min-height: 380px;
    background-color: var(--brand-navy);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(0, 163, 224, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(118, 188, 33, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #16243C 0%, #1B365D 100%);
    background-size: cover;
    border-bottom: 5px solid var(--brand-cyan);
}

.services-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1557683316-973673baf926?q=80&w=1000') rgba(27, 54, 93, 0.4);
    background-blend-mode: multiply;
    mix-blend-mode: overlay;
    opacity: 0.25;
    z-index: 1;
}

/* Custom Table Layout Adjustments */
.table-brand-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #162B4A 100%) !important;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* List Item Checks Override */
.list-styled-check {
    list-style: none;
}
.list-styled-check li {
    position: relative;
    padding-left: 5px;
}
.list-styled-check li::before {
    content: "✓";
    color: var(--brand-green);
    font-weight: 900;
    margin-right: 8px;
    display: inline-block;
}

/* Custom Highlight Border Extensions */
.border-top-green-heavy {
    border-top: 5px solid var(--brand-green) !important;
}
.border-start-cyan {
    border-left: 4px solid var(--brand-cyan) !important;
}

/* Micro Interactions Scale */
.transition-scale {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.transition-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

/* Staggered Delay Simulation for Cards */
.animate-card-step {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rgba-bg {
    background: rgba(27, 54, 93, 0.6) !important;
}
/* service page ends */

/* ==========================================================================
   About Us Page Custom Visual Enhancements
   ========================================================================== */

/* Colorful Hero Section featuring a custom dark background gradient design layout */
.about-hero {
    min-height: 350px;
    background-color: var(--brand-navy);
    background-image: 
        radial-gradient(circle at 85% 30%, rgba(118, 188, 33, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 15% 70%, rgba(0, 163, 224, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #121E33 0%, #1B365D 100%);
    background-size: cover;
    border-bottom: 5px solid var(--brand-green);
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1516962215378-7fa2e137ae93?q=80&w=1000') rgba(27, 54, 93, 0.4);
    background-blend-mode: multiply;
    mix-blend-mode: overlay;
    opacity: 0.2;
    z-index: 1;
}

/* Specific Style Utility Classes */
.border-top-dark { border-top: 4px solid var(--dark-neutral) !important; }
.border-start-green { border-left: 4px solid var(--brand-green) !important; }
.border-top-cyan-heavy { border-top: 5px solid var(--brand-cyan) !important; }

.btn-outline-hover:hover {
    background-color: #FFFFFF !important;
    color: var(--brand-navy) !important;
    border-color: #FFFFFF !important;
}

/* Staggered Delay for the Profile Card */
.animate-card-step {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


/* ==========================================================================
   Portfolio Redesign Custom UI Overrides
   ========================================================================== */

/* Colorful Portfolio Hero Backdrop Gradient */
.portfolio-hero {
    min-height: 360px;
    background-color: var(--brand-navy);
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(0, 163, 224, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(118, 188, 33, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #131F33 0%, #1B365D 100%);
    background-size: cover;
    border-bottom: 5px solid var(--brand-cyan);
}

.portfolio-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/hero-bg.png') rgba(27, 54, 93, 0.35);
    background-blend-mode: multiply;
    mix-blend-mode: overlay;
    opacity: 0.2;
    z-index: 1;
}

/* Enhanced Image Controls & Overlays */
.portfolio-img-container {
    height: 220px;
    background-color: #F8FAFC;
    position: relative;
}

.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.06);
}

.portfolio-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(27, 54, 93, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Fallback Helper Framework */
.portfolio-fallback-box {
    display: flex !important;
    flex-direction: column;
}

/* Layout Utilities Linkage */
.border-top-cyan-heavy {
    border-top: 5px solid var(--brand-cyan) !important;
}

.btn-outline-hover:hover {
    background-color: #FFFFFF !important;
    color: var(--brand-navy) !important;
    border-color: #FFFFFF !important;
}

/* Staggered Element Fade Animation Delay Tracking */
.animate-card-step {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* portfolio ends */


/* ==========================================================================
   Contact Page Redesign Visual Overrides
   ========================================================================== */

/* Colorful Contact Hero Section backdrop featuring abstract radial vector sweeps */
.contact-hero {
    min-height: 350px;
    background-color: var(--brand-navy);
    background-image: 
        radial-gradient(circle at 85% 25%, rgba(0, 163, 224, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 15% 75%, rgba(118, 188, 33, 0.14) 0%, transparent 55%),
        linear-gradient(135deg, #101926 0%, #1B365D 100%);
    background-size: cover;
    border-bottom: 5px solid var(--brand-green);
}

.contact-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?q=80&w=1000') rgba(27, 54, 93, 0.4);
    background-blend-mode: multiply;
    mix-blend-mode: overlay;
    opacity: 0.15;
    z-index: 1;
}

/* Specific Border & Utility Adjustments */
.border-top-cyan-heavy {
    border-top: 5px solid var(--brand-cyan) !important;
}

/* Custom Input Field Tweaks for Better Form UI Contrast */
.form-control:focus, .form-select:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 0.25rem rgba(0, 163, 224, 0.15);
}

.input-group-text {
    color: #64748B;
    border-color: #CBD5E1;
}

/* Dynamic Hover Actions for Dark Panel Elements */
.hover-cyan:hover { color: var(--brand-cyan) !important; transition: color 0.2s ease; }
.hover-green:hover { color: var(--brand-green) !important; transition: color 0.2s ease; }

/* Micro-Interaction Scale Shifts */
.transition-scale {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}
.transition-scale:hover {
    transform: translateY(-2px);
    background-color: #F1F5F9 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Staggered Element Fade Interceptor Animations */
.animate-card-step {
    animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Responsive Embedded Row Map Refinements
   ========================================================================== */

.map-responsive-container {
    position: relative;
    overflow: hidden;
}

/* Force standard full height stretch on large layout desktop frames */
@media (min-width: 992px) {
    .map-responsive-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Semitransparent background panel overlay override */
.rgba-bg-dark {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Custom interactive scale transition logic */
.hover-scale-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-scale-btn:hover {
    background-color: #FFFFFF !important;
    color: var(--brand-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* contacts ends */