/*
Theme Name: Lightning Child - HDG
Template: lightning
Description: HDG Holdings Lightning Child Theme
Version: 3.6.0
*/

/* ========================================
   Common Styles
======================================== */

:root {
    --hdg-primary: #003366;
    --hdg-secondary: #1a5a8a;
    --hdg-accent: #2997ff;
    --hdg-text: #333333;
    --hdg-text-light: #666666;
    --hdg-light-bg: #f5f8fa;
    --hdg-dark-bg: #002244;
    --hdg-white: #ffffff;
}

body {
    font-family: "SF Pro JP", "SF Pro Display", "Noto Sans JP", "Hiragino Kaku Gothic ProN", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--hdg-text);
    line-height: 1.8;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    background: var(--hdg-white);
}

/* ========================================
   Header
======================================== */

.hdg-header {
    background: var(--hdg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.hdg-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hdg-logo a {
    font-size: 20px;
    font-weight: bold;
    color: var(--hdg-primary);
    text-decoration: none;
}

.hdg-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.hdg-nav a {
    color: var(--hdg-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hdg-nav a:hover {
    color: var(--hdg-secondary);
}


/* Hamburger Menu (Mobile) */
.hdg-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    padding: 15px;
    margin: -15px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.hdg-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--hdg-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when active */
.hdg-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hdg-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.hdg-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .hdg-menu-toggle {
        display: flex;
    }

    .hdg-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--hdg-white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .hdg-nav.active {
        display: block;
    }

    .hdg-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .hdg-nav li {
        border-bottom: 1px solid #eee;
    }

    .hdg-nav a {
        display: block;
        padding: 15px 20px;
    }
}

/* ========================================
   Footer
======================================== */

.hdg-footer {
    background: var(--hdg-primary);
    color: var(--hdg-white);
    padding: 60px 0 40px;
}

.hdg-footer-inner {
    max-width: 980px;
}

.hdg-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hdg-footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.hdg-footer-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.hdg-footer-info p {
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.9;
}

.hdg-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hdg-footer-nav li {
    margin-bottom: 10px;
}

.hdg-footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.hdg-footer-nav a:hover {
    color: var(--hdg-white);
    text-decoration: underline;
}

.hdg-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hdg-copyright {
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hdg-footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Top Page
======================================== */

/* Body padding for fixed header */
body {
    padding-top: 70px;
}

/* Main content area */
.hdg-main {
    background: var(--hdg-white);
}

/* Hide particles on light theme */
.hdg-particles {
    display: none;
}

/* Hero Section */
.hdg-hero {
    background: linear-gradient(135deg, var(--hdg-primary) 0%, #0a4d8c 100%);
    color: var(--hdg-white);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero Decorations */
.hdg-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hdg-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hdg-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hdg-hero p {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hdg-hero {
        padding: 70px 20px 60px;
    }

    .hdg-hero h1 {
        font-size: 28px;
    }

    .hdg-hero p {
        font-size: 16px;
    }
}

/* Section Common */
.hdg-section {
    padding: 80px 20px;
    max-width: 980px;
    margin: 0 auto;
}

/* Alternate section background */
.hdg-section-alt {
    background: var(--hdg-light-bg);
}

.hdg-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--hdg-primary);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.hdg-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--hdg-secondary);
    margin: 15px auto 0;
}

@media (max-width: 768px) {
    .hdg-section {
        padding: 60px 20px;
    }

    .hdg-section h2 {
        font-size: 26px;
    }
}

/* Top Message Section */
.hdg-message p {
    font-size: 16px;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto 25px;
    color: var(--hdg-text);
    text-align: left;
}

@media (max-width: 768px) {
    .hdg-message p {
        font-size: 15px;
    }
}

/* Strength Cards */
.hdg-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hdg-strength-card {
    background: var(--hdg-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hdg-strength-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hdg-strength-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hdg-strength-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--hdg-primary);
    margin-bottom: 10px;
}

.hdg-strength-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--hdg-text);
    text-align: left;
}

.hdg-strength-card-content {
    padding: 25px;
}

@media (max-width: 768px) {
    .hdg-strengths-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Page Common
======================================== */

.hdg-page-header {
    background: linear-gradient(135deg, var(--hdg-primary) 0%, #0a4d8c 100%);
    color: var(--hdg-white);
    padding: 80px 20px 60px;
    text-align: center;
}

.hdg-page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 768px) {
    .hdg-page-header {
        padding: 60px 20px 50px;
    }
    .hdg-page-header h1 {
        font-size: 28px;
    }
}

.hdg-page-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Service Card */
.hdg-service-card {
    background: var(--hdg-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hdg-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hdg-service-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

.hdg-service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--hdg-primary);
    margin-bottom: 10px;
    margin-top: 0;
}

.hdg-service-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--hdg-text);
    margin: 0 0 10px 0;
    text-align: left;
}

