
/* ==========================================================================
   About Us Revamped - Breathtaking Premium Styles
   Dimple Packaging Pvt. Ltd.
   ========================================================================== */

:root {
    --light-bg: #F4F5F7;
    --card-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(11, 37, 69, 0.08);
    --border-hover: rgba(11, 37, 69, 0.18);
    
    --primary-glow: #1e40af;
    --accent-glow: #4f46e5;
    --teal-glow: #0891b2;
    --green-glow: #059669;
    --gold-glow: #d97706;
    --accent-green: #99CC33;
    
    --text-bright: #0B2545;
    --text-mid: #334155;
    --text-dim: #64748b;
}

body {
    background-color: var(--light-bg);
    color: var(--text-bright);
    font-family: var(--font-body);
    overflow-x: hidden;
}

.about-revamp-container {
    position: relative;
    width: 100%;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.about-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 8vw;
    overflow: hidden;
    border-bottom: 1px solid rgba(11, 37, 69, 0.05);
}

.section-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 680px;
    width: 100%;
    will-change: transform, opacity;
}

.section-content-wrapper.layout-right {
    margin-left: auto;
}

.section-content-wrapper.wide-card {
    max-width: 1100px;
    margin: 0 auto;
}

/* ==========================================================================
   Pattern Containers (Absolute Backgrounds)
   ========================================================================== */
.section-pattern-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Common draw animation classes for SVGs */
.draw-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    will-change: stroke-dashoffset;
}

/* ==========================================================================
   Section 1: Legacy (Blueprint) Patterns
   ========================================================================== */
.blueprint-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px, 8px 8px;
    background-image: 
        linear-gradient(rgba(11, 37, 69, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 37, 69, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(11, 37, 69, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 37, 69, 0.015) 1px, transparent 1px);
    opacity: 0.85;
}

.blueprint-vector {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: 50%;
    max-height: 80%;
    opacity: 0.6;
    stroke-width: 1.5;
}

.blueprint-die {
    stroke: var(--teal-glow);
}

.blueprint-crease {
    stroke: rgba(8, 145, 178, 0.4);
}

.blueprint-flap {
    stroke: var(--primary-glow);
    fill: rgba(30, 64, 175, 0.015);
}

.blueprint-dim {
    stroke: var(--text-dim);
}

.blueprint-text {
    fill: var(--text-dim);
    font-size: 14px;
    font-family: monospace;
    letter-spacing: 1px;
}

.blueprint-text.text-center {
    font-size: 16px;
    font-weight: 500;
    fill: var(--teal-glow);
}

/* ==========================================================================
   Section 2: Global Reach (Trade Lanes) Patterns
   ========================================================================== */
.trade-lane-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(79, 70, 229, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.world-lanes-vector {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%) scale(1.1);
    width: 55%;
    max-height: 80%;
    opacity: 0.45;
}

.continent-path {
    stroke: rgba(11, 37, 69, 0.04);
    fill: rgba(11, 37, 69, 0.015);
    stroke-width: 1;
}

.supply-lane {
    stroke: var(--accent-glow);
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
}

.trade-node {
    fill: var(--accent-glow);
    filter: drop-shadow(0 2px 4px rgba(79, 70, 229, 0.3));
}

.node-india {
    fill: var(--primary-glow);
    filter: drop-shadow(0 3px 6px rgba(30, 64, 175, 0.4));
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { r: 5px; opacity: 0.6; }
    100% { r: 10px; opacity: 1; }
}

/* ==========================================================================
   Section 3: Core Values (3D Floating Wireboxes)
   ========================================================================== */
.floating-boxes-wrapper {
    position: absolute;
    inset: 0;
    perspective: 1000px;
    overflow: hidden;
}

.floating-wirebox {
    position: absolute;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0.25;
}

.box-left-side {
    left: 10%;
    top: 15%;
    animation: floatBoxLeft 24s infinite linear;
}

.box-right-side {
    right: 12%;
    bottom: 15%;
    animation: floatBoxRight 30s infinite linear;
}

.wbox-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px dashed rgba(79, 70, 229, 0.35);
    background: rgba(79, 70, 229, 0.015);
}

.wbox-front  { transform: translateZ(100px); }
.wbox-back   { transform: rotateY(180deg) translateZ(100px); }
.wbox-left   { transform: rotateY(-90deg) translateZ(100px); }
.wbox-right  { transform: rotateY(90deg) translateZ(100px); }
.wbox-top    { transform: rotateX(90deg) translateZ(100px); }
.wbox-bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes floatBoxLeft {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(0px) scale(0.9); }
    50% { transform: rotateX(180deg) rotateY(90deg) rotateZ(180deg) translateY(-30px) scale(1.05); }
    100% { transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg) translateY(0px) scale(0.9); }
}

