/*=========================================================
  4TH HANDS-ON WILDLIFE GENOMICS WORKSHOP
  Savannah Theme
==========================================================*/

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


/*============================
 ROOT COLORS
=============================*/

:root{

    --primary:#0B2545;
    --secondary:#F4A261;
    --accent:#E76F51;
    --cream:#FFF9F2;
    --dark:#243447;
    --white:#ffffff;
    --grey:#666;

    --shadow:0 15px 40px rgba(0,0,0,.12);

}


/*============================
 RESET
=============================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--cream);

    color:var(--dark);

    overflow-x:hidden;

    line-height:1.8;

}


/*============================
 SCROLLBAR
=============================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#EFEFEF;

}

::-webkit-scrollbar-thumb{

    background:var(--secondary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--accent);

}


/*============================
 GENERAL
=============================*/

section{

    padding:90px 9%;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

}

h1,h2,h3,h4{

    font-weight:700;

}

.container{

    width:100%;

    max-width:1200px;

    margin:auto;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:44px;

    color:var(--primary);

    margin-bottom:15px;

}

.section-title p{

    color:var(--grey);

    max-width:750px;

    margin:auto;

}


/*============================
 NAVBAR
=============================*/

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 9%;

    background:rgba(11,37,69,.65);

    backdrop-filter:blur(14px);

    z-index:9999;

    transition:.4s;

}

.navbar.scrolled{

    background:var(--primary);

    padding:14px 9%;

    box-shadow:0 8px 25px rgba(0,0,0,.25);

}

.logo{

    color:white;

    font-size:28px;

    font-weight:700;

    letter-spacing:.5px;

}

/* Only the main navigation */

.navbar > ul{

    display:flex;

    list-style:none;

    gap:34px;

    align-items:center;


}

.navbar a{

    color:white;

    font-weight:500;

    position:relative;

    transition:.35s;

}

.navbar a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.35s;

}

.navbar a:hover::after{

    width:100%;

}

.navbar a:hover{

    color:var(--secondary);

}

/*============================
DROPDOWN MENU
=============================*/

.dropdown{

    position:relative;

}

.dropdown-menu{

    display:none;

    position:absolute;

    top:100%;

    left:0;

    min-width:260px;

    background:#ffffff;

    border-radius:12px;

    box-shadow:0 12px 30px rgba(0,0,0,.18);

    list-style:none;

    padding:8px 0;

}

.dropdown:hover .dropdown-menu{

    display:block;

}

.dropdown-menu li{

    position:relative;

}

.dropdown-menu li a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 18px;

    color:#0B2545;

    text-decoration:none;

    white-space:nowrap;

    transition:.3s;

}

.dropdown-menu li a:hover{

    background:#F4A261;

    color:white;

}
/*============================
SUB MENU
=============================*/

.submenu-content{

    display:none;

    position:absolute;

    top:0;

    left:100%;

    min-width:190px;

    background:white;

    border-radius:12px;

    box-shadow:0 12px 30px rgba(0,0,0,.18);

    list-style:none;

    padding:8px 0;

}

.submenu:hover .submenu-content{

    display:block;

}

.submenu-content a{

    display:block;

    padding:12px 18px;

    color:#0B2545;

}

.submenu-content a:hover{

    background:#F4A261;

    color:white;

}
/*============================
 HERO
=============================*/

.hero{

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    position:relative;

    overflow:hidden;

    background:

    linear-gradient(rgba(6,26,50,.55),
    rgba(6,26,50,.72)),

    url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

}

.hero-content{

    position:relative;

    z-index:5;

    color:white;

    max-width:900px;

}

.edition{

    letter-spacing:5px;

    color:#FFD166;

    font-size:18px;

    margin-bottom:25px;

}

.hero h1{

    font-size:72px;

    line-height:1.1;

    margin-bottom:30px;

    text-shadow:3px 3px 15px rgba(0,0,0,.35);

}

.subtitle{

    font-size:24px;

    margin-bottom:45px;

}


/*============================
 BUTTONS
=============================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.btn{

    background:var(--secondary);

    color:white;

    padding:16px 42px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

    box-shadow:var(--shadow);

}

.btn:hover{

    background:var(--accent);

    transform:translateY(-5px);

}

.btn-outline{

    border:2px solid white;

    color:white;

    padding:16px 42px;

    border-radius:50px;

    transition:.35s;

}

.btn-outline:hover{

    background:white;

    color:var(--primary);

}


/*============================
 SCROLL ICON
=============================*/

.scroll-down{

    position:absolute;

    left:50%;

    bottom:30px;

    transform:translateX(-50%);

    color:white;

    font-size:34px;

    animation:bounce 2s infinite;

}

