/**
 * Govt Polytechnic Mahasamund - Custom Styles
 * College website styling
 */

/* ==========================================================================
   General Styles
   ========================================================================== */

.college-site {
    --primary-color: #1a3a5c;
    --secondary-color: #d4a017;
    --accent-color: #2c5282;
    --light-bg: #f7fafc;
    --text-color: #2d3748;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Page Header Styles
   ========================================================================== */

.college-site .page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.college-site .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 92, 0.85);
}

.college-site .page-header .container {
    position: relative;
    z-index: 1;
}

.college-site .page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.college-site .page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ==========================================================================
   Breadcrumb Styles
   ========================================================================== */

.college-site .breadcrumb-wrapper {
    background: var(--light-bg);
    padding: 15px 0;
}

.college-site .breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
}

.college-site .breadcrumb-item {
    display: inline-block;
    padding: 0 5px;
}

.college-site .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: #6c757d;
    padding-right: 10px;
}

.college-site .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.college-site .breadcrumb-item a:hover {
    text-decoration: underline;
}

.college-site .breadcrumb-item.active {
    color: #6c757d;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.college-site section {
    padding: 60px 0;
}

.college-site .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.college-site .section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.college-site .section-title p {
    color: #6c757d;
}

/* ==========================================================================
   Card Styles
   ========================================================================== */

.college-site .card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}

.college-site .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.college-site .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.college-site .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.college-site .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .college-site .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .college-site .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .college-site .grid-2,
    .college-site .grid-3,
    .college-site .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.college-site .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.college-site .stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 10px;
}

.college-site .stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.college-site .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .college-site .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.college-site .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.college-site .btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.college-site .btn-primary:hover {
    background: var(--accent-color);
    color: var(--white);
}

.college-site .btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.college-site .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.college-site .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.college-site .btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.college-site .btn-light:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ==========================================================================
   Department Page Styles
   ========================================================================== */

.department-page .dept-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.department-page .hod-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.department-page .hod-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.department-page .hod-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.department-page .hod-info .designation {
    color: #6c757d;
    margin-bottom: 20px;
}

.department-page .hod-info ul {
    list-style: none;
    padding: 0;
}

.department-page .hod-info ul li {
    padding: 5px 0;
}

@media (max-width: 768px) {
    .department-page .hod-layout {
        grid-template-columns: 1fr;
    }
}

.department-page .info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.department-page .info-item {
    background: var(--light-bg);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.department-page .info-item .label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 5px;
}

.department-page .info-item .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.department-page .features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.department-page .features-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.department-page .features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 0;
    color: #10b981;
}

.department-page .labs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.department-page .lab-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.department-page .lab-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.department-page .lab-card .equipment {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: #6c757d;
}

.department-page .career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.department-page .career-item {
    padding: 15px;
    background: var(--light-bg);
    border-radius: 5px;
}

.department-page .career-item i {
    color: var(--secondary-color);
    margin-right: 10px;
}