@keyframes floatBoxRight {
    0% { transform: rotateX(45deg) rotateY(15deg) rotateZ(0deg) translateY(0px) scale(1.1); }
    50% { transform: rotateX(-135deg) rotateY(195deg) rotateZ(-180deg) translateY(40px) scale(0.95); }
    100% { transform: rotateX(-315deg) rotateY(375deg) rotateZ(-360deg) translateY(0px) scale(1.1); }
}

/* ==========================================================================
   Section 4: Sustainability (Eco Circular Mesh)
   ========================================================================== */
.eco-mesh-bg {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: 
        radial-gradient(circle at 100% 100%, transparent 48%, rgba(5, 150, 105, 0.03) 50%, transparent 52%),
        radial-gradient(circle at 0% 0%, transparent 48%, rgba(5, 150, 105, 0.03) 50%, transparent 52%);
}

.eco-grid-vector {
    position: absolute;
    left: 4%;
    top: 50%;
    transform: translateY(-50%) scale(1.1);
    width: 45%;
    max-height: 80%;
    opacity: 0.35;
    animation: slowSpin 60s infinite linear;
    transform-origin: center center;
}

.eco-circle {
    stroke: var(--green-glow);
    stroke-width: 1.2;
}

.eco-ray {
    stroke: rgba(5, 150, 105, 0.12);
    stroke-width: 1px;
}

@keyframes slowSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ==========================================================================
   Section 5: Media & Recognition (Concentric Prestige Waves)
   ========================================================================== */
.prestige-vector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.prestige-line {
    stroke: var(--gold-glow);
    stroke-width: 1.2px;
    opacity: 0.22;
}

/* ==========================================================================
   Glassmorphism Cards
   ========================================================================== */
.glass-card {
    background: var(--card-glass);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 60px 48px;
    box-shadow: 0 30px 60px -15px rgba(11, 37, 69, 0.08), 
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(30px);
    opacity: 0;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 40px 80px -20px rgba(11, 37, 69, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.glass-card.wide-card {
    max-width: 1200px;
    width: 100%;
    padding: 64px;
}

/* Styling Elements Inside Cards */
.eyebrow-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(to right, #1e40af, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    display: inline-block;
}

.section-heading {
    color: var(--text-bright);
    margin-bottom: 24px;
}

.section-desc {
    margin-bottom: 32px;
}

.section-sub-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Heritage Badges */
.badge-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.heritage-badge {
    background: rgba(11, 37, 69, 0.04);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-mid);
}

/* Metric Stats Row */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(11, 37, 69, 0.08);
    padding-top: 24px;
    margin-top: 8px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-glow);
}

.metric-lbl {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Eco Circular Badges */
.eco-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.eco-badge {
    background: rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.15);
    color: var(--green-glow);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ==========================================================================
   Values Grid
   ========================================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.value-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover {
    border-color: var(--accent-glow);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.06);
}

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* ==========================================================================
   Awards Grid
   ========================================================================== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.award-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 36px 30px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.award-card:hover {
    border-color: var(--gold-glow);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.06);
}

.award-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-glow);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.award-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
    line-height: 1.3;
}

.award-card p {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.55;
}

/* ==========================================================================
   Mobile & Responsive Adaptations
   ========================================================================== */
@media (max-width: 1200px) {
    .about-section {
        padding: 80px 5vw;
    }
    
    .blueprint-vector {
        width: 45%;
        right: 2%;
    }
    
    .world-lanes-vector {
        width: 50%;
    }
    
    .eco-grid-vector {
        width: 40%;
    }
}