.hdg-service-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hdg-service-card {
        text-align: left;
    }

    .hdg-service-card img {
        float: none;
        display: block;
        margin: 0 0 15px 0;
    }
}

/* Case Card - Alternating Layout */
.hdg-case-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: var(--hdg-white);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hdg-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.hdg-case-img {
    overflow: hidden;
}

.hdg-case-img img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hdg-case-card:hover .hdg-case-img img {
    transform: scale(1.05);
}

.hdg-case-info {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hdg-case-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--hdg-primary);
    margin-bottom: 5px;
}

.hdg-case-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--hdg-text);
}

/* Alternating layout - even cards */
.hdg-case-card:nth-child(even) {
    grid-template-columns: 1fr 320px;
}

.hdg-case-card:nth-child(even) .hdg-case-img {
    order: 2;
}

.hdg-case-card:nth-child(even) .hdg-case-info {
    order: 1;
}

.hdg-case-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hdg-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.hdg-case-link::after {
    content: "→";
}

.hdg-case-link:hover {
    gap: 10px;
}

@media (max-width: 768px) {
    .hdg-case-card,
    .hdg-case-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .hdg-case-card img {
        min-height: 200px;
    }

    .hdg-case-card:nth-child(even) .hdg-case-img,
    .hdg-case-card:nth-child(even) .hdg-case-info {
        order: unset;
    }

    .hdg-case-info {
        padding: 25px;
    }
}

/* Company Table */
.hdg-company-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--hdg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.hdg-company-table th,
.hdg-company-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 15px;
}

.hdg-company-table th {
    width: 25%;
    font-weight: 600;
    color: var(--hdg-primary);
    background: var(--hdg-light-bg);
}

.hdg-company-table td {
    color: var(--hdg-text);
}

.hdg-company-table tr:last-child th,
.hdg-company-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .hdg-company-table th,
    .hdg-company-table td {
        display: block;
        width: 100%;
    }

    .hdg-company-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }

    .hdg-company-table td {
        padding-top: 8px;
    }
}

/* ========================================
   Scroll Animation
======================================== */

/* Initial state (hidden) */
.animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade Up (from bottom to top) */
.fade-up {
    transform: translateY(60px);
}

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

/* Slide In (from left) */
.fade-left {
    transform: translateX(-60px);
}

.fade-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide In (from right) */
.fade-right {
    transform: translateX(60px);
}

.fade-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In */
.zoom-in {
    transform: scale(0.8);
}

.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Fade Only */
.fade-in {
    opacity: 0;
}

.fade-in.is-visible {
    opacity: 1;
}

/* Stagger Effect */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hero Section Animation */
.hdg-hero h1 {
    animation: fadeInUp 1.2s ease-out forwards;
}

.hdg-hero p {
    animation: fadeInUp 1.2s ease-out 0.2s forwards;
    opacity: 0;
}

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

/* Page Header Animation */
.hdg-page-header h1 {
    animation: fadeInUp 1s ease-out forwards;
}

/* ========================================
   Buttons
======================================== */

/* Primary Button */
.hdg-btn,
.hdg-btn-primary {
    display: inline-block;
    background: var(--hdg-secondary);
    color: var(--hdg-white);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hdg-btn:hover,
.hdg-btn-primary:hover {
    background: var(--hdg-primary);
    color: var(--hdg-white);
}

/* Secondary Button */
.hdg-btn-secondary,
.hdg-btn-gradient-border {
    display: inline-block;
    background: transparent;
    color: var(--hdg-secondary);
    padding: 13px 33px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--hdg-secondary);
    cursor: pointer;
}

