:root {
    --bg-main: #050505;
    --bg-white: #f8f9fa;
    --accent: #d4af37;
    --text-main: #ffffff;
    --text-dark: #111111;
    --text-muted: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.8)), url('../img/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

/* Creative Architectural Frame */
.hero-architectural-frame {
    position: absolute;
    top: 6%;
    left: 4%;
    right: 4%;
    bottom: 6%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 10;
    pointer-events: none;
}

.frame-title {
    position: absolute;
    top: -32px;
    /* top: -45px; */
    left: 3%;
    pointer-events: auto;
}

.main-title {
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.sub-title {
    font-size: clamp(1rem, 1vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
}

.frame-content {
    position: absolute;
    bottom: -30px;
    right: 5%;
    max-width: 700px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-top: 4px solid var(--accent);
    pointer-events: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.8;
}

.highlight {
    color: #fff;
    font-weight: 700;
}

.frame-scroll {
    position: absolute;
    bottom: 50px;
    left: -13px;
    /* Exactly half of mouse width (26px) */
    pointer-events: auto;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    background: var(--bg-main);
    /* Masks the frame border behind it */
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* ================= ABOUT US SECTION ================= */
.about-us {
    background-color: #ffffff;
    color: var(--text-dark);
    position: relative;
    z-index: 15;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    overflow: hidden;
}

/* Mouse-tracking Drafting Blueprint Crosshairs */
.drafting-crosshair {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drafting-crosshair.x-line {
    width: 100%;
    height: 1px;
    left: 0;
    border-top: 1px dashed rgba(212, 175, 55, 0.22);
}

.drafting-crosshair.y-line {
    width: 1px;
    height: 100%;
    top: 0;
    border-left: 1px dashed rgba(212, 175, 55, 0.22);
}

.about-us.crosshair-active .drafting-crosshair {
    opacity: 1;
}

/* Technical Blueprint Axis Ruler */
.blueprint-axis {
    position: absolute;
    top: 15%;
    left: 20px;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-left: 1px dashed rgba(212, 175, 55, 0.25);
    padding-left: 8px;
    z-index: 2;
    pointer-events: none;
}

.axis-coord {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    font-family: monospace;
    font-size: 0.62rem;
    letter-spacing: 2px;
    color: rgba(212, 175, 55, 0.45);
}

/* Background elements for About Us */
.about-us::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    /* Increased opacity for visibility on white background */
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: rotateSlow 50s linear infinite;
}

.about-us::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    border: 1px dashed rgba(212, 175, 55, 0.28);
    /* Increased opacity for visibility on white background */
    z-index: 0;
    pointer-events: none;
    animation: rotateSlowReverse 40s linear infinite;
}

/* Content Only Layout */
/* Content & Grid Layout */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Content Column */
.about-left-content {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.about-left-content h3 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}

/* Gold underlay accent brush */
.gold-brush {
    color: #111;
    background: rgba(212, 175, 55, 0.15);
    padding: 2px 10px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transform: rotate(-1deg);
    border-radius: 2px;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2.5rem;
}

.about-lead p::first-letter {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--accent);
    float: left;
    font-family: serif;
    line-height: 0.85;
    margin-right: 12px;
    margin-top: 4px;
}

/* Right Stacked Cards Column */
.about-right-cards {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    width: 100%;
}

.about-div-col-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.about-div-col {
    position: relative;
    background: #ffffff;
    border: 1px solid rgb(0 0 0 / 56%);
    padding: 3rem 3.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}

/* The folded gold triangle tab in the top-right corner */
.about-div-col::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #141414;
    /* Default dark folded tab */
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    transition: background 0.4s ease, transform 0.4s ease;
    z-index: 5;
}

.about-div-col:hover::before {
    background: var(--accent);
    /* Turns gold on hover */
}

/* Metallic Sweep shine across the folder card */
.about-div-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    z-index: 3;
    pointer-events: none;
    transition: 0s;
}

