/* ===================================
   CUROTECH Pages - Additional CSS
   =================================== */

/* ===== Page Hero ===== */
.page-hero {
    padding: 180px 0 100px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/drone-three.jpg') no-repeat center center/cover;
}

.gallery-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/gallery-2.jpg') no-repeat center center/cover;
}

.contact-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/drone-three.jpg') no-repeat center center/cover;
}

.drone-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/drone14.jpg') no-repeat center center/cover;
}

.school-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/school8.png') no-repeat center center/cover;
}

.learning-page-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/education.jpg') no-repeat center center/cover;
}

.event-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/gallery-1.jpg') no-repeat center center/cover;
}

.impact-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/impact_banner.png') no-repeat center center/cover;
}

.programs-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('../images/education.jpg') no-repeat center center/cover;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(245, 131, 32, 0.1) 0%, transparent 50%);
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* ===== Text Utilities ===== */
.text-center {
    text-align: center;
}

.white-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--light-gray);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 56px;
    color: var(--primary-color);
}

.stat-item .stat-plus {
    font-size: 40px;
}

.stat-item .stat-label {
    color: var(--gray);
    margin-top: 10px;
}

/* ===== Two Column Grid ===== */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.col-content {
    text-align: left;
}

.col-content .section-description {
    margin-left: 0;
    text-align: left;
}

.col-image {
    height: 100%;
    min-height: 350px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: var(--gradient-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 100px;
    height: 100px;
    color: var(--primary-color);
    opacity: 0.5;
}

.image-placeholder.orange {
    background: var(--gradient-primary);
}

.image-placeholder.orange svg {
    color: var(--white);
}

.col-image img,
.section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    min-height: 350px;
}

/* ===== Feature List ===== */
.feature-list {
    list-style: none;
    margin-top: 25px;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--gray);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Capabilities Grid ===== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.capability-title {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.capability-list {
    list-style: none;
}

.capability-list li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-list li:last-child {
    border-bottom: none;
}

/* ===== Enhanced Core Capabilities Section ===== */
.core-capabilities-section {
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
}

.capabilities-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.capabilities-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capabilities-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.3), rgba(26, 26, 46, 1));
}

.core-capabilities-section .container {
    position: relative;
    z-index: 2;
    padding-top: 200px;
}

.capabilities-grid.enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.capability-card.enhanced {
    background: rgba(58, 58, 58, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.capability-card.enhanced:hover {
    background: rgba(70, 70, 70, 0.95);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.capability-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.capability-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
}

.capability-card.enhanced .capability-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.capability-card.enhanced .capability-list li {
    padding: 6px 0;
    font-size: 16px;
    border-bottom: none;
}

/* ===== Industries Grid ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.industry-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    /* Removed padding for full-width image */
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.industry-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.industry-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    padding: 0 20px 30px;
}

.industry-image {
    width: 100%;
    height: 200px;
    border-radius: 0;
    /* Flush edges */
    overflow: hidden;
    margin-bottom: 20px;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.industry-card:hover .industry-image img {
    transform: scale(1.05);
}

/* ===== Programs Grid ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.program-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.program-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.program-desc {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Labs Grid ===== */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.lab-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
}

.lab-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.lab-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ===== Impact Stats ===== */
.impact-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-stat {
    text-align: center;
}

.impact-stat .stat-number {
    font-size: 48px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.cta-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background: var(--dark-bg);
    margin-top: 20px;
}

/* ===== Light Section ===== */
.light-section {
    background: var(--light-gray);
}

/* ===== Language Tags ===== */
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== Features Showcase ===== */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.feature-item .feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.feature-item .feature-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== CIC Grid ===== */
.cic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cic-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.cic-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.cic-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.cic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cic-card:hover .cic-image img {
    transform: scale(1.05);
}

.cic-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.cic-desc {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== School Labs Grid ===== */
.school-labs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.school-lab-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.school-lab-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.school-lab-card .lab-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.school-lab-card .lab-title {
    font-size: 16px;
    margin-bottom: 15px;
}

.school-lab-card .lab-desc {
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Solutions Grid ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.solution-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.solution-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.5;
}

.solution-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ===== Events Grid ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    display: flex;
    gap: 25px;
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.event-day {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.event-location {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 12px;
}

/* ===== Highlights Grid ===== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.highlight-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-image {
    height: 180px;
}

.highlight-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
}

.highlight-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    padding: 20px 20px 10px;
}

.highlight-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    padding: 0 20px 20px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {

    .capabilities-grid,
    .industries-grid,
    .features-showcase,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .school-labs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .two-col-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .cic-grid,
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 40px;
    }

    .impact-stats {
        flex-wrap: wrap;
        gap: 40px;
    }

    .page-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }

    .page-title {
        font-size: 32px;
    }

    .capabilities-grid,
    .industries-grid,
    .programs-grid,
    .labs-grid,
    .features-showcase,
    .cic-grid,
    .school-labs-grid,
    .solutions-grid,
    .events-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        gap: 30px;
    }

    .impact-stats {
        flex-direction: column;
        gap: 30px;
    }

    .event-card {
        flex-direction: column;
    }
}

/* ===== Contact Form Fixes ===== */
select#subject {
    background-color: var(--tech-panel) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 30px;
    /* Match input styling if possible, assuming rounded based on theme */
    width: 100%;
    cursor: pointer;
    appearance: none;
    /* Remove default arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

select#subject option {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 10px;
}

select#subject:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== Contact Grid & Form Sizing ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    /* Stretch to match heights if possible */
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    padding: 40px;
    background: var(--tech-panel);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 100%;
    /* Fill the container height */
    display: flex;
    flex-direction: column;
}

.contact-form textarea {
    min-height: 200px;
    /* Increase textarea height */
    resize: vertical;
}