@media (max-width: 768px) {
    .department-page .features-list,
    .department-page .labs-grid,
    .department-page .career-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */

.gallery-page .gallery-filter {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-page .filter-btn {
    padding: 10px 25px;
    margin: 5px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-page .filter-btn.active,
.gallery-page .filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-page .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-page .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-page .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-page .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 92, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-page .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-page .gallery-overlay h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.gallery-page .gallery-overlay a {
    color: var(--white);
    font-size: 24px;
}

@media (max-width: 992px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.contact-page .contact-card {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

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

.contact-page .contact-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-page .contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-page .contact-card a {
    color: var(--primary-color);
}

.contact-page .map-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-page .map-placeholder {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-page .form-container {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .contact-page .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-page .map-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-page .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

.college-site .form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.college-site .contact-form-wrapper input,
.college-site .contact-form-wrapper textarea,
.college-site .contact-form-wrapper select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.college-site .contact-form-wrapper input[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.college-site .contact-form-wrapper input[type="submit"]:hover {
    background: var(--accent-color);
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.college-site .footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 30px;
}

.college-site .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.college-site .footer-widget h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.college-site .footer-widget ul {
    list-style: none;
    padding: 0;
}

.college-site .footer-widget ul li {
    margin-bottom: 10px;
}

.college-site .footer-widget ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.college-site .footer-widget ul li a:hover {
    color: var(--secondary-color);
}

.college-site .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* ==========================================================================
   Timeline Styles
   ========================================================================== */

.college-site .timeline {
    position: relative;
    padding-left: 30px;
}

.college-site .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.college-site .timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.college-site .timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

.college-site .fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.college-site .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.college-site .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 1200px) {
    .college-site .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .college-site .page-header h1 {
        font-size: 32px;
    }
    
    .college-site section {
        padding: 40px 0;
    }
    
    .college-site .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .college-site .page-header {
        padding: 20px 0;
    }
    
    .college-site section {
        padding: 20px 0;
    }
    
    .college-site .btn {
        border: 1px solid #000;
    }
}

/* ==========================================================================
   TPO Page - Beautiful Carousel & Enhanced Design
   ========================================================================== */

/* Carousel Arrow Styling */
.elementor-element .swiper .elementor-swiper-button,
.elementor-element .swiper~.elementor-swiper-button {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(26, 58, 92, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 3px solid #d4a017 !important;
}

.elementor-element .swiper .elementor-swiper-button i,
.elementor-element .swiper~.elementor-swiper-button i {
    font-size: 20px !important;
    color: #d4a017 !important;
    font-weight: bold !important;
}

.elementor-element .swiper .elementor-swiper-button:hover,
.elementor-element .swiper~.elementor-swiper-button:hover {
    background: linear-gradient(135deg, #d4a017 0%, #f0c85e 100%) !important;
    transform: scale(1.15) !important;
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.5) !important;
}

.elementor-element .swiper .elementor-swiper-button:hover i,
.elementor-element .swiper~.elementor-swiper-button:hover i {
    color: #1a3a5c !important;
}

.elementor-element .swiper .elementor-swiper-button-prev {
    left: 25px !important;
}

.elementor-element .swiper .elementor-swiper-button-next {
    right: 25px !important;
}

/* Swiper Pagination Bullets */
.elementor-element .swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    background: #1a3a5c !important;
    opacity: 0.4 !important;
    border: 2px solid #d4a017 !important;
    transition: all 0.3s ease !important;
}

.elementor-element .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #d4a017 !important;
    transform: scale(1.3) !important;
}

/* TPO Page Section Enhancements */
.tpo-page-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.tpo-page-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tpo-page-section .section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.tpo-page-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a3a5c, #d4a017);
    border-radius: 2px;
}

.tpo-page-section .section-header p {
    font-size: 18px;
    color: #4a5568;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Enhanced Cards */
.tpo-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tpo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a3a5c, #d4a017);
}

.tpo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #d4a017;
}

.tpo-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
    color: #d4a017;
    transition: all 0.4s ease;
}

.tpo-card:hover .card-icon {
    background: linear-gradient(135deg, #d4a017 0%, #f0c85e 100%);
    color: #1a3a5c;
    transform: rotate(10deg) scale(1.1);
}

.tpo-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.tpo-card p {
    color: #4a5568;
    line-height: 1.7;
}

/* TPO Stats Counter */
.tpo-stats {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    padding: 60px 0;
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.tpo-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
}

.tpo-stats .stat-box {
    text-align: center;
    color: #ffffff;
}

.tpo-stats .stat-number {
    font-size: 56px;
    font-weight: 800;
    color: #d4a017;
    line-height: 1;
    margin-bottom: 10px;
}

.tpo-stats .stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Image Gallery Enhancement */
.tpo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.tpo-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.tpo-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.tpo-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.8), rgba(212, 160, 23, 0.6));
    opacity: 0;
    transition: all 0.3s ease;
}

.tpo-gallery-item:hover img {
    transform: scale(1.2);
}

.tpo-gallery-item:hover::after {
    opacity: 1;
}

.tpo-gallery-item .view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #ffffff;
    font-size: 30px;
    z-index: 2;
    transition: all 0.3s ease;
}

.tpo-gallery-item:hover .view-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Buttons Enhancement */
.tpo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(26, 58, 92, 0.3);
    border: 2px solid #d4a017;
    position: relative;
    overflow: hidden;
}