.about-div-col:hover::after {
    left: 150%;
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-div-col:hover {
    transform: translateX(10px) translateY(-5px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    background: #fafafc;
}

.div-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.18);
    /* Ghost gold watermark number */
    font-family: serif;
    position: absolute;
    top: 1.5rem;
    right: 55px;
    /* Sits right next to the folder tab cut */
    line-height: 1;
    z-index: 4;
    transition: color 0.4s ease, transform 0.4s ease;
}

.about-div-col:hover .div-num {
    color: var(--accent);
    transform: scale(1.1) translateY(-2px);
}

.div-info {
    padding: 0;
    z-index: 2;
    position: relative;
}

.div-info h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.div-info h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.div-info p {
    font-size: 0.98rem;
    color: #555555;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Left-aligned footer paragraph */
.about-footer-quote {
    text-align: left;
    max-width: 900px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.quote-text {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444444;
}

/* Tablet & Mobile responsive adjustments */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 2rem;
    }
}

/* ================= ULTRA-PREMIUM: ENGINEERING GRID & OFFSET CARDS ================= */
.divisions {
    position: relative;
    z-index: 20;
    overflow: hidden;
    background-color: #0b0c10;
    /* Premium Subtle Engineering Grid (Light on Dark) */
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-main);
}

.divisions .content-inner h3 {
    color: var(--text-main);
}

.divisions .content-inner p {
    color: rgba(255, 255, 255, 0.7);
}

.divisions .section-title h2 {
    color: var(--text-main);
}

.divisions::after {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.divisions .division-row-fw::after {
    color: rgba(255, 255, 255, 0.02) !important;
}

/* Background Creative Element 1: Giant Gold Ring */
.divisions::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 800px;
    height: 800px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: rotateSlow 40s linear infinite;
}

/* Background Creative Element 2: Giant Rotating Square */
.divisions::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -5%;
    width: 600px;
    height: 600px;
    border: 1px dashed rgba(0, 0, 0, 0.05);
    z-index: 0;
    pointer-events: none;
    transform: rotate(45deg);
    animation: rotateSlowReverse 60s linear infinite;
}

@keyframes rotateSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateSlowReverse {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(-315deg);
    }
}

.section-padding {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 5.5rem;
    position: relative;
    z-index: 5;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.line {
    width: 100px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

.full-width-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 5;
}

/* The Offset Layout Row */
.division-row-fw {
    display: flex;
    align-items: center;
    position: relative;
}

.division-row-fw.reverse {
    flex-direction: row-reverse;
}

/* Creative Element 1: Heavy Offset Golden Frame */
.division-row-fw::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -40px;
    width: 50%;
    height: 450px;
    border: 6px solid var(--accent);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.division-row-fw.reverse::before {
    left: auto;
    right: -40px;
}

/* Creative Element 2: Massive Typography Watermark */
.division-row-fw::after {
    content: attr(data-division);
    position: absolute;
    top: -80px;
    right: 5%;
    /* Places it behind the text area */
    font-size: clamp(12rem, 15vw, 18rem);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    /* Extremely faint */
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    letter-spacing: -5px;
    font-family: Arial, sans-serif;
}

.division-row-fw.reverse::after {
    right: auto;
    left: 5%;
}

.division-row-fw:hover::before {
    transform: translate(15px, -15px);
}

.division-row-fw.reverse:hover::before {
    transform: translate(-15px, -15px);
}

/* Crisp Sharp Architectural Image */
.div-image-fw {
    flex: 0 0 50%;
    height: 450px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    /* Clean architectural edges */
}

.division-row-fw.reverse .div-image-fw {
    border-radius: 0;
}

.div-image-fw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.division-row-fw:hover .div-image-fw img {
    transform: scale(1.08);
}

/* Subtle Golden Overlay on Image */
.div-image-fw::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, transparent 40%);
    z-index: 5;
    pointer-events: none;
}

.reverse .div-image-fw::after {
    background: linear-gradient(225deg, rgba(212, 175, 55, 0.15) 0%, transparent 40%);
}

/* Crisp Sharp Badge */
.floating-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: #ffffff;
    color: #111;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--accent);
}

.reverse .floating-badge {
    right: auto;
    left: 40px;
    border-left: none;
    border-right: 3px solid var(--accent);
}

