/* @media only screen and (min-device-width: 320px) and (max-device-width: 1920px){ */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333333;
        background: linear-gradient(to right, #F6F8FF, #CED3E7);

    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text {
    font-size: 1.1rem;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
    font-weight: normal;
}

/* Main Content Section */
.main-content {
    margin-top: 40px;
}

.content-grid:not(:first-child) {
    margin-top: 120px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Left Column - Information Card */
.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card {
    background:  none !important;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 25px;
    width: 600px;
    height: 440px;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* Card Header with Project Label */
.card-header {
    padding: 20px 20px 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.project-label {
    display: flex;
    align-items: center;
    background-color: transparent;
    color: white;
    padding: 0;
    border-radius: 25px;
    width: fit-content;
    font-size: 0.9rem;
    font-weight: 500;
}

.label-text {
    font-family: 'Inter', sans-serif;
    font-weight: 475;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.05px;
    vertical-align: middle;
    color: #C81F2A;
    background-color: #FFE4E6;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
}

/* Card Content */
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.title-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a365d;
    margin: 0;
    line-height: 1.3;
    text-align: left;
}

.title-logo-above {
    width: 60px;
    height: 60px;
    color: #C81F2A;
    display: block;
    object-fit: contain;
}

.card-text {
    font-family: 'F37 Ginger Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.17px;
    color: #666666;
    margin-bottom: 20px;
}

/* View More Button */
.view-more-btn {
    background-color: #C81F2A;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 300px;
    height: 48px;
    align-self: flex-start;
    opacity: 1;
    text-transform: none;
    letter-spacing: 0.5px;
    font-family: inherit;
    line-height: 1;
    box-sizing: border-box;
}

.view-more-btn:hover {
    background-color: #B01C25;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(200, 31, 42, 0.3);
}

.view-more-btn svg {
    width: 20px;
    height: 20px;
    color: white;
    fill: white;
    stroke: none;
    flex-shrink: 0;
}


/* Button Section */
.button-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.button-logo {
    width: 32px;
    height: 32px;
}

/* Projects Button - White with Dark Blue Text */
.projects-btn {
    background-color: white;
    color: #1a365d;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease, transform 0.2s ease;
    width: fit-content;
    justify-content: center;
}

.projects-btn:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.projects-btn svg {
    width: 18px;
    height: 18px;
    color: #1a365d;
}

/* Right Column - Image */
.right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-container {
    width: 616px;
    height: 480px;
    border-radius: 36px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container img {
    width: 616px;
    height: 480px;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1;
    border-radius: 36px;
}

.image-container:hover img {
    transform: scale(1.05);
}
/* } */

/* Responsive Design */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .right-column {
        order: -1;
    }
    
    .left-column {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .content-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }
    
    .content-grid.reversed {
        display: flex;
        flex-direction: column;
    }
    
    .content-grid.reversed .left-column {
        order: 2;
    }
    
    .content-grid.reversed .right-column {
        order: 1;
    }
    
    .left-column {
        order: 1;
        width: 100%;
        max-width: 600px;
    }
    
    .right-column {
        order: 2;
        width: 100%;
        max-width: 600px;
    }
    
    .main-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .intro-text {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .info-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 400px;
        margin: 0 auto;
        padding: 25px;
        background: white;
        border-radius: 12px;
    }
    
    .card-header {
        padding: 20px 20px 15px 20px;
        text-align: center;
    }
    
    .project-label {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .label-text {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .card-content {
        padding: 15px;
        text-align: center;
    }
    
    .title-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .title-logo-above {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .card-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
        text-align: center;
        line-height: 1.3;
    }
    
    .card-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .view-more-btn {
        padding: 14px 24px;
        font-size: 1rem;
        width: auto;
        max-width: 200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .image-container img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px 10px;
    }
    
    .content-grid {
        gap: 25px;
    }
    
    .content-grid:not(:first-child) {
        margin-top: 60px;
    }
    
    .left-column, .right-column {
        max-width: 100%;
    }
    
    .main-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .intro-text {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    .info-card {
        padding: 20px;
        min-height: 350px;
        border-radius: 10px;
    }
    
    .card-header {
        padding: 15px 15px 10px 15px;
    }
    
    .card-content {
        padding: 10px;
    }
    
    .project-label {
        padding: 6px 12px;
        margin-bottom: 12px;
    }
    
    .label-text {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .title-section {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .title-logo-above {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .card-text {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .view-more-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: auto;
        max-width: 180px;
        height: auto;
        gap: 6px;
    }
    
    .image-container {
        border-radius: 10px;
    }
    
    .image-container img {
        height: 250px;
        border-radius: 10px;
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 10px 8px;
    }
    
    .content-grid {
        gap: 20px;
    }
    
    .content-grid:not(:first-child) {
        margin-top: 40px;
    }
    
    .left-column, .right-column {
        max-width: 100%;
    }
    
    .main-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .intro-text {
        font-size: 0.85rem;
        padding: 0 2px;
    }
    
    .info-card {
        padding: 15px;
        min-height: 320px;
        border-radius: 8px;
    }
    
    .card-header {
        padding: 12px 12px 8px 12px;
    }
    
    .card-content {
        padding: 8px;
    }
    
    .project-label {
        padding: 4px 8px;
        margin-bottom: 10px;
    }
    
    .label-text {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .title-section {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .title-logo-above {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }
    
    .card-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .card-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 15px;
        max-width: 100%;
    }
    
    .view-more-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        max-width: 160px;
        height: auto;
        gap: 4px;
    }
    
    .image-container {
        border-radius: 8px;
    }
    
    .image-container img {
        height: 200px;
        border-radius: 8px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .view-more-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .info-card {
        transition: none;
    }
    
    .info-card:hover {
        transform: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .image-container img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Animation for cards */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-card {
    animation: slideInFromLeft 0.6s ease forwards;
}

.image-container {
    animation: slideInFromRight 0.6s ease forwards;
}