.tpo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.tpo-btn:hover {
    background: linear-gradient(135deg, #d4a017 0%, #f0c85e 100%);
    color: #1a3a5c !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

.tpo-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tpo-animate-slide {
    animation: slideInUp 0.8s ease forwards;
}

.tpo-animate-scale {
    animation: fadeInScale 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .tpo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tpo-page-section .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .elementor-element .swiper .elementor-swiper-button {
        width: 45px !important;
        height: 45px !important;
    }
    
    .elementor-element .swiper .elementor-swiper-button-prev {
        left: 10px !important;
    }
    
    .elementor-element .swiper .elementor-swiper-button-next {
        right: 10px !important;
    }
    
    .tpo-stats .stat-number {
        font-size: 40px;
    }
}

/* ==========================================================================
   Global Carousel Arrow Fix - Works on All Pages
   ========================================================================== */

/* Override Elementor default carousel arrows with beautiful design */
.swiper-button-next,
.swiper-button-prev,
.elementor-widget-image-carousel .swiper-button-next,
.elementor-widget-image-carousel .swiper-button-prev,
.swiper .elementor-swiper-button,
.elementor-widget-image-carousel .swiper .elementor-swiper-button,
.elementor-slides .swiper .elementor-swiper-button {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(26, 58, 92, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 3px solid #d4a017 !important;
    z-index: 9999 !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
}

.swiper-button-next::after,
.swiper-button-prev::after,
.swiper-button-next i,
.swiper-button-prev i,
.elementor-widget-image-carousel .swiper-button-next::after,
.elementor-widget-image-carousel .swiper-button-prev::after {
    display: none !important;
}

.swiper-button-next::before,
.swiper-button-prev::before {
    content: '' !important;
    display: none !important;
}

.swiper-button-next i,
.swiper-button-prev i,
.swiper .elementor-swiper-button i,
.elementor-widget-image-carousel .swiper .elementor-swiper-button i {
    font-size: 20px !important;
    color: #d4a017 !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.swiper-button-next svg,
.swiper-button-prev svg,
.swiper .elementor-swiper-button svg,
.elementor-widget-image-carousel .swiper .elementor-swiper-button svg {
    fill: #d4a017 !important;
    width: 20px !important;
    height: 20px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover,
.elementor-widget-image-carousel .swiper-button-next:hover,
.elementor-widget-image-carousel .swiper-button-prev:hover {
    background: linear-gradient(135deg, #d4a017 0%, #f0c85e 100%) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.5) !important;
}

.swiper-button-next:hover i,
.swiper-button-prev:hover i {
    color: #1a3a5c !important;
}

/* Position arrows properly - vertically centered on sides */
.swiper-button-prev,
.elementor-widget-image-carousel .swiper-button-prev,
.elementor-widget-image-carousel .swiper .elementor-swiper-button-prev {
    left: 10px !important;
    right: auto !important;
}

.swiper-button-next,
.elementor-widget-image-carousel .swiper-button-next,
.elementor-widget-image-carousel .swiper .elementor-swiper-button-next {
    right: 10px !important;
    left: auto !important;
}

/* Add arrow icons using CSS */
.swiper-button-prev::after,
.swiper-button-next::after {
    content: '' !important;
    display: none !important;
}

/* Arrow icons with Font Awesome or unicode */
.swiper-button-prev,
.elementor-widget-image-carousel .swiper-button-prev {
    background-image: none !important;
}

.swiper-button-prev::before {
    content: '\f104' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #d4a017 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-button-next,
.elementor-widget-image-carousel .swiper-button-next {
    background-image: none !important;
}

.swiper-button-next::before {
    content: '\f105' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #d4a017 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure arrows are vertically centered relative to carousel */
.elementor-image-carousel .swiper-button-next,
.elementor-image-carousel .swiper-button-prev {
    top: 50% !important;
    margin-top: -25px !important;
}

/* Pagination styling */
.swiper-pagination-bullet,
.elementor-widget-image-carousel .swiper-pagination-bullet,
.elementor-slides .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #1a3a5c !important;
    opacity: 0.4 !important;
    border: 2px solid #d4a017 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active,
.elementor-widget-image-carousel .swiper-pagination-bullet-active,
.elementor-slides .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #d4a017 !important;
    transform: scale(1.3) !important;
}

/* Carousel arrow alignment fixes */
.elementor-widget-image-carousel,
.elementor-image-carousel-wrapper {
    position: relative !important;
    padding: 0 60px !important;
    box-sizing: border-box !important;
}

.elementor-widget-image-carousel .swiper-container,
.elementor-widget-image-carousel .swiper,
.elementor-image-carousel-wrapper .swiper-container,
.elementor-image-carousel-wrapper .swiper {
    position: static !important;
    overflow: visible !important;
}

/* Additional page enhancement for TPO */
body.page-id-10 .elementor-section {
    overflow: visible !important;
}

body.page-id-10 .elementor-widget-image-carousel {
    padding: 20px 0;
}

body.page-id-10 .elementor-image-carousel-wrapper {
    padding: 0 40px;
}

/* Smooth scrollbar for the page */
body.page-id-10 {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Carousel Image Fixes - Beautiful Display
   ========================================================================== */

/* Elementor Image Carousel Widget */
.elementor-widget-image-carousel .swiper,
.elementor-image-carousel-wrapper .swiper {
    overflow: visible !important;
    padding: 10px 0 !important;
}

.elementor-widget-image-carousel .swiper-slide,
.elementor-image-carousel-wrapper .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    border-radius: 15px;
}

/* Fix carousel images - contain within slide, maintain aspect ratio */
.elementor-widget-image-carousel .swiper-slide img,
.elementor-image-carousel-wrapper .swiper-slide img,
.elementor-widget-image-carousel .elementor-image-carousel img,
.elementor-image-carousel-wrapper .elementor-image-carousel img,
.elementor-carousel .swiper-slide img {
    width: 100% !important;
    max-width: 180px !important;
    height: 100px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #ffffff !important;
    padding: 10px !important;
    display: block !important;
    border-radius: 8px;
    transition: transform 0.5s ease, opacity 0.3s ease;
    margin: 0 auto !important;
}

/* Carousel slide container fix */
.elementor-widget-image-carousel .swiper-slide,
.elementor-image-carousel-wrapper .swiper-slide,
.elementor-carousel .swiper-slide {
    height: 130px !important;
    min-height: 130px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border-radius: 12px;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Carousel wrapper fix */
.elementor-widget-image-carousel .swiper-wrapper,
.elementor-image-carousel-wrapper .swiper-wrapper {
    display: flex !important;
    align-items: center !important;
}

/* Carousel container */
.elementor-widget-image-carousel .elementor-image-carousel-wrapper,
.elementor-image-carousel-wrapper,
.elementor-carousel-wrapper {
    padding: 20px 0 !important;
    overflow: hidden !important;
    border-radius: 15px;
}

/* Swiper container */
.elementor-widget-image-carousel .swiper,
.elementor-image-carousel-wrapper .swiper {
    padding: 10px !important;
}

/* Image carousel specific */
.elementor-image-carousel {
    display: flex !important;
    align-items: center !important;
}

.elementor-image-carousel .swiper-slide {
    height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-image-carousel .swiper-slide figure {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-image-carousel .swiper-slide img {
    width: 100% !important;
    max-width: 180px !important;
    height: 100px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    padding: 10px !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Fix for carousel slides with different image sizes */
.elementor-widget-image-carousel .swiper-wrapper {
    align-items: center !important;
}

/* Arrow positioning */
.elementor-widget-image-carousel .swiper-button-next,
.elementor-widget-image-carousel .swiper-button-prev,
.elementor-image-carousel-wrapper .swiper-button-next,
.elementor-image-carousel-wrapper .swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Pagination bullets */
.elementor-widget-image-carousel .swiper-pagination-bullet,
.elementor-image-carousel-wrapper .swiper-pagination-bullet {
    background: #1a3a5c !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
}

.elementor-widget-image-carousel .swiper-pagination-bullet-active,
.elementor-image-carousel-wrapper .swiper-pagination-bullet-active {
    background: #d4a017 !important;
    opacity: 1 !important;
}

/* Hover effect on carousel images */
.elementor-widget-image-carousel .swiper-slide:hover img,
.elementor-image-carousel-wrapper .swiper-slide:hover img {
    transform: scale(1.05);
}

.elementor-widget-image-carousel .swiper-slide:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure proper z-index for carousel elements */
.elementor-widget-image-carousel {
    z-index: 1 !important;
    position: relative !important;
}
    display: none !important;
}

/* Ensure proper z-index for carousel elements */
.elementor-widget-image-carousel {
    position: relative;
    z-index: 1;
}

/* Responsive carousel adjustments */
@media (max-width: 992px) {
    .elementor-widget-image-carousel .swiper-slide {
        height: 150px !important;
    }
    
    .elementor-image-carousel .swiper-slide img {
        height: 110px !important;
    }
}

@media (max-width: 768px) {
    .elementor-widget-image-carousel .swiper-slide {
        height: 120px !important;
    }
    
    .elementor-image-carousel .swiper-slide img {
        height: 90px !important;
    }
    
    .elementor-widget-image-carousel .elementor-image-carousel-wrapper {
        padding: 10px 0;
    }
}

/* TPO Page Full Design */
.tpo-page {
    background: #f8fafc;
    margin-top: -30px;
    padding-top: 30px;
}

/* Hero Section */
.tpo-hero {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 50%, #1e40af 100%);
    overflow: hidden;
}

.tpo-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 160, 23, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.tpo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tpo-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tpo-badge {
    display: inline-block;
    background: rgba(212, 160, 23, 0.2);
    color: #d4a017;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 160, 23, 0.3);
}

.tpo-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tpo-hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.tpo-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #d4a017;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tpo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4a017 0%, #f0c85e 100%);
    color: #1a3a5c;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

.tpo-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 160, 23, 0.5);
    color: #1a3a5c;
}

.tpo-cta-btn i {
    transition: transform 0.3s ease;
}

.tpo-cta-btn:hover i {
    transform: translateX(5px);
}

/* About Section */
.tpo-about {
    padding: 100px 0;
    background: #ffffff;
}

.tpo-about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.1), rgba(212, 160, 23, 0.1));
    color: #1a3a5c;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-left: 3px solid #d4a017;
}

.tpo-about-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 25px;
    line-height: 1.3;
}

.tpo-about-content p {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tpo-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
}

.about-feature i {
    color: #d4a017;
    font-size: 16px;
}

.tpo-about-image {
    position: relative;
}

.tpo-image-card {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(26, 58, 92, 0.3);
    position: relative;
    overflow: hidden;
}

.tpo-image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.2) 0%, transparent 70%);
}

.tpo-image-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4a017 0%, #f0c85e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: #1a3a5c;
    position: relative;
    z-index: 1;
}