@keyframes bounce{

0%,100%{

transform:translate(-50%,0);

}

50%{

transform:translate(-50%,12px);

}

}


/*============================
 ABOUT
=============================*/

#about{

    background:white;

    border-radius:40px 40px 0 0;

}

#about p{

    font-size:18px;

    color:#555;

    max-width:900px;

    margin:auto;

}


/*============================
 STATISTICS
=============================*/

.stats{

    background:var(--primary);

    color:white;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

}

.stat-box{

    padding:50px;

    text-align:center;

    transition:.35s;

}

.stat-box:hover{

    transform:translateY(-8px);

}

.stat-box h2{

    color:#FFD166;

    font-size:56px;

}

.stat-box p{

    font-size:18px;

}


/*============================
 DIVIDER
=============================*/

.divider{

    width:80px;

    height:4px;

    background:var(--secondary);

    margin:20px auto 45px auto;

    border-radius:20px;

}


/*============================
 RESPONSIVE
=============================*/

@media(max-width:900px){

.hero h1{

font-size:46px;

}

.subtitle{

font-size:18px;

}

.navbar{

flex-direction:column;

gap:18px;

}

.navbar ul{

flex-wrap:wrap;

justify-content:center;

gap:18px;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

}
/*=========================================================
    PART 2
    WORKSHOP HIGHLIGHTS + TRAINING TRACKS + ANIMATIONS
==========================================================*/


/*=========================================================
WORKSHOP HIGHLIGHTS
==========================================================*/

#highlights{

    background:linear-gradient(
        to bottom,
        #FFF9F2,
        #ffffff);

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

    margin-top:60px;

}


.card{

    position:relative;

    background:white;

    border-radius:24px;

    padding:40px 35px;

    overflow:hidden;

    box-shadow:0 18px 40px rgba(0,0,0,.08);

    transition:.45s;

    cursor:pointer;

}


/* top colored bar */

.card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:6px;

    background:linear-gradient(
    90deg,
    #F4A261,
    #E76F51);

}


/* hover */

.card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 45px rgba(0,0,0,.18);

}


/* icons */

.card i{

    font-size:60px;

    margin-bottom:25px;

}


/* different icon colors */

.card:nth-child(1) i{

    color:#2A9D8F;

}

.card:nth-child(2) i{

    color:#4CAF50;

}

.card:nth-child(3) i{

    color:#9C27B0;

}

.card:nth-child(4) i{

    color:#1565C0;

}


.card h3{

    font-size:26px;

    color:var(--primary);

    margin-bottom:15px;

}


.card p{

    color:#666;

    font-size:16px;

}


/*=========================================================
TRAINING TRACKS
==========================================================*/

#tracks{

    background:

    linear-gradient(
    rgba(11,37,69,.96),
    rgba(11,37,69,.96));

    color:white;

}


#tracks h2{

    color:white;

}


.tracks{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    margin-top:55px;

}


.track{

    position:relative;

    overflow:hidden;

    padding:40px;

    border-radius:24px;

    backdrop-filter:blur(10px);

    transition:.45s;

    border:1px solid rgba(255,255,255,.15);

}


/* different colours */

.track:nth-child(1){

    background:rgba(42,157,143,.18);

}


.track:nth-child(2){

    background:rgba(76,175,80,.18);

}


.track:nth-child(3){

    background:rgba(156,39,176,.18);

}


.track:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.25);

}


.track h3{

    font-size:28px;

    color:#FFD166;

    margin-bottom:18px;

}


.track p{

    color:#EEEEEE;

}


/*=========================================================
FEATURE TAGS
==========================================================*/

.tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:22px;

}


.tag{

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.15);

    padding:8px 15px;

    border-radius:30px;

    font-size:14px;

    transition:.3s;

}


.tag:hover{

    background:#F4A261;

}


/*=========================================================
IMAGE CARDS
==========================================================*/

.image-card{

    position:relative;

    overflow:hidden;

    border-radius:25px;

}


.image-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.45s;

}


.image-card:hover img{

    transform:scale(1.08);

}


.image-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    transparent,

    rgba(0,0,0,.7));

}


/*=========================================================
BUTTON HOVER
==========================================================*/

.btn{

    transition:.35s;

}


.btn:hover{

    box-shadow:

    0 0 25px rgba(244,162,97,.45);

}


/*=========================================================
SECTION DIVIDER
==========================================================*/

.wave{

    width:100%;

    overflow:hidden;

    line-height:0;

}


.wave svg{

    display:block;

    width:100%;

    height:90px;

}


/*=========================================================
SCROLL FADE
==========================================================*/

