/* =========================================
   HELP HERO - CINEMATIC SEARCH SETUP
   ========================================= */

.help-hero {
    position: relative;
    height: 100vh; /* Full screen height */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--navy-dark);
    padding-top: 80px; 
}

/* Background Zoom Effect for Help Page */
.help-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(15, 28, 46, 0.85) 0%, 
        rgba(15, 28, 46, 0.95) 100%
    ), url('help.jpg'); /* Ensure this image path is correct */
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: help-bg-zoom 10s infinite alternate ease-in-out;
    pointer-events: none;
}

/* Glow Pulse Overlay */
.help-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(66, 184, 131, 0.1) 0%, transparent 70%);
    animation: help-glow 8s infinite alternate ease-in-out;
    z-index: 2;
    pointer-events: none;
}

.help-hero .container {
    position: relative;
    z-index: 5;
    animation: help-entrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.help-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 700;
}

.help-subtitle {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Search Box Glassmorphism */
.search-box-large {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s ease;
}

.search-box-large:focus-within {
    transform: translateY(-5px);
}

.search-box-large input {
    width: 100%;
    padding: 20px 25px 20px 65px;
    border-radius: 100px;
    font-family: 'Noto Sans Sinhala', 'Poppins', sans-serif;
    border: 1px solid rgba(66, 184, 131, 0.3);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
 }

.search-box-large input:focus {
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.12);
 }

.search-box-large i {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    font-size: 1.3rem;
}

/* --- Animations --- */
@keyframes help-bg-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes help-entrance {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes help-glow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}
 


.search-box-large {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-png {
    position: absolute;
    left: 22px; /* Adjusted to look balanced */
    top: 50%;
    transform: translateY(-50%);
    width: 24px;  /* Control the size of your PNG here */
    height: 24px; /* Keep it square */
    object-fit: contain;
    pointer-events: none; /* Allows clicks to pass through to the input */
    z-index: 10;
}

/* Ensure the input padding accounts for the image size */
.search-box-large input {
    padding-left: 60px !important; 
}

.search-box-large input {
    width: 100%;
    padding: 18px 25px 18px 60px;
    border-radius: 50px;
    border: 1px solid rgba(66, 184, 131, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: 0.3s;
}

.search-box-large i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    font-size: 1.2rem;
}

.help-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 50px;
    padding: 80px 0;
}


/* =========================================
   HELP HERO MOBILE OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {
    .help-hero {
        height: 80vh; /* Reduced height to keep search box visible */
        min-height: 450px;
        padding-top: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }
.search-icon-png {
        width: 18px;  /* Smaller width for mobile */
        height: 18px; /* Smaller height for mobile */
        left: 18px;   /* Move it slightly closer to the edge */
    }
    /* Reduce Title Size */
    .help-title {
        font-size: 2rem; /* Scaled down from 3.5rem */
        margin-bottom: 12px;
    }

    /* Reduce Subtitle Size */
    .help-subtitle {
        font-size: 0.9rem; /* Scaled down from 1.15rem */
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* Search Box Mobile Adjustments */
    .search-box-large {
        max-width: 100%;
        margin-top: 20px;
    }

    .search-box-large input {
        padding: 15px 20px 15px 50px; /* Slimmer padding for mobile */
        font-size: 0.95rem;
        border-radius: 30px; /* Slightly tighter radius */
    }

    .search-box-large i {
        left: 20px;
        font-size: 1.1rem;
    }

    /* Help Grid - Switch to Single Column */
    .help-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
}

/* Extra Small Devices (Portrait Phones < 480px) */
@media (max-width: 480px) {
    .help-hero {
        height: 75vh;
    }

    .help-title {
        font-size: 1.7rem;
    }

    .help-subtitle {
        font-size: 0.85rem;
    }

    /* Prevent zoom effect from feeling too shaky on small screens */
    .help-hero::after {
        animation-duration: 15s; 
    }
}

/* =========================================
   SCROLL DOWN INDICATOR (THE ATHAL ELEMENT)
   ========================================= */
 /* --- Unique Scroll Down Animation --- */
#scroller-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none; /* remove link underline if any */
}