.tpo-image-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.tpo-image-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.tpo-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.tpo-contact-quick a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.tpo-contact-quick a:hover {
    color: #d4a017;
}

.tpo-contact-quick a i {
    color: #d4a017;
    width: 20px;
}

/* Stats Section */
.tpo-stats-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.tpo-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tpo-stat-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.tpo-stat-box:hover {
    transform: translateY(-10px);
    border-color: #d4a017;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.tpo-stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #d4a017;
}

.tpo-stat-value {
    font-size: 42px;
    font-weight: 800;
    color: #1a3a5c;
    line-height: 1;
    margin-bottom: 10px;
}

.tpo-stat-label {
    font-size: 15px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Training Programs Section */
.tpo-training {
    padding: 100px 0;
    background: #ffffff;
}

.section-header-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header-center h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.section-header-center p {
    font-size: 18px;
    color: #64748b;
}

.tpo-training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tpo-training-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tpo-training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a3a5c, #d4a017);
}

.tpo-training-card:hover {
    transform: translateY(-10px);
    border-color: #d4a017;
}

.tpo-training-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.1), rgba(212, 160, 23, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: #1a3a5c;
    transition: all 0.3s ease;
}

.tpo-training-card:hover .tpo-training-icon {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    color: #d4a017;
    transform: scale(1.1);
}

