/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1e5799;
    --secondary: #2989d8;
    --accent: #ffb000;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --success: #28a745;
    --warning: #ff6b35;
    --danger: #dc3545;
    --header-footer-bg: linear-gradient(135deg, #0c1e3e 0%, #1a3a6a 100%);
    --dark-overlay: rgba(0, 0, 0, 0.7);
}

/* ===== HEADER STYLES ===== */
.header {
    background: var(--header-footer-bg);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 60px 20px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 80px 50px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 100px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 120px 30px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 140px 60px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 160px 10px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 180px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 200px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 220px 90px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 240px 20px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 260px 60px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 280px 10px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 300px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 320px 40px, rgba(255, 255, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 340px 120px;
    animation: particleFloat 25s linear infinite;
    z-index: 1;
}

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

@keyframes particleFloat {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% { 
        transform: translateY(-100vh) translateX(50px) rotate(180deg);
        opacity: 0;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.604);
    }
    50% {
        text-shadow: 2px 2px 15px rgba(236, 234, 234, 0.545);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(255, 176, 0, 0.3);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 6px 15px rgba(30, 87, 153, 0.3);
    }
    100% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
}

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

@keyframes cloudMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-50px) translateY(-50px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes iconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 185, 10, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(249, 185, 10, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 185, 10, 0);
    }
}

/* ===== WEATHER ICONS ANIMATION ===== */
.weather-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.weather-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.8;
    animation: float 8s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.weather-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    color: rgba(255, 255, 255, 0.9);
}

.weather-icon:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
    color: rgba(255, 255, 255, 0.7);
}

.weather-icon:nth-child(3) {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
    color: rgba(255, 255, 255, 0.8);
}

.weather-icon:nth-child(4) {
    top: 70%;
    right: 15%;
    animation-delay: 3s;
    color: rgba(255, 255, 255, 0.6);
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.brand-logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.brand-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.brand-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.4);
    animation: textGlow 4s ease-in-out infinite;
    color: white;
}

.brand-text p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

.action-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border: none;
    border-radius: 12px;
    padding: 8px 6px;
    text-align: center;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-height: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

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

.action-btn:hover {
    background: linear-gradient(135deg, #ffb000 0%, #ff9900 100%);
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 176, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    animation: buttonPulse 2s infinite;
}

.action-btn.active {
    background: linear-gradient(135deg, #ffb000 0%, #ff9900 100%);
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 176, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.action-btn i {
    font-size: 1rem;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.15) rotate(5deg);
}

.action-btn span {
    font-size: 0.75rem;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #0c1e3e 0%, #1a3a6a 25%, #0c1e3e 50%, #1a3a6a 75%, #0c1e3e 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: white;
    position: relative;
    padding: 40px 0 20px;
    overflow: hidden;
    margin-top: 30px;
    border-top: 1px solid #2d3748;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 60px 20px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 80px 50px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 100px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 120px 30px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 140px 60px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 160px 10px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 180px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 200px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 220px 90px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 240px 20px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 260px 60px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 280px 10px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(4px 4px at 300px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 320px 40px, rgba(255, 255, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 340px 120px;
    animation: particleFloat 25s linear infinite;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.footer-brand-section {
    flex: 1;
    min-width: 250px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(to right, #fff, #a8d8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 5px 0 0;
}

/* Download App Section */
.download-app {
    margin-top: 20px;
}

.download-text {
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.9;
    font-weight: 500;
    text-align: left;
}

.app-store-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 500;
    justify-content: center;
    width: 150px;
}

.app-store-btn:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 176, 0, 0.3);
}

.app-store-btn i {
    font-size: 1.2rem;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex: 2;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Social Icons */
.footer-column .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: flex-start;
}

.footer-column .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    border: none;
    padding: 4px;
}

.footer-column .social-icon:first-child {
    width: auto;
    height: auto;
    padding: 0;
}

.footer-column .social-icon:first-child img {
    width: 32px;
    height: 32px;
}

.footer-column .social-icon:hover {
    background: transparent;
    transform: translateY(-2px) scale(1.05);
    color: var(--accent);
    box-shadow: none;
    border-color: transparent;
}