.floating-badge.alt {
    background: #111;
    color: #fff;
}

/* Clean Editorial Content Area (No Bulky Box) */
.div-content-fw {
    flex: 1;
    background: transparent;
    padding: 2rem 4rem;
    position: relative;
    z-index: 10;
    margin: 0;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reverse .div-content-fw {
    padding: 2rem 4rem;
}

.content-inner {
    max-width: 550px;
}

/* Editorial Tagline with Accent Line */
.tagline {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3rem;
    display: flex;
    align-items: center;
}

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

.content-inner h3 {
    font-size: clamp(3rem, 2vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.content-inner p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Highly Creative Premium Button */
.btn-creative {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dark);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

/* The Sweeping Background */
.btn-creative::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-creative:hover::before {
    transform: scaleX(1);
    transform-origin: right center;
}

.btn-creative:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.btn-creative:hover .btn-text {
    color: #000;
}

/* The Animated Icon Circle */
.btn-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-creative:hover .btn-icon {
    background: #ffffff;
    transform: rotate(-45deg);
}

/* ================= AWARDS SECTION ================= */
.awards {
    background-color: #ffffff;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background-image: linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    overflow: hidden;
}

/* Background elements for Awards */
.awards::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -5%;
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(0, 0, 0, 0.12);
    /* Increased opacity for visibility on white background */
    z-index: 0;
    pointer-events: none;
    transform: rotate(15deg);
    animation: rotateSlow 60s linear infinite;
}

.awards::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    /* Increased opacity for visibility on white background */
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: rotateSlowReverse 50s linear infinite;
}

.awards .section-title h2 {
    color: var(--text-dark);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 3rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Premium Frame Design */
.award-frame-container {
    /* perspective: 1500px; */
    width: 100%;
    /* max-width: 440px; */
    position: relative;
    overflow: hidden;
}

/* Metallic foil shine sweep across the entire card container on hover */
.award-frame-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            rgba(212, 175, 55, 0.35),
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 12;
    transition: 0s;
}

.award-frame-container:hover::after {
    left: 150%;
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.award-frame {
    background: #ffffff;
    border: 14px solid #141414;
    /* Elegant matte black frame */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6),
        inset 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 10px;
    position: relative;
    /* aspect-ratio: 1 / 1.414; */
    /* A4 Ratio */
    /* transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d; */
}

/* Gold bracket ornaments on top-left and bottom-right corners */
.award-frame::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--accent);
    pointer-events: none;
    z-index: 5;
    clip-path: polygon(0 0, 40px 0, 40px 2px, 2px 2px, 2px 40px, 0 40px,
            0 100%, 0 100%, 0 100%, 0 100%, 0 100%, 0 100%
            /* Dummy coordinates to match polygon size */
        );
}

/* Gold bracket ornaments on top-right and bottom-left corners */
.award-frame::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--accent);
    pointer-events: none;
    z-index: 5;
    clip-path: polygon(calc(100% - 40px) 100%, 100% 100%, 100% calc(100% - 40px), calc(100% - 2px) calc(100% - 40px), calc(100% - 2px) calc(100% - 2px), calc(100% - 40px) calc(100% - 2px),
            0 0, 0 0, 0 0, 0 0, 0 0, 0 0
            /* Dummy coordinates to match polygon size */
        );
}



/* Certificate Paper */
.certificate {
    background: #faf8f5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    height: 100%;
    padding: 0;
    /* Changed to 0 so the image can span the full frame area */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
}

.certificate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}



/* Logo and text inside certificate */
.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 6px;
    z-index: 2;
}

.cert-logo-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cert-brand {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #111;
}

.cert-brand-divider {
    color: var(--accent);
    font-weight: 300;
}

.cert-brand-sub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent);
}

.cert-qr {
    text-align: right;
    font-size: 0.45rem;
    color: #555;
    line-height: 1.3;
    font-weight: 600;
}

.cert-content {
    text-align: center;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    z-index: 2;
}

/* Times Realty Logo Symbol */
.cert-logo-symbol {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.cert-main-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #111;
    line-height: 1.1;
}

