@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

/* =============================================
   1. Global Style Guide (CSS Variables)
   ============================================= */
:root {
    /* Colors */
    --color-primary: #007bff;
    --color-primary-dark: #0056b3;
    --color-secondary: #6c757d;
    --color-light: #f9f9f9;
    --color-dark: #212529;
    --color-white: #fff;
    --color-border: #dee2e6;

    /* Typography */
    --font-family-base: 'Noto Sans KR', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;
    --font-weight-normal: 400;
    --font-weight-bold: 700;

    /* Headings */
    --h1-font-size: 2rem;
    --h2-font-size: 1.7rem;
    --h3-font-size: 1.4rem;

    /* Layout */
    --container-max-width: 1140px;
    --container-max-width-xl: 1320px;
    --border-radius: 0.375rem;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

/* =============================================
   2. Basic Reset & Body Styles
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-base);
    color: var(--color-dark);
    background-color: var(--color-light); /* Changed to light gray */
}

.container {
    width: 90%;
    max-width: 1400px; /* 최대 너비 설정 */
    margin: 0 auto; /* 중앙 정렬 */
    padding: 20px 0;
}

.hero-section {
    position: relative;
    width: 100%; /* 화면 전체 너비 차지 */
    color: var(--color-white);
    height: 60vh; /* Set a relative height */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Hide slideshow overflow */
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

h1 { font-size: var(--h1-font-size); }
h2 { font-size: var(--h2-font-size); }
h3 { font-size: var(--h3-font-size); }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   3. Consolidated Original Styles
   ============================================= */

/* From: style.css */
.header {
    background: rgba(44, 44, 44, 0.6); /* Charcoal Gray with transparency */
    color: #fff;
    padding: 10px 0;
    border-bottom: 3px solid rgba(0, 123, 255, 0.5); /* Semi-transparent primary color */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header .logo img {
    max-height: 50px;
    width: auto;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-menu ul li {
    margin-left: 20px;
}

.main-menu ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    transition: color 0.3s ease, border-color 0.3s ease;
    padding-bottom: 8px; /* Add padding for the border */
    border-bottom: 3px solid transparent; /* Add transparent border initially */
    font-size: 1.76rem; /* Increased font size */
}

.main-menu ul li a:hover {
    color: #e0e0e0;
    border-bottom-color: transparent;
}

.main-menu ul li a.active {
    color: var(--color-white);
    border-bottom-color: var(--color-primary);
}

.sns-icons a {
    color: var(--color-white);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.sns-icons a:hover {
    color: #555555;
    text-decoration: none;
}

.sns-icons i {
    font-size: 1.8rem;
    vertical-align: middle;
}

.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
}

.category-nav-item {
    text-align: center;
    text-decoration: none;
    color: var(--color-dark);
    transition: transform 0.2s;
}

.category-nav-item:hover {
    transform: translateY(-5px);
}

.category-nav-item i {
    font-size: 3rem; /* Adjust icon size */
    margin-bottom: 15px;
    color: #888; /* Gray color for icons */
    transition: color 0.3s ease;
}

.category-nav-item:hover i {
    color: #555555; /* Dark gray on hover */
}

.product-category-display-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
}

.product-category-display-item {
    border: 1px solid var(--color-border);
    padding: 15px;
    text-align: center;
    background-color: var(--color-white);
}

.product-images-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-images-vertical img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #eee;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-grid iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
}