#mouse-frame {
    width: 26px;
    height: 42px;
    border: 2px solid #7d7d7d;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.8;
}

#scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent-green, #4CAF50); /* fallback color added */
    border-radius: 2px;
    animation: move-dot 1.6s infinite ease-in-out;
}

#down-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.arrow-unit {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-gray, #888);
    border-bottom: 2px solid var(--text-gray, #888);
    transform: rotate(45deg);
    margin: -2px;
    animation: fade-blink 1.6s infinite;
}

.arrow-unit:nth-child(2) {
    animation-delay: 0.2s;
}

/* --- New Keyframe Names --- */
@keyframes move-dot {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

@keyframes fade-blink {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 0; }
}

/* Responsiveness */
@media (max-width: 768px) {
    #scroller-container {
        bottom: 15px;
        transform: translateX(-50%) scale(0.8);
    }
}



 
.help-content {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.help-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 60px;
    align-items: start; 
}

/* --- FAQ / Accordion Styling --- */
.help-sub-title {
    font-size: 1.8rem;
    color: var(--navy-dark);
    margin-bottom: 35px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.help-sub-title i {
    color: var(--accent-green);
    font-size: 1.5rem;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid #f0f2f5;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item:hover {
    border-color: rgba(66, 184, 131, 0.4);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(15, 28, 46, 0.05);
}

.accordion-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-header span {
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 1.05rem;
    line-height: 1.4;
}

.accordion-header i {
    font-size: 0.9rem;
    color: #aeb9cc;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active State for Accordion */
.accordion-item.active {
    border-color: var(--accent-green);
    background: #f8faff;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: var(--accent-green);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
    padding-bottom: 25px;
}

.accordion-body p {
    padding: 0 30px;
    color: #556070;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* --- Support Sidebar Styling (STICKY PART) --- */
.support-sidebar {
    position: sticky;
    top: 100px; 
    z-index: 10;
}

.support-card-pro {
    background: var(--navy-dark);
    padding: 50px 40px;
    border-radius: 40px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 28, 46, 0.15);
    position: relative;
}

.support-card-pro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(66, 184, 131, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.support-card-pro h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.support-card-pro p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--accent-green);
    color: var(--navy-dark);
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.btn-support:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(66, 184, 131, 0.3);
    background: #ffffff;
}

.social-mini {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-mini a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-mini a:hover {
    background: var(--accent-green);
    color: var(--navy-dark);
    border-color: var(--accent-green);
}
/* --- Help & FAQ Mobile Optimization --- */
@media (max-width: 992px) {
    .help-content {
        padding: 60px 0px;
    }

    .help-grid {
        /* Stack FAQ and Support Card vertically */
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* 1. Resize Help Section Titles */
    .help-sub-title {
        font-size: 1.5rem; /* Reduced from 1.8rem */
        justify-content: center; /* Center title on mobile */
        margin-bottom: 25px;
    }

    /* 2. Accordion (FAQ) Mobile Adjustments */
    .accordion-header {
        padding: 18px 20px; /* Slimmer padding for thumb-reach */
    }

    .accordion-header span {
        font-size: 0.95rem; /* Slightly smaller text */
        padding-right: 15px; /* Space for the arrow */
    }

    .accordion-body p {
        padding: 0 20px; /* Matches header padding */
        font-size: 0.88rem; /* Better readability on small screens */
    }

    .accordion-item:hover {
        transform: none; /* Disable horizontal shift on mobile to prevent "jiggle" */
    }

    /* 3. Support Sidebar (The Sticky Fix) */
    .support-sidebar {
        position: relative; /* Disable sticky on mobile */
        top: 0;
        width: 100%;
        max-width: 450px; /* Keeps card from getting too wide on tablets */
        margin: 0 auto;
    }

    .support-card-pro {
        padding: 40px 25px; /* Reduced from 50px 40px */
        border-radius: 30px; /* Slightly softer corners */
    }

    .support-card-pro h4 {
        font-size: 1.4rem; /* Scaled down */
    }

    .support-card-pro p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    /* 4. Button & Icon Scaling */
    .btn-support {
        padding: 14px 25px;
        font-size: 0.95rem;
        width: 100%; /* Full width button for easier tapping */
    }

    .social-mini a {
        width: 45px; /* Slightly larger for easier finger tapping */
        height: 45px;
    }
}

/* --- Extra Small Devices (Phones < 480px) --- */
@media (max-width: 480px) {
    .help-sub-title {
        font-size: 1.3rem;
    }

    .accordion-header span {
        font-size: 0.9rem;
    }

    .status-indicator {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
}


 

/* =========================================
   AKURAA.LK USER GUIDE SECTION (MODERN DOCS)
   ========================================= */

.help-section {
    padding: 100px 0;
    background: #fdfdfd;
}


.section-main-title {
    font-size: 2.2rem;
    color: var(--navy-dark);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; 
}


.section-main-title::before {
    content: '';
    display: block;
    width: 12px;
    height: 45px;
    background-color: var(--accent-green);
    transform: skewX(-15deg); 
    border-radius: 2px;
}


.section-main-title::after {
    content: '';
    display: block;
    width: 12px;
    height: 45px;
    background-color: var(--accent-green);
    transform: skewX(-15deg);
    border-radius: 2px;
}


@media (max-width: 768px) {
    .section-main-title {
        font-size: 1.6rem;
        gap: 10px;
    }
    
    .section-main-title::before, 
    .section-main-title::after {
        height: 30px;
        width: 6px;
    }
}
.section-main-title i {
    color: var(--accent-green);
}

/* --- Guide Grid Layout --- */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Guide Card Styling --- */
.guide-card {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 30px;
    border: 1px solid #f0f2f5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 25px 50px rgba(15, 28, 46, 0.06);
}

/* Step Number Styling */
.step-num {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-green);
    background: rgba(66, 184, 131, 0.1);
    width: fit-content;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.guide-card h3 {
    font-size: 1.3rem;
    color: var(--navy-dark);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.4;
}

/* List Styling Inside Cards */
.guide-card ul {
    list-style: none;
    padding: 0;
}

.guide-card ul li {
    font-size: 0.92rem;
    color: #556070;
    line-height: 1.7;
    margin-bottom: 18px;
    padding-left: 20px;
    position: relative;
}

/* Custom Bullet Point */
.guide-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    opacity: 0.6;
}

.guide-card strong {
    color: var(--navy-dark);
    font-weight: 600;
}

/* --- Section Divider --- */
.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #f0f2f5, transparent);
    margin: 40px 0;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */
 
/* --- Guide Section Mobile Optimization --- */
@media (max-width: 992px) {
    .help-section {
        padding: 60px 20px; /* Reduced vertical padding */
    }

    /* 1. Stack the Grid */
    .guide-grid {
        grid-template-columns: 1fr; /* Single column for all tablets and phones */
        gap: 25px; /* Slightly tighter gap */
    }

    /* 2. Responsive Typography */
    .section-main-title {
        font-size: 1.7rem; /* Reduced from 2.2rem */
        margin-bottom: 40px;
        flex-direction: column; /* Icon on top of text for narrow screens */
        gap: 10px;
    }

    /* 3. Card Adjustments */
    .guide-card {
        padding: 30px 25px; /* More compact padding */
        border-radius: 24px;
        text-align: left; /* Keep text left-aligned for readability */
    }

    .guide-card:hover {
        transform: translateY(-5px); /* Subtler lift for touch interfaces */
    }

    .guide-card h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    /* 4. List Item Optimization */
    .guide-card ul li {
        font-size: 0.88rem; /* Better fit for mobile */
        margin-bottom: 15px; /* Slightly tighter spacing */
        line-height: 1.6;
    }

    /* 5. Section Divider Scaling */
    .section-divider {
        margin: 30px 0;
    }
}

/* --- Small Phone Polish (< 480px) --- */
@media (max-width: 480px) {
    .section-main-title {
        font-size: 1.5rem;
    }

    .step-num {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .guide-card {
        padding: 25px 20px;
    }
}



/* =========================================
   AKURAA.LK LIMITS & SPECS SECTION (GLASS-TECH)
   ========================================= */

#limits-specs {
    padding: 80px 0;
    background: #ffffff;
}

/* Specs Flex/Grid Container */
.specs-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* Individual Spec Item Styling */
.spec-item {
    background: #f8faff;
    padding: 30px 20px;
    border-radius: 24px;
    border: 1px solid #eef1f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-item:hover {
    background: #ffffff;
    border-color: var(--accent-green);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(66, 184, 131, 0.1);
}

/* Icon Styling within Specs */
.spec-item i {
    font-size: 1.8rem;
    color: var(--navy-light);
    margin-bottom: 15px;
    transition: 0.3s ease;
}

.spec-item:hover i {
    color: var(--accent-green);
    transform: scale(1.1);
}

/* Text & Labels */
.spec-item span {
    font-size: 0.9rem;
    color: #556070;
    font-weight: 500;
}

.spec-item span strong {
    display: block;
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-top: 5px;
    font-weight: 700;
}

/* =========================================
   MOBILE RESPONSIVE (LIMITS & SPECS)
   ========================================= */
 

/* --- Limits & Specs Mobile Optimization --- */
@media (max-width: 992px) {
    #limits-specs {
        padding: 60px 20px;
    }

    /* 1. Grid Adjustment: 2 columns for Tablets/Large Phones */
    .specs-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; /* Tighter gap for small screens */
        margin-top: 30px;
    }

    /* 2. Individual Item Scaling */
    .spec-item {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .spec-item i {
        font-size: 1.5rem; /* Reduced from 1.8rem */
        margin-bottom: 10px;
    }

    /* 3. Typography Resizing */
    .spec-item span {
        font-size: 0.8rem; /* Label text smaller */
    }

    .spec-item span strong {
        font-size: 1.05rem; /* Value text smaller from 1.2rem */
        margin-top: 3px;
    }

    /* Disable hover lift on mobile to prevent accidental scrolls */
    .spec-item:hover {
        transform: translateY(-4px); 
    }
}

/* --- Small Phone Polish (< 480px) --- */
@media (max-width: 480px) {
    /* Optional: If 2 columns look too crowded on tiny phones, 
       switch to 1 column here */
    .specs-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spec-item {
        flex-direction: row; /* Horizontal layout for narrow phones */
        justify-content: flex-start;
        text-align: left;
        padding: 20px;
        gap: 20px;
    }

    .spec-item i {
        margin-bottom: 0;
        font-size: 1.3rem;
        width: 30px; /* Fixed width to align text */
    }

    .spec-item span strong {
        display: inline; /* Keep text flowing naturally */
        margin-top: 0;
        margin-left: 5px;
    }
}



/* =========================================
   AKURAA.LK SHORTCUTS TABLE (3D KEYBOARD STYLE)
   ========================================= */

#shortcuts {
    padding: 80px 0;
    background: #ffffff;
}

/* Container for horizontal scroll on mobile */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 24px;
    border: 1px solid #f0f2f5;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 28, 46, 0.03);
}