.fade{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}


.fade.show{

    opacity:1;

    transform:translateY(0);

}


/*=========================================================
SMALL ANIMATION
==========================================================*/

.float{

    animation:float 5s ease-in-out infinite;

}


@keyframes float{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

}


/*=========================================================
RESPONSIVE
==========================================================*/

@media(max-width:768px){

.cards{

grid-template-columns:1fr;

}

.tracks{

grid-template-columns:1fr;

}

.card{

padding:30px;

}

.track{

padding:30px;

}

}
/*=========================================================
    PART 3
    MEET THE TEAM
==========================================================*/

#team{

    background:linear-gradient(
    180deg,
    #ffffff,
    #FFF9F2);

}


/*==============================
SECTION TITLE
===============================*/

#team .section-title{

    margin-bottom:60px;

}


/*==============================
CAROUSEL
===============================*/

.carousel{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:25px;

}


.carousel-track{

    width:100%;

    max-width:1100px;

    overflow:hidden;

    display:flex;

    justify-content:center;

}


/*==============================
TEAM CARD
===============================*/

.team-card{

    width:100%;

    max-width:850px;

    background:white;

    border-radius:30px;

    padding:35px;

    box-shadow:0 20px 45px rgba(0,0,0,.10);

    display:grid;

    grid-template-columns:320px 1fr;

    gap:40px;

    align-items:center;

    transition:.45s;

}


.team-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,0,0,.18);

}


/*==============================
TEAM IMAGE
===============================*/

.team-card img{

    width:300px;

    height:380px;

    object-fit:cover;

    object-position:center;

    border-radius:22px;

    border:5px solid #F4A261;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    transition:.4s;

}


.team-card:hover img{

    transform:scale(1.03);

}


/*==============================
TEXT
===============================*/

.team-card h3{

    color:#0B2545;

    font-size:34px;

    margin-bottom:8px;

}


.team-card h4{

    color:#E76F51;

    font-size:18px;

    font-weight:600;

    margin-bottom:20px;

}


.team-card p{

    color:#555;

    margin-bottom:25px;

}


/*==============================
RESEARCH TAGS
===============================*/

.research-tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;

}


.research-tags span{

    background:#F4A261;

    color:white;

    padding:8px 16px;

    border-radius:25px;

    font-size:14px;

    transition:.35s;

}


.research-tags span:hover{

    background:#0B2545;

}


/*==============================
SOCIAL ICONS
===============================*/

.social-links{

    display:flex;

    gap:18px;

    margin-top:10px;

}


.social-links a{

    width:46px;

    height:46px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#0B2545;

    color:white;

    border-radius:50%;

    transition:.35s;

    font-size:18px;

}


.social-links a:hover{

    background:#F4A261;

    transform:translateY(-4px);

}


/*==============================
CAROUSEL BUTTONS
===============================*/

.prev,
.next{

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:#0B2545;

    color:white;

    font-size:26px;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}


.prev:hover,
.next:hover{

    background:#F4A261;

    transform:scale(1.08);

}


/*==============================
HIDE OTHER CARDS
===============================*/

.team-card{

    display:none;

}

.team-card.active{

    display:grid;

    animation:fadeCard .6s;

}


@keyframes fadeCard{

from{

opacity:0;

transform:translateX(30px);

}

to{

opacity:1;

transform:translateX(0);

}

}


/*==============================
MOBILE
===============================*/

@media(max-width:900px){

.team-card{

grid-template-columns:1fr;

text-align:center;

padding:30px;

}

.team-card img{

width:240px;

height:300px;

margin:auto;

}

.research-tags{

justify-content:center;

}

.social-links{

justify-content:center;

}

.prev,
.next{

width:50px;

height:50px;

font-size:22px;

}

}

/*=========================================================
VENUE
==========================================================*/

#venue{

    background:#fdfbf7;

}

.venue-container{

    display:grid;

    grid-template-columns:1fr 1.4fr;

    gap:50px;

    align-items:center;

    margin-top:50px;

}

