/* Call Center Page CSS - University Colors: #2E84B6, #FBFBFB */

/* Variables */
:root {
    --primary-color: #2E84B6;
    --primary-dark: #236a94;
    --primary-light: #4a9ac9;
    --bg-light: #FBFBFB;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --success: #27ae60;
    --warning: #e74c3c;
}

/* Hero Section */
.callcenter-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-icon {
    margin-bottom: 20px;
}

.hero-icon .material-icons {
    font-size: 70px;
    animation: float 3s ease-in-out infinite;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.95;
    animation: slideInRight 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    animation: zoomIn 0.6s ease-out;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Main Section */
.callcenter-main {
    padding: 60px 0;
    background: var(--bg-light);
}

/* Primary Number Card */
.primary-number-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(46, 132, 182, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 132, 182, 0.1), transparent);
    transition: left 0.5s;
}

.primary-number-card:hover::before {
    left: 100%;
}

.primary-number-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(46, 132, 182, 0.2);
}

.number-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.number-icon .material-icons {
    font-size: 60px;
    color: var(--primary-color);
}

.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    background: rgba(46, 132, 182, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.number-details {
    flex: 1;
    text-align: left;
}

.number-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.number-display {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.digit-animation {
    display: inline-block;
    animation: bounceIn 0.6s ease-out;
}

.number-description {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 132, 182, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.copy-success {
    background: var(--success);
    transform: scale(0.95);
}

/* Quick Contact Grid */
.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(46, 132, 182, 0.15);
}

.card-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.contact-card:hover .card-hover-effect {
    transform: scaleX(1);
}

.card-icon .material-icons {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.rotating {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bouncing {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-email {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-hours {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 10px;
}

/* Services Section */
.services-section {
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    animation: expandWidth 0.8s ease-out;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 132, 182, 0.15);
}

.service-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s;
    z-index: 0;
}

.service-item:hover .service-hover-bg {
    transform: scaleY(1);
}

.service-icon,
.service-item h4,
.service-item p {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.service-item:hover .service-icon .material-icons,
.service-item:hover h4,
.service-item:hover p {
    color: white;
}

.service-icon .material-icons {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.service-item:hover .service-icon .material-icons {
    transform: scale(1.1);
}

.service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Alternative Section */
.alternative-section {
    margin-bottom: 60px;
}

.alternative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.alt-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.alt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 132, 182, 0.15);
}

.alt-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(46, 132, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.alt-card:hover .alt-icon-wrapper {
    background: var(--primary-color);
    transform: rotate(360deg);
}

.alt-icon-wrapper .material-icons {
    font-size: 40px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.alt-card:hover .alt-icon-wrapper .material-icons {
    color: white;
}

.alt-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.alt-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.alt-btn {
    background: var(--bg-light);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    color: var(--primary-color);
}

.alt-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(46, 132, 182, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(46, 132, 182, 0.05);
}

.faq-question .material-icons:first-child {
    color: var(--primary-color);
}

.faq-question span:nth-child(2) {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

.toggle-icon {
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 20px;
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-answer.show {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

/* Emergency Notice */
.emergency-notice {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border-left: 4px solid var(--warning);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s;
}

.emergency-notice:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.2);
}

.shaking {
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.notice-icon .material-icons {
    font-size: 30px;
    color: var(--warning);
}

.notice-content h4 {
    color: var(--warning);
    margin-bottom: 5px;
}

.notice-content p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Toast Notification */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transition: transform 0.3s;
    opacity: 0;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Custom Notification */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s;
    border-left: 4px solid var(--primary-color);
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification .material-icons {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .number-display {
        font-size: 2.5rem;
    }
    
    .number-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .number-details {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .quick-contact-grid,
    .alternative-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .callcenter-hero {
        padding: 50px 0;
    }
    
    .primary-number-card {
        padding: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
}