/* ===================== */
/* CONTACT.CSS - TEAM PAGE SPECIFIC STYLES */
/* ===================== */

/* ===================== */
/* BASE STYLES */
/* ===================== */

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #f8faff;
    overflow-x: hidden;
}

/* ===================== */
/* MAIN CONTENT SPACING */
/* ===================== */

main {
    padding: 30px;
    padding-top: 220px;
    min-height: 80vh;
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* ===================== */
/* COORDINATOR SECTION */
/* ===================== */

.coordinator-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(220, 20, 20, 0.2);
    transition: all 0.3s ease;
}

.coordinator-section:hover {
    border-color: #dc143c;
    box-shadow: 0 15px 35px rgba(220, 20, 20, 0.15);
}

.coordinator-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.coordinator-photo {
    flex-shrink: 0;
}

.coordinator-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #dc143c;
    object-fit: cover;
    transition: all 0.3s ease;
}

.coordinator-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(220, 20, 20, 0.4);
}

.coordinator-name {
    font-size: 28px;
    font-weight: bold;
    color: #0d47a1;
    margin-bottom: 5px;
}

.coordinator-role {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 50px;
    transition: all 0.3s ease;
    max-width: fit-content;
}

.contact-item:hover {
    background: rgba(220, 20, 20, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: #dc143c;
    width: 20px;
    font-size: 16px;
}

.contact-item a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #0d47a1;
}

/* ===================== */
/* 3D CAROUSEL STYLES */
/* ===================== */

.rotating-360-wrapper {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.rotating-360-wrapper h2 {
    color: #0d47a1;
    margin-bottom: 40px;
    font-size: 32px;
    position: relative;
    display: inline-block;
}

.rotating-360-wrapper h2 i {
    color: #dc143c;
    margin-right: 10px;
}

.rotating-360-wrapper h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #dc143c;
    border-radius: 3px;
}

.carousel-3d {
    width: 100%;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    margin: 40px 0;
    perspective: 1200px;
}

.carousel-3d:active {
    cursor: grabbing;
}

.team-card-3d {
    position: absolute;
    width: 240px;
    height: 360px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border: 2px solid #dc143c;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backface-visibility: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.team-card-3d:hover {
    transform: scale(1.05) translateZ(30px);
    box-shadow: 0 20px 40px rgba(220, 20, 20, 0.3);
    border-color: #dc143c;
    z-index: 10;
}

.card-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #dc143c;
    object-fit: cover;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.team-card-3d:hover .card-photo {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(220, 20, 20, 0.5);
}

.card-name {
    font-weight: 700;
    font-size: 18px;
    color: #0d47a1;
    margin-bottom: 5px;
    line-height: 1.3;
}

.card-role {
    font-size: 14px;
    color: #dc143c;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.card-location i {
    color: #dc143c;
    font-size: 12px;
}

.card-phone {
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.card-phone i {
    color: #dc143c;
    font-size: 12px;
}

/* ===================== */
/* ROTATE CONTROLS */
/* ===================== */

.rotate-controls {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.rotate-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0d47a1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #dc143c;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

.rotate-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: #1565c0;
    box-shadow: 0 15px 30px rgba(220, 20, 20, 0.4), 0 0 20px rgba(220, 20, 20, 0.3);
    border-color: #dc143c;
}

.rotate-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.rotate-btn:hover i {
    transform: scale(1.2);
}

#rotateLeft:hover i {
    transform: translateX(-3px) scale(1.2);
}

#rotateRight:hover i {
    transform: translateX(3px) scale(1.2);
}

/* ===================== */
/* FOOTER STYLES */
/* ===================== */