.tpo-training-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 12px;
}

.tpo-training-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* Recruitment Process Section */
.tpo-process {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.tpo-process-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
}

.tpo-process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.tpo-process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: 800;
    color: #d4a017;
    box-shadow: 0 10px 30px rgba(26, 58, 92, 0.3);
}

.tpo-process-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.tpo-process-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.tpo-process-connector {
    position: absolute;
    top: 50px;
    right: -25px;
    color: #d4a017;
    font-size: 18px;
    z-index: 1;
}

/* Placement Records Section */
.tpo-records {
    padding: 100px 0;
    background: #ffffff;
}

.tpo-records-table-wrap {
    overflow-x: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.tpo-records-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.tpo-records-table thead {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
}

.tpo-records-table th {
    padding: 20px;
    text-align: left;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tpo-records-table td {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.tpo-records-table tbody tr {
    transition: background 0.3s ease;
}

.tpo-records-table tbody tr:hover {
    background: #f8fafc;
}

.tpo-records-table tbody tr:last-child td {
    border-bottom: none;
}

.tpo-percentage {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.2), rgba(212, 160, 23, 0.1));
    color: #1a3a5c;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* Companies Section */
.tpo-companies {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.tpo-companies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tpo-company-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tpo-company-card:hover {
    transform: translateY(-8px);
    border-color: #d4a017;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tpo-company-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #1a3a5c;
}

.tpo-company-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
}

.tpo-company-category {
    display: inline-block;
    background: rgba(26, 58, 92, 0.1);
    color: #1a3a5c;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Contact Section */
.tpo-contact {
    padding: 100px 0;
    background: #ffffff;
}

.tpo-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tpo-contact-info h2 {
    font-size: 40px;
    font-weight: 800;
    color: #1a3a5c;
    margin-bottom: 20px;
}

.tpo-contact-info > p {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 35px;
}

.tpo-contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tpo-contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tpo-contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #d4a017;
    flex-shrink: 0;
}

.tpo-contact-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 5px;
}

.tpo-contact-text p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.tpo-contact-text a {
    color: #d4a017;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tpo-contact-text a:hover {
    color: #1a3a5c;
}

.tpo-contact-form {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
    border-radius: 25px;
    padding: 45px;
    color: #ffffff;
}

.tpo-contact-form h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tpo-contact-form > p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.tpo-form-group {
    margin-bottom: 20px;
}

.tpo-form-group input,
.tpo-form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.tpo-form-group input::placeholder,
.tpo-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.tpo-form-group input:focus,
.tpo-form-group textarea:focus {
    outline: none;
    border-color: #d4a017;
    background: rgba(255, 255, 255, 0.15);
}

.tpo-submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #d4a017 0%, #f0c85e 100%);
    color: #1a3a5c;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tpo-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tpo-hero h1 {
        font-size: 46px;
    }
    
    .tpo-training-grid,
    .tpo-companies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tpo-process-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .tpo-process-connector {
        display: none;
    }
}