.footer-column .social-icon:first-child img,
.footer-column .social-icon:first-child:hover img {
    filter: none !important;
}

.footer-column .social-icon:not(:first-child) img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(0.8);
    transition: all 0.3s ease;
}

.footer-column .social-icon:not(:first-child):hover img {
    filter: brightness(0) invert(1);
    transform: scale(1.05);
}

/* Office Address Section */
.office-address {
    margin-top: 15px;
}

.office-address h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.address-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

.address-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.address-link i {
    margin-top: 2px;
    font-size: 1rem;
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #e69c00;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quick-actions {
        grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
        gap: 8px;
    }
    
    .action-btn {
        padding: 8px 6px;
        min-height: 45px;
    }
    
    .action-btn i {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .action-btn span {
        font-size: 0.65rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }

    .footer-legal, .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
    }

    .download-text {
        text-align: center;
    }

    .footer-column .social-icon {
        justify-content: flex-start;
        font-size: 22px;
    }
    
    .footer-column .social-icon:first-child {
        height: 45px;
    }

    .footer-column .social-icon:first-child img {
        width: 38px;
        height: 38px;
    }
    
    .app-store-buttons {
        justify-content: center;
    }
    
    .frame-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .status-counters {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .brand-section {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        padding: 0px;
    }
    
    .action-btn {
        padding: 6px 4px;
        min-height: 40px;
    }
    
    .action-btn span {
        font-size: 0.6rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-column .social-icon {
        width: 32px;
        height: 45px;
        font-size: 20px;
    }

    .footer-column .social-icon:first-child img {
        width: 38px;
        height: 38px;
    }

    .download-text {
        text-align: center;
    }
    .app-store-buttons {
        justify-content: center;
    }
    
    .frame-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .brand-text h1 {
        font-size: 22px;
    }
}


/* ===== DASHBOARD COMPONENTS ===== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: cardEntrance 0.6s ease forwards;
}

/* Stagger the animation for each card */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Animated gradient background */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 87, 153, 0.03) 0%, rgba(41, 137, 216, 0.05) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

/* Hover effects */
.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Glow effect on hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    z-index: -1;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::after {
    opacity: 0.15;
}

/* Icon animation */
.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    display: inline-block;
    animation: iconPulse 2s infinite;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary);
}

/* Value animation */
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.stat-card:hover .stat-value {
    color: var(--primary);
    transform: scale(1.05);
}

/* Label animation */
.stat-label {
    font-size: 14px;
    color: #6c757d;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--secondary);
}

/* ===== OUR TEAM STYLES ===== */
.section-header {
    text-align: center;
    margin: 50px 0 40px;
    position: relative;
    padding-bottom: 30px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25vw;
    height: 5px;
    background: var(--accent);
    border-radius: 3px;
}

.section-title-team {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    padding: 0 20px;
    position: relative;
}

.section-description::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: 0;
    font-family: Georgia, serif;
    line-height: 1;
}

.section-description::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    bottom: -40px;
    right: 0;
    font-family: Georgia, serif;
    line-height: 1;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.accent-text {
    color: var(--accent);
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0 60px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease forwards;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-image {
    height: 250px;
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(41, 137, 216, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 87, 153, 0.3) 0%, transparent 50%);
}

.member-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><defs><pattern id="clouds" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M20,30 Q40,15 60,30 T100,30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M10,50 Q30,35 50,50 T90,50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M30,70 Q50,55 70,70 T110,70" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></pattern></defs><rect width="100" height="100" fill="url(%23clouds)"/></svg>');
    opacity: 0.3;
    animation: cloudMove 20s linear infinite;
}

.member-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.team-card:hover .member-image img {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.member-info {
    padding: 25px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.member-role i {
    margin-right: 8px;
    color: var(--accent);
    flex-shrink: 0;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    cursor: pointer;
}

.contact-item:hover {
    color: var(--primary);
}

.contact-item i {
    width: 30px;
    height: 30px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover i {
    background: var(--primary);
    color: white;
}