.cert-subtitle {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 3px;
    margin-bottom: 2px;
}

.cert-powered-by {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #c92a2a;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-type {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.cert-presented-to {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 6px;
}

.cert-recipient-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.cert-company {
    font-size: 0.6rem;
    font-weight: 700;
    color: #444;
    letter-spacing: 0.5px;
    margin-top: 1px;
    margin-bottom: 10px;
}

.cert-category-badge {
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 10px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #111;
    background: rgba(212, 175, 55, 0.04);
    max-width: 90%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-footer-text {
    font-size: 0.45rem;
    letter-spacing: 0.5px;
    color: #555;
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 6px;
    z-index: 2;
    font-weight: 600;
    line-height: 1.4;
}

/* Info under the frame */
.award-details {
    margin-top: 2.5rem;
    text-align: center;
    max-width: 400px;
}

.award-details h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.award-details p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
}



/* Responsive adjustments for awards */
@media (max-width: 992px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 3rem 0;
    }

    .award-frame {
        border-width: 10px;
        padding: 16px;
    }

    .certificate {
        padding: 14px;
    }

    .cert-main-title,
    .cert-subtitle {
        font-size: 1rem;
    }

    .cert-type {
        font-size: 1.4rem;
    }

    .cert-recipient-name {
        font-size: 0.8rem;
    }

    .cert-category-badge {
        font-size: 0.58rem;
    }
}

/* ================= FOOTER ================= */
.footer {
    text-align: center;
    padding: 25px;
    background: #ffffff;
    color: #000;
    border-top: 2px solid #000000cf;
}

/* ================= INTERSECTION OBSERVER ANIMATIONS ================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ================= RESPONSIVE DESIGN ================= */

/* Tablet (991px and below) */
@media (max-width: 1400px) {
    .section-title h2 {
        font-size: 3rem;
    }

}

@media (max-width: 1400px) {
    .btn-creative {
        padding: 4px 10px;
        border-radius: 10px;
    }

    .division-row-fw::before {
        display: none;
    }

    .full-width-wrapper {
        gap: 5rem;
    }
}

