/* =========================================
   CAREER DEVELOPMENT CELL - IITS
========================================= */

.cdc-section {
    padding: 55px 0;
    background: #f5f7fc;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

.cdc-container {
    width: 92%;
    max-width: 1250px;
    margin: auto;
}


/* Main Heading */

.cdc-heading {
    text-align: center;
    margin-bottom: 40px;
}

.cdc-subtitle {
    color: #d49b16;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cdc-heading h2 {
    color: #102d59;
    font-size: 34px;
    font-weight: 700;
    margin: 12px 0;
}

.cdc-title-line {
    width: 75px;
    height: 4px;
    background: #d49b16;
    border-radius: 5px;
    margin: 12px auto;
}

.cdc-heading p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* Introduction */

.cdc-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: center;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(16, 45, 89, 0.07);
}

.cdc-intro-image img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    background: #f5f7fc;
    border-radius: 8px;
    border: 1px solid #e5e8ef;
}

.cdc-intro-content h3 {
    color: #102d59;
    font-size: 25px;
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 4px solid #d49b16;
}

.cdc-intro-content p {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    text-align: justify;
    margin-bottom: 13px;
}


/* Introduction Highlights */

.cdc-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.cdc-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    background: #f5f7fc;
    border-left: 3px solid #d49b16;
    border-radius: 5px;
    color: #102d59;
    font-size: 13px;
    font-weight: 700;
}

.cdc-highlight-item i {
    color: #d49b16;
    font-size: 19px;
}


/* Common Section Title */

.cdc-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.cdc-section-title h3 {
    color: #102d59;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cdc-section-title p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}


/* Training Activities */

.cdc-activities {
    margin-top: 55px;
}

.cdc-activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cdc-activity-card {
    background: #fff;
    padding: 25px 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #e5eaf2;
    border-bottom: 3px solid #d49b16;
    transition: 0.3s ease;
}

.cdc-activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(16, 45, 89, 0.12);
}

.cdc-activity-card i {
    font-size: 32px;
    color: #d49b16;
    margin-bottom: 12px;
    display: inline-block;
}

.cdc-activity-card h4 {
    color: #102d59;
    font-size: 17px;
    margin: 5px 0 10px;
}

.cdc-activity-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}


/* Wipro Announcement */

.cdc-success-announcement {
    margin-top: 60px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(16, 45, 89, 0.09);
    border: 1px solid #e5eaf2;
}

.cdc-announcement-header {
    text-align: center;
    background: #102d59;
    color: #fff;
    padding: 28px 20px;
    border-bottom: 5px solid #d49b16;
}

.cdc-announcement-header span {
    color: #f4c75e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cdc-announcement-header h3 {
    font-size: 27px;
    margin: 12px 0 8px;
    color: #fff;
}

.cdc-announcement-header p {
    color: #e5eaf3;
    font-size: 14px;
    margin: 0;
}


/* Placement Statistics */

.cdc-announcement-content {
    padding: 25px;
}

.cdc-placement-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.cdc-stat-box {
    text-align: center;
    padding: 20px 10px;
    background: #f5f7fc;
    border-radius: 7px;
    border-top: 3px solid #d49b16;
}

.cdc-stat-box strong {
    display: block;
    color: #102d59;
    font-size: 25px;
    margin-bottom: 7px;
}

.cdc-stat-box span {
    color: #666;
    font-size: 13px;
    font-weight: 600;
}


/* Telugu Announcement */

.cdc-telugu-content {
    padding: 25px;
    background: #fffaf0;
    border: 1px solid #f0dfb5;
    border-radius: 8px;
    margin-bottom: 25px;
}

.cdc-telugu-content h4 {
    color: #102d59;
    font-size: 21px;
    line-height: 1.7;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d49b16;
}

.cdc-telugu-content p {
    color: #444;
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 12px;
}


/* Announcement Photo */

.cdc-announcement-photo {
    text-align: center;
}

.cdc-announcement-photo img {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    background: #f5f7fc;
    border-radius: 8px;
}

.cdc-announcement-photo p {
    color: #666;
    font-size: 13px;
    margin-top: 10px;
}


/* Placement Gallery */

.cdc-gallery-section {
    margin-top: 60px;
}

.cdc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cdc-gallery-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e7ef;
    box-shadow: 0 4px 15px rgba(16, 45, 89, 0.06);
    transition: 0.3s ease;
}

.cdc-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 45, 89, 0.14);
}

.cdc-gallery-card a {
    display: block;
    overflow: hidden;
    background: #f5f7fc;
}

.cdc-gallery-card img {
    width: 100%;
    height: 330px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.cdc-gallery-card:hover img {
    transform: scale(1.03);
}

.cdc-gallery-caption {
    padding: 16px;
    text-align: center;
    border-top: 3px solid #d49b16;
}

.cdc-gallery-caption h4 {
    color: #102d59;
    font-size: 16px;
    margin: 0 0 7px;
}

.cdc-gallery-caption p {
    color: #666;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}


/* Closing Message */

.cdc-footer-message {
    margin-top: 55px;
    padding: 35px 20px;
    background: #102d59;
    color: #fff;
    text-align: center;
    border-radius: 9px;
    border-bottom: 5px solid #d49b16;
}

.cdc-footer-message i {
    color: #f4c75e;
    font-size: 30px;
}

.cdc-footer-message h3 {
    color: #fff;
    font-size: 24px;
    margin: 12px 0;
}

.cdc-footer-message p {
    max-width: 750px;
    margin: auto;
    color: #e5eaf3;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 992px) {
    .cdc-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .cdc-intro-image img {
        height: 350px;
    }
    .cdc-activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cdc-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cdc-gallery-card img {
        height: 300px;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {
    .cdc-section {
        padding: 35px 0;
    }
    .cdc-container {
        width: 94%;
    }
    .cdc-heading h2 {
        font-size: 27px;
    }
    .cdc-heading p {
        font-size: 14px;
    }
    .cdc-intro-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    .cdc-intro-image img {
        height: auto;
        max-height: 450px;
    }
    .cdc-intro-content h3 {
        font-size: 22px;
    }
    .cdc-intro-content p {
        font-size: 13px;
    }
    .cdc-section-title h3 {
        font-size: 23px;
    }
    .cdc-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cdc-activity-card {
        padding: 20px 12px;
    }
    .cdc-activity-card h4 {
        font-size: 15px;
    }
    .cdc-activity-card p {
        font-size: 12px;
    }
    .cdc-announcement-header h3 {
        font-size: 22px;
    }
    .cdc-announcement-content {
        padding: 15px;
    }
    .cdc-telugu-content {
        padding: 17px;
    }
    .cdc-telugu-content h4 {
        font-size: 18px;
    }
    .cdc-telugu-content p {
        font-size: 14px;
        line-height: 1.9;
    }
    .cdc-gallery-card img {
        height: 260px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .cdc-heading h2 {
        font-size: 23px;
    }
    .cdc-subtitle {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .cdc-highlights {
        grid-template-columns: 1fr;
    }
    .cdc-activities-grid {
        grid-template-columns: 1fr;
    }
    .cdc-placement-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cdc-stat-box {
        padding: 15px;
    }
    .cdc-stat-box strong {
        font-size: 22px;
    }
    .cdc-gallery-grid {
        grid-template-columns: 1fr;
    }
    .cdc-gallery-card img {
        height: auto;
        max-height: 430px;
    }
    .cdc-announcement-header h3 {
        font-size: 20px;
    }
    .cdc-footer-message h3 {
        font-size: 20px;
    }
}