/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/iafbase.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: transparent;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: slideInText 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-content h1::before {
    content: "International Army Force";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1a237e, #0d47a1, #0277bd, #039be5, #4fc3f7);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(13, 71, 161, 0.5),
                 0 0 10px rgba(3, 155, 229, 0.3),
                 0 0 20px rgba(79, 195, 247, 0.2);
    filter: drop-shadow(0 0 8px rgba(25, 118, 210, 0.4));
}

@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    15% {
        opacity: 1;
        transform: translateX(50%);
    }
    35% {
        opacity: 1;
        transform: translateX(0);
    }
    85% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-text a {
    position: relative;
    z-index: 3;
}

.enter-room-btn {
    background-color: #ffc107;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.enter-room-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.enter-room-btn img {
    width: 24px;
    margin-left: 10px;
}

/* Founders Section */
.founders-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
    position: relative;
    z-index: 2;
}

.founders-title {
    color: solid black;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.founder-card {
    background: #343a40;
    border-radius: 8px;
    padding: 30px;
    margin: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-card:hover {
    transform: translateY(-10px);
}

.founder-img {
    width: auto;
    height: auto;
    margin-bottom: 20px;
}

.founder-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.founder-name {
    color: #adb5bd;
    font-size: 1.1rem;
    margin: 0;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons img {
    width: 25px;
    height: 25px;
    filter: invert(1);
}

.info-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.section-links {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.section-link {
    padding: 10px 20px;
    color: #495057;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.section-link.active {
    color: #000;
    background-color: transparent;
}

.section-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000;
}

.info-content {
    padding: 20px 0;
}

.tab-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        display: none;
    }
}