.shortcuts-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px; /* Ensures table doesn't look squashed */
}

/* Table Header */
.shortcuts-table thead {
    background: var(--navy-dark);
}

.shortcuts-table th {
    padding: 22px 30px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Table Body Cells */
.shortcuts-table td {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f2f5;
    color: #475467;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.shortcuts-table tr:last-child td {
    border-bottom: none;
}

/* Row Hover Effect */
.shortcuts-table tr:hover td {
    background-color: #f8faff;
    color: var(--navy-dark);
}

/* --- Styled KBD (Keyboard Buttons) --- */
kbd {
    display: inline-block;
    padding: 4px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-dark);
    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    box-shadow: 0 3px 0 0 #d0d5dd, 0 4px 4px rgba(0, 0, 0, 0.1); /* 3D depth effect */
    margin: 0 2px;
    position: relative;
    top: -2px;
    transition: all 0.1s ease;
}

/* KBD Interaction (Click effect) */
tr:hover kbd {
    border-color: var(--accent-green);
    box-shadow: 0 3px 0 0 var(--accent-green), 0 4px 4px rgba(66, 184, 131, 0.2);
}
 

/* --- Shortcuts Table Mobile Optimization --- */
@media (max-width: 768px) {
    #shortcuts {
        padding: 60px 0; /* Reduced padding */
    }

    .table-responsive {
        border-radius: 0; /* Full-width looks cleaner on small screens */
        border-left: none;
        border-right: none;
        /* Custom scrollbar styling for visibility */
        padding-bottom: 5px; 
    }

    /* 1. Scale down table cells */
    .shortcuts-table th {
        padding: 15px 20px;
        font-size: 0.8rem;
    }

    .shortcuts-table td {
        padding: 15px 20px;
        font-size: 0.85rem;
    }

    /* 2. Optimize KBD for touch */
    kbd {
        padding: 3px 8px;
        font-size: 0.75rem;
        box-shadow: 0 2px 0 0 #d0d5dd; /* Slightly shallower 3D effect */
        top: -1px;
    }

    /* 3. Visual Hint for Scrolling */
    .table-responsive::after {
        content: 'Swipe for more ➔';
        display: block;
        text-align: right;
        padding: 10px 20px;
        font-size: 0.7rem;
        color: var(--accent-green);
        font-weight: 600;
        text-transform: uppercase;
        opacity: 0.8;
    }
}

