/* Pages CSS - Page-specific Styles */

/* Team Page Styles */
.team-intro-container {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(43, 108, 176, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
}

.team-intro-container .team-header h1 {
    color: #1a365d;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.team-intro-container .team-header p {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Contact Page Styles */
.contact-intro-container {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(43, 108, 176, 0.1);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(43, 108, 176, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-intro-container .team-header h1 {
    color: #1a365d;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.contact-intro-container .team-header p {
    color: #2d3748;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

/* Home Page Styles */
.hero {
    text-align: center;
    padding: 5rem 3rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(190, 227, 248, 0.5);
    border-radius: 16px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(43, 108, 176, 0.1);
}

.hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #1a365d;
    text-shadow: none;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: #2d3748;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(26, 54, 93, 0.12);
    border: 2px solid rgba(226, 232, 240, 0.5);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    display: none;
}


.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 54, 93, 0.2);
    border-color: #bee3f8;
}

.service-card img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: none;
}

.service-card h3 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
    flex-grow: 1;
}

.credentials-banner {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.credential {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5aa0 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.2);
    letter-spacing: 0.3px;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-badge {
    background: #e6fffa;
    color: #1a365d;
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
    border: 1px solid #bee3f8;
    letter-spacing: 0.3px;
}

/* Skeleton Loader Styles */
.service-card.skeleton {
    pointer-events: none;
    animation: pulse 1.5s ease-in-out infinite;
}

.service-card.skeleton .service-icon,
.service-card.skeleton h3,
.service-card.skeleton p,
.service-card.skeleton .service-badge {
    background: linear-gradient(
        90deg,
        #e2e8f0 0%,
        #f7fafc 50%,
        #e2e8f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    color: transparent;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.service-card.skeleton .service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.service-card.skeleton h3 {
    height: 28px;
    width: 70%;
    margin: 0 auto 1.5rem;
}

.service-card.skeleton p {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.service-card.skeleton p:last-of-type {
    width: 80%;
}

.service-card.skeleton .service-badge {
    height: 32px;
    width: 60%;
    margin: 1.5rem auto 0;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.footer-text {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.footer-text p {
    margin-bottom: 0.2rem;
    color: #cbd5e0;
    line-height: 1.3;
    font-size: 0.85rem;
}

.footer-text strong {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.1875rem;
    margin-bottom: 0.125rem;
    text-align: left;
    font-size: 0.8rem;
}

.contact-info p, .certifications p {
    margin-bottom: 0.05rem;
    color: #cbd5e0;
    line-height: 1.2;
    font-size: 0.8rem;
}

.contact-info strong, .certifications strong {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Team Page Styles */
.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-header h1,
.team-header h2 {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.team-header p {
    font-size: 1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.team-member {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 2rem 2rem 4rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(233, 236, 239, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0056b3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid #0056b3;
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: #004494;
    transform: none;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-member .title {
    color: #0056b3;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member .specialty {
    color: #7f8c8d;
    font-style: italic;
}

/* Member Profile Styles */
.member-profile {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: none;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.member-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.member-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #0056b3;
}

.member-header img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #667eea;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.member-header h1,
.member-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.member-header .credentials {
    color: #3498db;
    font-size: 1.1rem;
    font-weight: 600;
}

.member-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.member-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.member-section p {
    color: #34495e;
    line-height: 1.8;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.social-links a {
    background: #0056b3;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.social-links a:hover {
    background: #004494;
    transform: none;
    box-shadow: none;
}

.contact-form {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    text-align: center;
}

/* Contact Page Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.map-placeholder {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    padding: 4rem;
    border-radius: 15px;
    margin-top: 1rem;
    color: white;
    font-size: 1.2rem;
}

/* About Page Styles */
.about-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero h1,
.about-hero h2 {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-hero p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-left: 3px solid #0056b3;
    padding-left: 1rem;
}

.about-section p {
    color: #34495e;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-section ul {
    margin-left: 2rem;
}

.about-section li {
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Team Search and Filter Styles */
.team-search {
    max-width: 400px;
    margin: 0 auto 2rem;
    position: relative;
}

.team-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.team-search input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.team-search::before {
    content: '🔍';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    z-index: 1;
}


.member-preview {
    position: absolute;
    bottom: 85px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    color: white;
    padding: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
    z-index: 5;
}

.member-preview p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.view-profile {
    font-weight: 600;
    color: #3498db;
    font-size: 0.9rem;
}

/* Ensure social media links on team cards are clickable */
.team-social-links {
    position: relative;
    z-index: 15 !important;
}

.team-social-links a {
    position: relative;
    z-index: 15 !important;
    pointer-events: auto !important;
}

/* Responsive Design */
/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .hero {
        padding: 4rem 2.5rem;
        margin-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .services {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Medium screens - tablets */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 2rem;
        margin-bottom: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin: 0 auto 2.5rem;
    }
    
    .credentials-banner {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .credential {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .footer-text {
        text-align: center;
        font-size: 0.7rem;
    }
    
    .footer-text p {
        font-size: 0.7rem;
        margin-bottom: 0.03rem;
    }

    .team-header h1,
    .team-header h2,
    .about-hero h1,
    .about-hero h2 {
        font-size: 2.2rem;
    }

    .member-profile {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-container {
        padding: 2rem;
    }

    
    .member-preview {
        position: static;
        background: #f8f9fa;
        color: #2c3e50;
        opacity: 1;
        transform: none;
        margin-top: 1rem;
        border-radius: 10px;
        padding: 1rem;
    }
    
    .team-search input {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
}

/* Mobile screens - portrait */
@media (max-width: 480px) {
    .hero {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 0.85rem;
        margin: 0 auto 2rem;
    }
    
    .services {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .member-profile {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .about-container {
        padding: 1.5rem;
    }
    
    .team-header h1,
    .team-header h2,
    .about-hero h1,
    .about-hero h2 {
        font-size: 1.8rem;
    }
    
    .footer-text p {
        font-size: 0.65rem;
        margin-bottom: 0.02rem;
        line-height: 1.1;
    }
    
    .footer-text strong {
        font-size: 0.7rem;
    }
    
    .credentials-banner {
        gap: 0.8rem;
    }
    
    .credential {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }
}