footer {
    margin-top: 60px;
    background: #0d47a1;
    color: white;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

footer:hover {
    background: #1565c0;
    box-shadow: 0 -10px 30px rgba(13, 71, 161, 0.3);
}

footer div:first-child {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

footer:hover div:first-child {
    text-shadow: 0 0 20px rgba(220, 20, 20, 0.5);
}

footer p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

footer i {
    color: #dc143c;
    transition: all 0.3s ease;
}

footer:hover i {
    transform: scale(1.2);
}

footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #dc143c;
    text-decoration: underline;
}

/* ===================== */
/* RESPONSIVE DESIGN */
/* ===================== */

/* Tablet */
@media (max-width: 768px) {
    main {
        padding-top: 300px;
        padding: 20px;
        padding-top: 300px;
    }
    
    .coordinator-info {
        flex-direction: column;
        text-align: center;
    }
    
    .coordinator-name {
        font-size: 24px;
    }
    
    .coordinator-role {
        font-size: 16px;
    }
    
    .contact-item {
        justify-content: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .rotating-360-wrapper h2 {
        font-size: 24px;
    }
    
    .carousel-3d {
        height: 380px;
    }
    
    .team-card-3d {
        width: 200px;
        height: 320px;
        padding: 15px;
    }
    
    .card-photo {
        width: 100px;
        height: 100px;
    }
    
    .card-name {
        font-size: 16px;
    }
    
    .card-role {
        font-size: 13px;
    }
    
    .card-location {
        font-size: 12px;
    }
    
    .card-phone {
        font-size: 11px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    main {
        padding-top: 320px;
        padding: 15px;
        padding-top: 320px;
    }
    
    .coordinator-name {
        font-size: 22px;
    }
    
    .coordinator-photo img {
        width: 150px;
        height: 150px;
    }
    
    .coordinator-role {
        font-size: 15px;
    }
    
    .contact-item {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .contact-item i {
        font-size: 14px;
    }
    
    .rotating-360-wrapper h2 {
        font-size: 20px;
    }
    
    .rotating-360-wrapper h2 i {
        font-size: 18px;
    }
    
    .rotating-360-wrapper h2:after {
        width: 60px;
        height: 2px;
    }
    
    .carousel-3d {
        height: 340px;
    }
    
    .team-card-3d {
        width: 160px;
        height: 280px;
        padding: 12px;
    }
    
    .card-photo {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .card-name {
        font-size: 14px;
    }
    
    .card-role {
        font-size: 12px;
    }
    
    .card-location {
        font-size: 11px;
    }
    
    .card-phone {
        font-size: 10px;
    }
    
    .rotate-btn {
        width: 45px;
        height: 45px;
    }
    
    .rotate-btn i {
        font-size: 18px;
    }
    
    footer {
        padding: 30px 15px;
    }
    
    footer div:first-child {
        font-size: 22px;
    }
    
    footer p {
        font-size: 14px;
        flex-wrap: wrap;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .team-card-3d {
        width: 140px;
        height: 260px;
    }
    
    .card-photo {
        width: 70px;
        height: 70px;
    }
    
    .card-name {
        font-size: 13px;
    }
    
    .card-role {
        font-size: 11px;
    }
}

/* ===================== */
/* DARK MODE SUPPORT */
/* ===================== */

@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a2e;
    }
    
    .coordinator-section {
        background: #16213e;
    }
    
    .coordinator-name {
        color: #4a6fa5;
    }
    
    .coordinator-role {
        color: #ccc;
    }
    
    .contact-item {
        background: #0f3460;
    }
    
    .contact-item a {
        color: #eee;
    }
    
    .contact-item a:hover {
        color: #dc143c;
    }
    
    .team-card-3d {
        background: #16213e;
    }
    
    .card-name {
        color: #4a6fa5;
    }
    
    .card-location {
        color: #ccc;
    }
    
    .card-phone {
        color: #ddd;
    }
}

/* ===================== */
/* PRINT STYLES */
/* ===================== */

@media print {
    header,
    .rotate-controls,
    .carousel-3d,
    footer {
        display: none;
    }
    
    main {
        padding: 20px;
    }
    
    .coordinator-section {
        border: 2px solid #000;
        box-shadow: none;
        break-inside: avoid;
    }
    
    .coordinator-photo img {
        border: 2px solid #000;
    }
    
    .coordinator-name {
        color: #000;
    }
    
    .contact-item {
        background: none;
        border: 1px solid #ccc;
    }
}