/* --- Extra Small Devices (Portrait Phones) --- */
@media (max-width: 480px) {
    /* Prevent text wrapping in the Action column */
    .shortcuts-table td:first-child {
        min-width: 140px;
        font-weight: 600;
        color: var(--navy-dark);
    }

    .shortcuts-table td {
        padding: 12px 15px;
    }
}



/* =========================================
   AKURAA.LK CONTACT SECTION (INTERACTIVE CARDS)
   ========================================= */

#contact {
    padding: 100px 0;
    text-align: center;
    background: #ffffff;
}

.section-desc {
    max-width: 600px;
    margin: -40px auto 60px auto;
    color: #667085;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contact Methods Grid */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Individual Contact Box */
.contact-box {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 35px;
    border: 1px solid #f0f2f5;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.contact-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(66, 184, 131, 0.05), transparent);
    border-radius: 35px;
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.contact-box:hover {
    transform: translateY(-15px);
    border-color: var(--accent-green);
    box-shadow: 0 30px 60px rgba(15, 28, 46, 0.08);
}

.contact-box:hover::after {
    opacity: 1;
}

/* Contact Icon Design */
.contact-box i {
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin-bottom: 25px;
    display: inline-block;
    transition: 0.4s ease;
}

.contact-box:hover i {
    color: var(--accent-green);
    transform: scale(1.1) rotate(5deg);
}

.contact-box h4 {
    font-size: 1.3rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-box p {
    color: #556070;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================
   MOBILE OPTIMIZATION (CONTACT US)
   ========================================= */
 






/* --- Contact Section Mobile Optimization --- */
@media (max-width: 992px) {
    #contact {
        padding: 60px 20px;
    }

    /* 1. Reset Description Spacing */
    .section-desc {
        margin: -20px auto 40px auto; /* Reduced negative margin */
        font-size: 1rem;
        padding: 0 10px;
    }

    /* 2. Stack Grid: 1 column for Phones, 2 for Tablets */
    .contact-methods {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    /* 3. Card Compactness */
    .contact-box {
        padding: 35px 25px; /* Reduced from 50px 30px */
        border-radius: 25px; /* Slightly tighter radius */
    }

    /* 4. Icon & Text Scaling */
    .contact-box i {
        font-size: 1.8rem; /* Scaled down from 2.2rem */
        margin-bottom: 15px;
    }

    .contact-box h4 {
        font-size: 1.2rem;
    }

    .contact-box p {
        font-size: 0.9rem;
        max-width: 280px; /* Keeps text from stretching too far horizontally */
        margin: 0 auto;
    }

    /* Adjust hover for touch */
    .contact-box:hover {
        transform: translateY(-5px); /* Less aggressive lift */
    }
}

/* --- Tablet Adjustment (Medium Screens) --- */
@media (min-width: 600px) and (max-width: 992px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid looks great on tablets */
    }
}

/* --- Small Phone Polish (< 480px) --- */
@media (max-width: 480px) {
    #contact .section-main-title {
        font-size: 1.6rem;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
}