@media (max-width: 991px) {
    .footer {
        padding: 20px 10px;
    }

    /* Disable fixed background attachment on mobile/tablet to prevent scroll jerking */
    .hero-bg {
        background-attachment: scroll !important;
    }

    /* Hero Section Tablet */
    .hero-architectural-frame {
        top: 8%;
        bottom: 8%;
        left: 5%;
        right: 5%;
    }

    .frame-title {
        top: -40px;
    }

    .main-title {
        font-size: 3rem;
        letter-spacing: normal;
    }

    .frame-content {
        padding: 10px 24px;
        max-width: 500px;
        bottom: 0;
        right: 20px;
        font-size: 15px;
    }

    .hero-description {
        font-size: 16px;
    }

    /* About Us Tablet */
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }

    .about-container .tagline {
        margin-bottom: 1rem;
    }

    .about-lead {
        margin-bottom: 1.5rem;
    }

    .about-footer-quote {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .about-div-col {
        padding: 2.5rem 2rem;
    }

    /* Awards Tablet */
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding: 0;
    }

    /* Divisions Tablet */
    .full-width-wrapper {
        gap: 3rem;
        padding: 0;
    }

    .division-row-fw,
    .division-row-fw.reverse {
        flex-direction: column;
        gap: 3rem;
    }

    /* Adjust the offset golden frame for stacked layout */
    .division-row-fw::before,
    .division-row-fw.reverse::before {
        width: 80%;
        height: 100%;
        top: -20px;
        left: 20px;
        right: auto;
        display: none;
    }

    .division-row-fw::after,
    .division-row-fw.reverse::after {
        top: -40px;
        right: 10%;
        left: auto;
        font-size: 10rem;
    }

    .div-image-fw {
        width: 100%;
        height: 400px;
        flex: none;
    }

    .div-content-fw,
    .reverse .div-content-fw {
        padding: 0;
        width: 100%;
    }

    .content-inner h3 {
        font-size: 1.8rem;
    }

    .content-inner p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .tagline {
        font-size: 0.8rem;
        padding-left: 2rem;
    }

    .tagline::before {
        width: 1.2rem;
    }

    .btn-creative {
        padding: 0.4rem 0.4rem 0.4rem 1.6rem;
        font-size: 0.8rem;
        border-radius: 16px;
    }

    .btn-icon {
        width: 36px;
        height: 36px;
    }

    .section-title {
        text-align: left;
        margin-bottom: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title .line {
        margin: 0.8rem 0 0 0;
    }

    .section-padding {
        padding: 60px 15px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Hero Section Mobile */
    .hero-architectural-frame {
        top: 6%;
        bottom: 6%;
        left: 6%;
        right: 6%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 1rem;
        border-color: rgba(255, 255, 255, 0.18);
        gap: 1.5rem;
    }

    .frame-title {
        position: static;
        padding: 0;
        text-align: left;
    }

    .main-title {
        font-size: clamp(2.2rem, 8.5vw, 3.2rem);
        line-height: 1.05;
        letter-spacing: -1px;
        margin-bottom: 0.8rem;
    }

    .sub-title {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .frame-content {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.5rem 0 0;
        background: transparent;
        border: none;
        border-top: 1px solid rgba(212, 175, 55, 0.35);
        box-shadow: none;
        backdrop-filter: none;
    }

    .hero-description {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .frame-scroll {
        display: none;
    }

    /* About Us Mobile */
    .about-container {
        padding: 0;
        gap: 2.5rem;
    }

    .about-container .tagline {
        margin-bottom: 0.8rem;
    }

    .about-left-content h3 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .about-lead p::first-letter {
        font-size: 2.8rem;
        margin-right: 8px;
    }

    .about-lead {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 0rem;
    }

    .about-div-col {
        padding: 1rem 1rem;
        clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
    }

    .about-div-col::before {
        width: 30px;
        height: 30px;
    }

    .div-num {
        font-size: 2.2rem;
        right: 42px;
        top: 1rem;
    }

    .about-footer-quote {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }

    .quote-text {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    /* Awards Mobile */
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .blueprint-axis,
    .drafting-crosshair {
        display: none !important;
    }

    /* Divisions Mobile */
    .section-title {
        text-align: left;
        margin-bottom: 2rem;
    }

    .section-title .line {
        margin: 0.8rem 0 0 0;
    }

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

    /* Remove the offset golden frame on mobile to keep it clean */
    .division-row-fw::before,
    .division-row-fw.reverse::before {
        display: none;
    }

    .division-row-fw::after,
    .division-row-fw.reverse::after {
        font-size: 7rem;
        top: -30px;
        right: 5%;
    }

    .div-image-fw {
        height: 250px;
    }

    .content-inner h3 {
        font-size: 1.5rem;
    }

    .content-inner p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .tagline {
        font-size: 0.72rem;
        padding-left: 1.8rem;
    }

    .tagline::before {
        width: 1rem;
    }

    /* Small creative button for mobile screen fit */
    .btn-creative {
        display: inline-flex;
        width: auto;
        /* Fits contents instead of full width! */
        padding: 0.35rem 0.35rem 0.35rem 1.4rem;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .btn-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    /* Adjust background decorations so they don't break viewport */
    .divisions::before,
    .divisions::after {
        opacity: 0.5;
        transform: scale(0.5);
    }

    .section-padding {
        padding: 50px 15px;
    }


}

.pvot-logo {
    line-height: 0;
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Lightbox Modal for Certificate Zoom */
.award-frame {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    width: 90%;
    max-width: 480px;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Inside Lightbox, disable the tilt transition and hover effects so it is steady */
.lightbox-content .award-frame {
    transform: none !important;
    cursor: default;
    pointer-events: none;
    /* Disable mouse/tilt inside lightbox */
}

/* Hide reflection inside zoomed lightbox */
.lightbox-content .award-frame-container::after {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 45px;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
        width: 40px;
        height: 40px;
    }

    .footer p {
        text-align: left;
        justify-content: left;
    }
}