.venue-info{

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.venue-info h3{

    color:var(--primary);

    margin-bottom:20px;

}

.venue-info p{

    margin-bottom:18px;

    line-height:1.8;

}

.venue-map iframe{

    width:100%;

    height:450px;

    border:none;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

@media(max-width:900px){

.venue-container{

    grid-template-columns:1fr;

}

.venue-map iframe{

    height:350px;

}

}

/*=========================================================
APPLY
==========================================================*/

#apply{

    background:#fdfbf7;

    text-align:center;

}

.apply-box{

    max-width:750px;

    margin:50px auto;

    background:white;

    padding:45px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.apply-box h3{

    color:var(--primary);

    margin-bottom:20px;

}

.apply-box ul{

    text-align:left;

    display:inline-block;

    margin:20px 0;

}

.apply-box li{

    margin-bottom:10px;

    font-size:17px;

}

.apply-box a{

    color:#F4A261;

    text-decoration:none;

    font-weight:700;

}

.apply-box a:hover{

    color:#E76F51;

}

/*=========================================================
    PART 4
    COLLABORATORS • FOOTER • ANIMATIONS
==========================================================*/


/*=========================================================
COLLABORATORS
==========================================================*/

#collaborators{

    background:#ffffff;

    overflow:hidden;

    text-align:center;

}

#collaborators h2{

    color:var(--primary);

    margin-bottom:50px;

}

.logo-slider{

    position:relative;

    overflow:hidden;

    width:100%;

    padding:25px 0;

}

.logo-slider::before,
.logo-slider::after{

    content:"";

    position:absolute;

    top:0;

    width:120px;

    height:100%;

    z-index:2;

}

.logo-slider::before{

    left:0;

    background:linear-gradient(to right,#ffffff,transparent);

}

.logo-slider::after{

    right:0;

    background:linear-gradient(to left,#ffffff,transparent);

}

.logo-track{

    display:flex;

    align-items:center;

    width:max-content;

    animation:scrollLogos 30s linear infinite;

}

.logo-slider:hover .logo-track{

    animation-play-state:paused;

}

.logo-track img{

    height:90px;

    width:auto;

    margin:0 45px;

    transition:.35s;

    filter:none !important;

    -webkit-filter:none !important;

    opacity:1 !important;

}

/* Larger logos (IISc & PoODL) */

.logo-track img.logo-large{

    height:130px;

    max-width:220px;

}

.logo-track img:hover{

    transform:scale(1.12);

    filter:none !important;

    -webkit-filter:none !important;

    opacity:1;

}

@keyframes scrollLogos{

0%{

transform:translateX(0);

}

100%{

transform:translateX(-50%);

}

}


/*=========================================================
CONTACT / FOOTER
==========================================================*/

footer{

    background:#0B2545;

    color:white;

    padding:70px 8% 25px;

}


.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:45px;

}


.footer-grid h3{

    color:#FFD166;

    margin-bottom:20px;

}


.footer-grid p{

    color:#d9d9d9;

}


.footer-grid ul{

    list-style:none;

}


.footer-grid li{

    margin-bottom:12px;

}


.footer-grid a{

    color:#EAEAEA;

    transition:.3s;

}


.footer-grid a:hover{

    color:#F4A261;

}


.footer-social{

    display:flex;

    gap:15px;

    margin-top:20px;

}


.footer-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.08);

    transition:.35s;

}


.footer-social a:hover{

    background:#F4A261;

    transform:translateY(-4px);

}


.footer-bottom{

    border-top:1px solid rgba(255,255,255,.12);

    margin-top:50px;

    padding-top:20px;

    text-align:center;

    color:#BBBBBB;

    font-size:14px;

}


/*=========================================================
BACK TO TOP BUTTON
==========================================================*/

#topBtn{

    position:fixed;

    bottom:35px;

    right:35px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#F4A261;

    color:white;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:999;

    transition:.35s;

    box-shadow:0 12px 25px rgba(0,0,0,.25);

}


#topBtn:hover{

    background:#E76F51;

    transform:translateY(-5px);

}


/*=========================================================
SECTION ANIMATION
==========================================================*/

.fade-section{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}


.fade-section.show{

    opacity:1;

    transform:translateY(0);

}


/*=========================================================
SMOOTH IMAGE HOVER
==========================================================*/

img{

    transition:.4s;

}


.card:hover img,
.team-card:hover img{

    transform:scale(1.04);

}


/*=========================================================
RESPONSIVE
==========================================================*/

@media(max-width:992px){

.logo-track img{

height:70px;

margin:0 30px;

}

}


@media(max-width:768px){

section{

padding:70px 7%;

}

.section-title h2{

font-size:34px;

}

.hero h1{

font-size:42px;

}

.subtitle{

font-size:18px;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.footer-social{

justify-content:center;

}

.logo-track img{

height:60px;

margin:0 20px;

}

}


@media(max-width:500px){

.hero h1{

font-size:34px;

}

.logo{

font-size:22px;

}

.navbar ul{

gap:14px;

font-size:14px;

}

.btn,
.btn-outline{

padding:14px 28px;

font-size:15px;

}

.team-card img{

width:220px;

height:280px;

}

}


/*=========================================================
END OF FILE
==========================================================*/