.hdg-btn-secondary:hover,
.hdg-btn-gradient-border:hover {
    background: var(--hdg-secondary);
    color: var(--hdg-white);
}

/* Text Link with Arrow */
.hdg-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hdg-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hdg-link-arrow::after {
    content: "→";
    transition: transform 0.3s ease;
}

.hdg-link-arrow:hover {
    color: var(--hdg-primary);
}

.hdg-link-arrow:hover::after {
    transform: translateX(5px);
}

/* Button Group */
.hdg-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hdg-btn,
    .hdg-btn-primary,
    .hdg-btn-secondary,
    .hdg-btn-gradient-border {
        padding: 12px 28px;
        font-size: 14px;
    }

    .hdg-btn-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* =====================================================
   FRONT PAGE - ADVANCED LAYOUTS
   ===================================================== */

/* Section Labels */
.hdg-section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hdg-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hdg-section-label-light {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}


/* =====================================================
   GREETING SECTION - Split Layout
   ===================================================== */
.hdg-greeting {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbfd 0%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* Corner Decorations */
.hdg-greeting::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 120px;
    width: 120px;
    height: 120px;
    border-top: 4px solid rgba(0, 51, 102, 0.12);
    border-left: 4px solid rgba(0, 51, 102, 0.12);
    pointer-events: none;
}

.hdg-greeting::after {
    content: "";
    position: absolute;
    bottom: 40px;
    right: 120px;
    width: 120px;
    height: 120px;
    border-bottom: 4px solid rgba(0, 51, 102, 0.12);
    border-right: 4px solid rgba(0, 51, 102, 0.12);
    pointer-events: none;
}

/* Additional floating shapes via inner element */
.hdg-greeting-inner::before {
    content: "";
    position: absolute;
    top: -50px;
    right: 200px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hdg-greeting-inner::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 150px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(26, 90, 138, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hdg-greeting-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
    z-index: 1;
}

.hdg-greeting-image {
    position: relative;
}

.hdg-greeting-image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--hdg-light-bg);
    border-radius: 12px;
    z-index: 0;
}

.hdg-greeting-image img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.15);
    z-index: 1;
}

.hdg-greeting-content {
    text-align: center;
}

.hdg-greeting-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hdg-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hdg-greeting-content h2 {
    font-size: 32px;
    color: var(--hdg-primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.hdg-greeting-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--hdg-secondary);
    margin: 15px auto 0;
}

.hdg-greeting-lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--hdg-primary);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.hdg-greeting-content p {
    font-size: 15px;
    line-height: 2;
    color: var(--hdg-text);
    margin-bottom: 15px;
    text-align: justify;
}

.hdg-greeting-sign {
    font-size: 16px;
    font-weight: 600;
    color: var(--hdg-primary);
    margin-top: 30px;
    text-align: right;
}

@media (max-width: 968px) {
    .hdg-greeting-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hdg-greeting-image {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hdg-greeting {
        padding: 60px 0;
    }

    .hdg-greeting-inner {
        padding: 0 20px;
    }

    .hdg-greeting-content h2 {
        font-size: 26px;
    }

    .hdg-greeting-lead {
        font-size: 18px;
    }
}

/* =====================================================
   ABOUT SECTION - Overlapping Layout with Parallax
   ===================================================== */
.hdg-about {
    position: relative;
    padding: 100px 0;
    background-color: #f8fbfd;
    overflow: hidden;
}

.hdg-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 51, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 90, 138, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(0, 51, 102, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hdg-about-bg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    background: var(--hdg-light-bg);
    border-radius: 20px 0 0 20px;
    z-index: 0;
}

.hdg-about-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
    z-index: 1;
}

.hdg-about-text {
    text-align: center;
}

.hdg-about-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hdg-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hdg-about-text h2 {
    font-size: 32px;
    color: var(--hdg-primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.hdg-about-text h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--hdg-secondary);
    margin: 15px auto 0;
}