@media (max-width: 992px) {
    .main-flex-container {
        flex-direction: column;
    }

    .main-flex-container .info-card:not(:last-child) {
        margin-bottom: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

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

    .header .logo,
    .sns-icons {
        margin-bottom: 10px;
    }

    .main-menu {
        width: 100%;
        display: none;
    }

    .main-menu.active {
        display: block;
    }

    .main-menu ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-menu ul li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .main-menu ul li a {
        padding: 10px 0;
        display: block;
        background-color: #444;
        border-bottom: 1px solid #555;
    }

    .main-menu ul li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: var(--color-white);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

    .product-thumbnails h2,
    .video-section h2 {
        font-size: 1.8em;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
}

@media (min-width: 1400px) {
    .container {
        max-width: var(--container-max-width-xl);
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .main-menu {
        display: block !important;
    }
}

.main-menu .dropdown {
    position: relative;
}

.main-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 0 0 4px 4px;
}

.main-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.main-menu .dropdown-menu li {
    width: 100%;
    margin-left: 0;
}

.main-menu .dropdown-menu li a {
    padding: 12px 16px;
    display: block;
    white-space: nowrap;
    border-bottom: 1px solid #555;
}

.main-menu .dropdown-menu li:last-child a {
    border-bottom: none;
}

.main-menu .dropdown-menu li a:hover {
    background-color: #555;
    color: #77aaff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.dashboard-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 25px;
    text-decoration: none;
    color: var(--color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.dashboard-card h3 {
    margin-top: 0;
    color: var(--color-primary);
    font-size: 1.5em;
}

.dashboard-card p {
    color: var(--color-secondary);
    font-size: 1em;
}

/* From: main.css */
.main-visual {
    margin-top: 20px;
    text-align: center;
}

.main-visual img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.scrollable-grid-wrapper {
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
}

.category-navigation {
    padding: 30px 0;
    background-color: #f0f0f0;
    margin-top: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-nav-item {
    text-align: center;
    text-decoration: none;
    color: var(--color-dark);
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.category-nav-item p {
    margin: 0;
    font-weight: var(--font-weight-bold);
    font-size: 1.1em;
}

.product-thumbnails, .video-section, .community-section, .contact-section, .product-section {
    padding: 40px 0;
    background-color: var(--color-white);
    margin-top: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-thumbnails h2, .video-section h2, .community-section h2, .contact-section h2, .product-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-dark);
    font-size: var(--h2-font-size);
}

.product-category-display-item {
    background-color: var(--color-light);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category-display-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.product-category-display-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    color: var(--color-primary);
}

.video-grid iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slideshow-container {
    max-width: 60%;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 16 / 9;
}

.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 1.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-flex-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.recent-announcements-wrapper {
    flex: 1 1 0;
    min-width: 0;
}

.main-contact-wrapper {
    flex: 1.5 1 0;
    min-width: 0;
}

/* From: community.css */
.notice-board {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.notice-board th, .notice-board td {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.notice-board th {
    background-color: var(--color-light);
    font-weight: var(--font-weight-bold);
}

.notice-board .notice-number {
    width: 8%;
    text-align: center;
}

.notice-board .notice-title {
    width: 52%;
}

.notice-board .notice-author,
.notice-board .notice-date {
    width: 15%;
    text-align: right;
}

.notice-board a {
    text-decoration: none;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.notice-board a:hover {
    color: var(--color-primary);
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--color-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* =============================================
   4. Component Styles (Refactored)
   ============================================= */

/* Buttons */
.btn {
    display: inline-block;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-base);
    color: var(--color-dark);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.6rem 1.2rem;
    font-size: var(--font-size-base);
    border-radius: var(--border-radius);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    color: var(--color-white);
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    text-decoration: none;
}

.btn-secondary {
    color: var(--color-white);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.btn-secondary:hover {
    color: var(--color-white);
    background-color: #5a6268;
    border-color: #545b62;
    text-decoration: none;
}

.btn-danger {
    color: var(--color-white);
    background-color: var(--color-danger);
    border-color: var(--color-danger);
}
.btn-danger:hover {
    color: var(--color-white);
    background-color: #c82333;
    border-color: #bd2130;
    text-decoration: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.6rem 1.2rem;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-base);
    color: var(--color-dark);
    background-color: var(--color-white);
    background-clip: padding-box;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--color-dark);
    background-color: var(--color-white);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* From: contact.css */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form, .contact-info {
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.contact-form h3, .contact-info h3 {
    margin-top: 0;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info strong {
    margin-right: 10px;
}

#map {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border: 1px solid var(--color-border);
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.checkbox-container label {
    margin-bottom: 0;
    display: inline;
}

/* From: product.css */
.product-grid {
    display: grid;
    grid-template-columns: 1fr; /* Each item takes full width */
    gap: 20px; /* Adjust gap for list view */
}

.product-card {
    display: flex;
    align-items: center; /* Vertically align items in the center */
    gap: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-dark);
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-decoration: none;
}

.product-card img {
    width: 250px;  /* Fixed width for the image */
    height: 200px; /* Fixed height for the image */
    object-fit: cover;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.product-card-content {
    padding: 20px;
    flex-grow: 1; /* Allow content to take remaining space */
}

.product-card-content h4 {
    margin-top: 0;
    color: var(--color-primary);
}

.product-card-content p {
    font-size: 1em;
    color: var(--color-dark);
}

/* =============================================
   5. Layout & Page-Specific Improvements
   ============================================= */

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--color-white);
    height: 60vh; /* Set a relative height */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Hide slideshow overflow */
    background-color: #2c2c2c; /* Set background to charcoal gray */
}

.hero-section .slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    z-index: 1;
    max-width: 1200px; /* Set max-width for the slideshow */
}

.hero-section::after { /* The dark overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px; /* Match slideshow width */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all; /* Prevent awkward word breaks */
}

/* General Section Styling */
.page-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}

.page-section:nth-child(even) {
    background-color: var(--color-light);
}

.page-section:last-child {
    border-bottom: none;
}

/* Card style for main page sections */
.info-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%; /* Make cards in a row equal height */
}

/* =============================================
   6. Footer Improvements
   ============================================= */

.footer {
    background-color: #1f2a44; /* Dark Navy */
    color: rgba(255, 255, 255, 0.7);
    padding-top: 40px; /* More top padding */
    margin-top: 60px; /* More space above footer */
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column .footer-logo {
    max-height: 50px;
    margin-bottom: 1rem;
}

.footer-company-info {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 250px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #888; /* Gray color for icons */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #555555; /* Dark gray on hover */
    text-decoration: none;
}

.footer-column ul li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Community/Dataroom Sidebar Tabs */
.community-layout {
    display: flex;
    gap: 30px; /* Space between sidebar and content */
    align-items: flex-start; /* Align items to the top */
}

.community-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.community-sidebar .tab-link {
    display: block;
    width: 100%;
    padding: 15px 20px;
    cursor: pointer;
    border: 1px solid var(--color-border);
    background-color: var(--color-light);
    font-size: 1.1em;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    color: var(--color-dark);
}

.community-sidebar .tab-link:first-child {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.community-sidebar .tab-link:last-child {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.community-sidebar .tab-link:not(:last-child) {
     border-bottom: none;
}

.community-sidebar .tab-link:hover {
    background-color: #e9e9e9;
    text-decoration: none;
}

.community-sidebar .tab-link.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: bold;
    border-color: var(--color-primary);
}

.community-content {
    flex-grow: 1;
}

/* Product Page Tabs */
.product-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}
.product-tabs .tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px; /* To align with the container's border */
}
.product-tabs .tab-link.active {
    color: var(--color-primary);
    font-weight: 700;
    border-bottom-color: var(--color-primary);
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

/* =============================================
   7. Product Detail Page Enhancements
   ============================================= */

.feature-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px; /* Reset margin */
    padding: 40px;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block:nth-of-type(odd) {
    background-color: var(--color-light);
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-image,
.feature-text {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.feature-text h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-text h3 i {
    color: var(--color-secondary);
    font-size: 2rem;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-lg i {
    margin-right: 8px;
}

.product-description h2,
.spec-table th[colspan="2"] {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    margin-bottom: 2rem;
}

.spec-table th[colspan="2"] {
    border-bottom: none; /* Remove double border */
}

@media (max-width: 768px) {
    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        margin-left: -20px; /* Adjust for smaller screens */
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =============================================
   8. UI Polishing & Details
   ============================================= */

/* Homepage Strengths Section */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 40px;
}

.strength-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.strength-item i {
    font-size: 4.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.strength-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.strength-item p {
    font-size: 0.95rem;
    color: var(--color-secondary);
    line-height: 1.6;
}