/* Custom CSS for JOS STEM Competition */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

/* Hero Slider */
#hero-slider .carousel-item {
    height: 100vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

#hero-slider .carousel-caption {
    bottom: 20%;
}

#hero-slider h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero-slider p {
    font-size: 1.25rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    padding: 15px 30px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 15px 30px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background-color: #28a745;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
}

.sponsor-logo {
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.1);
}

.award-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid #28a745;
}

/* Sponsor Button */
#sponsorship-box a {
    background-color: #ffc107;
    color: #212529;
    padding: 15px 30px;
    font-size: 1.25rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#sponsorship-box a:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 50px 0;
}

.footer a {
    color: #28a745;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #218838;
    text-decoration: none;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 / *   R e s p o n s i v e   T a b l e   S t y l i n g   * / 
 @ m e d i a   s c r e e n   a n d   ( m a x - w i d t h :   7 6 8 p x )   { 
         . r e s p o n s i v e - t a b l e   { 
                 b o r d e r :   n o n e ; 
         } 
 
         . r e s p o n s i v e - t a b l e   t h e a d   { 
                 d i s p l a y :   n o n e ; 
         } 
 
         . r e s p o n s i v e - t a b l e   t b o d y   t r   { 
                 d i s p l a y :   b l o c k ; 
                 m a r g i n - b o t t o m :   1 r e m ; 
                 b o r d e r :   1 p x   s o l i d   # e 2 e 8 f 0 ; 
                 b o r d e r - r a d i u s :   0 . 5 r e m ; 
                 b a c k g r o u n d - c o l o r :   # f f f ; 
                 p a d d i n g :   1 r e m   0 . 5 r e m ; 
         } 
 
         . r e s p o n s i v e - t a b l e   t b o d y   t d   { 
                 d i s p l a y :   b l o c k ; 
                 t e x t - a l i g n :   r i g h t ; 
                 p a d d i n g - l e f t :   5 0 % ; 
                 p o s i t i o n :   r e l a t i v e ; 
                 p a d d i n g - t o p :   0 . 5 r e m ; 
                 p a d d i n g - b o t t o m :   0 . 5 r e m ; 
                 b o r d e r - b o t t o m :   1 p x   s o l i d   # e d f 2 f 7 ; 
         } 
 
         . r e s p o n s i v e - t a b l e   t b o d y   t d : l a s t - c h i l d   { 
                 b o r d e r - b o t t o m :   n o n e ; 
         } 
 
         . r e s p o n s i v e - t a b l e   t b o d y   t d : : b e f o r e   { 
                 c o n t e n t :   a t t r ( d a t a - l a b e l ) ; 
                 p o s i t i o n :   a b s o l u t e ; 
                 l e f t :   0 . 5 r e m ; 
                 w i d t h :   4 5 % ; 
                 p a d d i n g - r i g h t :   1 0 p x ; 
                 w h i t e - s p a c e :   n o w r a p ; 
                 t e x t - a l i g n :   l e f t ; 
                 f o n t - w e i g h t :   b o l d ; 
                 c o l o r :   # 4 a 5 5 6 8 ; 
         } 
 
         . r e s p o n s i v e - t a b l e   t b o d y   t d [ d a t a - l a b e l = \  
 A c t i o n s \ ]   { 
                 t e x t - a l i g n :   c e n t e r ; 
                 p a d d i n g - l e f t :   0 ; 
                 d i s p l a y :   f l e x ; 
                 j u s t i f y - c o n t e n t :   c e n t e r ; 
                 a l i g n - i t e m s :   c e n t e r ; 
                 g a p :   1 r e m ; 
         } 
 
         . r e s p o n s i v e - t a b l e   t b o d y   t d [ d a t a - l a b e l = \ A c t i o n s \ ] : : b e f o r e   { 
                 d i s p l a y :   n o n e ; 
         } 
 } 
  
 