.hdg-about-text p {
    font-size: 15px;
    line-height: 2;
    color: var(--hdg-text);
    margin-bottom: 15px;
    text-align: justify;
}

.hdg-about-image {
    position: relative;
}

.hdg-about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 51, 102, 0.2);
}

@media (max-width: 968px) {
    .hdg-about-bg {
        display: none;
    }

    .hdg-about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hdg-about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hdg-about {
        padding: 60px 0;
    }

    .hdg-about-inner {
        padding: 0 20px;
    }

    .hdg-about-text h2 {
        font-size: 26px;
    }
}

/* =====================================================
   STRENGTHS SECTION - Full Width Cards with Pattern
   ===================================================== */
.hdg-strengths {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 50%, #f8f9fa 100%);
}

.hdg-strengths::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background:
        linear-gradient(135deg, rgba(0, 51, 102, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0, 51, 102, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0, 51, 102, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0, 51, 102, 0.02) 25%, transparent 25%);
    background-size: 60px 60px;
    pointer-events: none;
}

.hdg-strengths::after {
    content: "";
    position: absolute;
    bottom: 100px;
    right: 120px;
    width: 250px;
    height: 250px;
    border: 3px solid rgba(0, 51, 102, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hdg-strengths-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 30px;
}

.hdg-strengths-header h2 {
    font-size: 32px;
    color: var(--hdg-primary);
    font-weight: 700;
}

.hdg-strengths-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--hdg-secondary);
    margin: 15px auto 0;
}

.hdg-strengths-list {
    max-width: 1400px;
    margin: 0 auto;
}

/* Full Width Strength Card */
.hdg-strength-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    background: var(--hdg-white);
}

.hdg-strength-full-img {
    position: relative;
    overflow: hidden;
}

.hdg-strength-full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hdg-strength-full:hover .hdg-strength-full-img img {
    transform: scale(1.05);
}

.hdg-strength-full-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    text-align: center;
}