@media (max-width: 992px) {
    .tpo-hero {
        padding: 80px 0 100px;
    }
    
    .tpo-hero h1 {
        font-size: 38px;
    }
    
    .tpo-hero-stats {
        gap: 30px;
    }
    
    .hero-stat-number {
        font-size: 32px;
    }
    
    .tpo-about-grid {
        grid-template-columns: 1fr;
    }
    
    .tpo-training-grid,
    .tpo-companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tpo-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tpo-contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tpo-hero {
        padding: 60px 0 80px;
    }
    
    .tpo-hero h1 {
        font-size: 32px;
    }
    
    .tpo-hero-subtitle {
        font-size: 18px;
    }
    
    .tpo-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header-center h2 {
        font-size: 32px;
    }
    
    .tpo-training-grid,
    .tpo-process-timeline,
    .tpo-companies-grid {
        grid-template-columns: 1fr;
    }
    
    .tpo-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tpo-about-features {
        grid-template-columns: 1fr;
    }
    
    .tpo-contact-info h2 {
        font-size: 32px;
    }
}

/* ==========================================================================
   TPO Page Specific Carousel Fixes
   ========================================================================== */

/* Target TPO page carousel by page slug */
body.page-template-student-life-tpo .elementor-widget-image-carousel .swiper-slide img,
body.page-tpo .elementor-widget-image-carousel .swiper-slide img,
body.single-tpo .elementor-widget-image-carousel .swiper-slide img,
body[class*="tpo"] .elementor-widget-image-carousel .swiper-slide img {
    width: 100% !important;
    max-width: 180px !important;
    height: 100px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #ffffff !important;
    padding: 15px !important;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto !important;
    display: block !important;
}

body.page-template-student-life-tpo .elementor-widget-image-carousel .swiper-slide,
body.page-tpo .elementor-widget-image-carousel .swiper-slide,
body.single-tpo .elementor-widget-image-carousel .swiper-slide,
body[class*="tpo"] .elementor-widget-image-carousel .swiper-slide {
    height: 140px !important;
    min-height: 140px !important;
    background: #ffffff !important;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.page-template-student-life-tpo .elementor-widget-image-carousel .elementor-image-carousel-wrapper,
body.page-tpo .elementor-widget-image-carousel .elementor-image-carousel-wrapper {
    padding: 30px 20px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    margin: 40px 0 !important;
}

/* TPO page carousel arrows */
body.page-template-student-life-tpo .elementor-widget-image-carousel .swiper-button-next,
body.page-template-student-life-tpo .elementor-widget-image-carousel .swiper-button-prev,
body.page-tpo .elementor-widget-image-carousel .swiper-button-next,
body.page-tpo .elementor-widget-image-carousel .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%) !important;
    border-radius: 50% !important;
    border: 2px solid #d4a017 !important;
}

/* Debug: Show which carousel rules are applied */
body.page-template-student-life-tpo .elementor-widget-image-carousel::after,
body.page-tpo .elementor-widget-image-carousel::after {
    content: "DEBUG: TPO Page Carousel CSS Applied" !important;
    display: none !important;
}

