
/* about */
/* General Styles */
.cnc-intro-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 2rem;
    background-color: #f5faff;
    padding: 2rem;
    border-radius: 8px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #003566;
}

.hero-section p {
    font-size: 1.2rem;
    color: #0077b6;
}

/* Introduction Section */
.intro-section {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.intro-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.intro-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Applications Section */
.applications-section {
    margin-top: 2rem;
    padding: 3rem 0;
    background-color: #f4f4f4;
}

.applications-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2980b9; /* Blue color for section heading */
    margin-bottom: 2rem;
}

.application-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    width: 100%;          /* Make the images fit the width of their container */
    max-width: 300px;     /* Optional: limit the image size to a maximum width */
    height: auto;         /* Maintain aspect ratio */
    object-fit: cover;    /* Ensure images cover the area without distortion */
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    color: #666;
}


/* Advantages and Challenges Section */
.advantages, .challenges {
    margin-bottom: 5rem;
    padding: 2rem 0;
    background-color: #f9f9f9;
}

.advantages h2, .challenges h2 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
}

.advantages h2::after, .challenges h2::after {
    content: '';
    width: 80px;
    height: 3px;
    background-color: #0077b6;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.advantages-grid, .challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-items: center;
}

.advantage-card, .challenge-card {
    text-align: center;
    background: linear-gradient(145deg, #d0f4de, #f1f1f1);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s ease-in-out;
    width: 100%;
    max-width: 300px;
}

.advantage-card img, .challenge-card img {
    width: 100%;
    max-width: 120px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

.advantage-card p, .challenge-card p {
    font-size: 1rem;
    color: #333;
    font-weight: 400;
    line-height: 1.5;
}

/* Hover Effect for Cards */
.advantage-card:hover, .challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.advantage-card:hover img, .challenge-card:hover img {
    transform: scale(1.1);
}

/* For the challenge cards with negative aspects */
.challenge-card {
    background: linear-gradient(145deg, #fcf6bd, #ffffff);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
}

.challenge-card:hover {
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
}


/* Call-to-Action */
.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 1.8rem;
    color: #003566;
    margin-bottom: 1rem;
}

.cta-button {
    background-color: #0077b6;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #00b4d8;
}