.hdg-strength-num {
    font-size: 72px;
    font-weight: 700;
    color: var(--hdg-light-bg);
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.hdg-strength-full-content h3 {
    font-size: 28px;
    color: var(--hdg-primary);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.hdg-strength-full-content p {
    font-size: 15px;
    line-height: 2;
    color: var(--hdg-text);
    text-align: justify;
}

/* Reverse Layout for alternating */
.hdg-strength-reverse {
    direction: rtl;
}

.hdg-strength-reverse > * {
    direction: ltr;
}

@media (max-width: 968px) {
    .hdg-strength-full {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hdg-strength-full-img {
        height: 300px;
    }

    .hdg-strength-full-content {
        padding: 40px 30px;
    }

    .hdg-strength-reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .hdg-strengths {
        padding: 60px 0;
    }

    .hdg-strengths-header h2 {
        font-size: 26px;
    }

    .hdg-strength-num {
        font-size: 56px;
    }

    .hdg-strength-full-content h3 {
        font-size: 22px;
    }
}

/* =====================================================
   SERVICES PREVIEW SECTION - Grid with Icons
   ===================================================== */
.hdg-services-preview {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Floating Circle Decorations */
.hdg-services-preview::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 51, 102, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hdg-services-preview::after {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(0, 51, 102, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hdg-services-preview-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.hdg-services-preview-header {
    text-align: center;
    margin-bottom: 50px;
}

.hdg-services-preview-header h2 {
    font-size: 32px;
    color: var(--hdg-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.hdg-services-preview-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--hdg-secondary);
    margin: 15px auto 0;
}

.hdg-services-preview-lead {
    font-size: 15px;
    line-height: 2;
    color: var(--hdg-text);
    max-width: 700px;
    margin: 0 auto;
}

.hdg-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.hdg-service-item {
    background: var(--hdg-white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.hdg-service-item:hover {
    border-color: var(--hdg-secondary);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.1);
    transform: translateY(-5px);
}

.hdg-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.hdg-service-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.hdg-service-item h4 {
    font-size: 18px;
    color: var(--hdg-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.hdg-service-item p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--hdg-text);
}

.hdg-services-preview-btn {
    text-align: center;
}

@media (max-width: 968px) {
    .hdg-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hdg-services-preview {
        padding: 60px 0;
    }

    .hdg-services-preview-inner {
        padding: 0 20px;
    }

    .hdg-services-preview-header h2 {
        font-size: 26px;
    }

    .hdg-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hdg-service-item {
        padding: 30px 25px;
    }
}

/* =====================================================
   CASES PREVIEW SECTION - Featured Cards with Parallax
   ===================================================== */
.hdg-cases-preview {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #e8f0f5 0%, #f5f8fa 100%);
}

.hdg-cases-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(0, 51, 102, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 100%, rgba(26, 90, 138, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Dot Pattern Decoration */
.hdg-cases-preview::after {
    content: "";
    position: absolute;
    top: 50px;
    right: 80px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(0, 51, 102, 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
}

.hdg-cases-preview-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.hdg-cases-preview-header {
    text-align: center;
    margin-bottom: 50px;
}

.hdg-cases-preview-header h2 {
    font-size: 32px;
    color: var(--hdg-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.hdg-cases-preview-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--hdg-secondary);
    margin: 15px auto 0;
}

.hdg-cases-preview-lead {
    font-size: 15px;
    line-height: 2;
    color: var(--hdg-text);
    max-width: 700px;
    margin: 0 auto;
}

.hdg-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.hdg-case-preview-card {
    background: var(--hdg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
}

.hdg-case-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.15);
}

.hdg-case-preview-img {
    height: 180px;
    overflow: hidden;
}

.hdg-case-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hdg-case-preview-card:hover .hdg-case-preview-img img {
    transform: scale(1.1);
}

.hdg-case-preview-content {
    padding: 25px;
    text-align: center;
}

.hdg-case-preview-location {
    font-size: 12px;
    color: var(--hdg-secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.hdg-case-preview-content h4 {
    font-size: 18px;
    color: var(--hdg-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.hdg-case-preview-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--hdg-text);
}

.hdg-cases-preview-btn {
    text-align: center;
}

@media (max-width: 968px) {
    .hdg-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hdg-cases-preview {
        padding: 60px 0;
    }

    .hdg-cases-preview-inner {
        padding: 0 20px;
    }

    .hdg-cases-preview-header h2 {
        font-size: 26px;
    }

    .hdg-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =====================================================
   COMPANY CTA SECTION
   ===================================================== */
.hdg-company-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--hdg-primary) 0%, #1a4a7c 100%);
    text-align: center;
}

.hdg-company-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.hdg-company-cta h2 {
    font-size: 32px;
    color: var(--hdg-white);
    font-weight: 700;
    margin-bottom: 20px;
}

.hdg-company-cta h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 15px auto 0;
}

.hdg-company-cta p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* White Button */
.hdg-btn-white {
    display: inline-block;
    background: var(--hdg-white);
    color: var(--hdg-primary);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--hdg-white);
}

.hdg-btn-white:hover {
    background: transparent;
    color: var(--hdg-white);
}

@media (max-width: 768px) {
    .hdg-company-cta {
        padding: 60px 0;
    }

    .hdg-company-cta-inner {
        padding: 0 20px;
    }

    .hdg-company-cta h2 {
        font-size: 26px;
    }
}

/* =====================================================
   PARALLAX DIVIDERS
   ===================================================== */
.hdg-parallax-divider {
    position: relative;
    height: 300px;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hdg-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 51, 102, 0.7) 0%,
        rgba(26, 90, 138, 0.5) 100%
    );
}

/* Parallax 1 - Abstract Medical */
.hdg-parallax-1 {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?w=1920&q=80');
}

/* Parallax 2 - Office/Business */
.hdg-parallax-2 {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
}

/* Parallax 3 - Team/Collaboration */
.hdg-parallax-3 {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1920&q=80');
}

/* Mobile: Disable fixed attachment (causes issues on iOS) */
@media (max-width: 768px) {
    .hdg-parallax-divider {
        height: 200px;
        background-attachment: scroll;
    }
}

/* =====================================================
   SERVICES PREMIUM SECTION - Fancy Card Design
   ===================================================== */
.hdg-services-premium {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fbfd 0%, #e8f0f5 50%, #f5f8fa 100%);
    overflow: hidden;
}

/* Background Pattern */
.hdg-services-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 51, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(26, 90, 138, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 51, 102, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

/* Geometric Pattern Overlay */
.hdg-services-premium::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(0, 51, 102, 0.015) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 102, 0.015) 87.5%, rgba(0, 51, 102, 0.015)),
        linear-gradient(150deg, rgba(0, 51, 102, 0.015) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 102, 0.015) 87.5%, rgba(0, 51, 102, 0.015)),
        linear-gradient(30deg, rgba(0, 51, 102, 0.015) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 102, 0.015) 87.5%, rgba(0, 51, 102, 0.015)),
        linear-gradient(150deg, rgba(0, 51, 102, 0.015) 12%, transparent 12.5%, transparent 87%, rgba(0, 51, 102, 0.015) 87.5%, rgba(0, 51, 102, 0.015)),
        linear-gradient(60deg, rgba(26, 90, 138, 0.02) 25%, transparent 25.5%, transparent 75%, rgba(26, 90, 138, 0.02) 75%, rgba(26, 90, 138, 0.02)),
        linear-gradient(60deg, rgba(26, 90, 138, 0.02) 25%, transparent 25.5%, transparent 75%, rgba(26, 90, 138, 0.02) 75%, rgba(26, 90, 138, 0.02));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    pointer-events: none;
    opacity: 0.8;
}

.hdg-services-premium-header {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
    padding: 0 30px;
    z-index: 1;
}

.hdg-services-premium-header h2 {
    font-size: 36px;
    color: var(--hdg-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.hdg-services-premium-header h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--hdg-secondary) 0%, var(--hdg-accent) 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

.hdg-services-premium-lead {
    font-size: 16px;
    line-height: 2;
    color: var(--hdg-text);
    margin-top: 25px;
}

.hdg-services-premium-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto 60px;
    padding: 0 30px;
    z-index: 1;
}

/* Premium Service Card */
.hdg-service-premium-card {
    position: relative;
    min-height: 380px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 20px 60px rgba(0, 51, 102, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hdg-service-premium-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 40px 80px rgba(0, 51, 102, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Background Layer */
.hdg-service-premium-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    transition: transform 0.5s ease;
}

.hdg-service-premium-card:hover .hdg-service-premium-bg {
    transform: scale(1.1);
}

/* Glass Effect Overlay */
.hdg-service-premium-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Shimmer Effect on Hover */
.hdg-service-premium-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(45deg);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.hdg-service-premium-card:hover::after {
    transform: translateX(100%) rotate(45deg);
}

/* Content Layer */
.hdg-service-premium-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 40px 35px;
    color: var(--hdg-white);
}

/* Number Badge */
.hdg-service-premium-num {
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    font-family: 'Georgia', serif;
    letter-spacing: -2px;
    transition: all 0.4s ease;
}

.hdg-service-premium-card:hover .hdg-service-premium-num {
    color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.hdg-service-premium-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hdg-service-premium-content p {
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Icon */
.hdg-service-premium-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.hdg-service-premium-icon svg {
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
}

.hdg-service-premium-card:hover .hdg-service-premium-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(10deg);
}

.hdg-service-premium-card:hover .hdg-service-premium-icon svg {
    color: var(--hdg-white);
}

/* Button */
.hdg-services-premium-btn {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 0 30px;
}

/* PC only display */
@media (min-width: 769px) {
    .pc-only { display: inline; }
}

/* Tablet */
@media (max-width: 1100px) {
    .hdg-services-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hdg-services-premium {
        padding: 80px 0;
    }

    .hdg-services-premium-header {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .hdg-services-premium-header h2 {
        font-size: 28px;
    }

    .hdg-services-premium-lead {
        font-size: 15px;
    }

    .hdg-services-premium-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .hdg-service-premium-card {
        min-height: 320px;
    }

    .hdg-service-premium-num {
        font-size: 48px;
    }

    .hdg-service-premium-content {
        padding: 30px 25px;
    }

    .hdg-service-premium-content h3 {
        font-size: 20px;
    }

    .hdg-services-premium-btn {
        padding: 0 20px;
    }
}