@media (max-width: 992px) {
    .about-section {
        min-height: auto;
        padding: 80px 4vw;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }
    
    .section-pattern-container {
        opacity: 0.7;
    }
    
    .blueprint-vector, 
    .world-lanes-vector, 
    .eco-grid-vector {
        position: relative;
        right: auto;
        left: auto;
        top: auto;
        transform: none !important;
        width: 80% !important;
        height: auto;
        max-height: 350px;
        margin: 0 auto;
        display: block;
        opacity: 0.5;
    }
    
    .floating-boxes-wrapper {
        opacity: 0.6;
    }
    
    .section-content-wrapper {
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .glass-card {
        padding: 40px 32px;
    }
    
    .glass-card.wide-card {
        padding: 40px 32px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    
    .section-desc {
        font-size: 1rem;
    }
    
    .metrics-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .value-card {
        padding: 24px;
    }
    
    .award-card {
        padding: 28px 24px;
    }
    
    .heritage-badge, .eco-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .draw-path {
        stroke-dashoffset: 0 !important;
    }
    
    .floating-wirebox, .eco-grid-vector {
        animation: none !important;
    }
}

/* ==========================================================================
   Mockup Restructure - Core Components & Animations
   ========================================================================== */
.dot-matrix-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 37, 69, 0.04) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: 0.8;
    z-index: 2;
}

.hero-heading {
    margin-bottom: 24px;
}

.btn-lime-cta {
    display: inline-block;
    background-color: var(--accent-green);
    color: #0B2545;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(153, 204, 51, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-lime-cta:hover {
    background-color: #aae044;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(153, 204, 51, 0.55);
}

.btn-lime-cta:active {
    transform: translateY(1px);
}

/* Hero Section Split Column Layout */
.hero-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.hero-illustration-col {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.hero-vector {
    width: 100%;
    max-width: 900px;
    height: auto;
}

.hero-illustration-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-illustration-img:hover {
    transform: translateY(-6px) scale(1.02);
}

/* Cards Section Header */
.cards-header-row {
    text-align: center;
    margin-bottom: 48px;
}

.cards-header-row .section-heading {
    margin: 0;
}

/* Vision Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 24px;
}

.minimal-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(11, 37, 69, 0.03);
    border-radius: 24px;
    padding: 56px 48px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-icon-header {
    margin-bottom: 28px;
    display: inline-block;
}

.card-icon,
.competency-svg {
    width: 56px;
    height: 56px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    user-select: none;
}

.competency-svg {
    width: 36px;
    height: 36px;
}

/* SVG Sub-element styles for Dual-tone Aesthetic */
.svg-outline {
    stroke: #0B2545;
    fill: none;
    transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svg-outline-fill {
    stroke: #0B2545;
    fill: #FFFFFF;
    transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1), fill 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svg-accent {
    stroke: var(--accent-green);
    fill: none;
    transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svg-accent-stroke {
    stroke: var(--accent-green);
    fill: none;
    transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.minimal-card h3 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 700;
    color: #0B2545;
    margin-bottom: 16px;
}

.minimal-card p {
    margin: 0;
}

.minimal-card:hover {
    background: #FFFFFF;
    border-color: var(--accent-green);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(11, 37, 69, 0.08);
}

.minimal-card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
}

/* Hover dynamic dual-tone color swap for Cards */
.minimal-card:hover .card-icon .svg-outline {
    stroke: var(--accent-green);
}

.minimal-card:hover .card-icon .svg-accent {
    stroke: #0B2545;
}

.minimal-card:hover .card-icon .svg-accent-stroke {
    stroke: #0B2545;
}

/* Competencies / Grid Values Section */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.competency-item {
    background: #FFFFFF;
    border: 1px solid rgba(11, 37, 69, 0.03);
    border-radius: 24px;
    padding: 48px 24px 36px 24px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.competency-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px auto;
    background: rgba(153, 204, 51, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(153, 204, 51, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.competency-item h3 {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B2545;
    line-height: 1.3;
    margin-bottom: 12px;
}

.competency-desc {
    margin: 0;
}

.competency-item:hover {
    background: #FFFFFF;
    border-color: var(--accent-green);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(11, 37, 69, 0.08);
}

.competency-item:hover .competency-icon-wrapper {
    background: var(--accent-green);
    transform: scale(1.08);
}

/* Hover dynamic dual-tone color swap for Competency Grid */
.competency-item:hover .competency-svg {
    transform: scale(1.05);
}

.competency-item:hover .competency-svg .svg-outline {
    stroke: #FFFFFF;
}

.competency-item:hover .competency-svg .svg-outline-fill {
    stroke: #FFFFFF;
    fill: var(--accent-green);
}

.competency-item:hover .competency-svg .svg-accent {
    stroke: #0B2545;
}

.competency-item:hover .competency-svg .svg-accent-stroke {
    stroke: #FFFFFF;
}



@media (max-width: 992px) {
    .hero-split-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-vector {
        max-width: 440px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .competencies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


@media (max-width: 576px) {
    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .minimal-card {
        padding: 40px 24px;
    }
}

